{"$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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"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":"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":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"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"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"AXS1","name":"Runtime exposed surface","shortDescription":{"text":"Runtime exposed surface"},"helpUri":"https://codehealth.canine.dev/dimensions/AXS1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"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. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. 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. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. 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. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. 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":"Edited copy of a member (12 corresponding lines): src/Repositories/Modern.Repositories.Dapper/Providers/PostgresQueryProvider.cs:16-31 | src/Repositories/Modern.Repositories.Dapper/Providers/SqliteQueryProvider.cs:16-31 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.Dapper/Providers/PostgresQueryProvider.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"06aef360e07f4c2b3736b3a97357a315d6b2fd642ce388a709476daa7bd908e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:148-172 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:178-202 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f025bc894508a4bc6abb212c57409f546b8dad8b5f3edb185f5ce763be88fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs:65-71 | src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs:74-80 | src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs:83-89 | src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs:92-98 | src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs:101-107 | src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs:65-71 | src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs:74-80 | src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs:83-89 | src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs:92-98 | src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs:101-107 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"91dd8a690fe2c062332f664773bc35e5de42d53ad0ecdf89245589d28802e3fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountQueryHandler.cs:55-74 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetExistsQueryHandler.cs:55-74 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetFirstOrDefaultQueryHandler.cs:55-75 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetSingleOrDefaultQueryHandler.cs:56-76 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetWhereQueryHandler.cs:55-75 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountQueryHandler.cs:55-74 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetExistsQueryHandler.cs:55-74 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetFirstOrDefaultQueryHandler.cs:55-75 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetSingleOrDefaultQueryHandler.cs:56-76 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetWhereQueryHandler.cs:55-75 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountQueryHandler.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"27252587e65b5c892341d5c7e243eb4a96ff3f63a61e5bff25d91b1575d987b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): src/SourceGenerators/Modern.Controllers.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs:26-95 | src/SourceGenerators/Modern.Controllers.SourceGenerators/ModernControllerGenerator.cs:26-95 | src/SourceGenerators/Modern.Repositories.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.cs:22-68 | src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs:23-77 | src/SourceGenerators/Modern.Repositories.LiteDB.SourceGenerators/ModernLiteDbRepositoryGenerator.cs:23-77 | src/SourceGenerators/Modern.Repositories.MongoDB.SourceGenerators/ModernMongoDbRepositoryGenerator.cs:23-77 | src/SourceGenerators/Modern.Services.DataStore.Cached.SourceGenerators/ModernCachedServiceGenerator.cs:23-70 | src/SourceGenerators/Modern.Services.DataStore.InMemory.SourceGenerators/ModernInMemoryServiceGenerator.cs:23-70 | src/SourceGenerators/Modern.Services.DataStore.SourceGenerators/ModernServiceGenerator.cs:23-70 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Controllers.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ab94871325cb208717e8d25caedd4c42ec2bcec87cba23ded08488e39be552"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): src/Repositories/Modern.Repositories.EFCore/Specifications/Base/AndSpecification.cs:23-51 | src/Repositories/Modern.Repositories.EFCore/Specifications/Base/OrSpecification.cs:23-51 | src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/AndSpecification.cs:23-51 | src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/OrSpecification.cs:23-51 | src/Repositories/Modern.Repositories.LiteDB/Specifications/Base/AndSpecification.cs:23-51 | src/Repositories/Modern.Repositories.LiteDB/Specifications/Base/OrSpecification.cs:23-51 | src/Repositories/Modern.Repositories.MongoDB/Specifications/Base/AndSpecification.cs:23-51 | src/Repositories/Modern.Repositories.MongoDB/Specifications/Base/OrSpecification.cs:23-51 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/Specifications/Base/AndSpecification.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d454840eeb92805184be27d2a4591c29fe6b3ce8a1db601a8b2fae2ae7c552"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:415-437 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:443-465 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:471-493 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:499-521 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:527-549 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"993ee2c6630ef4678f7c26491483769986c40043cc1b006ae5527f445f79ccbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/WebApi/Modern.Controllers.CQRS.DataStore/DI/Features/GenericControllerRouteConvention.cs:28-60 | src/WebApi/Modern.Controllers.DataStore.InMemory.OData/DI/Features/GenericControllerRouteConvention.cs:28-59 | src/WebApi/Modern.Controllers.DataStore.InMemory/DI/Features/GenericControllerRouteConvention.cs:28-60 | src/WebApi/Modern.Controllers.DataStore.OData/DI/Features/GenericControllerRouteConvention.cs:28-59 | src/WebApi/Modern.Controllers.DataStore/DI/Features/GenericControllerRouteConvention.cs:28-60 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/DI/Features/GenericControllerRouteConvention.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe19ccc971b2626101ce2e4273be76011f27dfa469e2a59b34bdaa6c1b7d3dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/SourceGenerators/Modern.Repositories.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.cs:22-68 | src/SourceGenerators/Modern.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs:26-90 | src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs:23-77 | src/SourceGenerators/Modern.Repositories.LiteDB.SourceGenerators/ModernLiteDbRepositoryGenerator.cs:23-77 | src/SourceGenerators/Modern.Repositories.MongoDB.SourceGenerators/ModernMongoDbRepositoryGenerator.cs:23-77 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Repositories.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac4c0e9c6da27c17ed9ae312d2a7e19f95bdc0e0137d04d010a529bb8ae7e10"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:635-668 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:542-574 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:625-637 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:663-696 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a80b53fa58d0dceac2c412333324a85b70026d4075329471d3206e1d4b72c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/CreateEntitiesCommandHandler.cs:64-94 | src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntitiesCommandHandler.cs:66-96 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/CreateEntitiesCommandHandler.cs:55-77 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/UpdateEntitiesCommandHandler.cs:57-80 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/CreateEntitiesCommandHandler.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"237ca48ca441b050dcbe34c669e77ce62c8feb07a93e6081d30abdd1578373f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetByIdQueryHandler.cs:65-95 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/TryGetByIdQueryHandler.cs:64-98 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetByIdQueryHandler.cs:56-76 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/TryGetByIdQueryHandler.cs:55-75 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetByIdQueryHandler.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e954839149be5d00b809069bfbc37d9d69076c3f5def10892c396822e42de9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Repositories/Modern.Repositories.Dapper/ModernDapperRepository.cs:198-232 | src/Repositories/Modern.Repositories.Dapper/ModernDapperRepository.cs:291-316 | src/Repositories/Modern.Repositories.Dapper/ModernDapperRepository.cs:322-345 | src/Repositories/Modern.Repositories.Dapper/ModernDapperRepository.cs:351-370 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.Dapper/ModernDapperRepository.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cc403ad82848be6b4c7ac5dbb9b5d0eeb62ab6121387bcbcaa61a7bb701af4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:56-73 | src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:79-97 | src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:132-155 | src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:220-237 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8b42e8c48c4cae0aae00b6393088bccf59791202629b4bf82b213e60a53f43"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:57-73 | src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:79-96 | src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:130-152 | src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:215-238 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5769d8bea4f2cafe8dc8e8d834f657e882b87d2569899f1b623ea7155a2a14b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/SourceGenerators/Modern.Repositories.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.cs:72-103 | src/SourceGenerators/Modern.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs:116-148 | src/SourceGenerators/Modern.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs:151-183 | src/SourceGenerators/Modern.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs:186-216 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Repositories.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e7d21ee51e620c8b464b83da189f725d79eee31fa5c5f64da89f4948b65f21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (96 lines \u00D7 2): src/Services/Modern.Services.DataStore.Abstractions/IModernCrudService.cs:11-106 | src/Services/Modern.Services.DataStore.InMemory.Abstractions/IModernCrudInMemoryService.cs:11-106 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Abstractions/IModernCrudService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore.InMemory.Abstractions/IModernCrudInMemoryService.cs\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Services/Modern.Services.DataStore.Abstractions/IModernCrudService.cs:11\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.Abstractions/IModernCrudService.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d781b9eb70c1ae57f8f90b3d65320e1f69d933242fab34fffa12956535676dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): src/Services/Modern.Services.DataStore.Abstractions/IModernQueryService.cs:14-65 | src/Services/Modern.Services.DataStore.InMemory.Abstractions/IModernQueryInMemoryService.cs:13-64 \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.Abstractions/IModernQueryService.cs:14\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.Abstractions/IModernQueryService.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb764a1054e8fe36a628fea2e664dd3b84cfbe53335fe1e432e6479127d48e3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): src/SourceGenerators/Modern.Controllers.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs:27-74 | src/SourceGenerators/Modern.Controllers.SourceGenerators/ModernControllerGenerator.cs:27-74 \u2014 before extracting anything, compare \u0060src/SourceGenerators/Modern.Controllers.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs\u0060 and \u0060src/SourceGenerators/Modern.Controllers.SourceGenerators/ModernControllerGenerator.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 80 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SourceGenerators/Modern.Controllers.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs:27\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.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"54583c6a47183d3360e12adc24478ec5447d8ebcfc66b4012c71a4ef20ff974b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 5): src/WebApi/Modern.Controllers.CQRS.DataStore/DI/Configuration/ModernControllerSpecification.cs:6-36 | src/WebApi/Modern.Controllers.DataStore.InMemory.OData/DI/Configuration/ModernControllerSpecification.cs:6-36 | src/WebApi/Modern.Controllers.DataStore.InMemory/DI/Configuration/ModernControllerSpecification.cs:6-36 | src/WebApi/Modern.Controllers.DataStore.OData/DI/Configuration/ModernControllerSpecification.cs:6-36 | src/WebApi/Modern.Controllers.DataStore/DI/Configuration/ModernControllerSpecification.cs:6-36 \u2014 before extracting anything, compare \u0060src/WebApi/Modern.Controllers.CQRS.DataStore/DI/Configuration/ModernControllerSpecification.cs\u0060 and \u0060src/WebApi/Modern.Controllers.DataStore.InMemory.OData/DI/Configuration/ModernControllerSpecification.cs\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WebApi/Modern.Controllers.CQRS.DataStore/DI/Configuration/ModernControllerSpecification.cs:6\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/WebApi/Modern.Controllers.CQRS.DataStore/DI/Configuration/ModernControllerSpecification.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3068c2ad149fb3ae7e8f0449c27d4b52425b543fdc569a11e9d273677b3bfa6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:574-604 | src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs:580-610 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 301 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:574\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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.Cached/ModernCachedService.cs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"a445c8855640bb0ae2ac922bba9d59f4725f78a48c63f2011bc7bbb2cdeaea08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:636-664 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:543-571 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:664-692 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:666\u0060 calls \u0060SaveChangesAsync\u0060, \u0060ConfigureAwait\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:573\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7fe2855965c546b880073e1d1b3141dffd2cdfcb324196497ac6027104893b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:530-559 | src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs:536-565 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 301 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:530\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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.Cached/ModernCachedService.cs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ca9aaef0d03e5aad03342e3b0fe5dbd3be9668d50dc5e3a2ac470194bc5899"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:533-560 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:442-469 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c263648df64db55bfe18f2fdccdfbbc6317b11a614e345f99d48992d5473a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetWherePagedQueryHandler.cs:58-85 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetWherePagedQueryHandler.cs:58-85 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetWherePagedQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetWherePagedQueryHandler.cs\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetWherePagedQueryHandler.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e81d45dfc76743ba0b3e2fb00c418cb5e1fe7a0ff6f06354832db382a0c128c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): src/SourceGenerators/Modern.Services.DataStore.Cached.SourceGenerators/ModernCachedServiceGenerator.cs:24-50 | src/SourceGenerators/Modern.Services.DataStore.InMemory.SourceGenerators/ModernInMemoryServiceGenerator.cs:24-50 | src/SourceGenerators/Modern.Services.DataStore.SourceGenerators/ModernServiceGenerator.cs:24-50 \u2014 before extracting anything, compare \u0060src/SourceGenerators/Modern.Services.DataStore.Cached.SourceGenerators/ModernCachedServiceGenerator.cs\u0060 and \u0060src/SourceGenerators/Modern.Services.DataStore.InMemory.SourceGenerators/ModernInMemoryServiceGenerator.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SourceGenerators/Modern.Services.DataStore.Cached.SourceGenerators/ModernCachedServiceGenerator.cs:24\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.Cached.SourceGenerators/ModernCachedServiceGenerator.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f217c71f0b0a4caa67fee7361aedbb1cb3a3b624d9b489fd0ef74b4d8cc6b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:356-382 | src/Services/Modern.Services.DataStore/ModernService.cs:307-333 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore/ModernService.cs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 262 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a4a3d00ec7083bf13bc4733bd861312c886c8c63165613a39ba6a2a63da79b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:170-197 | src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs:168-195 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 301 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:170\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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.Cached/ModernCachedService.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7a27d91b43432a9983fa7dd7d7d22ac98276309832986c2f1f9ff340a51e5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:490-517 | src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs:496-523 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 301 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:490\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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.Cached/ModernCachedService.cs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa81091f1c5533263b7a39ba4d2f2a5aaf23ba62cc9b4efc52e19f5052d4d14c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:412-438 | src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs:418-444 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 301 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:412\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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.Cached/ModernCachedService.cs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc11b4c3176d0e49939e38235cb6dfcef19a3a7ab5f7957732861912de5980e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/WebApi/Modern.Controllers.DataStore.InMemory/DI/Features/GenericControllerRouteConvention.cs:30-55 | src/WebApi/Modern.Controllers.DataStore/DI/Features/GenericControllerRouteConvention.cs:30-55 \u2014 before extracting anything, compare \u0060src/WebApi/Modern.Controllers.DataStore.InMemory/DI/Features/GenericControllerRouteConvention.cs\u0060 and \u0060src/WebApi/Modern.Controllers.DataStore/DI/Features/GenericControllerRouteConvention.cs\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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/WebApi/Modern.Controllers.DataStore.InMemory/DI/Features/GenericControllerRouteConvention.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b927c9421eba999d3a83e85aac4c5c60015d458b579fa29b05b97f173f4efb44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/DI/Configuration/ModernCqrsSpecification.cs:8-33 | src/CQRS/Modern.CQRS.DataStore/DI/Configuration/ModernCqrsSpecification.cs:8-33 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/DI/Configuration/ModernCqrsSpecification.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/DI/Configuration/ModernCqrsSpecification.cs\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/DI/Configuration/ModernCqrsSpecification.cs:8\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.Cached/DI/Configuration/ModernCqrsSpecification.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed024d208bdaf13fa65c070384193842f07e6f5fe41057eec9ebf9642d21d33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/Specifications/Base/AndSpecification.cs:24-45 | src/Repositories/Modern.Repositories.EFCore/Specifications/Base/OrSpecification.cs:24-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/Specifications/Base/AndSpecification.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a9e95eb97437aa5e8cf3797ed2c6de849e0d53371b0fede919254fe528d8aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Repositories/Modern.Repositories.MongoDB/Specifications/Base/AndSpecification.cs:24-45 | src/Repositories/Modern.Repositories.MongoDB/Specifications/Base/OrSpecification.cs:24-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.MongoDB/Specifications/Base/AndSpecification.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b553c65186df3bd8177eb51d649f1e225c51fab3f8ab0a8e213190f7cf53229f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Repositories/Modern.Repositories.LiteDB.Async/DI/Configuration/ModernLiteDbAsyncRepositorySpecification.cs:10-33 | src/Repositories/Modern.Repositories.LiteDB/DI/Configuration/ModernLiteDbRepositorySpecification.cs:10-33 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.LiteDB.Async/DI/Configuration/ModernLiteDbAsyncRepositorySpecification.cs\u0060 and \u0060src/Repositories/Modern.Repositories.LiteDB/DI/Configuration/ModernLiteDbRepositorySpecification.cs\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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/Repositories/Modern.Repositories.LiteDB.Async/DI/Configuration/ModernLiteDbAsyncRepositorySpecification.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aaff139ca3a24b392000fc3f9774fc20b66bedaca82226b75596931dbd5b3d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Repositories/Modern.Repositories.LiteDB/Specifications/Base/AndSpecification.cs:24-45 | src/Repositories/Modern.Repositories.LiteDB/Specifications/Base/OrSpecification.cs:24-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.LiteDB/Specifications/Base/AndSpecification.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c072a42f32c40a6047683c06f12d4b2992faeb64b7c02787e8723b6ac39a8b40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/LiteDbAsyncSpecification.cs:28-52 | src/Repositories/Modern.Repositories.LiteDB/Specifications/LiteDbSpecification.cs:28-52 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060queryable\u0060 to \u0060ILiteQueryableAsync\u003CTEntity\u003E\u0060 in one and \u0060ILiteQueryable\u003CTEntity\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/LiteDbAsyncSpecification.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab43acc2e3acfbbc36e174f3a85efa35314e3c6813e3752533e4f72cd4ab09f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/AndSpecification.cs:24-45 | src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/OrSpecification.cs:24-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/AndSpecification.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"55541886c0dd653be01c7d7930606d0ce3340376e0f356fc3df5b82196dca80f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 5): src/WebApi/Modern.Controllers.CQRS.DataStore/DI/Features/GenericControllerRouteConvention.cs:37-60 | src/WebApi/Modern.Controllers.DataStore.InMemory.OData/DI/Features/GenericControllerRouteConvention.cs:37-59 | src/WebApi/Modern.Controllers.DataStore.InMemory/DI/Features/GenericControllerRouteConvention.cs:38-60 | src/WebApi/Modern.Controllers.DataStore.OData/DI/Features/GenericControllerRouteConvention.cs:37-59 | src/WebApi/Modern.Controllers.DataStore/DI/Features/GenericControllerRouteConvention.cs:38-60 \u2014 before extracting anything, compare \u0060src/WebApi/Modern.Controllers.DataStore.InMemory/DI/Features/GenericControllerRouteConvention.cs\u0060 and \u0060src/WebApi/Modern.Controllers.DataStore/DI/Features/GenericControllerRouteConvention.cs\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WebApi/Modern.Controllers.CQRS.DataStore/DI/Features/GenericControllerRouteConvention.cs:37\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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.CQRS.DataStore/DI/Features/GenericControllerRouteConvention.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e801f102f5d6027c31ca3b9e624de8cc06331b60b8712e20e21630c204a9aa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:135-158 | src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs:133-156 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 301 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:135\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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.Cached/ModernCachedService.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6df3e75c2cb1e3dc783f34585d0bae402c4178fe19847e6a440064498e12caa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:616-639 | src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs:622-645 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 301 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:616\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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.Cached/ModernCachedService.cs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"699461d1162b0e759e915ac69fe446ac69420d67d8c6acc2873da1d03421d282"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:652-675 | src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs:658-681 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 301 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:652\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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.Cached/ModernCachedService.cs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"0035f86e27206c5ab319a49f82b0037d7c5902d4e29912127f9b345bc0a79434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:544-564 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:453-473 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:570-590 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:544\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f96749cc5d7291e034fcdf0e14fedfb7f8dcb156ed9746c0aa395458d717f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:458-477 | src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs:464-483 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 301 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:458\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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.Cached/ModernCachedService.cs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a70a74ae693822c70362ced1457f7d8f52aeb59387ab18f5f33b7bfc89123d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): src/SourceGenerators/Modern.Repositories.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.cs:23-40 | src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs:24-41 | src/SourceGenerators/Modern.Repositories.LiteDB.SourceGenerators/ModernLiteDbRepositoryGenerator.cs:24-41 | src/SourceGenerators/Modern.Repositories.MongoDB.SourceGenerators/ModernMongoDbRepositoryGenerator.cs:24-41 \u2014 before extracting anything, compare \u0060src/SourceGenerators/Modern.Repositories.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.cs\u0060 and \u0060src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SourceGenerators/Modern.Repositories.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.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.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b95ba4797b24b62828bcb783d2de79f9934ab8bd1250a0f81159866a6fd7293"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:236-255 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:266-285 \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.EFCore/ModernEfCoreRepository.cs:236\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:265\u0060 calls \u0060NegativeOrZero\u0060, \u0060nameof\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:235\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0360c19cc103850f8526bc0f3106dd3258eec36b38ef573886b877795360a17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:402-421 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:311-330 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1ec85f0bc0c731b32d2df7c4f00e1106294c61bf1f22aec6cd41595586756f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:428-447 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:337-356 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf146b2a7778923c3f8441f270ec578bbba18eab2f61aeb8a2a944c19ee50624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:454-473 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:363-382 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3dfe5ba9406baf2a3e0c20f5f2fa9c8d2d6a6aedf617138b1fcf0bc0cc979e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:480-499 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:389-408 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"b104532758930660efe71b43b825ff743038e64a41bfa6902fb2faf6d4a817a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:506-525 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:415-434 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4e81f63a9db15a785ae530c61b4818ee8f890e4d935ac7a8e7be850dbb27fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:241-260 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:272-291 \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.EFCore/ModernEfCoreRepositoryWithFactory.cs:241\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:271\u0060 calls \u0060NegativeOrZero\u0060, \u0060nameof\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:240\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"45532be7f89034f80c217c68779ec9cb32ee238a2ee9e47ccd08968cd532e8b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/Specifications/EfCoreSpecification.cs:35-53 | src/Repositories/Modern.Repositories.MongoDB/Specifications/MongoDbSpecification.cs:30-50 \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 runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"1fcb8f827d1249d22ec85ff72feff1d317eb2725c2da13c1f55542db834bfb29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetFirstOrDefaultQueryHandler.cs:56-75 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetFirstOrDefaultQueryHandler.cs:56-75 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetFirstOrDefaultQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetFirstOrDefaultQueryHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetFirstOrDefaultQueryHandler.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"24eb912e5812eb0c50e9bb8fa22b3a481ca93bd2626a9b19c82223149a5ad2f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetSingleOrDefaultQueryHandler.cs:57-76 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetSingleOrDefaultQueryHandler.cs:57-76 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetSingleOrDefaultQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetSingleOrDefaultQueryHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetSingleOrDefaultQueryHandler.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"40752a77dd561411a3ede46b17d7672dabe9c107c7015f635844ecf97e219ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetWhereQueryHandler.cs:56-75 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetWhereQueryHandler.cs:56-75 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetWhereQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetWhereQueryHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetWhereQueryHandler.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"571c47faf2ea6ebe2c7f7d2f637781e39ecdf9708fdc738c6c667fbf23d8b9e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:359-377 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:268-286 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0efa611305a9268002b0f1829caed6c127b68802b579f958603747b01f5139a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntityByActionCommandHandler.cs:66-84 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/UpdateEntityByActionCommandHandler.cs:57-75 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntityByActionCommandHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/CommandHandlers/UpdateEntityByActionCommandHandler.cs\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntityByActionCommandHandler.cs:66\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.Cached/CommandHandlers/UpdateEntityByActionCommandHandler.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a4b0481e2a2ed0ef51f1f917549d5cc8e39c9bfce27661c75eb201a8b536e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetAllQueryHandler.cs:56-74 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetAllQueryHandler.cs:56-74 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetAllQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetAllQueryHandler.cs\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetAllQueryHandler.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc7fa1397ee56b0d91a5ec81d328062f4967e009ba5fae10103a81032e24b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountQueryHandler.cs:56-74 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountQueryHandler.cs:56-74 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountQueryHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountQueryHandler.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6d56ec7caff404e985a297057d46d07fa089ad8b5828c6f9c89b8004d1b40d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetExistsQueryHandler.cs:56-74 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetExistsQueryHandler.cs:56-74 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetExistsQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetExistsQueryHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetExistsQueryHandler.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"26702a6caae80ea5e7336e3183a551b3c6005c0902592d4a0e1e424bdb7ab250"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:687-704 | src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs:693-711 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 301 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:687\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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.Cached/ModernCachedService.cs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8350d0aa99620a5cb375dafacf1cc20acd904518f1f55ffe87f8f75bdb7ed9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntitiesCommandHandler.cs:67-84 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/DeleteEntitiesCommandHandler.cs:58-75 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntitiesCommandHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/CommandHandlers/DeleteEntitiesCommandHandler.cs\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntitiesCommandHandler.cs:67\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntitiesCommandHandler.cs:86\u0060 calls \u0060LogDebug\u0060, \u0060DeleteAsync\u0060, \u0060ConfigureAwait\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/CommandHandlers/DeleteEntitiesCommandHandler.cs:76\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntitiesCommandHandler.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efda7edf683989fc3168ab345a0c46fbd7a7124fc3f712d79d554c8abca18ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetAllQueryHandler.cs:18-35 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetAllQueryHandler.cs:18-35 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetAllQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetAllQueryHandler.cs\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetAllQueryHandler.cs:18\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.Cached/QueryHandlers/GetAllQueryHandler.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"effe7c55ac97ddc0a6d506ec634084ff1a211f9aba6c909348edcd7586ba5032"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetByIdQueryHandler.cs:20-36 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetByIdQueryHandler.cs:19-35 \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.Cached/QueryHandlers/GetByIdQueryHandler.cs:20\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.Cached/QueryHandlers/GetByIdQueryHandler.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4191ef12e25f7c486cfa89b023671cf0999b111fe8e12eab806121aba7698563"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountAllQueryHandler.cs:17-34 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountAllQueryHandler.cs:17-34 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountAllQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountAllQueryHandler.cs\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountAllQueryHandler.cs:17\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.Cached/QueryHandlers/GetCountAllQueryHandler.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0369fcdbe127b46039932b7494c0183a82e195f5fd34bbad7f0e49fcb7181574"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountAllQueryHandler.cs:55-72 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountAllQueryHandler.cs:55-72 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountAllQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountAllQueryHandler.cs\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountAllQueryHandler.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7922cb632732a401e30d2a5050255f42e210a4577365faefadf9005d752274aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountQueryHandler.cs:18-35 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountQueryHandler.cs:18-35 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountQueryHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountQueryHandler.cs:18\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.Cached/QueryHandlers/GetCountQueryHandler.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf4110b02c138280ca537d1b30682b8f4e4851b5f9f7bbf4bc033893b287128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetExistsQueryHandler.cs:18-35 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetExistsQueryHandler.cs:18-35 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetExistsQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetExistsQueryHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetExistsQueryHandler.cs:18\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.Cached/QueryHandlers/GetExistsQueryHandler.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"944050ebf4eef90755a7713cfca97372397c58e7761d747b1072d8cddfa339d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetFirstOrDefaultQueryHandler.cs:18-35 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetFirstOrDefaultQueryHandler.cs:18-35 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetFirstOrDefaultQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetFirstOrDefaultQueryHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetFirstOrDefaultQueryHandler.cs:18\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.Cached/QueryHandlers/GetFirstOrDefaultQueryHandler.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"35514c1286dc2dec9571f399755b40ee05fb733b30c530910557e80ac9bda36c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetSingleOrDefaultQueryHandler.cs:19-36 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetSingleOrDefaultQueryHandler.cs:19-36 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetSingleOrDefaultQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetSingleOrDefaultQueryHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetSingleOrDefaultQueryHandler.cs:19\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.Cached/QueryHandlers/GetSingleOrDefaultQueryHandler.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8ac8e8083b30647fef4accb559283bd3cbc082b34793c4ae62f5741a0eaba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetWherePagedQueryHandler.cs:20-37 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetWherePagedQueryHandler.cs:20-37 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetWherePagedQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetWherePagedQueryHandler.cs\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetWherePagedQueryHandler.cs:20\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.Cached/QueryHandlers/GetWherePagedQueryHandler.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"42748517e74ae5ccd0db3e590ca83e872e8fda93741b48878c3afa1ad4a4ab0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetWhereQueryHandler.cs:18-35 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetWhereQueryHandler.cs:18-35 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetWhereQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetWhereQueryHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetWhereQueryHandler.cs:18\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.Cached/QueryHandlers/GetWhereQueryHandler.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"01368f665475d0da21b262a5294005601fdf7268f1d10053229556b8913b4871"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/TryGetByIdQueryHandler.cs:19-35 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/TryGetByIdQueryHandler.cs:18-34 \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.Cached/QueryHandlers/TryGetByIdQueryHandler.cs:19\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.Cached/QueryHandlers/TryGetByIdQueryHandler.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6c0ae4dd7f14fe6c8d3ce3d18ef2ffda0171165b7ac789d3e4cd16a34ae8f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 9): src/SourceGenerators/Modern.Controllers.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs:67-84 | src/SourceGenerators/Modern.Controllers.SourceGenerators/ModernControllerGenerator.cs:67-84 | src/SourceGenerators/Modern.Repositories.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.cs:42-58 | src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs:50-67 | src/SourceGenerators/Modern.Repositories.LiteDB.SourceGenerators/ModernLiteDbRepositoryGenerator.cs:50-67 | src/SourceGenerators/Modern.Repositories.MongoDB.SourceGenerators/ModernMongoDbRepositoryGenerator.cs:50-67 | src/SourceGenerators/Modern.Services.DataStore.Cached.SourceGenerators/ModernCachedServiceGenerator.cs:43-60 | src/SourceGenerators/Modern.Services.DataStore.InMemory.SourceGenerators/ModernInMemoryServiceGenerator.cs:43-60 | src/SourceGenerators/Modern.Services.DataStore.SourceGenerators/ModernServiceGenerator.cs:43-60 \u2014 before extracting anything, compare \u0060src/SourceGenerators/Modern.Controllers.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs\u0060 and \u0060src/SourceGenerators/Modern.Controllers.SourceGenerators/ModernControllerGenerator.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 80 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. 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.Controllers.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5ab43335488215520394c3a8190ad6f2a706f3ff1a436c6aa725c70759939b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:318-334 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:227-243 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ef64b239f6b6578676cb42743989c7d8ee6e817093a2f8d2f9d7186b13ff30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:571-587 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:480-496 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca2eda65951ffb3468dbf79a5173aed4d940c49d1615191212dff9e3c8094d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs:34-50 | src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProviderWithFactory.cs:35-51 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProviderWithFactory.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0672607d4cf5cd043c83fde8f168e34ba84925277a41a2e11f8b6f636a811abc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:225-241 | src/Services/Modern.Services.DataStore/ModernService.cs:176-192 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore/ModernService.cs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 262 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d69b88ee7d12e9278c8b550cdee40f3547b545c916766b2cdeb34a9b577c65b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/CreateEntitiesCommandHandler.cs:20-35 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/CreateEntitiesCommandHandler.cs:19-34 \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.Cached/CommandHandlers/CreateEntitiesCommandHandler.cs:20\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.Cached/CommandHandlers/CreateEntitiesCommandHandler.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ce862c4a22d33f81edeab105a6b75eb6b8e37c14e2552fa6ad9718ef0469ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/CreateEntityCommandHandler.cs:20-35 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/CreateEntityCommandHandler.cs:19-34 \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.Cached/CommandHandlers/CreateEntityCommandHandler.cs:20\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.Cached/CommandHandlers/CreateEntityCommandHandler.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d436b81630f9cced6c9e36a52b70affad004900700080d9a4c9a771b757f8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteAndReturnEntityCommandHandler.cs:21-36 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/DeleteAndReturnEntityCommandHandler.cs:20-35 \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.Cached/CommandHandlers/DeleteAndReturnEntityCommandHandler.cs:21\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.Cached/CommandHandlers/DeleteAndReturnEntityCommandHandler.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"235c05d11b834bb28e5d3a1246dec7ecf69d80f34bf7032cbb3db4303e5f6ade"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntitiesCommandHandler.cs:22-37 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/DeleteEntitiesCommandHandler.cs:21-36 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntitiesCommandHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/CommandHandlers/DeleteEntitiesCommandHandler.cs\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntitiesCommandHandler.cs:22\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.Cached/CommandHandlers/DeleteEntitiesCommandHandler.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f72c133a8c185897ecd5a2bd1c7fc6c685f7fb16b55ae2bbe753c236d51150f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntityCommandHandler.cs:20-35 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/DeleteEntityCommandHandler.cs:19-34 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntityCommandHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/CommandHandlers/DeleteEntityCommandHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntityCommandHandler.cs:20\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.Cached/CommandHandlers/DeleteEntityCommandHandler.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb6d877d3511b7f9cded88e0bc23a55655ca9cd6a72d7c993fdbda594d810f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntityCommandHandler.cs:65-81 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/DeleteEntityCommandHandler.cs:56-72 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntityCommandHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/CommandHandlers/DeleteEntityCommandHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntityCommandHandler.cs:65\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntityCommandHandler.cs:83\u0060 calls \u0060LogDebug\u0060, \u0060DeleteAsync\u0060, \u0060ConfigureAwait\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/CommandHandlers/DeleteEntityCommandHandler.cs:73\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntityCommandHandler.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee91b83d2a00549e6fb4c382eb62bcae5ec4b299489be536abe072d9f45e708b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntitiesCommandHandler.cs:22-37 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/UpdateEntitiesCommandHandler.cs:21-36 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntitiesCommandHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/CommandHandlers/UpdateEntitiesCommandHandler.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntitiesCommandHandler.cs:22\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.Cached/CommandHandlers/UpdateEntitiesCommandHandler.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c450c7986c4301f96e966b4dcdcfa4bc3bf61dfb791792ef69edcf38e67ba3e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntityByActionCommandHandler.cs:21-36 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/UpdateEntityByActionCommandHandler.cs:20-35 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntityByActionCommandHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/CommandHandlers/UpdateEntityByActionCommandHandler.cs\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntityByActionCommandHandler.cs:21\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.Cached/CommandHandlers/UpdateEntityByActionCommandHandler.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3c07b2be08f37e1925dbdf2962d95f5cb7a9e5b4884194c994842bb13d60c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntityCommandHandler.cs:21-36 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/UpdateEntityCommandHandler.cs:20-35 \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.Cached/CommandHandlers/UpdateEntityCommandHandler.cs:21\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.Cached/CommandHandlers/UpdateEntityCommandHandler.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a072ded78daadee2862345d4794b8468ceeb475a84b6cc81472826b7cdff5779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:290-305 | src/Services/Modern.Services.DataStore/ModernService.cs:241-256 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore/ModernService.cs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 262 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5e74457372e39db01eec211c962a8eaa7f85891a4455fdd61db81595a27b22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:312-327 | src/Services/Modern.Services.DataStore/ModernService.cs:263-278 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore/ModernService.cs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 262 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"61aecf4c79138fd6bf7a558702940fff7e229f845762bb194e0018d17ed35b76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:334-349 | src/Services/Modern.Services.DataStore/ModernService.cs:285-300 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore/ModernService.cs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 262 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"933935b8af77350e1245bc56fad9e5e45bdebff80407605f87e30eda0bec0596"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): src/Repositories/Modern.Repositories.Dapper/ModernDapperRepository.cs:329-345 | src/Repositories/Modern.Repositories.Dapper/ModernDapperRepository.cs:358-370 \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.Dapper/ModernDapperRepository.cs:329\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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/ModernDapperRepository.cs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e389cfb9d33a353259a76656e39b0b9ba6a722af3cdfd061e7a01144abf4d5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:413-428 | src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:435-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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"582526025c4c7a4405f6ee876ea6c6b9d2ce475984f2ca8d250e64b5d3686d0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 3): src/Repositories/Modern.Repositories.EFCore/Specifications/EfCoreSpecification.cs:27-39 | src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/LiteDbAsyncSpecification.cs:27-42 | src/Repositories/Modern.Repositories.LiteDB/Specifications/LiteDbSpecification.cs:27-42 \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/Repositories/Modern.Repositories.EFCore/Specifications/EfCoreSpecification.cs:27\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060queryable\u0060 to \u0060IQueryable\u003CTEntity\u003E\u0060 in one and \u0060ILiteQueryableAsync\u003CTEntity\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/Specifications/EfCoreSpecification.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d6ceef15da3c4a04d35025b332193c4c13e590894b25fab7f35bbfd044916b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 2): src/Cache/Modern.Cache.Redis/ModernRedisCache.cs:39-54 | src/Cache/Modern.Cache.Redis/ModernRedisCache.cs:60-70 \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. 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/Cache/Modern.Cache.Redis/ModernRedisCache.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd0480a981c067772548cec642b6ccf03750407902d7eebc256533f019c2c75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:204-218 | src/Services/Modern.Services.DataStore/ModernService.cs:155-169 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore/ModernService.cs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 262 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde7ba4f4cc8ee14c104e6041fb64ec8d673c34f2d88596396fdbb8352c423a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:248-262 | src/Services/Modern.Services.DataStore/ModernService.cs:199-213 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore/ModernService.cs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 262 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c19bc975d74e82fbda8184c19254ec980062e2e1ef1a46447a81118e5f3d07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:269-283 | src/Services/Modern.Services.DataStore/ModernService.cs:220-234 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore/ModernService.cs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 262 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"c866fb43c2bec6cba08aa2a8d738e3a210f3f108ebe8ef2fcb6cb3d947703f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:566-580 | src/Services/Modern.Services.DataStore/ModernService.cs:467-481 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore/ModernService.cs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 262 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:566\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.Cached/ModernCachedService.cs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"25566cfe5b78ae06350c3a8a72c8323edcf5527f1eadeab1f4daa90a5644225e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetByIdQueryHandler.cs:68-81 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/TryGetByIdQueryHandler.cs:67-80 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetByIdQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/TryGetByIdQueryHandler.cs\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 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/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetByIdQueryHandler.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"96267f28a1588a8053da700ada27f5b83de2fa8a94ab1d505aef8db2aa2f039b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:408-422 | src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:429-443 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d029e7067a41c2ae7d80a7dd685b7aa4f7f2891cfa4540637f80a8d85e17e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/SourceGenerators/Modern.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs:117-131 | src/SourceGenerators/Modern.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs:152-166 \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.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"079220d853652c152ddc87f2ee407b3eb26e34dbad10348a9da3cad1d6b3365b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:718-731 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:746-759 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 126 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d617242d2e2e105b1928d2dc75e0729c0f127fb5f3c8f59d33d5fdb0f2a62c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntitiesCommandHandler.cs:67-80 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/UpdateEntitiesCommandHandler.cs:58-71 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntitiesCommandHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/CommandHandlers/UpdateEntitiesCommandHandler.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntitiesCommandHandler.cs:67\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.Cached/CommandHandlers/UpdateEntitiesCommandHandler.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ff2d5d039585668f47a40826a9c93b32fd6d12596b623198338f0bc86d8825"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntityCommandHandler.cs:66-79 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/UpdateEntityCommandHandler.cs:57-70 \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.Cached/CommandHandlers/UpdateEntityCommandHandler.cs:66\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.Cached/CommandHandlers/UpdateEntityCommandHandler.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff25ddcbf7a1d0b2253fdbc6f37f8eafb79f229fdb26594f16fd099a75b846f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:60-73 | src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:84-97 \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:60\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:83\u0060 calls \u0060NegativeOrZero\u0060, \u0060nameof\u0060 and \u0060src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:59\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4419993fd1124437bc8b4784b704e8b8961fe5c181718b87db9aae5061d3786"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/SourceGenerators/Modern.Services.DataStore.Cached.SourceGenerators/ModernCachedServiceGenerator.cs:86-97 | src/SourceGenerators/Modern.Services.DataStore.SourceGenerators/ModernServiceGenerator.cs:83-94 \u2014 before extracting anything, compare \u0060src/SourceGenerators/Modern.Services.DataStore.Cached.SourceGenerators/ModernCachedServiceGenerator.cs\u0060 and \u0060src/SourceGenerators/Modern.Services.DataStore.SourceGenerators/ModernServiceGenerator.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 63 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.Services.DataStore.Cached.SourceGenerators/ModernCachedServiceGenerator.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bfcb10a38a46b80e2fa63e289ade44945d396f4ef3f2d37a788936016a765a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): src/Repositories/Modern.Repositories.EFCore/Specifications/Base/AndSpecification.cs:34-45 | src/Repositories/Modern.Repositories.EFCore/Specifications/Base/OrSpecification.cs:34-45 | src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/AndSpecification.cs:34-45 | src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/OrSpecification.cs:34-45 | src/Repositories/Modern.Repositories.LiteDB/Specifications/Base/AndSpecification.cs:34-45 | src/Repositories/Modern.Repositories.LiteDB/Specifications/Base/OrSpecification.cs:34-45 | src/Repositories/Modern.Repositories.MongoDB/Specifications/Base/AndSpecification.cs:34-45 | src/Repositories/Modern.Repositories.MongoDB/Specifications/Base/OrSpecification.cs:34-45 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/Specifications/Base/AndSpecification.cs\u0060 and \u0060src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/AndSpecification.cs\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Repositories/Modern.Repositories.EFCore/Specifications/Base/AndSpecification.cs:34\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/Specifications/Base/AndSpecification.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"64faab68e86474da263e3424ffe4bb9700cbd763ecaf5d0ebf530d561550a01c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/SourceGenerators/Modern.Repositories.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.cs:81-91 | src/SourceGenerators/Modern.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs:126-136 | src/SourceGenerators/Modern.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs:161-171 | src/SourceGenerators/Modern.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs:194-204 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/SourceGenerators/Modern.Repositories.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.cs:76\u0060 calls \u0060AppendLine\u0060 and \u0060src/SourceGenerators/Modern.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs:187\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Repositories.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"74adaaee18e40385402af2bc60a0879ddea506961ffc137a40460ff95942b0bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs:88-98 | src/SourceGenerators/Modern.Repositories.LiteDB.SourceGenerators/ModernLiteDbRepositoryGenerator.cs:88-98 | src/SourceGenerators/Modern.Repositories.MongoDB.SourceGenerators/ModernMongoDbRepositoryGenerator.cs:89-99 \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 62 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/SourceGenerators/Modern.Repositories.MongoDB.SourceGenerators/ModernMongoDbRepositoryGenerator.cs:85\u0060 calls \u0060AppendLine\u0060 and \u0060src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs:82\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c8a430c8b704f222465adcf04176b1736203c7ec5a74757f88777f1367c045"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:484-495 | src/Services/Modern.Services.DataStore/ModernService.cs:411-422 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore/ModernService.cs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 262 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:484\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.Cached/ModernCachedService.cs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e127716f5f75bdde1ca8d6c1afc55353f29b7b866cb8a013bbe69d4a9b6d8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteAndReturnEntityCommandHandler.cs:78-89 | src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntityCommandHandler.cs:83-94 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteAndReturnEntityCommandHandler.cs:78\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060DeleteAndReturnEntityCommand\u003CTEntityDto, TId\u003E\u0060 in one and \u0060DeleteEntityCommand\u003CTId\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteAndReturnEntityCommandHandler.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b2da37adc4ea55b3cddc8107cd9f33d98e7f66c16e6fce3a3c2a1dd2ef1af1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:61-73 | src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:84-96 \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:61\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:83\u0060 calls \u0060NegativeOrZero\u0060, \u0060nameof\u0060 and \u0060src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:60\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2567980d807a5fdc6cd71ee4167decf9fcc26d48bc87a3afb70bd494f3d124fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): src/Repositories/Modern.Repositories.Dapper/ModernDapperRepository.cs:199-210 | src/Repositories/Modern.Repositories.Dapper/ModernDapperRepository.cs:292-303 | src/Repositories/Modern.Repositories.Dapper/ModernDapperRepository.cs:323-334 | src/Repositories/Modern.Repositories.Dapper/ModernDapperRepository.cs:352-363 \u2014 all 4 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Repositories/Modern.Repositories.Dapper/ModernDapperRepository.cs:199\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/ModernDapperRepository.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94504d113a193ca14e9d3c179b23fadd837b3db4b6bfd2a8929b093f98395b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:445-456 | src/Services/Modern.Services.DataStore/ModernService.cs:384-395 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore/ModernService.cs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 262 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:445\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.Cached/ModernCachedService.cs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"299c8d273e402be9db8f444cdce81ccb7c8eb82870d53cb2c6485f328a9dad58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:611-621 | src/Services/Modern.Services.DataStore/ModernService.cs:500-510 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore/ModernService.cs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 262 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:611\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.Cached/ModernCachedService.cs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6ee82675d6610f218196f3a17b8be8424a37f09c3863431f4155f7b023a693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:416-425 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:444-453 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:472-481 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:500-509 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:528-537 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:416\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/ModernEfCoreRepositoryWithFactory.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1e39298d70163787af6ce2247c4c9422d1e763992d4e5900a43b2a1c4cab0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): src/SourceGenerators/Modern.Controllers.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs:60-65 | src/SourceGenerators/Modern.Controllers.SourceGenerators/ModernControllerGenerator.cs:60-65 | src/SourceGenerators/Modern.Services.DataStore.Cached.SourceGenerators/ModernCachedServiceGenerator.cs:43-48 | src/SourceGenerators/Modern.Services.DataStore.InMemory.SourceGenerators/ModernInMemoryServiceGenerator.cs:43-48 | src/SourceGenerators/Modern.Services.DataStore.SourceGenerators/ModernServiceGenerator.cs:43-48 \u2014 before extracting anything, compare \u0060src/SourceGenerators/Modern.Controllers.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs\u0060 and \u0060src/SourceGenerators/Modern.Controllers.SourceGenerators/ModernControllerGenerator.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 80 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.Controllers.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a5cec3859fb05f1af90111d16188377f4b74c7d5e555c2bf57b2cf96f37820"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:763-773 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:668-678 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:791-801 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ad0ce0ec9b53ba8ed64483cafecd6b7aefebfd3a35ca64bfed1b2b0c8fc2ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:572-582 | src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs:578-588 | src/Services/Modern.Services.DataStore/ModernService.cs:473-483 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 301 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/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"66aaf9383d4bb7875a02589b666d3b349b72ca369fe8320e775abba7b3f77c00"}},{"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 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProviderWithFactory.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"705a996c13a6ef393bed39f3122c8bdc96950342f3c7f92417af7cd8480cd306"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/DI/ServicesExtensions.cs:40-49 | src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs:30-39 \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.Cached/DI/ServicesExtensions.cs:40\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.Cached/DI/ServicesExtensions.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"146174a06d72ce05dfc1b3c278db4da8d8d0667241b468fd58b75a8141dbe063"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:407-417 | src/Services/Modern.Services.DataStore/ModernService.cs:358-368 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore/ModernService.cs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 262 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.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/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f7c2d7ae61382dc4c5ba251599714a1e1407bd73d3cd8d8fb1e1f946326340"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:524-532 | src/Services/Modern.Services.DataStore/ModernService.cs:439-447 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore/ModernService.cs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 262 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:524\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.Cached/ModernCachedService.cs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"2429b6824cb0312a9635dd76524ea2d8dcfbb01e9645b75616e70f0f5609d097"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/SourceGenerators/Modern.Controllers.SourceGenerators/EntityRequestGenerator.cs:86-95 | src/SourceGenerators/Modern.Controllers.SourceGenerators/EntityRequestGenerator.cs:103-112 \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.Controllers.SourceGenerators/EntityRequestGenerator.cs:86\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/SourceGenerators/Modern.Controllers.SourceGenerators/EntityRequestGenerator.cs:100\u0060 calls \u0060AppendLine\u0060 and \u0060src/SourceGenerators/Modern.Controllers.SourceGenerators/EntityRequestGenerator.cs:83\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Controllers.SourceGenerators/EntityRequestGenerator.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d597fdd41bc18073bf16fb568cc4d191544a51e5db3cd12be7290cf34b3cdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountQueryHandler.cs:56-65 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetExistsQueryHandler.cs:56-65 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetFirstOrDefaultQueryHandler.cs:56-65 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetSingleOrDefaultQueryHandler.cs:57-66 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetWhereQueryHandler.cs:56-65 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountQueryHandler.cs:56-65 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetExistsQueryHandler.cs:56-65 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetFirstOrDefaultQueryHandler.cs:56-65 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetSingleOrDefaultQueryHandler.cs:57-66 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetWhereQueryHandler.cs:56-65 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountQueryHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountQueryHandler.cs:56\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060GetCountQuery\u003CTEntityDbo, TId\u003E\u0060 in one and \u0060GetExistsQuery\u003CTEntityDbo, TId\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountQueryHandler.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8758d13d327ae3cd5bcf28724394fb303b49633d1dcd1eff59f7644f8d0fd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/Repositories/Modern.Repositories.EFCore/Specifications/Base/Specification.cs:10-20 | src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/Specification.cs:10-20 | src/Repositories/Modern.Repositories.LiteDB/Specifications/Base/Specification.cs:10-20 | src/Repositories/Modern.Repositories.MongoDB/Specifications/Base/Specification.cs:10-20 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/Specifications/Base/Specification.cs\u0060 and \u0060src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/Specification.cs\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Repositories/Modern.Repositories.EFCore/Specifications/Base/Specification.cs:10\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/Specifications/Base/Specification.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"04dc6a6ed384cb074b3b1a7e7f3a13a5ab3df0b8af144c20f2dccdac6c8ac0c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetByIdQueryHandler.cs:66-75 | src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/TryGetByIdQueryHandler.cs:65-74 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetByIdQueryHandler.cs:57-66 | src/CQRS/Modern.CQRS.DataStore/QueryHandlers/TryGetByIdQueryHandler.cs:56-65 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetByIdQueryHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/TryGetByIdQueryHandler.cs\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetByIdQueryHandler.cs:66\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.Cached/QueryHandlers/GetByIdQueryHandler.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0dc0be5b3c92de4e870ed55b5a98d1cecd0c111b774397cb5b3c98d6d87ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:153-162 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:212-221 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:151\u0060 calls \u0060ThrowIfNull\u0060, \u0060nameof\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:210\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d39117afbf8d925c5f2974785e7c6023adf2c1412103e45a708491786fb80ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:682-690 | src/Services/Modern.Services.DataStore/ModernService.cs:561-569 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore/ModernService.cs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 262 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:682\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.Cached/ModernCachedService.cs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"0220835c8b0627c4ed94d40676d55e27818ccb35c1a17e4de2451ecc85fff4cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/SourceGenerators/Modern.Controllers.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs:111-118 | src/SourceGenerators/Modern.Controllers.SourceGenerators/ModernControllerGenerator.cs:111-118 \u2014 before extracting anything, compare \u0060src/SourceGenerators/Modern.Controllers.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs\u0060 and \u0060src/SourceGenerators/Modern.Controllers.SourceGenerators/ModernControllerGenerator.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 80 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.Controllers.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc89903df211accec6003319f611545644247400cc8b70fd635df94b393eccf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs:101-110 | src/SourceGenerators/Modern.Repositories.LiteDB.SourceGenerators/ModernLiteDbRepositoryGenerator.cs:101-110 \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 62 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs:101\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac59f04e1041be3131b9309dbb150630c25f43c85bddd689b243c2baef62def6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntityCommandHandler.cs:64-72 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/DeleteAndReturnEntityCommandHandler.cs:56-65 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/DeleteEntityCommandHandler.cs:55-63 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntityCommandHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/CommandHandlers/DeleteEntityCommandHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntityCommandHandler.cs:64\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060DeleteEntityCommand\u003CTId\u003E\u0060 in one and \u0060DeleteAndReturnEntityCommand\u003CTEntityDto, TId\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntityCommandHandler.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd9ef12e90ff9885fb60c9a996184fac471ff9271b9feda86012f65ba1d1762"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/CreateEntitiesCommandHandler.cs:67-74 | src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntitiesCommandHandler.cs:69-76 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/UpdateEntitiesCommandHandler.cs:60-67 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntitiesCommandHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/CommandHandlers/UpdateEntitiesCommandHandler.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060CreateEntitiesCommand\u003CTEntityDto\u003E\u0060 in one and \u0060UpdateEntitiesCommand\u003CTEntityDto\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/CreateEntitiesCommandHandler.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1005bd41c61a4726d3d7c8b90d7d0e0fc312de91b9aca280766d3ff7b8c468ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:151-159 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:208-216 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:149\u0060 calls \u0060ThrowIfNull\u0060, \u0060nameof\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:206\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e306f75fd63c96c0d3fe4671bf7ed6351a2ec2232ca052dec0014201b03d20f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs:79-87 | src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProviderWithFactory.cs:81-89 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProviderWithFactory.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs:79\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProviderWithFactory.cs:79\u0060 calls \u0060CreateDbContext\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs:77\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d1c28b4121c3794d487b12f933e23323ba86774faf6a0f86947752ac98c232"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs:99-107 | src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProviderWithFactory.cs:102-110 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProviderWithFactory.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs:99\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProviderWithFactory.cs:100\u0060 calls \u0060CreateDbContext\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs:97\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee2a729743364995a7b2ad549761e9817d5675813572b04eee4c4939d916387"}},{"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 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProviderWithFactory.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProviderWithFactory.cs:132\u0060 calls \u0060CreateDbContext\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs:129\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be43fd6f28bb36ff563ea90fab73b66cfe2af92d969247b33f6214e5f8c5bc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/CreateEntitiesCommandHandler.cs:65-72 | src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntitiesCommandHandler.cs:67-74 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/CreateEntitiesCommandHandler.cs:56-63 | src/CQRS/Modern.CQRS.DataStore/CommandHandlers/UpdateEntitiesCommandHandler.cs:58-65 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntitiesCommandHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/CommandHandlers/UpdateEntitiesCommandHandler.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/CreateEntitiesCommandHandler.cs:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060CreateEntitiesCommand\u003CTEntityDto\u003E\u0060 in one and \u0060UpdateEntitiesCommand\u003CTEntityDto\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/CreateEntitiesCommandHandler.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0872557485f0c444a1a5e5adb87ceb66858f0005f33da1ac26358c23cf39520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:80-87 | src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:133-140 | src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:221-228 \u2014 all 3 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:80\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":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"843e6bc033952906f207b0e32911aea01baefdd0cf0c94dc8c5bcbf169684192"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:80-87 | src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:131-138 | src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:216-223 \u2014 all 3 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:80\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":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"243c761176db326979db68e3cfcb44d2211eb82a7d388087b5908a42b7216162"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:179-185 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:268-274 \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.EFCore/ModernEfCoreRepositoryWithFactory.cs:179\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/ModernEfCoreRepositoryWithFactory.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"845e82663c4083eaa45d9950e22de711917e3a008225f86aecc93cad10ce36ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/WebApi/Modern.Controllers.DataStore.InMemory/DI/Features/GenericTypeControllerFeatureProvider.cs:35-42 | src/WebApi/Modern.Controllers.DataStore/DI/Features/GenericTypeControllerFeatureProvider.cs:35-42 \u2014 before extracting anything, compare \u0060src/WebApi/Modern.Controllers.DataStore.InMemory/DI/Features/GenericTypeControllerFeatureProvider.cs\u0060 and \u0060src/WebApi/Modern.Controllers.DataStore/DI/Features/GenericTypeControllerFeatureProvider.cs\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/WebApi/Modern.Controllers.DataStore.InMemory/DI/Features/GenericTypeControllerFeatureProvider.cs:35\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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.InMemory/DI/Features/GenericTypeControllerFeatureProvider.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b018baac5046df0788062a29257e99776d03080d0d199592e4d9979302806c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Abstractions/Queries/GetFirstOrDefaultQuery.cs:14-21 | src/CQRS/Modern.CQRS.DataStore.Abstractions/Queries/GetSingleOrDefaultQuery.cs:15-22 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Abstractions/Queries/GetFirstOrDefaultQuery.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore.Abstractions/Queries/GetSingleOrDefaultQuery.cs\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Abstractions/Queries/GetFirstOrDefaultQuery.cs:14\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.Abstractions/Queries/GetFirstOrDefaultQuery.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e1a7d21923222906a97378ab515eb6425183f4e8fd5420ef5fae84763bd0e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Repositories/Modern.Repositories.Dapper/Providers/OracleQueryProvider.cs:23-31 | src/Repositories/Modern.Repositories.Dapper/Providers/PostgresQueryProvider.cs:23-31 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, 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:23\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8599cbc5e45da087c92a9bbf20dcfb9c92d86528b5bb1d5dae3ac3c2a0f6eea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): src/SourceGenerators/Modern.Repositories.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.cs:59-63 | src/SourceGenerators/Modern.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs:71-75 | src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs:68-72 | src/SourceGenerators/Modern.Repositories.LiteDB.SourceGenerators/ModernLiteDbRepositoryGenerator.cs:68-72 | src/SourceGenerators/Modern.Repositories.MongoDB.SourceGenerators/ModernMongoDbRepositoryGenerator.cs:68-72 \u2014 before extracting anything, compare \u0060src/SourceGenerators/Modern.Repositories.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.cs\u0060 and \u0060src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"851b2803a6c75b56650533592bdc05cef581d32ace913f7615633e31979f4b40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/Repositories/Modern.Repositories.Dapper/Providers/MySqlQueryProvider.cs:23-28 | src/Repositories/Modern.Repositories.Dapper/Providers/OracleQueryProvider.cs:21-26 | src/Repositories/Modern.Repositories.Dapper/Providers/PostgresQueryProvider.cs:21-26 | src/Repositories/Modern.Repositories.Dapper/Providers/SqliteQueryProvider.cs:21-26 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, 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:23\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.Dapper/Providers/MySqlQueryProvider.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8633e7bea81d43f6f72223a6cf40d914bad842a10d728a5e3bd381cf73c084d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/Repositories/Modern.Repositories.Dapper/Providers/MySqlQueryProvider.cs:19-25 | src/Repositories/Modern.Repositories.Dapper/Providers/PostgresQueryProvider.cs:17-23 | src/Repositories/Modern.Repositories.Dapper/Providers/SqlServerQueryProvider.cs:17-23 | src/Repositories/Modern.Repositories.Dapper/Providers/SqliteQueryProvider.cs:17-23 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, 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:19\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/MySqlQueryProvider.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"386e3c1b2d6d3918ef1d20c868c361c8c1a470ca92b49513817d9406bb961e86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:490-495 | src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs:496-501 | src/Services/Modern.Services.DataStore/ModernService.cs:417-422 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 301 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/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d04b822560bc5a76208b66e9c75c152dfe29270cc1c14318c36f089d55b8966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:158-164 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:188-194 \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.EFCore/ModernEfCoreRepositoryWithFactory.cs:158\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"82558f16498dfe6f7dff1a4e6f0d5762d89ced5caf8d610fbec07578ef75eb51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10): src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs:67-71 | src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs:76-80 | src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs:85-89 | src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs:94-98 | src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs:103-107 | src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs:67-71 | src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs:76-80 | src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs:85-89 | src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs:94-98 | src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs:103-107 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs:67\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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.Cached/DI/ServicesExtensions.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"195b0f819e2604555f35989e629cf242a5f3ef34e98289317704f8cf0e6ca777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:412-417 | src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs:418-423 | src/Services/Modern.Services.DataStore/ModernService.cs:363-368 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 301 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/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de77c1c3bac3457f2fa4ae7ffea47d5fce27fd30e8d8076f582b470c48b48ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:644-651 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:551-558 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:629-633 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:672-679 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:644\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"19409d743819be709cf704dd92bd06a1dc4af1b91d76e81b15b89f97914ee6bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:702-706 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:730-734 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 126 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"d849ab1e38fbdfc2d1ef1c3b835fbc247dd878584098f10082253841fac59114"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/Abstract/BaseMediatorHandler.cs:25-70 | src/CQRS/Modern.CQRS.DataStore/Abstract/BaseMediatorHandler.cs:24-62 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/Abstract/BaseMediatorHandler.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/Abstract/BaseMediatorHandler.cs\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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/CQRS/Modern.CQRS.DataStore.Cached/Abstract/BaseMediatorHandler.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6677bc03678d433a923934b6498bd332baa7506d1fa16a03fc52692e074da631"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 5): src/WebApi/Modern.Controllers.CQRS.DataStore/DI/Configuration/ModernControllersOptions.cs:36-63 | src/WebApi/Modern.Controllers.DataStore.InMemory.OData/DI/Configuration/ModernODataControllersOptions.cs:30-54 | src/WebApi/Modern.Controllers.DataStore.InMemory/DI/Configuration/ModernControllersOptions.cs:36-63 | src/WebApi/Modern.Controllers.DataStore.OData/DI/Configuration/ModernODataControllersOptions.cs:30-54 | src/WebApi/Modern.Controllers.DataStore/DI/Configuration/ModernControllersOptions.cs:36-63 \u2014 before extracting anything, compare \u0060src/WebApi/Modern.Controllers.CQRS.DataStore/DI/Configuration/ModernControllersOptions.cs\u0060 and \u0060src/WebApi/Modern.Controllers.DataStore.InMemory/DI/Configuration/ModernControllersOptions.cs\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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/WebApi/Modern.Controllers.CQRS.DataStore/DI/Configuration/ModernControllersOptions.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39ff60df844de86d49285af1e74107ccf18d21bf6e14972f09a9ec7841d92b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:69-77 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:62-70 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:69-77 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c388b3eca78fe4eb4d2a0c2c2844036e66e1a087598ee6e8d70e98a434ca15b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:341-352 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:250-261 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2fa5fcd6b4308883d05482b7c4aa2bd2fe51705ff0510e995b0d6996aaf464"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:384-394 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:293-303 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffeed00539e33dcd0aee26f9301efdb551fd0de9ceb033c018fd5a2d87d3cec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:594-602 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:503-511 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2de0ede50770e1d26173ac4badfa715290e7a01e6fc80d811f0cf143be6655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:614-624 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:642-652 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 126 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad57ad0cbc6f71ef985b814965a4314a252046eb1cb0ba5919406d7c469d606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:742-751 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:770-779 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 126 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b55127ce2c302af0576240abd9b3a2e05f96f61158725afccdeca58d70a563"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs:783-790 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs:688-695 | src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs:811-818 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs\u0060 and \u0060src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 299 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d15504eed1286348b2474c76ed26a4e7021ca62472f531091226509f431635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/Repositories/Modern.Repositories.EFCore/Specifications/Base/Specification.cs:59-64 | src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/Specification.cs:59-64 | src/Repositories/Modern.Repositories.LiteDB/Specifications/Base/Specification.cs:59-64 | src/Repositories/Modern.Repositories.MongoDB/Specifications/Base/Specification.cs:59-64 \u2014 before extracting anything, compare \u0060src/Repositories/Modern.Repositories.EFCore/Specifications/Base/Specification.cs\u0060 and \u0060src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/Specification.cs\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/Specifications/Base/Specification.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b474945d0ce4d56bf92bfef0fc2712c5c8212fc58539d8898a3fb0df4036c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:113-123 | src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs:111-121 | src/Services/Modern.Services.DataStore/ModernService.cs:88-98 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 301 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/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c243e6f27a7db370151d3e22f483ab2049496e5b5e20d5e53e8680542d0695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs:389-400 | src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs:395-406 | src/Services/Modern.Services.DataStore/ModernService.cs:340-351 \u2014 before extracting anything, compare \u0060src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs\u0060 and \u0060src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 301 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.Cached/ModernCachedService.cs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f8d0f22d89b9023341354b9309b9a3b3325dc888d167c3172ed0f10ea1a94a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs:52-61 | src/WebApi/Modern.Controllers.DataStore/ModernController.cs:51-60 \u2014 before extracting anything, compare \u0060src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs\u0060 and \u0060src/WebApi/Modern.Controllers.DataStore/ModernController.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 73 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6509155ae95bebec1b92a53d75b67f8dcc79ae3a71226cd42b18e4738edcd406"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs:92-96 | src/WebApi/Modern.Controllers.DataStore/ModernController.cs:91-95 \u2014 before extracting anything, compare \u0060src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs\u0060 and \u0060src/WebApi/Modern.Controllers.DataStore/ModernController.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 73 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/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7fa143e73c59953469648536ee9d8b81aa6b0abd2cad80b64fe2062e0a065e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs:110-114 | src/WebApi/Modern.Controllers.DataStore/ModernController.cs:109-113 \u2014 before extracting anything, compare \u0060src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs\u0060 and \u0060src/WebApi/Modern.Controllers.DataStore/ModernController.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 73 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/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"14be7a5bcbd9ab7d67b619225242f3939717791911accf1021321bc3909b7f7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs:132-143 | src/WebApi/Modern.Controllers.DataStore/ModernController.cs:131-142 \u2014 before extracting anything, compare \u0060src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs\u0060 and \u0060src/WebApi/Modern.Controllers.DataStore/ModernController.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 73 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e242f6d8b493360a0b3310a74192eb7a68f936804d20b9972e0148d573a1596"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs:160-171 | src/WebApi/Modern.Controllers.DataStore/ModernController.cs:159-170 \u2014 before extracting anything, compare \u0060src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs\u0060 and \u0060src/WebApi/Modern.Controllers.DataStore/ModernController.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 73 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3a1ce302d18610d8c56548ca362e6c5e60e500ec9c924dc2b7536a67a4d6b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs:189-199 | src/WebApi/Modern.Controllers.DataStore/ModernController.cs:188-198 \u2014 before extracting anything, compare \u0060src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs\u0060 and \u0060src/WebApi/Modern.Controllers.DataStore/ModernController.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 73 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cff86e9e0f27fde36fe53629bb711118654bf00ecd62fc453e71feefe52dba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs:214-222 | src/WebApi/Modern.Controllers.DataStore/ModernController.cs:213-221 \u2014 before extracting anything, compare \u0060src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs\u0060 and \u0060src/WebApi/Modern.Controllers.DataStore/ModernController.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 73 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8553e5f0270101ef9aac264da6c1a58e2be37718bd23661dbaf1e0dc2912280b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs:237-245 | src/WebApi/Modern.Controllers.DataStore/ModernController.cs:236-244 \u2014 before extracting anything, compare \u0060src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs\u0060 and \u0060src/WebApi/Modern.Controllers.DataStore/ModernController.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 73 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4433e91deefe5ab67812e35b40255741bd0fd7d85cfc21f3c955a77c0126aa01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs:28-62 | src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs:28-62 \u2014 before extracting anything, compare \u0060src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs\u0060 and \u0060src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8b64546904e47f362dc6d7ec16c4bf825fac541a074d2fc80e96535c565cd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src/Repositories/Modern.Repositories.Dapper/ModernDapperRepository.cs:71-78 | src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs:44-51 | src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs:43-50 | src/Repositories/Modern.Repositories.MongoDB/ModernMongoDbRepository.cs:56-63 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.Dapper/ModernDapperRepository.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"556c56b600addd80f580479fff3f4bfca1e92c6c5d4020a018ceda8c6922ef87"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (17 members, 50\u002B identical tokens): examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/DbContexts/CityDbContext.cs:15-25 | examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/DbContexts/CityDbContext.cs:15-25 | examples/Modern.Controllers.CQRS.DataStore.Examples.Customized/DbContexts/CityDbContext.cs:15-25 | examples/Modern.Controllers.CQRS.DataStore.Examples/DbContexts/CityDbContext.cs:15-25 | examples/Modern.Controllers.DataStore.Cached.Examples.Customized/DbContexts/CityDbContext.cs:15-25 | examples/Modern.Controllers.DataStore.Cached.Examples/DbContexts/CityDbContext.cs:15-25 | examples/Modern.Controllers.DataStore.Examples.Customized/DbContexts/CityDbContext.cs:15-25 | examples/Modern.Controllers.DataStore.Examples/DbContexts/CityDbContext.cs:15-25 | examples/Modern.Controllers.DataStore.InMemory.Examples.Customized/DbContexts/CityDbContext.cs:15-25 | examples/Modern.Controllers.DataStore.InMemory.Examples/DbContexts/CityDbContext.cs:15-25 | examples/Modern.Controllers.DataStore.InMemory.OData.Examples/DbContexts/CityDbContext.cs:15-25 | examples/Modern.Controllers.DataStore.OData.Examples/DbContexts/CityDbContext.cs:15-25 | examples/Modern.EfCore.Examples/DbContexts/CityDbContext.cs:15-25 | examples/Modern.EfCore.UnitOfWork.Examples/DbContexts/CityDbContext.cs:15-25 | examples/Modern.Services.DataStore.Cached.Examples/DbContexts/CityDbContext.cs:15-25 | examples/Modern.Services.DataStore.Examples/DbContexts/CityDbContext.cs:15-25 | examples/Modern.Services.DataStore.InMemory.Examples/DbContexts/CityDbContext.cs:15-25 \u2014 These 17 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 17 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 17 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/DbContexts/CityDbContext.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"48882aac94d011437b4b06bb644f872a737c51152f73451d5214a2ac851e79c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (17 members, 50\u002B identical tokens): examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs:95-103 | examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Program.cs:89-97 | examples/Modern.Controllers.CQRS.DataStore.Examples.Customized/Program.cs:86-94 | examples/Modern.Controllers.CQRS.DataStore.Examples/Program.cs:80-88 | examples/Modern.Controllers.DataStore.Cached.Examples.Customized/Program.cs:96-104 | examples/Modern.Controllers.DataStore.Cached.Examples/Program.cs:81-89 | examples/Modern.Controllers.DataStore.Examples.Customized/Program.cs:74-82 | examples/Modern.Controllers.DataStore.Examples/Program.cs:72-80 | examples/Modern.Controllers.DataStore.InMemory.Examples.Customized/Program.cs:80-88 | examples/Modern.Controllers.DataStore.InMemory.Examples/Program.cs:72-80 | examples/Modern.Controllers.DataStore.InMemory.OData.Examples/Program.cs:111-119 | examples/Modern.Controllers.DataStore.OData.Examples/Program.cs:111-119 | examples/Modern.EfCore.Examples/Program.cs:100-108 | examples/Modern.EfCore.UnitOfWork.Examples/Program.cs:77-85 | examples/Modern.Services.DataStore.Cached.Examples/Program.cs:129-137 | examples/Modern.Services.DataStore.Examples/Program.cs:116-124 | examples/Modern.Services.DataStore.InMemory.Examples/Program.cs:116-124 \u2014 These 17 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 17 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 17 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc0bc1097812cdf6e2cda45eb8d2b98b18a34815b1b22cb60b89b7194b2e103"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): examples/Modern.LiteDb.Async.Examples/Entities/CarDbo.cs:6-41 | examples/Modern.LiteDb.Examples/Entities/CarDbo.cs:6-41 \u2014 before extracting anything, compare \u0060examples/Modern.LiteDb.Async.Examples/Entities/CarDbo.cs\u0060 and \u0060examples/Modern.LiteDb.Examples/Entities/CarDbo.cs\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/Modern.LiteDb.Async.Examples/Entities/CarDbo.cs:6\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":"examples/Modern.LiteDb.Async.Examples/Entities/CarDbo.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b5d07ef5222d3b7aed0070675c01e4f264b7d439ea84324cb7a98193a4fb76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 17): examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Entities/CityDbo.cs:8-34 | examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Entities/CityDbo.cs:8-34 | examples/Modern.Controllers.CQRS.DataStore.Examples.Customized/Entities/CityDbo.cs:8-34 | examples/Modern.Controllers.CQRS.DataStore.Examples/Entities/CityDbo.cs:8-34 | examples/Modern.Controllers.DataStore.Cached.Examples.Customized/Entities/CityDbo.cs:8-34 | examples/Modern.Controllers.DataStore.Cached.Examples/Entities/CityDbo.cs:8-34 | examples/Modern.Controllers.DataStore.Examples.Customized/Entities/CityDbo.cs:8-34 | examples/Modern.Controllers.DataStore.Examples/Entities/CityDbo.cs:8-34 | examples/Modern.Controllers.DataStore.InMemory.Examples.Customized/Entities/CityDbo.cs:8-34 | examples/Modern.Controllers.DataStore.InMemory.Examples/Entities/CityDbo.cs:8-34 | examples/Modern.Controllers.DataStore.InMemory.OData.Examples/Entities/CityDbo.cs:8-34 | examples/Modern.Controllers.DataStore.OData.Examples/Entities/CityDbo.cs:8-34 | examples/Modern.EfCore.Examples/Entities/CityDbo.cs:8-34 | examples/Modern.EfCore.UnitOfWork.Examples/Entities/CityDbo.cs:8-34 | examples/Modern.Services.DataStore.Cached.Examples/Entities/CityDbo.cs:8-34 | examples/Modern.Services.DataStore.Examples/Entities/CityDbo.cs:8-34 | examples/Modern.Services.DataStore.InMemory.Examples/Entities/CityDbo.cs:8-34 \u2014 before extracting anything, compare \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Entities/CityDbo.cs\u0060 and \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Entities/CityDbo.cs\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Entities/CityDbo.cs:8\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":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Entities/CityDbo.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5e2231ba3104433b2d345706aefdf731bd4fd6c2bc91fdc147c2d899e330ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 16): examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Models/CityDto.cs:6-31 | examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Models/CityDto.cs:6-31 | examples/Modern.Controllers.CQRS.DataStore.Examples.Customized/Models/CityDto.cs:6-31 | examples/Modern.Controllers.CQRS.DataStore.Examples/Models/CityDto.cs:6-31 | examples/Modern.Controllers.DataStore.Cached.Examples.Customized/Models/CityDto.cs:6-31 | examples/Modern.Controllers.DataStore.Cached.Examples/Models/CityDto.cs:6-31 | examples/Modern.Controllers.DataStore.Examples.Customized/Models/CityDto.cs:6-31 | examples/Modern.Controllers.DataStore.Examples/Models/CityDto.cs:6-31 | examples/Modern.Controllers.DataStore.InMemory.Examples.Customized/Models/CityDto.cs:6-31 | examples/Modern.Controllers.DataStore.InMemory.Examples/Models/CityDto.cs:6-31 | examples/Modern.Controllers.DataStore.InMemory.OData.Examples/Models/CityDto.cs:6-31 | examples/Modern.Controllers.DataStore.OData.Examples/Models/CityDto.cs:6-31 | examples/Modern.EfCore.UnitOfWork.Examples/Models/CityDto.cs:6-31 | examples/Modern.Services.DataStore.Cached.Examples/Models/CityDto.cs:6-31 | examples/Modern.Services.DataStore.Examples/Models/CityDto.cs:6-31 | examples/Modern.Services.DataStore.InMemory.Examples/Models/CityDto.cs:6-31 \u2014 before extracting anything, compare \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Models/CityDto.cs\u0060 and \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Models/CityDto.cs\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Models/CityDto.cs:6\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":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Models/CityDto.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f856b4d0df673b7b7758bcf873f4d6342764a8ec10e7eea4c70ebf3e15a5f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 13): examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Models/UpdateCityRequest.cs:6-31 | examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Models/UpdateCityRequest.cs:6-31 | examples/Modern.Controllers.CQRS.DataStore.Examples.Customized/Models/UpdateCityRequest.cs:6-31 | examples/Modern.Controllers.CQRS.DataStore.Examples/Models/UpdateCityRequest.cs:6-31 | examples/Modern.Controllers.DataStore.Cached.Examples.Customized/Models/UpdateCityRequest.cs:6-31 | examples/Modern.Controllers.DataStore.Cached.Examples/Models/UpdateCityRequest.cs:6-31 | examples/Modern.Controllers.DataStore.Examples.Customized/Models/UpdateCityRequest.cs:6-31 | examples/Modern.Controllers.DataStore.Examples/Models/UpdateCityRequest.cs:6-31 | examples/Modern.Controllers.DataStore.InMemory.Examples.Customized/Models/UpdateCityRequest.cs:6-31 | examples/Modern.Controllers.DataStore.InMemory.Examples/Models/UpdateCityRequest.cs:6-31 | examples/Modern.Controllers.DataStore.InMemory.OData.Examples/Models/UpdateCityRequest.cs:6-31 | examples/Modern.Controllers.DataStore.OData.Examples/Models/UpdateCityRequest.cs:6-31 | examples/Modern.EfCore.UnitOfWork.Examples/Models/UpdateCityRequest.cs:6-31 \u2014 before extracting anything, compare \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Models/UpdateCityRequest.cs\u0060 and \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Models/UpdateCityRequest.cs\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Models/UpdateCityRequest.cs:6\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":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Models/UpdateCityRequest.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"931e0a3ce68545d17cb93bcf4aba96497f647414db65eafcddfbe290b69a925d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs:36-52 | examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Program.cs:33-49 \u2014 \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs\u0060 and \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Program.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs:36\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":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07e992ad26243b05acafd6dc55a210ab34148792d3118bce2cd645e101e267f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): examples/Modern.Controllers.DataStore.Cached.Examples/Program.cs:29-41 | examples/Modern.Services.DataStore.Cached.Examples/Program.cs:42-56 \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 \u0060examples/Modern.Controllers.DataStore.Cached.Examples/Program.cs:29\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.Cached.Examples/Program.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c488369d03558e89e3e79a17c6fc9dff7b9bbc2d17248262efa112b5046fbc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples/Modern.Controllers.DataStore.InMemory.OData.Examples/Program.cs:32-43 | examples/Modern.Controllers.DataStore.OData.Examples/Program.cs:32-43 \u2014 \u0060examples/Modern.Controllers.DataStore.InMemory.OData.Examples/Program.cs\u0060 and \u0060examples/Modern.Controllers.DataStore.OData.Examples/Program.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 36 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/Modern.Controllers.DataStore.InMemory.OData.Examples/Program.cs:32\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":"examples/Modern.Controllers.DataStore.InMemory.OData.Examples/Program.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26f5fa673f361842a6887b8a0693d6aaab3758f97dbbb23d23aad4e9b804e3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 16): examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs:96-103 | examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Program.cs:90-97 | examples/Modern.Controllers.CQRS.DataStore.Examples.Customized/Program.cs:87-94 | examples/Modern.Controllers.CQRS.DataStore.Examples/Program.cs:81-88 | examples/Modern.Controllers.DataStore.Cached.Examples.Customized/Program.cs:97-104 | examples/Modern.Controllers.DataStore.Cached.Examples/Program.cs:82-89 | examples/Modern.Controllers.DataStore.Examples.Customized/Program.cs:75-82 | examples/Modern.Controllers.DataStore.Examples/Program.cs:73-80 | examples/Modern.Controllers.DataStore.InMemory.Examples.Customized/Program.cs:81-88 | examples/Modern.Controllers.DataStore.InMemory.Examples/Program.cs:73-80 | examples/Modern.Controllers.DataStore.InMemory.OData.Examples/Program.cs:112-119 | examples/Modern.Controllers.DataStore.OData.Examples/Program.cs:112-119 | examples/Modern.EfCore.UnitOfWork.Examples/Program.cs:78-85 | examples/Modern.Services.DataStore.Cached.Examples/Program.cs:130-137 | examples/Modern.Services.DataStore.Examples/Program.cs:117-124 | examples/Modern.Services.DataStore.InMemory.Examples/Program.cs:117-124 \u2014 \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs\u0060 and \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Program.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060examples/Modern.EfCore.UnitOfWork.Examples/Program.cs:74\u0060 calls \u0060Run\u0060 and \u0060examples/Modern.Services.DataStore.Cached.Examples/Program.cs:126\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"861404d0c50b12651be337b74632a5140bb87c76168735b5d35517e6eb346a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 17): examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/DbContexts/CityDbContext.cs:16-22 | examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/DbContexts/CityDbContext.cs:16-22 | examples/Modern.Controllers.CQRS.DataStore.Examples.Customized/DbContexts/CityDbContext.cs:16-22 | examples/Modern.Controllers.CQRS.DataStore.Examples/DbContexts/CityDbContext.cs:16-22 | examples/Modern.Controllers.DataStore.Cached.Examples.Customized/DbContexts/CityDbContext.cs:16-22 | examples/Modern.Controllers.DataStore.Cached.Examples/DbContexts/CityDbContext.cs:16-22 | examples/Modern.Controllers.DataStore.Examples.Customized/DbContexts/CityDbContext.cs:16-22 | examples/Modern.Controllers.DataStore.Examples/DbContexts/CityDbContext.cs:16-22 | examples/Modern.Controllers.DataStore.InMemory.Examples.Customized/DbContexts/CityDbContext.cs:16-22 | examples/Modern.Controllers.DataStore.InMemory.Examples/DbContexts/CityDbContext.cs:16-22 | examples/Modern.Controllers.DataStore.InMemory.OData.Examples/DbContexts/CityDbContext.cs:16-22 | examples/Modern.Controllers.DataStore.OData.Examples/DbContexts/CityDbContext.cs:16-22 | examples/Modern.EfCore.Examples/DbContexts/CityDbContext.cs:16-22 | examples/Modern.EfCore.UnitOfWork.Examples/DbContexts/CityDbContext.cs:16-22 | examples/Modern.Services.DataStore.Cached.Examples/DbContexts/CityDbContext.cs:16-22 | examples/Modern.Services.DataStore.Examples/DbContexts/CityDbContext.cs:16-22 | examples/Modern.Services.DataStore.InMemory.Examples/DbContexts/CityDbContext.cs:16-22 \u2014 before extracting anything, compare \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/DbContexts/CityDbContext.cs\u0060 and \u0060examples/Modern.Controllers.DataStore.Cached.Examples/DbContexts/CityDbContext.cs\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/DbContexts/CityDbContext.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4af617c2f81122a02e290ced93d6615b33f0735187799150a24b090211a1168"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/Modern.Cache.InMemory.Examples/Program.cs:51-57 | examples/Modern.Cache.Redis.Examples/Program.cs:63-69 \u2014 \u0060examples/Modern.Cache.InMemory.Examples/Program.cs\u0060 and \u0060examples/Modern.Cache.Redis.Examples/Program.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 7 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Cache.InMemory.Examples/Program.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ac965c2d69f980a64c40412382ac271ad3b4bf478e7c320d4b65e404fdb8cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 17): examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs:99-103 | examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Program.cs:93-97 | examples/Modern.Controllers.CQRS.DataStore.Examples.Customized/Program.cs:90-94 | examples/Modern.Controllers.CQRS.DataStore.Examples/Program.cs:84-88 | examples/Modern.Controllers.DataStore.Cached.Examples.Customized/Program.cs:100-104 | examples/Modern.Controllers.DataStore.Cached.Examples/Program.cs:85-89 | examples/Modern.Controllers.DataStore.Examples.Customized/Program.cs:78-82 | examples/Modern.Controllers.DataStore.Examples/Program.cs:76-80 | examples/Modern.Controllers.DataStore.InMemory.Examples.Customized/Program.cs:84-88 | examples/Modern.Controllers.DataStore.InMemory.Examples/Program.cs:76-80 | examples/Modern.Controllers.DataStore.InMemory.OData.Examples/Program.cs:115-119 | examples/Modern.Controllers.DataStore.OData.Examples/Program.cs:115-119 | examples/Modern.EfCore.Examples/Program.cs:104-108 | examples/Modern.EfCore.UnitOfWork.Examples/Program.cs:81-85 | examples/Modern.Services.DataStore.Cached.Examples/Program.cs:133-137 | examples/Modern.Services.DataStore.Examples/Program.cs:120-124 | examples/Modern.Services.DataStore.InMemory.Examples/Program.cs:120-124 \u2014 \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs\u0060 and \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Program.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs:99\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":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b84ab3b3890c26c4fb6717c48b887f5ef45f019f1028c881a356103ed32b38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): examples/Modern.LiteDb.Async.Examples/Program.cs:25-85 | examples/Modern.LiteDb.Examples/Program.cs:25-85 \u2014 \u0060examples/Modern.LiteDb.Async.Examples/Program.cs\u0060 and \u0060examples/Modern.LiteDb.Examples/Program.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 61 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.LiteDb.Async.Examples/Program.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"10795dd7d473f08a5f02f778d28be063016fc8fcaf3a0a9cce334ea8ceb424d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs:72-76 | examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Program.cs:66-70 | examples/Modern.Controllers.CQRS.DataStore.Examples.Customized/Program.cs:63-67 | examples/Modern.Controllers.CQRS.DataStore.Examples/Program.cs:57-61 | examples/Modern.EfCore.Examples/Program.cs:44-48 | examples/Modern.Services.DataStore.Cached.Examples/Program.cs:70-74 | examples/Modern.Services.DataStore.Examples/Program.cs:60-64 | examples/Modern.Services.DataStore.InMemory.Examples/Program.cs:60-64 \u2014 \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs\u0060 and \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Program.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"206147c0468b4702ce81ed3bff451573cf25cdcd53e200eccac8238d051ad5f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): examples/Modern.Controllers.DataStore.Examples/Migrations/ToolsDbContextFactory.cs:11-21 | examples/Modern.Controllers.DataStore.InMemory.Examples/Migrations/ToolsDbContextFactory.cs:11-21 \u2014 before extracting anything, compare \u0060examples/Modern.Controllers.DataStore.Examples/Migrations/ToolsDbContextFactory.cs\u0060 and \u0060examples/Modern.Controllers.DataStore.InMemory.Examples/Migrations/ToolsDbContextFactory.cs\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.Examples/Migrations/ToolsDbContextFactory.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc9030ef141084364abf38c463f20bbbdb7fa734e16b899ab338dddc3728c75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): examples/Modern.Controllers.DataStore.Examples/Program.cs:27-37 | examples/Modern.Controllers.DataStore.InMemory.Examples/Program.cs:27-37 | examples/Modern.Controllers.DataStore.InMemory.OData.Examples/Program.cs:49-59 | examples/Modern.Controllers.DataStore.OData.Examples/Program.cs:49-59 \u2014 \u0060examples/Modern.Controllers.DataStore.Examples/Program.cs\u0060 and \u0060examples/Modern.Controllers.DataStore.InMemory.Examples/Program.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 24 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/Modern.Controllers.DataStore.Examples/Program.cs:27\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. 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":"examples/Modern.Controllers.DataStore.Examples/Program.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5adadcc36c4df01d6178d0c868e9a1707933a3a565ee774a36cdcc787a38595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Migrations/ToolsDbContextFactory.cs:11-21 | examples/Modern.Controllers.DataStore.Cached.Examples/Migrations/ToolsDbContextFactory.cs:11-21 \u2014 before extracting anything, compare \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Migrations/ToolsDbContextFactory.cs\u0060 and \u0060examples/Modern.Controllers.DataStore.Cached.Examples/Migrations/ToolsDbContextFactory.cs\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Migrations/ToolsDbContextFactory.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27fe36c173856be7b3cb086894d7e472af6acbe85c04acb9df925aecf21019a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs:84-89 | examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Program.cs:78-83 | examples/Modern.Controllers.CQRS.DataStore.Examples.Customized/Program.cs:75-80 | examples/Modern.Controllers.CQRS.DataStore.Examples/Program.cs:69-74 \u2014 \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs\u0060 and \u0060examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Program.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84d65fcbfe15ef8dbe315a953f8e0287c303c1ba79f6842b1478fa7c856ec9c"}},{"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 7 project(s), so it\u0027s rigid to change."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Modern.Data/Modern.Data.csproj"},"region":{"startLine":1}}}],"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 8 project(s), so it\u0027s rigid to change."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Modern.Exceptions/Modern.Exceptions.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b637b2d1178f175eb022aac3350c9ab2d5fc9076314d7981b0f5c81a351c2a5a"}},{"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":[{"physicalLocation":{"artifactLocation":{"uri":"src/Common/Modern.Extensions.Microsoft.DependencyInjection/Modern.Extensions.Microsoft.DependencyInjection.csproj"},"region":{"startLine":1}}}],"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.InMemory.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":"D12","level":"note","message":{"text":"Outdated: Mapster: Mapster 7.4.0 \u2192 10.0.14 available (referenced by Modern.Services.DataStore)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/Modern.CQRS.DataStore.Cached.csproj"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed4108ba0abc17c7b03f20387b70e6f847ed72ac7a15da6d952f2385713c16b"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated: coverlet.collector: coverlet.collector 6.0.2 \u2192 10.1.0 available (referenced by Modern.Repositories.EFCore.Tests.Integration)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/IntegrationTests/Modern.Cache.InMemory.Tests.Integration/Modern.Cache.InMemory.Tests.Integration.csproj"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"482605b0b05b3f3cc78072d0e2fe8d50cb3a877a20927fc8b26e014c7bd1130d"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: xunit: xunit 2.6.2 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060xunit.v3\u0060; that is the next major line under a new package id, so the move is a breaking rename rather than a version bump \u2014 budget for API changes in the code that uses it, not only the reference swap."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/IntegrationTests/Modern.Repositories.EFCore.Tests.Integration/Modern.Repositories.EFCore.Tests.Integration.csproj"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ddedd8e15c05c7c1e1aa21a1aef376667915ab2e138b7e75fa2fd39ed87097"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: xunit: xunit 2.6.2 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060xunit.v3\u0060; that is the next major line under a new package id, so the move is a breaking rename rather than a version bump \u2014 budget for API changes in the code that uses it, not only the reference swap."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/IntegrationTests/Modern.Repositories.MongoDB.Tests.Integration/Modern.Repositories.MongoDB.Tests.Integration.csproj"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c7facd6c8b222c6aca2c981c3a51086614e10f112a65e43974c1cf6a544dc5"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: xunit: xunit 2.6.2 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060xunit.v3\u0060; that is the next major line under a new package id, so the move is a breaking rename rather than a version bump \u2014 budget for API changes in the code that uses it, not only the reference swap."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/IntegrationTests/Modern.Repositories.Dapper.Tests.Integration/Modern.Repositories.Dapper.Tests.Integration.csproj"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"346b079d126d2a2980ae6ee124e9c9dec7f0c547f3457aacd737066d30458767"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: xunit: xunit 2.6.2 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060xunit.v3\u0060; that is the next major line under a new package id, so the move is a breaking rename rather than a version bump \u2014 budget for API changes in the code that uses it, not only the reference swap."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/UnitTests/Modern.CQRS.DataStore.Cached.Tests.Unit/Modern.CQRS.DataStore.Cached.Tests.Unit.csproj"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd4fc1575815a256ec7e8b395864620d68db5c3533dcccb783d5c235502b176"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: xunit: xunit 2.6.2 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060xunit.v3\u0060; that is the next major line under a new package id, so the move is a breaking rename rather than a version bump \u2014 budget for API changes in the code that uses it, not only the reference swap."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/UnitTests/Modern.CQRS.DataStore.InMemory.Tests.Unit/Modern.CQRS.DataStore.InMemory.Tests.Unit.csproj"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca77e2da33697c3c7a26fddca937a6aeaa6ff1b1743e0aa69aa09ea096886326"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: xunit: xunit 2.6.2 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060xunit.v3\u0060; that is the next major line under a new package id, so the move is a breaking rename rather than a version bump \u2014 budget for API changes in the code that uses it, not only the reference swap."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/UnitTests/Modern.CQRS.DataStore.Tests.Unit/Modern.CQRS.DataStore.Tests.Unit.csproj"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39f40c478135c4ee338f1b026cf8314b16817990ace1f5c6c8570780d62915a"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: xunit: xunit 2.6.2 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060xunit.v3\u0060; that is the next major line under a new package id, so the move is a breaking rename rather than a version bump \u2014 budget for API changes in the code that uses it, not only the reference swap."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/UnitTests/Modern.Services.DataStore.Cached.Tests.Unit/Modern.Services.DataStore.Cached.Tests.Unit.csproj"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8d3d171cd0399be2411e949bf7cd24cc2cac20b7e1e0110a3ea5192d700fe7"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: xunit: xunit 2.6.2 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060xunit.v3\u0060; that is the next major line under a new package id, so the move is a breaking rename rather than a version bump \u2014 budget for API changes in the code that uses it, not only the reference swap."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/UnitTests/Modern.Services.DataStore.InMemory.Tests.Unit/Modern.Services.DataStore.InMemory.Tests.Unit.csproj"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aff248ed222fec86b899458ec958ca85ed7d369a64893982bbdad810015c351"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: xunit: xunit 2.6.2 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060xunit.v3\u0060; that is the next major line under a new package id, so the move is a breaking rename rather than a version bump \u2014 budget for API changes in the code that uses it, not only the reference swap."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/UnitTests/Modern.Services.DataStore.Tests.Unit/Modern.Services.DataStore.Tests.Unit.csproj"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2114db09fc6287b4adf6219fc0d0a9bcd6e0dc610ad8d1598de949a798470eda"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6618cfdeba76981946fd12a70f7b06d6025985e63e6910a300d0cd9e88179d8a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.MongoDb.Examples/Repositories/ProductRepository.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e3db683e2c51afeef9b7b661bfffda6f0ff3f83b052b717960b8558463adc3"}},{"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":"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: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":55}}}],"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":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e453b7a442680093610a2b3ee61c913f1613af47179353e2498f4b0a0b17afcc"}},{"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: 11 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f321b6115e7454cdd1f1dc243eaee00a4156ddc3dc7d0794ad227b3a25ca6135"}},{"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":150}}}],"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":"Dead code: HandlerName: Field HandlerName \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Modern.CQRS.DataStore.Cached(net8.0), and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteAndReturnEntityCommandHandler.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"238949370028a6678fe77b5d228fc6f82f5eebc93fc1d96e6ac533a2b8c39c5a"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: EntityRequestAttributeName: Field EntityRequestAttributeName \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Modern.Controllers.SourceGenerators, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Controllers.SourceGenerators/EntityRequestGenerator.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76c10e6f9786bf1c874f3add04c437a0b8094ed88ffa714fd8585018ed446fd"}},{"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":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Configure the HTTP request pipeline.\u0022 is ASP.NET Core project template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Host/Modern.Application.Host/Program.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9609fbc2c6bf592d0f8cc00cfd033c6e0d0b2cb96e41e1b8046eff6f9d9912d"}},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"99d77020cf722ab8dfaf7bad7d1b649b65214ef6859c94ead53afb063454d921"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"10fb3a4771ee87f7a0da78abd64e8040ef2eb4b5bacff63d0118c19a718ccfd5"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f645b0c99ea821983da8e3bd4f7451ecf98dd9d7bcc256e65210b2f8a4920895"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98944b8f237d1395ecf47ec57721eb5d9e6c4b794e6fdb5f220921a93133b3e2"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9440a256e317b53d0d9d700aa2964ca8bb186e19573713212bc7ef45b863db0"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28ed6c65515918df1c8e493453bbaa4e736cb1f3008288f0bf18f4f23e960744"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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. Counted over 100 of the 242 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. 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"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.InMemory/ModernInMemoryService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40db615bd0007578b04bd0444bbad5f132837ccb84fd7b015c70a46edc4c4043"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/ModernService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6281485b9d18f140621752e2ce499415d9ba27c78053c875b52f995aad714798"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryWithFactory.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cfcbf1c457f37810d98eca34ca9e644e0b5bf354c817de45405299bfe26e73"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepository.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0e5d3cc8cb06f87b3b89566aa138e9bf73cb46a1c33e0606f3dadfa8323155"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/ModernEfCoreRepositoryForUnitOfWork.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9999805ac2baaf0b8658a8999a9d61c1207b9714382b30fdcea202ab9779e11"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.Dapper/ModernDapperRepository.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"824520cec8558242fe75d16420e24793854b918d9824c61f77434cc5d80d8faa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.MongoDB/ModernMongoDbRepository.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac8b0315228f4b2d92f3aa65f08cac4056903319ad9b0932ac020879329a85d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.LiteDB/ModernLiteDbRepository.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c41ae1659e07a82d8f49acbab9d7993f70a0182522a21852f08baa13802b0f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.LiteDB.Async/ModernLiteDbAsyncRepository.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"694de6170af4d09434d0a5f7f989442f9cb6cd25917b0725205e3f9d08319978"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.Abstractions/IModernQueryRepository.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48f68f6839472f8333e48c81655f014d62e256756abf18ab4125228db4ea4ad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd918ae045a258295ac72eb98b6290d302df972bd3e55a939be9abd49c2c28b1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74202a43ed93a5c1faac981f462730376e63c43844770f2fc164239e7ddaa65"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Repositories.EFCore.SourceGenerators/ModernEfCoreRepositoryGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8035467a97744a25ec24145dbdbc37565ddf2f989c93f947fbf90f51318b47b9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e4f6a8dfa1cae24899861a8d5841062d25b72f8a72d3017670d403f842f285"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"595c2e57ccd573af46690d0b7f93b6c7dc640f21517ecc3b2b9ea2e8d4d8f222"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.InMemory.Abstractions/IModernQueryInMemoryService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15392c4e45b35b8216df07f774189615479993644d2862e106190f74be30a0a6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.Abstractions/IModernQueryService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc30020c3ff2b6e84f0ff1d03de6d5b4b8ca9d1599f363c85b5fe2222edeb2e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/DI/ServicesExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4784af0cffd28f4c6a7b020885ba524f57f442f9b1e0ff240759d565c5acf0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20a79f3377dd2000078aabd0c563a0b3c2fb1679733b0b0eccb26b031ba0572"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.InMemory/Cache/ModernInMemoryServiceCache.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b196c999a34be3b7dd245f4635c3362416f80a85e9fa5a5bb6edaf9b4ea870cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.InMemory.Abstractions/IModernCrudInMemoryService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24679f4582f58edb13f7eb23b775c97cd58ac5be48728b711ef0ad73cf7e35bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.Abstractions/IModernCrudService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"556098e2cad84bd54a9a4bf69885a27847200aca86251751975d8aa5e92a3cd1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.Abstractions/IModernCrudRepository.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7696f2308e86af0a4013427cedb98d2cc2fc055a1ebedef74f87abedaf35356"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProviderWithFactory.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9851446ea73a52e05d546f8af66ab6e71e7b9642dd2e7e29387cce1e184f799"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryProvider.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f7508411efc2c71741aa7055329a727cd191170a8a03bf9fe768c40e0df488"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.Dapper/Extensions/DapperAsyncExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"063fcc65af5e9f2f5bf6ec69f77a0302af8a6f0f10ced4adca9ccabba8b980fd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Controllers.InMemory.SourceGenerators/ModernInMemoryControllerGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92754d9e81608fd22b199328773368654f61026b516082fe1ed2cd0eb0fcae72"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.InMemory.Abstractions/Cache/IModernServiceCache.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada1f082528d5bf0157e0934a83dd38ff3eca42fdd94f23d5973a7193181a8a1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Controllers.SourceGenerators/ModernControllerGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0ea61bef107434306ba216d9d232dc7a50793ee4a49aa7ad8025c6500f8a38"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Controllers.SourceGenerators/EntityRequestGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77555dbee2a408af9ee374cd807e3afdaac0fa047d33ddee2b3714af4db2939"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/DI/Configuration/ModernEfCoreRepositoriesOptions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa96bd9c36da362b0fed6735cd5f2fd25db0c1453a00634bd21852f6a005319"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Cache/Modern.Cache.Redis/ModernRedisCache.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0ad4a9eae59f2fdf40e7e45ec1e51122027e0ffcfcd0fa61bbc50199d2a4ff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Services.DataStore.InMemory.SourceGenerators/ModernInMemoryServiceGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e837cb1f999ff6b8512b63d9ded786da9589cfaa55ceeae9f7688273d5f5fb7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Services.DataStore.Cached.SourceGenerators/ModernCachedServiceGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a7402215750a871b5313e7c4dd3a5f363f0e4231254787669ea436d2b3d8da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Repositories.MongoDB.SourceGenerators/ModernMongoDbRepositoryGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cfc13b6de8df1d8f27f5cf68772fe37fc6ef9a4a94b626d996ba63503350ad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Repositories.LiteDB.Async.SourceGenerators/ModernLiteDbAsyncRepositoryGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"645c95649ee12b6d0c8b4bab5dad7107d66e4c6de0ed704c6d91ad165bc799c4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Repositories.LiteDB.SourceGenerators/ModernLiteDbRepositoryGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"643e4fb6b584ec9d04268c4ff262ff76c8d77c366d4ab29a44af3e0c8561b617"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/Specification.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbc38ea4145e9a7d78a559214e52f96aa8781ef48e92a48daa11f7547f7f8d7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.MongoDB/Specifications/Base/Specification.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83427447cbafa6d6540850dadea77c4275e9eefc6f2e637c636f40c9848846b1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/Specifications/Base/Specification.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e68054f0ba0bdecd1030eb6d4327c018adba1fb3f575305e8f67957a72420c8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.LiteDB/Specifications/Base/Specification.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d769e4b3197e459ba747dcc3a422eb66a575fc59eafcc16d2399e60cce647ef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Services.DataStore.SourceGenerators/ModernServiceGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9309c0f6768ff44349133e6428c687696411ba51db6dd9b82ec4927818fe48e8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/SourceGenerators/Modern.Repositories.Dapper.SourceGenerators/ModernDapperRepositoryGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23aa62f1db4d545c792c7c2b33248d2421a542dc391318d666999d61413da1b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Cache/Modern.Cache.InMemory/ModernInMemoryCache.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e95b98563bdf764b74ab97283e53e26bf34a1762430c201a3e3a7da4d46337"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntityByActionCommandHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8849f9ccdb8fb0fc2ecc0fbfbf4196d22f8a1cbc9037a37cd0cfe85e6b540a88"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntitiesCommandHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a3fa7b9b750c6d89ac52dcb16ab121a5fef9eb1a591e9a21a814ca2d8d71e4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntitiesCommandHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66792b1e07ce9d9e90efcb375c0d6bb08a5a7d5521ac031d017ad9371f904739"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/UpdateEntityCommandHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ef7f915ad49fc80c0fb258d286db609d869c1c67581893fcfa212cf43814cf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/CreateEntitiesCommandHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18629bc31dad6ae8f088a0631e0938b9e2c46a5543abe17407a82f5a06cb40c2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteEntityCommandHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7baa036ab616c8bd320f4873700fe93437d24a63a33d73b276cfda70d1cd447b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/CreateEntityCommandHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b53c918c3a0aca69d4a8d1133c45e0d7c8df7d066c356bdbbd22952181bcdb4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/CommandHandlers/DeleteAndReturnEntityCommandHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4119f70bab7511e482c472cf376ba5fa14da986d9c03ef146c1f1e7618025e38"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/CommandHandlers/UpdateEntityByActionCommandHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b453ecf5e3bb1c52c80e6bb0f58dc81824861f7bf443289c165acb26e007ba7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/CommandHandlers/DeleteEntitiesCommandHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee1b1eeb4ed050acbf0bc111cafebd88cee5a29e1aa0a224e60766675908c32"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetWherePagedQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b638490e81914941f687b3939a537de91caee075c2cd2332f4dfd0edfe350847"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetWherePagedQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fef106b433695033e0afabe885169e507df7652e64ca5ba8c5f719e6ff7e4f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.InMemory/DI/Configuration/ModernServicesOptions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6186f6c2dece69efeeb8a4af2a06ecc8d0d8bd0186bbc6a57700194a1ceb2e8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/TryGetByIdQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e7817bda712621872a225ae91d2887495d9fb1996c6f2fe7554060e6d7606a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/CommandHandlers/UpdateEntitiesCommandHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d221fe9515f166534328acd818fc9cbbaae839c3f4236ce37853974a9c7aacde"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetByIdQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc90296acef22ca127ec1d258dc0bfc11c00c44da59ee53ef2a2a27862fc0749"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/CommandHandlers/UpdateEntityCommandHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"724466ab8ed2a1c03e54f0631cbe09243277a867d5f3e567ec20571d1cb3c95b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.Dapper/DI/Configuration/ModernDapperRepositoriesOptions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"469623c045adb2544832b4d6fb01dfb863ae3130da0d5d856a594729811820cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/CommandHandlers/DeleteEntityCommandHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c714d7d61a857b1e548acd7b4031a79d34a103ad3110207b76bdf8e3af46278b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/CommandHandlers/CreateEntitiesCommandHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ef254d11d4681782bff6d01af63fee43f9261b129d607d81d924750f8a2203"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/CommandHandlers/DeleteAndReturnEntityCommandHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4521ce1f9d3a1ea2436b56351e243dd68da7e71485f779aa7c144d768125a169"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/DI/ServicesExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb682acbb29c93c2f773a72613c3868d7b0eb1a4e8ff79dc3ddfcb431905f24"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetSingleOrDefaultQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"573f465b9353a3278aabee56a9e97b3e869162865c9c34166cd9d3595430183d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetSingleOrDefaultQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b380b5f3605b240fcc779f6b46cc8adeef25d7b0b983bc46d494f03052eea5ae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/CommandHandlers/CreateEntityCommandHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b99505f84a26eb26ab150c9107ef8fe2413701fc0909362a359202a68cbf49"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.MongoDB/DI/Configuration/ModernMongoDbRepositoriesOptions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9635388457f0bd243c33173297ff67b46f1bca6a2083e8c90f21711e795b8c40"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.Dapper/Mapping/DapperEntityMapping.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ae2f666024383c21735d408fad2b2c6924832d5ac903e32f3774e3b05ee207"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetFirstOrDefaultQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1198762a15490d26d905a82d767643f5cef90b9c67061e77c4c3201e3235fffd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetFirstOrDefaultQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf10ffcf6e3ab282a55e8ab6635deb92c733752ab22bd53d192e885c3bbf681"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.Cached/DI/Configuration/ModernServicesOptions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e2fcf0532239884a8c7a35a511e323ec60fdea3e076ee63db73a93db6a7f99"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetWhereQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eac9c1cacefbeb50ec1ee9a92a9309daa7cbca509e75de9b3031e453aba8f1c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetExistsQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84bdaad7432a4cdca8d86c132f3555f7f9039107250439790b2a9c1cffb9217"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetWhereQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d27ea3ee026203aa85f673762d5360bb15e6d7e34718c7294ade4e7c7695e79"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.InMemory/DI/ServicesExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3474d8abc5b63d3ed631ad1c772c6359f71b6601ccfa8a73c9705531b2b6746"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetExistsQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7082460ce76f1ff38677a81ce462b1e5666765d1e49f5d70aad084096c7354c5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetByIdQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8de8310525951fc4bb94d3f500bd22c2e5625e41240b0fc7cd43b791c8bfa2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/QueryHandlers/TryGetByIdQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6173e1fd3d24708f1c9718bcab92af7621aa649852035aaec64a377082eb41"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1878133c2b64f322e5fa2ae1a09f6e8a1cdf0d37326e05f39ea1596f9d1760"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1765b162ba9ac5660f354485e41d4fd77017f6d41cc0e331b5b1a8a5dbb49df"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetAllQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b81264b3cf7be9fea8a0f1f9e5172e1d78da6bf6da366570497088ac441263"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetAllQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db02d1e036f26cf21716fe3defd19298f650623a0a5b3b373c2c766d3edbacfd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetCountAllQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"037d67cd639fd503602be65891a84de2008f2c1bb4300cb7e98ef2ec85924922"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore/QueryHandlers/GetCountAllQueryHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d754c0b4b90e750a9d88f64d03e5fbd160aadb6464fd94267af2823fe46b8b5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.LiteDB.Async/DI/Configuration/ModernLiteDbAsyncRepositoriesOptions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9a176f02fe5976999d2ca95c58774f3127e996d7e64f33d6f250ad6cdf91c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.LiteDB/DI/Configuration/ModernLiteDbRepositoriesOptions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"264a52f4152160afb4638ef70d823c3d64773500d2e4ab3fbf8c6d66716361a5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/UnitOfWork/ModernUnitOfWork.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6873843ea301096f15e115aa357aaa3527ce9a1b479329bc4ee746cec322323"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/DI/Features/GenericControllerRouteConvention.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd7a3e79e8a9493b217a3610619c989ef8ce1b419fa3664a5d47ed813429ce4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/Query/EfCoreQueryable.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88aca6bbf2109688405aa705787affb8cd0559efadfc99b5577901c213e5738"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/DI/Features/GenericControllerRouteConvention.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ef8c4fd54d02a83961ff016aa7f1bbfca879fb05400e9ab41273953d27b94b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Cache/Modern.Cache.Abstractions/IModernCache.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8c86150fc3de226bea8b18067a73758aa25993267a1b29708e6f538c8797bb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/DI/Configuration/ModernControllersOptions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af29f13545fb05a428e122be1e6e2e39fa3444780573c5656dea2715c39789b1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/DI/Configuration/ModernControllersOptions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4651a3fa9065d98bbdbcff785a024f316ecf03183ab616527bee34ba9b9382c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/DI/Configuration/ModernControllersOptions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9f8fd9e8784a2c05e2868001d81502e4fccfea0646293c80cd185d342a2470"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/DI/Features/GenericControllerRouteConvention.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0720b411a3a0e5983f02ab7c705db4f12d39532587ca8338d5c53c5ec73e0c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/Configuration/ModernServicesOptions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d208af6ea9eda97b77ec1d538f508ecbf6e3547196efe802bf4770a0deb040b4"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: .NET net6.0: tests/IntegrationTests/Modern.Cache.InMemory.Tests.Integration/Modern.Cache.InMemory.Tests.Integration.csproj declares .NET net6.0 as this project\u0027s target framework, and .NET 6 LTS, support ended 2024-11-12. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2024-11-12 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/IntegrationTests/Modern.Cache.InMemory.Tests.Integration/Modern.Cache.InMemory.Tests.Integration.csproj"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"861258c7a0975d394b854d21cf2765242406d14f3cb29f863e734e1c6c013576"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: .NET net6.0: tests/IntegrationTests/Modern.Cache.Redis.Tests.Integration/Modern.Cache.Redis.Tests.Integration.csproj declares .NET net6.0 as this project\u0027s target framework, and .NET 6 LTS, support ended 2024-11-12. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2024-11-12 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/IntegrationTests/Modern.Cache.Redis.Tests.Integration/Modern.Cache.Redis.Tests.Integration.csproj"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d417d6da1b8f16252715ab1e7fa0719a63959e5e5bfe246f5fceeb47355ae44"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IModernServiceCache\u003CTEntity, TId\u003E (17 members): \u0060IModernServiceCache\u003CTEntity, TId\u003E\u0060 declares 17 members under just 13 distinct name(s): \u0060AddOrUpdateAsync\u0060, \u0060AddOrUpdateAsync\u0060, \u0060DeleteAsync\u0060, \u0060DeleteAsync\u0060, \u0060ClearAsync\u0060, \u0060GetByIdAsync\u0060, \u0060TryGetByIdAsync\u0060, \u0060TryGetManyAsync\u0060, \u0060GetAllAsync\u0060, \u0060CountAsync\u0060, \u0060CountAsync\u0060, \u0060ExistsAsync\u0060, \u0060FirstOrDefaultAsync\u0060, \u0060SingleOrDefaultAsync\u0060, \u0060WhereAsync\u0060, \u0060WhereAsync\u0060, \u0060AsEnumerable\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. That is an OVERLOAD SET, not 17 separate responsibilities: a caller binds to 13 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 17 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore.InMemory.Abstractions/Cache/IModernServiceCache.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b5382362fea8beb3a6b04aa364c7c93392615a9f6deb2561a1c83842b1f2ef"}},{"ruleId":"AX9","level":"error","message":{"text":"Query handler writes persistent state one call away, in ModernRedisCache.AddOrUpdateAsync: QueryHandlers.GetByIdQueryHandler: \u0060QueryHandlers.GetByIdQueryHandler\u0060 is a read (query) handler but its body writes persistent state one call away, in ModernRedisCache.AddOrUpdateAsync \u2014 a query must stay side-effect-free so reads are safe to retry, cache, and route to a read replica."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/GetByIdQueryHandler.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ac778667ada81294dbf6b53e396d06152be43ed8f5c2cbe2ef94b5b6bdd21b"}},{"ruleId":"AX9","level":"error","message":{"text":"Query handler writes persistent state one call away, in ModernRedisCache.AddOrUpdateAsync: QueryHandlers.TryGetByIdQueryHandler: \u0060QueryHandlers.TryGetByIdQueryHandler\u0060 is a read (query) handler but its body writes persistent state one call away, in ModernRedisCache.AddOrUpdateAsync \u2014 a query must stay side-effect-free so reads are safe to retry, cache, and route to a read replica."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CQRS/Modern.CQRS.DataStore.Cached/QueryHandlers/TryGetByIdQueryHandler.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"209cf124bee3e6ec4f633ea79975f8599d8db5a3a9f596af67069fc3961168dd"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: No [Authorize]/policies and no imperative guard methods (throw-on-violation) were found \u2014 endpoints may be unprotected."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3c8f4a0d95788697a7fc1ead96135db317ec608163fb67cdcef02d14083148f1"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060CitiesCqrsController.GetCountryCities\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Controllers/CitiesController.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b302907cd2bba091ab630bc9e0371c15a04b68cc1a5e8581a826d8ba93fced3"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060CitiesCqrsController.GetCountryCities\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Examples.Customized/Controllers/CitiesController.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8131d04426f2324d87ab7baac06241c989b68eb50feca6638825c5a279d6a71"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060CitiesController.GetCountryCities\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.Cached.Examples.Customized/Controllers/CitiesController.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c619811c720316478928415536ecf2a6616d9d6c9502a77a8f24dbafd014ec73"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060CitiesController.GetCountryCities\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.Examples.Customized/Controllers/CitiesController.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf521cdd5495b9a4942d960e058e376797211ce43d12210489d4e484a3f36f2"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060CitiesController.GetCountryCities\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.InMemory.Examples.Customized/Controllers/CitiesController.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"16aa2aa5fa14c0ab3930debbf69b26a4d011dc85c950233e3e8d8fc4f22232cf"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060CitiesController.GetCountryCities\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.EfCore.UnitOfWork.Examples/Controllers/CitiesController.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec03f50e8bd4d0ea91e840aa18ae1264379ac4cfbe250876b12da2f954bdc68"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernCqrsController.GetById\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c1cafc21044c9ec697273a083f85372e9edb83e9fa8fd3e6692a04bfb34e79"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernCqrsController.GetById\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b41e6a2db035b1c0ceeae91546bf0bab79a1f87e7d797daeac6523a65ff0c9"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernCqrsController.GetAll\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"35200a84fb88b60f001cf213b5d994d8ab1025f9e03c8bf523bde9ac720df73d"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernCqrsController.GetAll\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a1594ee910f54ee55c112a32d20f7cfa10495887c1eaef2d10c2b2f89d196a"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernCqrsController.Create\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3827f76fe41be70e0c1c9ff3e33676d73d3e2d03c1a935b842c682880a96b3"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernCqrsController.Create\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b71c05b3d5ff2d791e9fc1ee52265dfeb20a31f696e142f1980378afccd9e3"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernCqrsController.CreateMany\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcf9c894962933c03b9fcec2177f410d11e21f20ff964d281d74b540b8a4359"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernCqrsController.CreateMany\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1fca44df9d7897ebe741a085257eba30da96a817f0e0837d90cf0cba3a62d9"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernCqrsController.Update\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a685b386d8b7d201678ac1d759b65fb08577802fbaa2f5d337a49a1ec685f5f1"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernCqrsController.Update\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1540ae15108a5928d32c5b9de1a2f5f1b6d35a7a504c05c61efdb71e3f62974"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernCqrsController.UpdateMany\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a970bf0607090e3d8e132c8a622e3f9fa69c9ee9aaca0bfd7a9eabd48ef7c652"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernCqrsController.UpdateMany\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6eeb8449473e2fe9e270278266c60c7cec6d56b3502f25b8f0c027e22a6d34e"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernCqrsController.Patch\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"507f3053f9625da24d9466cfd5b5144531e0820d91f9ece1b2fa7176052c2124"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernCqrsController.Patch\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebce0d31034222054ace4ca9bb69d7a512daa7c859ca1fb3e551f388e1cd536"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernCqrsController.Delete\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af34e9669a41b68c07f1795cbb53a9e3493eebc498c4efb41517dfd3f82e8ad"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernCqrsController.Delete\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e173f49ea7a2145043875b0991e3307d55dfc38ce68dec60ea2c3ea2a637af"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernCqrsController.DeleteMany\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c863b89d27f07a0a405e1e8f2713090979e802aeeaa1f4a0324de259bb9777"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernCqrsController.DeleteMany\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be650b2176d0b2f001c185780160998dd5e690fcbc34784b0e5bac34a05646e"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryODataController.Get\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory.OData/ModernInMemoryODataController.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55845d5382213dd7e3fc1b434988c75e71711d9963a4291f2ddfc6459184e94"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryODataController.Get\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory.OData/ModernInMemoryODataController.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfff8e090a08088ec5cb0baf9e5b1cd90d4ecb8e24c57233611495498d3ca9c"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryController.GetById\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c747f6aaf715abd3cc99c322401fa1676bfb7b022dacdbe3257bd220bac8db7"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryController.GetById\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcafaf9c77ce70512ed1d4bce6cfa7fb74ece8288b53bf07cf0c2dd3590bf99"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryController.GetAll\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73431e54910382336d9ea4f110abcd4703a3e0cb5ed08f2902aec78286db9d5"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryController.GetAll\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b577ff57681ef1719e27007cee3807711edf5a4b068f9de2916978cd0227aefc"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryController.Create\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"da89acc5167f2027260ff60b3d61c20dd3ed0d9d1c60bc54028feeeb6a82b5b4"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryController.Create\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edcb3d2ab6baaada825efaac4666ce9b8bc55321bcbf092c888353e43608899"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryController.CreateMany\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"923fcc19dde969507ef3cdde85d3d0d08d124d25532e639a1319886475d563e7"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryController.CreateMany\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80d5d964f25f4cbfc6ef752c5a599e03ce25fbd27ba736fc088203125c046bc"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryController.Update\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee795ca23599412b5115735eb671fd0ba07bf5b15fff5f0b94a070b9eac6d848"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryController.Update\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba27945a27989ffa23c585cf57243ede92dfd5d8fcfd3f6bfbe4f1e930af570"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryController.UpdateMany\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a790491ab4ff1a567ac80c05b8552d43c7c218c8849bd9a9e3e6bd08262b88"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryController.UpdateMany\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d930268db3d912b4e4fd517f781c4800a0ffcb5226222fc0a804382944d91af0"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryController.Patch\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d92ded419c3ff5a7c2c1cb57c3d4ef5f6f2ccc0a17617885a61ceef282bf70"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryController.Patch\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb301be15dabb99c3360603c1ed3c42304e6d814ec3558e6f6fc4ece42c4109"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryController.Delete\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"772651ad223212423948d2acddba48291c85d9238b79c07dec89196b7dae898c"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryController.Delete\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a5e0f7b97a5dc757353211f60e7f491b6e30265ec560a9f938ddde8c5377a5"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryController.DeleteMany\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f14f15bedeb2e20e439ceaf9a1e5c915731c0e03321794ce0ddf52e09367dee"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernInMemoryController.DeleteMany\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb8fe9fc4f51cb3d2dc032e15576d5773ce22bd2441cb70053db3c97f0b2a2c"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernODataController.Get\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.OData/ModernODataController.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"682dad322d1b759b229ec1a21cbd9b928d0bff1a9f0e67cffbad82236efe5a5b"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernODataController.Get\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.OData/ModernODataController.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed3c33af3ceae8bf03c0e6a569a6301133227cad54aab4e689f42914c6a1cb4"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernController.GetById\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29290e6c46ce3d8a0a5704053e1ea0f844e6169ae2c2991d44fc2b7a2ae6d2c"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernController.GetById\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2be25c6d3c8d762fd2caad4f6423d30fcbaeb79acfb0bfe0bdaba605c21864b"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernController.GetAll\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"045d6a617bfe131e335763b822b65d1957f4bcf5adeb5ed6ca01714f5c77612e"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernController.GetAll\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a610f80c29833eb9c1dd3328058201c4af9aa06ca13cfeebaed7636e1addc411"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernController.Create\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"39130a5745a6a2fbec017e0ae8146d691a66612860a0ee73d8fddb79a1399085"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernController.Create\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0341cc3e0cf845c7f94a20678558d0dbc7d1e22e557744649c92903c5a50fee"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernController.CreateMany\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e14c1971551a69d003dd87b0482e7117e5bcc3399c8debbcd8e89dd621f21a5"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernController.CreateMany\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d4d69d952b264606091034b72fea8dc2ae332e4ba56109468998225f46c014"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernController.Update\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8385007d6fc41b91156eb22c42f921f90979a0f75b8ffa0a65a2bbb2dc91d4"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernController.Update\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15cc013de9bf52845e3025dbcefec7b838e11e2be54bf3c3e2d186198ba0675"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernController.UpdateMany\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a25ede098856677ddf3dcc8b3b6b613a3eca75e22ebda57b9074656e34dc926"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernController.UpdateMany\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ec371f2b3ca48a263cbb94496c8dc4e240e6aea2133a3137da800193c41373"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernController.Patch\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d439c9824765d6bdd5b908c8fcb53619c6f8a63c3f194843f389d095c3209191"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernController.Patch\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae0eefa46fe6f41c0a586529ccecb861c173020f19e154854d090963b6089de"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernController.Delete\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"1363b21c2d5da2245c583940dd037076db08ad322a73d363a06e845049913bfb"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernController.Delete\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f969af4f2e37356354cbf97c0b5f1fa0947cbd48db70566945bc546802b78f7d"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernController.DeleteMany\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c22337bfe9ecee7217428961d4430ec8176ebe14ef8cfa54446ab0214e5ab9"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060ModernController.DeleteMany\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6e943f6ba3d57302a5255bafb5a3db60f539a55844cef04b08aa7e0b3525f8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a69bb305d66938b472e674c8f24b79d7421d1d67861ab68ed4fa567fc9d5cf5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9235f6e889b48f5c60fbf8fcd1576638c4ea77289a40848feb6631bacff55e7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab36febfbfbe73599617c30e8333469406ca5cfcee08e4a86a82725a9cb3fd4c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca63b055cb40983126db6492cf917f28465cdb52ab3ab10ea5bd2801967efc36"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81caa364d2a8171c49b4b3a783b6e70ffe3840d863ccc030a2c8a1f0328fb2c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7bc6404471c15b4f6fff0db90f27eaa7b819208e499cde80a55fc8662a7d1a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"673d8a55b7df1daa0e50b05b489a26752c5bca7fa4a4cac5f92f22d2e90c3a65"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f27aa6735cf2f895f8a5bb0feaf9eb484bfd00453459071340209a5c595c53d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84cacc6f66ebb9deb005ebe4bbfb6470114981c4e0d8c426e76f4c15dadfcc0"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2f4e906f1ce6c96c66b17e08001a5f1ae57ebf26f128097bd9597cc3ab67dc"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Services/Modern.Services.DataStore/DI/ServicesExtensions.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"43080df9443cbc2efe7760c03a6aba21657ef3366a15b63205aa3e0f35245ea6"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 23/47 service-like projects use logging (pure contract/DTO projects are excluded \u2014 they have nothing to log). Of those 47, 20 ship a process this repository operates; the rest are libraries their consumer hosts, where the logging decision belongs to the host."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s csharp pack, or a .NET security analyzer package (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060examples/Modern.Cache.InMemory.Examples/Modern.Cache.InMemory.Examples.csproj\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Cache.InMemory.Examples/Modern.Cache.InMemory.Examples.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08d11147c1e202a511937d3e9a80b494cad0ced48836047bc3df5cada335103"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created with EnsureCreated() outside the migrations: This repository evolves its schema with versioned migrations, but \u0060EnsureCreated()\u0060 here builds a schema straight from the model instead \u2014 with no migrations-history row, so a database it creates can\u0027t be upgraded by \u0060Migrate()\u0060 afterwards and the two paths can disagree about the shape. Apply the migrations here (\u0060Migrate()\u0060 / a migrations bundle) rather than creating the schema."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.EfCore.Examples/Program.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc0d2f1b5f9fa7b433b668d2715c555492df62a7f1db2f7d576ac448465dbbd"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created with EnsureCreated() outside the migrations: This repository evolves its schema with versioned migrations, but \u0060EnsureCreated()\u0060 here builds a schema straight from the model instead \u2014 with no migrations-history row, so a database it creates can\u0027t be upgraded by \u0060Migrate()\u0060 afterwards and the two paths can disagree about the shape. Apply the migrations here (\u0060Migrate()\u0060 / a migrations bundle) rather than creating the schema."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Services.DataStore.Examples/Program.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"358382471f49d53c9aa0c07c07e8142174f088d5fddb2b53e875573875546613"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created with EnsureCreated() outside the migrations: This repository evolves its schema with versioned migrations, but \u0060EnsureCreated()\u0060 here builds a schema straight from the model instead \u2014 with no migrations-history row, so a database it creates can\u0027t be upgraded by \u0060Migrate()\u0060 afterwards and the two paths can disagree about the shape. Apply the migrations here (\u0060Migrate()\u0060 / a migrations bundle) rather than creating the schema."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Services.DataStore.Cached.Examples/Program.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be720a261e8811702daae212c88eb87f4b6e0da49ee9644205ddbbfb53ce59f"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created with EnsureCreated() outside the migrations: This repository evolves its schema with versioned migrations, but \u0060EnsureCreated()\u0060 here builds a schema straight from the model instead \u2014 with no migrations-history row, so a database it creates can\u0027t be upgraded by \u0060Migrate()\u0060 afterwards and the two paths can disagree about the shape. Apply the migrations here (\u0060Migrate()\u0060 / a migrations bundle) rather than creating the schema."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Services.DataStore.InMemory.Examples/Program.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17c42db3e2d15d71653fb5d829293ca9b49e8e3cffd74db72d1890cc5bb0871"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created with EnsureCreated() outside the migrations: This repository evolves its schema with versioned migrations, but \u0060EnsureCreated()\u0060 here builds a schema straight from the model instead \u2014 with no migrations-history row, so a database it creates can\u0027t be upgraded by \u0060Migrate()\u0060 afterwards and the two paths can disagree about the shape. Apply the migrations here (\u0060Migrate()\u0060 / a migrations bundle) rather than creating the schema."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.Examples/Program.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dbb23f61cdc88abd352507ee735fbfe3e4075eb54f9d798304be9e08123ce1"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created with EnsureCreated() outside the migrations: This repository evolves its schema with versioned migrations, but \u0060EnsureCreated()\u0060 here builds a schema straight from the model instead \u2014 with no migrations-history row, so a database it creates can\u0027t be upgraded by \u0060Migrate()\u0060 afterwards and the two paths can disagree about the shape. Apply the migrations here (\u0060Migrate()\u0060 / a migrations bundle) rather than creating the schema."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.Cached.Examples/Program.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b761620dfe229191b9ef2c2ac98015112b1b82e6399b7de28140657417904fd3"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created with EnsureCreated() outside the migrations: This repository evolves its schema with versioned migrations, but \u0060EnsureCreated()\u0060 here builds a schema straight from the model instead \u2014 with no migrations-history row, so a database it creates can\u0027t be upgraded by \u0060Migrate()\u0060 afterwards and the two paths can disagree about the shape. Apply the migrations here (\u0060Migrate()\u0060 / a migrations bundle) rather than creating the schema."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.Examples.Customized/Program.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a326e2b4a345c6f4be0e422a168bd58f77ad4430ce5da0eb87bae0cd03ca592e"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created with EnsureCreated() outside the migrations: This repository evolves its schema with versioned migrations, but \u0060EnsureCreated()\u0060 here builds a schema straight from the model instead \u2014 with no migrations-history row, so a database it creates can\u0027t be upgraded by \u0060Migrate()\u0060 afterwards and the two paths can disagree about the shape. Apply the migrations here (\u0060Migrate()\u0060 / a migrations bundle) rather than creating the schema."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.Cached.Examples.Customized/Program.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c28a833b77db3c5cd794fd8c383559a2878250a200b6189a1f1d17698303fd"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created with EnsureCreated() outside the migrations: This repository evolves its schema with versioned migrations, but \u0060EnsureCreated()\u0060 here builds a schema straight from the model instead \u2014 with no migrations-history row, so a database it creates can\u0027t be upgraded by \u0060Migrate()\u0060 afterwards and the two paths can disagree about the shape. Apply the migrations here (\u0060Migrate()\u0060 / a migrations bundle) rather than creating the schema."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.InMemory.Examples/Program.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58f851ae9ac73d003b2157c0517563afede024ed343c6cd43ba8f67d1280b29"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created with EnsureCreated() outside the migrations: This repository evolves its schema with versioned migrations, but \u0060EnsureCreated()\u0060 here builds a schema straight from the model instead \u2014 with no migrations-history row, so a database it creates can\u0027t be upgraded by \u0060Migrate()\u0060 afterwards and the two paths can disagree about the shape. Apply the migrations here (\u0060Migrate()\u0060 / a migrations bundle) rather than creating the schema."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.InMemory.Examples.Customized/Program.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e39fb61f23bc48af76c8bcdd8a43503d947024e19f552ab5832cfb4e564cc8"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created with EnsureCreated() outside the migrations: This repository evolves its schema with versioned migrations, but \u0060EnsureCreated()\u0060 here builds a schema straight from the model instead \u2014 with no migrations-history row, so a database it creates can\u0027t be upgraded by \u0060Migrate()\u0060 afterwards and the two paths can disagree about the shape. Apply the migrations here (\u0060Migrate()\u0060 / a migrations bundle) rather than creating the schema."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.OData.Examples/Program.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"505c58624fca687e0ed8cdc985405e357de5f52e102908d3cf99bfee9736e8d9"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created with EnsureCreated() outside the migrations: This repository evolves its schema with versioned migrations, but \u0060EnsureCreated()\u0060 here builds a schema straight from the model instead \u2014 with no migrations-history row, so a database it creates can\u0027t be upgraded by \u0060Migrate()\u0060 afterwards and the two paths can disagree about the shape. Apply the migrations here (\u0060Migrate()\u0060 / a migrations bundle) rather than creating the schema."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.InMemory.OData.Examples/Program.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"644fb0101678b7f5aeafb90a58a73fe499c0f2884c9502e693a1e191a8ade5ec"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created with EnsureCreated() outside the migrations: This repository evolves its schema with versioned migrations, but \u0060EnsureCreated()\u0060 here builds a schema straight from the model instead \u2014 with no migrations-history row, so a database it creates can\u0027t be upgraded by \u0060Migrate()\u0060 afterwards and the two paths can disagree about the shape. Apply the migrations here (\u0060Migrate()\u0060 / a migrations bundle) rather than creating the schema."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Program.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8686379d44c25100e4067b3e5318326469dd50a5bfc61d37e075c4ebe8cb71e"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created with EnsureCreated() outside the migrations: This repository evolves its schema with versioned migrations, but \u0060EnsureCreated()\u0060 here builds a schema straight from the model instead \u2014 with no migrations-history row, so a database it creates can\u0027t be upgraded by \u0060Migrate()\u0060 afterwards and the two paths can disagree about the shape. Apply the migrations here (\u0060Migrate()\u0060 / a migrations bundle) rather than creating the schema."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"347e89632f5e044c5181a4131b933aa43dd3c4880f0eca840595d6842da6b136"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created with EnsureCreated() outside the migrations: This repository evolves its schema with versioned migrations, but \u0060EnsureCreated()\u0060 here builds a schema straight from the model instead \u2014 with no migrations-history row, so a database it creates can\u0027t be upgraded by \u0060Migrate()\u0060 afterwards and the two paths can disagree about the shape. Apply the migrations here (\u0060Migrate()\u0060 / a migrations bundle) rather than creating the schema."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Examples/Program.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64289c3f3f969d9fffcfbd6f77fca30279fd67e1e88d7227598e38e6f2c5f64"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created with EnsureCreated() outside the migrations: This repository evolves its schema with versioned migrations, but \u0060EnsureCreated()\u0060 here builds a schema straight from the model instead \u2014 with no migrations-history row, so a database it creates can\u0027t be upgraded by \u0060Migrate()\u0060 afterwards and the two paths can disagree about the shape. Apply the migrations here (\u0060Migrate()\u0060 / a migrations bundle) rather than creating the schema."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Examples.Customized/Program.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f1372d1bd26d1d02430d30643819bd594a2b191b8cb11f870a82d47c72a39f"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created with EnsureCreated() outside the migrations: This repository evolves its schema with versioned migrations, but \u0060EnsureCreated()\u0060 here builds a schema straight from the model instead \u2014 with no migrations-history row, so a database it creates can\u0027t be upgraded by \u0060Migrate()\u0060 afterwards and the two paths can disagree about the shape. Apply the migrations here (\u0060Migrate()\u0060 / a migrations bundle) rather than creating the schema."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.EfCore.UnitOfWork.Examples/Program.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57fc962a5cd04e988f02e1e499fd6a45affedbb6099e9f129209a6c38682e36"}},{"ruleId":"PF1","level":"note","message":{"text":"No performance benchmarks: No benchmark suite was found by the two searches this check runs. FIRST, a BenchmarkDotNet package reference in any project file \u2014 every project the workspace loaded, plus a walk of project files on disk that never loaded, because a benchmark suite is exactly the project a partial load drops. SECOND, a script harness: a file whose name contains \u0060benchmark\u0060 and ends \u0060.py\u0060, \u0060.sh\u0060, \u0060.ps1\u0060, \u0060.bash\u0060, \u0060.rb\u0060, \u0060.js\u0060 or \u0060.mjs\u0060, credited ONLY when this repository\u0027s CI text also mentions benchmarks \u2014 a harness no pipeline runs is read as a fixture, deliberately. Neither search can see a benchmark suite in another ecosystem\u0027s idiom (a Go \u0060testing.B\u0060 file, a JMH or criterion project, a pytest-benchmark run), so this is \u0027no benchmark found by those two searches\u0027, not a verdict that the repository has none. Where code is performance-sensitive, a benchmark guards against silent regressions \u2014 but it\u0027s a bonus here, not a deduction."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fd90d18ee3bb127e8033d41e8efe4e131487a6d794a5730a72c56105ef7485ea"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. (\u22122.0 on this card.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: This web host\u0027s pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Program.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"38758e43a1af2cedcb68af7f2207e6c2192bad8c187195dee3cf28fb694d71ee"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: This web host\u0027s pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples/Program.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f4f7d8173d65b7cda660a206cf6e11f5bb3eb9f7d288ad708c14d6de7ad18f"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: This web host\u0027s pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Examples.Customized/Program.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9208643aa382702b4714e57f4fc17964097b21006dbeedd9ccc1ba65e1ccb185"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: This web host\u0027s pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Examples/Program.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca804f6f77fb7f5b8562f44e3ec8287ebd779969ae312c67905bc89044232811"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: This web host\u0027s pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.Cached.Examples.Customized/Program.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c251986a18437f774b022816b75ef7d45517d326a691e78a5dff960f264e08c"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: This web host\u0027s pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.Cached.Examples/Program.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9991341cb586ed8862fb7a58ea5f6311cdd4d3dbae765a4d4ab6ce2d4b6c2a0d"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: This web host\u0027s pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.Examples.Customized/Program.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"137f71e3cf31ff5808edeffb6ae394c3f8adda218a94ad5d4e21d7b3fdaa4d55"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: This web host\u0027s pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.Examples/Program.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"867dfdb0da46cb6999045a7605e9ef79f9026dd2ae4deb15d530c059d094f100"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: This web host\u0027s pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.InMemory.Examples.Customized/Program.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"16426cd90fd228b9d024900a9cb8b97f47b2c2d1ea23d60f3796855fea7193f2"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: This web host\u0027s pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.InMemory.Examples/Program.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6675bfe2e088e9750c2cd256dc67ed989a088b40a0be313b6e2006d35340e6a5"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: This web host\u0027s pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.InMemory.OData.Examples/Program.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"af844b70528ac5ca4a3e7bfb004f3a8d5c5c2be748f28061267038280dcb51f9"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: This web host\u0027s pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.OData.Examples/Program.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"697e99c5140f254c18661e0a7593583ce980e8a850114834b54f9736bcc4325a"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: This web host\u0027s pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.EfCore.UnitOfWork.Examples/Program.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4178bbb859621ee772d1b8b3ae80010e3fa3d27a2dab2614f91d5da08ae802"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: This web host\u0027s pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Host/Modern.Application.Host/Program.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47322e305412a52d7a05c0a4f482f17091ab4636c4000f4c17219fbd9c2e323"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: No packages.lock.json and no central package management \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a97b4f69ccac509400ece7eedefb06d3ede0522cd4d8bcb5c068bea719545a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!controller.ControllerType.IsGenericType || genericArgs.Length != 2 || genericArgs.Length \u003C 2\u0060 appears character-identically in 2 files \u2014 src/WebApi/Modern.Controllers.DataStore.InMemory.OData/DI/Features/GenericControllerRouteConvention.cs, src/WebApi/Modern.Controllers.DataStore.OData/DI/Features/GenericControllerRouteConvention.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.OData/DI/Features/GenericControllerRouteConvention.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b923b840fb160bb2d2a715c7c06a346cb6cb505da54921581453ade6ce5c0aec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!controller.ControllerType.IsGenericType || genericArgs.Length != 5 || genericArgs.Length \u003C 5\u0060 appears character-identically in 2 files \u2014 src/WebApi/Modern.Controllers.DataStore.InMemory/DI/Features/GenericControllerRouteConvention.cs, src/WebApi/Modern.Controllers.DataStore/DI/Features/GenericControllerRouteConvention.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/DI/Features/GenericControllerRouteConvention.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc0a441aa5cec689304fd5b66d2b972ae8cfc4960025436fc255adcc7961074"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060leftExpression is not null \u0026\u0026 rightExpression is null\u0060 appears character-identically in 8 files \u2014 src/Repositories/Modern.Repositories.EFCore/Specifications/Base/AndSpecification.cs, src/Repositories/Modern.Repositories.EFCore/Specifications/Base/OrSpecification.cs, src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/AndSpecification.cs, src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/OrSpecification.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/Specifications/Base/AndSpecification.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"38edb4332b027df824520b7e7b062a87ed5b4e346125b8a24287df2ad6047be1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060leftExpression is null \u0026\u0026 rightExpression is not null\u0060 appears character-identically in 8 files \u2014 src/Repositories/Modern.Repositories.EFCore/Specifications/Base/AndSpecification.cs, src/Repositories/Modern.Repositories.EFCore/Specifications/Base/OrSpecification.cs, src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/AndSpecification.cs, src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/OrSpecification.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/Specifications/Base/AndSpecification.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"067dfddf4215cc6959330c63b744d8425207568af423ffe89131a01173d4808e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060leftExpression is null \u0026\u0026 rightExpression is null\u0060 appears character-identically in 8 files \u2014 src/Repositories/Modern.Repositories.EFCore/Specifications/Base/AndSpecification.cs, src/Repositories/Modern.Repositories.EFCore/Specifications/Base/OrSpecification.cs, src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/AndSpecification.cs, src/Repositories/Modern.Repositories.LiteDB.Async/Specifications/Base/OrSpecification.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/Specifications/Base/AndSpecification.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a013ac69e4d120a43c433987758d516e56f1a58b65d3df4371a589a80f8e39b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060x.CreateRequestType == genericArgs[0] \u0026\u0026 x.UpdateRequestType == genericArgs[1] \u0026\u0026 x.EntityDtoType == genericArgs[2] \u0026\u0026 x.EntityDboType == ge\u2026\u0060 appears character-identically in 2 files \u2014 src/WebApi/Modern.Controllers.DataStore.InMemory/DI/Features/GenericControllerRouteConvention.cs, src/WebApi/Modern.Controllers.DataStore/DI/Features/GenericControllerRouteConvention.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/DI/Features/GenericControllerRouteConvention.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"365a953456914a878ef63406d0c54cd71fb9e4b36c6dba584dfb7065136aca78"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 253/304 async methods accept a CancellationToken, so in-flight work can\u0027t be stopped early when the caller gives up \u2014 whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice \u2014 judge against your hosting model."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf623a92fb752b336427856888a9b386c434e686662a2cdc1bba21832c0a048c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SaveChangesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Repositories/Modern.Repositories.EFCore/UnitOfWork/ModernUnitOfWork.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a52106846bd0839c7fe0d3f26e2989fc6b6fdcebfbbcfd79e4b93c407569314"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetById: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c96ac1841388d179b37975361647bbca47c683cbca5c950ba44f58f231988c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Create: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"52de5b76b8ba0345d8e8d24448c6090d009c22c2fbfa79f9e9d4a7b0cb445e5b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CreateMany: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6f10b41803ce6a0ae415b7609837bee1debfc61caab19a85eb2a9565b49585"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Update: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5914f73ae1945f0b5a9755fd5a6d50dc199562d6d13b7e344249cd0f1ead4ab"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UpdateMany: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f979b783419a2267009194c61bdbf4b790e42c0b8611a013a59dd9ad58d60975"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Patch: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc946924f70a099b6be908358267b95790f79ec454cf7dacef22197f958872cb"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Delete: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa185f64bef3c70a9f7f2d10b167baae9f6a98e681e2be9c325b1044cafca1f3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DeleteMany: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore/ModernController.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b88f596140c656d28a8f16add42d33d2c461d5fbd980043e7615c47fda854d9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetById: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"372ac5c48d24cc1a278acfba3bf7d8d19695f52a402e6cdccdafdcc896a5a3ec"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Create: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9c0b88e5ba87a1b2d51a91247af9dd53b43eea7bd35de6e5498d79a6b7946d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CreateMany: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d60ca8f53404f6eccc21456d8cc49f6a2a2502fc7d2882c39cad308fa47993f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Update: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4341ce730103becb1a1331d46313f0468c7f835259e11f2940d8a40c7ce5be56"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UpdateMany: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"95be137de546e9283fec4485ca0149fa8d4a7e8cfab80bf38292bccae5e208fa"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Patch: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cbe307feeb1a64a1ad3f1a7408d155df1d873a24fafa2cfea887c2bc75503d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Delete: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a3e9e25d038e948e2ddc96ab44ad3e0b1b35d7a6e1cc7c72793e330fb45d15"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DeleteMany: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.DataStore.InMemory/ModernInMemoryController.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca6023ebf39c48ed9ce1d8e063943f7ee1a1db2631b0ddf2beb7aed795bf4db"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetById: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"79004469cb66eb84d528fefe4076e5fc50ff1a9558d388800f0a309832044feb"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Create: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d1ace5d2746ef714fc41ed42a70928f0f098a18892ec9545f1e5b0bc363afe"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CreateMany: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8087adcfa65963dcf3848a620493e9ccead097fe400b8c8432f97c59d8704dee"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Update: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5647eeb8c5b9df27455fcbfc0a5429a22853a6d429ea0d911f3ed15eb298b61c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UpdateMany: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8fb015a776c1f6b0d4d0a4a8807d5a86eae30bfee9f42919f9858d28e28eb4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Patch: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38ab2efb46c7fe7dd5f7cde25d70fc0bdb3061562f55550cf0ee6a11ad566c8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Delete: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea33179f9d6e20be5a9082adc21eea5172c87523b8c8639743a739414c5637c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DeleteMany: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WebApi/Modern.Controllers.CQRS.DataStore/ModernCqrsController.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a62c58bc43d215ebb9923770f8d8190da3fb5ceba398a272bd34da5e078088"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FilterByAttributeAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.MongoDb.Examples/Repositories/ProductRepository.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"658d2c5bc202368198897a131c1f84e7ecd392af7a3076e107265e602409542b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: OrderByPriceAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.MongoDb.Examples/Repositories/ProductRepository.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd94b14161b90b3e4472e93b78e89fe72c7debb73f13a58219dfa0a0e1332a7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCitiesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Dapper.Examples/Repositories/CityRepository.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b692ddfea97ed451fecb22ff1c941e483a9467ba55df0d79023f927e1c7bacfd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCitiesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.EfCore.Examples/Repositories/CityRepository.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5168eead67b63fd38afd01898fe7adba069992c12b28d61c6f92402ef1b629ac"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCitiesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Services.DataStore.Examples/Repositories/CityRepository.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c686d8dc0b24a48fafe9a27a6aa75203df7ae57927e866bd4584edceb995143"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCitiesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Services.DataStore.Examples/Services/CityService.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbad26624d9159eabd5413dff46751e7ef93045aed65e1b0543a2492e061ab4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCitiesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Services.DataStore.Cached.Examples/Repositories/CityRepository.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceca6e11a67c70e4ae62de205e387d9eefc8ea53da47be64cd4a7fc4e88cc2a3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCitiesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Services.DataStore.Cached.Examples/Services/CityService.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ee729b270a8a61424a05813fa05bba178572c3f8415c8e22882b11b305e2a8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCitiesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Services.DataStore.InMemory.Examples/Repositories/CityRepository.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"530c97078ff5ddfef2843a52f5a34df4e62778604b94f302b82708cf8129a350"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCitiesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Services.DataStore.InMemory.Examples/Services/CityService.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"690ad508a7214e0776c0cdaf604f871e4261995d6e7a5fe521eb700865d2a216"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCities: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.Examples.Customized/Controllers/CitiesController.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"81912ac0bbd50883d7ce1da334fc93187063bcdd23d80e92395a7308854c7255"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCitiesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.Examples.Customized/Repositories/CityRepository.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"28658d4ff36b1bb41c13b8de75506d12dfb517f5fcd36c99ec9f8f18a5f52577"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCitiesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.Examples.Customized/Services/CityService.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3edf5e5a2f4c888ee398ef7104b60bcf613c565fd0738166036e44aa33d99c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCities: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.Cached.Examples.Customized/Controllers/CitiesController.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61c4d596babdbec188b70be4e3725dd635325c2e049494d0e5b3a9521165e06"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCitiesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.Cached.Examples.Customized/Repositories/CityRepository.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"63391082868488e31ea306ca1b7822268f2c256888875c47c743549bc42b191f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCitiesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.Cached.Examples.Customized/Services/CityService.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"856feff3ff6aad965c650a8672835ab6d8f4657a0cfa3fe07c4106495e7a9030"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCities: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.InMemory.Examples.Customized/Controllers/CitiesController.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd162e6467537deb5415fcd073a933a7cc1a94c22b8f7f252bdf250653452c58"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCitiesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.InMemory.Examples.Customized/Repositories/CityRepository.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee0e4d6d605bfd66892bbbefcf7346f5d7e7da5ab6cc242917f6aa423f124de"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCitiesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.DataStore.InMemory.Examples.Customized/Services/CityService.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf993f7425f9b2efb349e15461931d42a46ba195c9ba222fe641232e0e1bb9f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCities: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Controllers/CitiesController.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3a9217515fa58996271caa65512c8187f73d1bb0a0505dfe55ac2ce26234ab"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCitiesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Cached.Examples.Customized/Repositories/CityRepository.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"123c1ea6f4f94e9cf26e06e8c6d760429a703e822939f343c3601ad62171db2f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCities: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Examples.Customized/Controllers/CitiesController.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5670c2b5f698ea5dd225f3d5fe286f0f683ff6bfd25912b8445f1b8867c51c91"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCitiesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.Controllers.CQRS.DataStore.Examples.Customized/Repositories/CityRepository.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d87a815b1198a15a6caf42008854b07be24c5896c5423a8b6aca5985db6328"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCities: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.EfCore.UnitOfWork.Examples/Controllers/CitiesController.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3431532b678c11817c6001c757222475d5f6757390b5482eb8dc9a55d5c55a1c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCountryCitiesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.EfCore.UnitOfWork.Examples/Repositories/CityRepository.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0c722aae882e317c91707c3c421115f359859caf626afc0e24e2375c1d7c3f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UpdateCountryCitiesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Modern.EfCore.UnitOfWork.Examples/Services/CityService.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2fa6ef0732ab8003b09f2696eb7e0415d3e38c55435ef49170e101556c8d04"}},{"ruleId":"X5","level":"note","message":{"text":"Null-forgiving operator (\u0060!\u0060) suppressions reduce the NRT score: ~2.7 \u0060!\u0060 suppressions per 1k syntax nodes \u2014 323 suppression(s) across the 119664 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a \u0060!\u0060 can suppress anything in (a \u0060!\u0060 under \u0060#nullable disable\u0060 is inert and is not counted, and its file\u0027s nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"93cfe05d4ad8c8c171267603b23dfe289b74842e38edd1b7bfed59cc32bda337"}}],"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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"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-862","guid":"2d96ecd7-f7f1-7f55-9f3a-43bb5bafdf33","name":"Missing Authorization","shortDescription":{"text":"Missing Authorization"},"helpUri":"https://cwe.mitre.org/data/definitions/862.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"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":7,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}