{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"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":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"id":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"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":"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":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"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":"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":"D1","level":"warning","message":{"text":"ExpressionExtensions.GetFieldNames (cyclomatic 48): ExpressionExtensions.GetFieldNames has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/ExpressionExtensions.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aad4a487909f99f0e1439776c459981b1a5d804df1098d07ec2ed8e6aaaba73"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryableSqlBuilder.BuildSqlCommand (cyclomatic 40): QueryableSqlBuilder.BuildSqlCommand has cyclomatic complexity 40 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/SqlBuilder/QueryableSqlBuilder.cs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4888af0b1ddd2ce5f3c38aca1561cc487e2cf59da3274f858bd075a069bb28"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlParameterUtil.ParseSqlParameterTokensCore (cyclomatic 34): SqlParameterUtil.ParseSqlParameterTokensCore has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Util/SqlParameterUtil.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"3802876f39813481339b0e5f835ce52cbf7f1a5062e13ff4bd800897f410cefe"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseSqlGenerator.ConvertFieldDefaultValue (cyclomatic 30): BaseSqlGenerator.ConvertFieldDefaultValue has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/BaseSqlGenerator.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a168110d24469e645ad0f53c3f76b7aad0bf386a1c9849eb33a3b303702ffe9"}},{"ruleId":"D1","level":"warning","message":{"text":"DbParameterExtensions.SetParameterTypeAndValue (cyclomatic 29): DbParameterExtensions.SetParameterTypeAndValue has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DbParameterExtensions.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4265786afa2be5606a2954c4693f85e9c27b0a89df7ec38b99cd3a7392cf6f0e"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryableSqlBuilder.GetQuerySql (cyclomatic 27): QueryableSqlBuilder.GetQuerySql has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/SqlBuilder/QueryableSqlBuilder.cs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32552eb7ad9db0bc23b4b46d83eb774350bfc0b01e2a129fbe9b214cfb1ef80"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlBuilderUtil.ConvertToSqlString (cyclomatic 26): SqlBuilderUtil.ConvertToSqlString has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Util/SqlBuilderUtil.cs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"48aa9676390fe6f0192f7a536ebbebc2f8bb5b6e9b7197b96416423afbcee8d6"}},{"ruleId":"D1","level":"warning","message":{"text":"WhereClauseParser.ParseMethodCallExpression (cyclomatic 20): WhereClauseParser.ParseMethodCallExpression has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/ExpressionResolve/WhereClauseParser.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac086410bf1ebb24205db32ca33087f053dac36a6e768349192b70235b3cf59"}},{"ruleId":"D1","level":"warning","message":{"text":"ConditionBuilder.BuildLikeOrEqualCondition (cyclomatic 16): ConditionBuilder.BuildLikeOrEqualCondition has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/ExpressionResolve/ConditionBuilder.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3412dc5a0e40dea73ace5a482ef199daf5aa23aa41a87d7cb1015fa6a3600423"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionExtensions.GetFieldNames (cognitive 115): ExpressionExtensions.GetFieldNames has cognitive complexity 115 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/ExpressionExtensions.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"172402fad45203d85c69cd02066c34a1789cfa3fa4da06dd69d97c1a2f48eb58"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlParameterUtil.ParseSqlParameterTokensCore (cognitive 45): SqlParameterUtil.ParseSqlParameterTokensCore has cognitive complexity 45 (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/Sean.Core.DbRepository/Util/SqlParameterUtil.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe94006da12d409ed2561f2b9013d2b506e2400d57324f2d63db0665cbd0444"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryableSqlBuilder.BuildSqlCommand (cognitive 27): QueryableSqlBuilder.BuildSqlCommand has cognitive complexity 27 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/SqlBuilder/QueryableSqlBuilder.cs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb62e69f896bdf23b61774d732a82566b0befd5af6898d4fe367c04513a8a25a"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionStringOptions.CreateMultiFromConnectionName (cognitive 26): ConnectionStringOptions.CreateMultiFromConnectionName has cognitive complexity 26 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Option/ConnectionStringOptions.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f1aba015d6f457b9adb59b9b6c54e641e32e5f35f912c41bd82bb336fd19c8"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionStringOptions.CreateMultiFromConnectionName (cognitive 25): ConnectionStringOptions.CreateMultiFromConnectionName has cognitive complexity 25 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Option/ConnectionStringOptions.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f382323d88be266d554f4f9887fb01b6b86a48a3b70d4653b42edaeb66c7e565"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryableSqlBuilder.HandleJoinField (cognitive 25): QueryableSqlBuilder.HandleJoinField has cognitive complexity 25 (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/Sean.Core.DbRepository/SqlBuilder/QueryableSqlBuilder.cs"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8d619876ff239c967edc42c22e59fb8ffc9a9205689e22e296caaf8a1c3767"}},{"ruleId":"D2","level":"warning","message":{"text":"ConditionBuilder.BuildLikeOrEqualCondition (cognitive 24): ConditionBuilder.BuildLikeOrEqualCondition has cognitive complexity 24 (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/Sean.Core.DbRepository/ExpressionResolve/ConditionBuilder.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9d7e005896dcec9d9246f06da999f1dd20dd94d993043331e8765d4cec1bbe"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultSqlCommand.ConvertSqlToNonParameter (cognitive 23): DefaultSqlCommand.ConvertSqlToNonParameter has cognitive complexity 23 (threshold 15). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 151, 169). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/SqlModel/DefaultSqlCommand.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e515dd001be3d71803e66642bd6e0b66729417718eda2ccaaa0f03470ceb41"}},{"ruleId":"D2","level":"warning","message":{"text":"ConditionBuilder.BuildInCondition (cognitive 21): ConditionBuilder.BuildInCondition has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/ExpressionResolve/ConditionBuilder.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"080d05d0d0f002599fd9b77f8a8eab4c79ac4bb470259bb270d8cfd25a1679fe"}},{"ruleId":"D2","level":"warning","message":{"text":"DbDataReaderExtensions.CreateModelMapper (cognitive 20): DbDataReaderExtensions.CreateModelMapper has cognitive complexity 20 (threshold 15). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 294, 270, 279). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DbDataReaderExtensions.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6dafbe9f9069c2a9fb37cd396b81dd0020e5efeb29f604b6eaefd4bf583b86"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlGeneratorForMySql.GetCreateTableSql (cognitive 19): SqlGeneratorForMySql.GetCreateTableSql has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9905f29729aa277d7fec9f4e3eb00c4e9ff37740279eb0591bf583adea435e80"}},{"ruleId":"D2","level":"warning","message":{"text":"ConstantExtractor.ParseConstant (cognitive 19): ConstantExtractor.ParseConstant has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/ExpressionResolve/ConstantExtractor.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c668a7022eef1654bdc46b3b5652e571a1eef1390c1b632ca7b1eeaae83bc50f"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateableSqlBuilder.BuildSqlCommand (cognitive 19): UpdateableSqlBuilder.BuildSqlCommand has cognitive complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/SqlBuilder/UpdateableSqlBuilder.cs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bd9e3d1fd559b49aad23f8005c61b011ea3fddade832edf1723070408963d5"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultSqlCommand.ConvertParameterToDictionaryByPosition (cognitive 19): DefaultSqlCommand.ConvertParameterToDictionaryByPosition has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/SqlModel/DefaultSqlCommand.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad53c69f90b5b25f9c367ada994909db80375a267c0afcce982215c1fb9427e"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityInfoCache.BuildEntityInfo (cognitive 18): EntityInfoCache.BuildEntityInfo has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Cache/EntityInfoCache.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e957082135cb5a9317d54a3378be2427b27ca7fe32e00817d924279fd8f0aff0"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseSqlGenerator.GetCreateIndexSql (cognitive 18): BaseSqlGenerator.GetCreateIndexSql has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/BaseSqlGenerator.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed939a219ba6ca44715b151e45681a8f90adce915cea51e915beab8bdb185dc6"}},{"ruleId":"D2","level":"warning","message":{"text":"DbProviderFactoryManager.GetDbProviderFactory (cognitive 18): DbProviderFactoryManager.GetDbProviderFactory has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/DbProviderFactoryManager.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc24eee92e0545f3664df2f94dca0099310663dff25b58cec1df8fdaf4521e47"}},{"ruleId":"D2","level":"warning","message":{"text":"DataRowExtensions.CreateMapper (cognitive 18): DataRowExtensions.CreateMapper has cognitive complexity 18 (threshold 15). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 60, 40). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DataRowExtensions.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d0f7de055c234753a2076fc0e7c12b44db399816425f79a564409d902b4a71"}},{"ruleId":"D2","level":"warning","message":{"text":"DbParameterExtensions.SetParameterTypeAndValue (cognitive 18): DbParameterExtensions.SetParameterTypeAndValue has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DbParameterExtensions.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ffaae4c50d98fe33ebd93996c81553e369cdc9ad97ab75dfeeb84d1191a86b"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlGeneratorForOpenGauss.GetCreateTableSql (cognitive 17): SqlGeneratorForOpenGauss.GetCreateTableSql has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"857f243231b2e4c24a41442c7d78a431a56881fb7ebccd2801639287fe2b16a3"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlBuilderUtil.ConvertToSqlString (cognitive 16): SqlBuilderUtil.ConvertToSqlString 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/Sean.Core.DbRepository/Util/SqlBuilderUtil.cs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"13313b2b1bd72d2116dbb67b3b9f2fe9772102201837484849612b2fca965aa6"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlParameterUtil.ConvertToDbParameters (cognitive 16): SqlParameterUtil.ConvertToDbParameters 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/Sean.Core.DbRepository/Util/SqlParameterUtil.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f128f38c257d3216556bb70c96ac4e40710f0fa87bccd236da129ac958370670"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DbFactory: TooManyMethods \u2014 476 significant lines (blank, comment-only and punctuation-only lines excluded), 100 methods. The bar is 30 methods; this is 70 over it, 3.33\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/Sean.Core.DbRepository/Factory/DbFactory.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b69af1beefe11ec86e76a1084d489384b198fde0effc67448a48ec7c9ca8d14"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Repository/BaseRepository.cs: FileTooLong \u2014 1281 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 781 over it, 2.56\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0de9b84ea4f244ab9a08932ac6926b02aab482f60939601bc601f50e8922c87"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseRepository: TooManyMethods \u2014 803 significant lines (blank, comment-only and punctuation-only lines excluded), 76 methods. The bar is 30 methods; this is 46 over it, 2.53\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"842bf801eacd4aa84df42955874bc2a88f7bb89d4dcff80da3d1e7a8c3f3498d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QueryableSqlBuilder: TooManyMethods \u2014 486 significant lines (blank, comment-only and punctuation-only lines excluded), 66 methods. The bar is 30 methods; this is 36 over it, 2.20\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/Sean.Core.DbRepository/SqlBuilder/QueryableSqlBuilder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6758b277f9246db53f40cbfb1e4f7729e6e719a9b37387dbe3d8b2813fba783f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseRepository: TooManyMethods \u2014 461 significant lines (blank, comment-only and punctuation-only lines excluded), 60 methods. The bar is 30 methods; this is 30 over it, 2.00\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/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50715521e17fac343e02d338a3b0454b26b3079b51a65a253c114c71f5e22d23"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UpdateableSqlBuilder: TooManyMethods \u2014 166 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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/Sean.Core.DbRepository/SqlBuilder/UpdateableSqlBuilder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2d87fa4ba305dd1e85264d615b63e665bb07e0347e9ba63abac983d037006c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SqlParameterUtil: TooManyMethods \u2014 305 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Util/SqlParameterUtil.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2547b28266c1e864b05ea707724843812d17252efee8aa2dece381e5d57ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (32 members, 50\u002B identical tokens): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:56-103 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:106-135 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:56-104 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:107-137 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:56-104 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:107-137 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:56-100 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:103-129 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:56-108 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:111-146 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:56-102 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:105-135 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs:56-98 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs:101-127 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:61-121 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:124-166 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:56-111 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:114-149 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOracle.cs:56-114 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOracle.cs:117-156 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs:59-111 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs:114-149 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:55-99 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:102-132 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSQLite.cs:50-97 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSQLite.cs:100-126 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:56-108 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:111-146 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs:56-118 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs:121-156 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:56-104 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:107-137 \u2014 These 32 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 32 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 32 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d289ec5f2ca7f329eb22f49e9cb75518919ef4ce2dde9f6ace32be9436f8fae"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (15 members, 50\u002B identical tokens): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:16-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:16-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:16-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:16-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:16-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:16-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs:16-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:20-58 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:16-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOracle.cs:16-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs:19-56 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:15-52 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:16-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs:16-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:16-53 \u2014 These 15 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 15 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 15 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cafa1b603de96463a1bdeaf54816987ef3c2327df0a0a0d34904a23ffa048bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/Sean.Core.DbRepository/SqlBuilder/CountableSqlBuilder.cs:138-153 | src/Sean.Core.DbRepository/SqlBuilder/DeleteableSqlBuilder.cs:139-154 | src/Sean.Core.DbRepository/SqlBuilder/QueryableSqlBuilder.cs:308-323 | src/Sean.Core.DbRepository/SqlBuilder/UpdateableSqlBuilder.cs:199-214 | src/Sean.Core.DbRepository/SqlBuilder/WhereClauseSqlBuilder.cs:57-73 \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/Sean.Core.DbRepository/SqlBuilder/CountableSqlBuilder.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6405f2406d6960258d7cbb4773ba08fc61b07912ab9bf69da8700fb970fc054"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): src/Sean.Core.DbRepository.Dapper/Repository/DapperBaseRepository.cs:13-74 | src/Sean.Core.DbRepository.Dapper/Repository/DapperBaseRepository.cs:117-178 \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/Sean.Core.DbRepository.Dapper/Repository/DapperBaseRepository.cs:13\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/Sean.Core.DbRepository.Dapper/Repository/DapperBaseRepository.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0857a02be245ca1901903c651099f1b12f8514715b54f1e5c8e31bf6f2bdc159"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): src/Sean.Core.DbRepository/Repository/BaseRepository.cs:1329-1364 | src/Sean.Core.DbRepository/Repository/BaseRepository.cs:1975-2010 \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/Sean.Core.DbRepository/Repository/BaseRepository.cs:1329\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/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e67687e2cc6e72a463e66842ca6c29072f29d1cb640ce67f00340854e9b4d9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): src/Sean.Core.DbRepository/Repository/BaseRepository.cs:483-516 | src/Sean.Core.DbRepository/Repository/BaseRepository.cs:891-924 \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/Sean.Core.DbRepository/Repository/BaseRepository.cs:483\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/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8d1b4f88950356ad0855c0c829130a01577233b700fa8d9312b341bc942a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): src/Sean.Core.DbRepository/Repository/BaseRepository.cs:529-561 | src/Sean.Core.DbRepository/Repository/BaseRepository.cs:937-969 \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/Sean.Core.DbRepository/Repository/BaseRepository.cs:529\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/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"be786e4479075b0d2fed1cc4a89212286b30e1e14919d71ce2f64eb3f4367c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:22-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs:25-56 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 192 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:22\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 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"380e7a2b81b6738720bef7839af152c1f5e50efacf42f2beff0dd3ee4102b78c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 4): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:113-143 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:116-146 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs:116-146 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs:123-153 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 119 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:113\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"5263434a9fcdb2f755c186e36d7ce2b51782a99daa3779df4afeb2ab0b47cea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/Sean.Core.DbRepository/Repository/BaseRepository.cs:1276-1303 | src/Sean.Core.DbRepository/Repository/BaseRepository.cs:1922-1949 \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/Sean.Core.DbRepository/Repository/BaseRepository.cs:1276\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/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d33d107b8fff8440f618c789c05bb74496a9965a900e41373584ff25e9c5c25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Sean.Core.DbRepository/Extensions/DataRowExtensions.cs:59-82 | src/Sean.Core.DbRepository/Extensions/DbDataReaderExtensions.cs:293-316 \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/Sean.Core.DbRepository/Extensions/DataRowExtensions.cs:59\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/Sean.Core.DbRepository/Extensions/DataRowExtensions.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dba62c5f6c97846de5814995eea112861f36eb840f0251a92bb5ab93f5a78d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Sean.Core.DbRepository/Factory/DbFactory.cs:1721-1744 | src/Sean.Core.DbRepository/Factory/DbFactory.cs:1761-1784 \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/Sean.Core.DbRepository/Factory/DbFactory.cs:1721\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/Sean.Core.DbRepository/Factory/DbFactory.cs"},"region":{"startLine":1721}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1495ae69b6987bdcd28c05ba74e60d3d8202c20c2c615ddea584aa9bb567063"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Sean.Core.DbRepository/Extensions/ExpressionExtensions.cs:295-316 | src/Sean.Core.DbRepository/Extensions/ExpressionExtensions.cs:320-341 \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/Sean.Core.DbRepository/Extensions/ExpressionExtensions.cs:295\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/Sean.Core.DbRepository/Extensions/ExpressionExtensions.cs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c736c6ea584dd6f161e39fe68abe0751618f386419b047de1a3edeeecfeb6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 3): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:88-104 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:86-102 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:79-99 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 188 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:88\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6c98cc1482a14e0687b9387a1634de8009f079be893173e9fc4b31b1045b1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201320 lines \u00D7 4): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:89-100 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs:87-98 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSQLite.cs:86-97 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:89-108 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 156 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:89\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdaad5809a8688c05cc47bfc9a8a088246221d720c239b0e203a907a6980362d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:68-87 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs:71-90 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 156 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:68\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"470fbf52c8d115ee0487bdf3c694bc27a5f79bf23784ec93e1e8cc1e853d6582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:92-111 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs:92-111 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 192 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:92\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0be5909d8666afc32c6f32d50663aade17442f4c497e5280967a1bf8cccd8f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Sean.Core.DbRepository/Repository/BaseRepository.cs:1204-1223 | src/Sean.Core.DbRepository/Repository/BaseRepository.cs:1850-1869 \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/Sean.Core.DbRepository/Repository/BaseRepository.cs:1204\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/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df5a2c39a31cb6961b76b6cd511cf2cf01ba533b6a8a595f6d49ec760188ffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Sean.Core.DbRepository/Repository/BaseRepository.cs:1385-1404 | src/Sean.Core.DbRepository/Repository/BaseRepository.cs:2031-2050 \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/Sean.Core.DbRepository/Repository/BaseRepository.cs:1385\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/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceae691e2dda1313f91cd02751af2d47d2f00aa24236925f16a238870e54945a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:72-90 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:137-155 \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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:72\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7805fd7730ff50e0e8ee486a065cc754634e47574eccaa008a7445d2a02ba850"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 11): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:108-119 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:109-120 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:109-120 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:105-116 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:107-118 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs:103-114 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:126-137 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:104-115 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSQLite.cs:102-113 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:113-129 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:109-120 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:108\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27e440441e8bfcbafcf41d3bbba49b8c3d0ed50c2b68c132a9dd7fd8ce80f03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 7): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:121-137 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:117-129 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:119-135 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs:115-127 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:116-132 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSQLite.cs:114-126 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:130-146 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 187 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:121\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"09058793c57891bfb4365321e7f0ba6eb0cd0d760bfb7d5640de1aee5948cac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 5): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:77-89 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:70-86 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOracle.cs:79-91 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs:80-92 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:77-89 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 144 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:77\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 after the matched lines, \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:89\u0060 calls \u0060Append\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:92\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9d73b7ca3db38c7205b9cb604a3d928109bf1e59e35dd6364d519cc3aa9bf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Sean.Core.DbRepository/Extensions/DbDataReaderExtensions.cs:68-84 | src/Sean.Core.DbRepository/Extensions/DbDataReaderExtensions.cs:190-206 \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/Sean.Core.DbRepository/Extensions/DbDataReaderExtensions.cs:68\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 \u0060dataReader\u0060 to \u0060this IDataReader\u0060 in one and \u0060this DbDataReader\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/Sean.Core.DbRepository/Extensions/DbDataReaderExtensions.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea751c63a3c0f36a1f25ee2fa80e86e9765b1176b1b743e8c6198090b7708b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 11): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:120-135 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:116-127 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:129-140 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:118-133 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs:114-125 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:132-143 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs:132-143 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:115-130 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSQLite.cs:113-124 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:129-140 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs:139-150 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 187 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:120\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0423614c692e2d632d9c9b43bd9896107498914c1c0621a98e945e2fe9f3dbf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:26-41 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:26-41 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 181 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:26\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb8526779e7d2eb5b139e769221ec3c1d21f5b70aea4ea17652f677d774a93e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Sean.Core.DbRepository/Repository/BaseRepository.cs:1239-1254 | src/Sean.Core.DbRepository/Repository/BaseRepository.cs:1885-1900 \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/Sean.Core.DbRepository/Repository/BaseRepository.cs:1239\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. 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. 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/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"b616669f8841b7f8721539f7beeca8c85d256eca3be10a22860160c80eb4deef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): src/Sean.Core.DbRepository/SqlBuilder/CountableSqlBuilder.cs:139-153 | src/Sean.Core.DbRepository/SqlBuilder/DeleteableSqlBuilder.cs:140-154 | src/Sean.Core.DbRepository/SqlBuilder/QueryableSqlBuilder.cs:309-323 | src/Sean.Core.DbRepository/SqlBuilder/UpdateableSqlBuilder.cs:200-214 | src/Sean.Core.DbRepository/SqlBuilder/WhereClauseSqlBuilder.cs:59-73 \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 5 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Sean.Core.DbRepository/SqlBuilder/WhereClauseSqlBuilder.cs:59\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/Sean.Core.DbRepository/SqlBuilder/CountableSqlBuilder.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"020fa67a6e59571c6d987f05c6067c6a3d33afe7616b8ccb675855ed22155974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 4): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:73-87 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:78-88 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:95-105 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:78-88 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 125 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:73\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce0deb0ef02ceb211565af73ab31f4cf1f0caf78d4104d0eef5b352b0daeb53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:23-37 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:23-37 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:23-37 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 119 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.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. 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. 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ec12760f2042afd6c963f5a2145394997be419d852553ab1a51a0c40d8e687"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:67-81 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:119-129 \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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2b9edab5e8f0e91ad674437b3027f18e9f675b568782a06e9773a7501ec0ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:69-83 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:66-80 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 160 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:69\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"31350617ba5f4829200357a19f9030d83d6c165a0eee615ba9a176120b622b1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 14): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:120-133 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:116-125 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:129-138 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:69-82 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:118-131 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs:114-123 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:132-141 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOracle.cs:137-146 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs:132-141 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:66-79 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:115-128 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSQLite.cs:113-122 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:129-138 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs:139-148 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 187 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:69\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOracle.cs:136\u0060 calls \u0060Clear\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:128\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3f3e2194cb02e8fdd8579f3916c8bce30ee5e6395a822e234344de1df96294"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:17-30 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:17-30 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:17-30 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:17-30 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:17-30 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 173 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.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. 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bfb991043ea88d31512b8b7e23ce6dd80f3bbd4f00e6b02ad8eba386c111b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:21-34 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:17-30 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs:20-33 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs:17-30 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:17-30 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 68 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.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. 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c3a28bad59be1b69b3e4434084fc8699562ee701ab99852ee5d35cf3e12781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs:17-30 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:16-29 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 138 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.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. 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f473677c0c4f8d27e7e53e2fc4e296bbb847784cda34c2d5e13e45a15cba266"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForDameng.cs:15-28 | src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForOracle.cs:29-42 \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/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForDameng.cs:15\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/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForDameng.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"726078cdfc0f9a2e61d58be8c120697c7315fd02e4244cd29ff04d50d9823f97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Sean.Core.DbRepository/Extensions/DataRowExtensions.cs:34-47 | src/Sean.Core.DbRepository/Extensions/DbDataReaderExtensions.cs:264-277 \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/Sean.Core.DbRepository/Extensions/DataRowExtensions.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Sean.Core.DbRepository/Extensions/DbDataReaderExtensions.cs:278\u0060 calls \u0060GetColumnNames\u0060 and \u0060src/Sean.Core.DbRepository/Extensions/DataRowExtensions.cs:48\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/Sean.Core.DbRepository/Extensions/DataRowExtensions.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b945b9ad25fafc42ddbba2e541561f8ba7dd01df2f032940094de5f4da8ccc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:41-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:41-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:41-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:41-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:41-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs:41-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOracle.cs:41-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:41-53 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 173 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:41\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 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7d0daf9294095564dbf4767ecc81e1c9974df81daf00acd58a4547332bec58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201313 lines \u00D7 7): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:61-68 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:61-68 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:66-73 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:66-73 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:60-67 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:61-73 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:61-68 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 173 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:61\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f496bc69fe062cc617ef49d7f7dd62aa80d2cfcd8dd824740952093ded33161c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:123-135 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:125-137 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:125-137 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 125 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:123\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab440856272fc060bc9b3b6c83e008c8555f1f7f5cdc45af113c594e7e529be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:46-58 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs:41-53 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:41-53 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:46\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 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70586969f796c35781a490362ceec9a2e105317fe4f529a1cbf6220f5b70142"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Sean.Core.DbRepository/Extensions/ExpressionExtensions.cs:83-95 | src/Sean.Core.DbRepository/Extensions/ExpressionExtensions.cs:109-121 \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/Sean.Core.DbRepository/Extensions/ExpressionExtensions.cs:83\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/Sean.Core.DbRepository/Extensions/ExpressionExtensions.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a566f3ce4eef5217aaa2e22f9dd718344bd07dc3323456b997f2221d4653c52e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Sean.Core.DbRepository/Repository/BaseRepository.cs:1560-1572 | src/Sean.Core.DbRepository/Repository/BaseRepository.cs:2231-2243 \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/Sean.Core.DbRepository/Repository/BaseRepository.cs:1560\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/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"36414cfc256a50c572e340dcec0da3079661ce2f2aedee3650c210e102257abe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Sean.Core.DbRepository/Repository/BaseRepository.cs:1580-1592 | src/Sean.Core.DbRepository/Repository/BaseRepository.cs:2251-2263 \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/Sean.Core.DbRepository/Repository/BaseRepository.cs:1580\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/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d95584e1d7389898d493639343c3c41516974ff03dafc89abd006ab1715a55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 15): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:16-27 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:16-27 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:16-27 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:16-27 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:16-27 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:16-27 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs:16-27 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:20-31 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:16-27 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOracle.cs:16-27 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs:19-30 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:15-26 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:16-27 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs:16-27 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:16-27 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:16\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c245a87fdc78d59448254e0d0eda449af080b3f8d83ee6b3725b0dc2c21b995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 11): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:119-126 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:119-126 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:115-122 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:117-124 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs:113-120 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:136-143 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOracle.cs:136-143 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:114-121 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSQLite.cs:112-119 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:124-135 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:119-126 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 173 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:119\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70cc6d8758ff8c71622f1a077bb495af544b92d5b377ba45328abcd9d072444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201312 lines \u00D7 8): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:61-67 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:61-67 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:61-67 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:66-72 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:66-72 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:60-66 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:61-72 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:61-67 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:61\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3484ffc75ee8023b0a75aceeccc5cfca94a58814a6e98e80c2553354cf43ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:63-74 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:63-74 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:68-79 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:68-79 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:62-73 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSQLite.cs:59-70 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 173 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:63\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 before the matched lines, \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSQLite.cs:59\u0060 calls \u0060Count\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:63\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"da17fec159a477c972ec3d0ca829792c0522a4658775c250a11f787357b98659"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:90-101 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:91-102 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:91-102 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 125 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"55792edcddfa468496a7e39ae8ca48270e8082545bbb1169fcb72b2b074e9cb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:67-78 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:67-78 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs:78-89 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 173 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1852a382e5268ea2bdf9b035326ab20b842ce4976185d0c0a91ca4bc7431768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Sean.Core.DbRepository/ExpressionResolve/ConstantExtractor.cs:93-104 | src/Sean.Core.DbRepository/ExpressionResolve/ConstantExtractor.cs:135-146 \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/Sean.Core.DbRepository/ExpressionResolve/ConstantExtractor.cs:93\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/Sean.Core.DbRepository/ExpressionResolve/ConstantExtractor.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"250cabf0c36bb4af15aa76ddb5db7a795bc4ce03cb507bb13cb636c6b07d16c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Sean.Core.DbRepository/SqlBuilder/OrderByClauseSqlBuilder.cs:68-79 | src/Sean.Core.DbRepository/SqlBuilder/QueryableSqlBuilder.cs:454-465 \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/Sean.Core.DbRepository/SqlBuilder/OrderByClauseSqlBuilder.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4333fe47f30537178128d6898d32564cf6a777e88fb2eb1d0a4e48a115870b44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Sean.Core.DbRepository/SqlBuilder/OrderByClauseSqlBuilder.cs:87-98 | src/Sean.Core.DbRepository/SqlBuilder/QueryableSqlBuilder.cs:472-483 \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/Sean.Core.DbRepository/SqlBuilder/OrderByClauseSqlBuilder.cs:87\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/Sean.Core.DbRepository/SqlBuilder/OrderByClauseSqlBuilder.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c433bad6a5bb567f2487502bd5ab5696cfb6247dede67b29d8acda4d164ec53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 14): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:81-87 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:78-88 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:82-88 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:83-89 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:83-89 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:76-86 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs:81-87 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:99-105 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:86-92 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOracle.cs:85-91 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs:86-92 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:83-89 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs:89-95 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:82-88 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:81\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 after the matched lines, \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:91\u0060 calls \u0060Append\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:92\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"282a0beb0472ca012f70bb72534edfe2cbc224d8a003adafc74390964ba3a75c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:61-71 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:61-71 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOracle.cs:63-73 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs:64-74 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs:67-77 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 119 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:61\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 before the matched lines, \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOracle.cs:62\u0060 calls \u0060AppendLine\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:60\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8415b3a25c0486de05e8ebf910255f74376e642e3df505f369854fd52b1b400b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:93-103 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:94-104 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:111-121 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:94-104 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 125 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:93\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37d2cfb2e9db9b2c96a9965acf19b224aa20d034559c68ee9f95f59579d53ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:67-77 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:67-77 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSQLite.cs:63-73 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs:78-88 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 173 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b24532cac5a0c55fd9a0a785e84cedf9f479a9a13b6a0eef11c4d3ce2b0bae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs:163-173 | src/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs:237-247 \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/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs:163\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc9f0b6f36c4bd446796054e4cceea8ca9dcbc33676877a7221765ecc1c28bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Sean.Core.DbRepository/Util/SqlBuilderUtil.cs:71-81 | src/Sean.Core.DbRepository/Util/SqlBuilderUtil.cs:96-106 \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/Sean.Core.DbRepository/Util/SqlBuilderUtil.cs:71\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/Sean.Core.DbRepository/Util/SqlBuilderUtil.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f6fc8cae61cf52fd91bcd8456afca1f8cba8fa811c71dabf15f3e03d05936f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Sean.Core.DbRepository/Util/SqlBuilderUtil.cs:121-131 | src/Sean.Core.DbRepository/Util/SqlBuilderUtil.cs:146-156 \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/Sean.Core.DbRepository/Util/SqlBuilderUtil.cs:121\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/Sean.Core.DbRepository/Util/SqlBuilderUtil.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6a664feb334cd6e075660620a33284870a33af034aa02dc6a3ffffb19b498f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 16): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:106-115 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:107-116 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:107-116 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:103-112 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:111-120 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:105-114 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs:101-110 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:124-133 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:114-123 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOracle.cs:117-126 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs:114-123 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:102-111 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSQLite.cs:100-109 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:111-120 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs:121-130 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:107-116 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:106\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOracle.cs:127\u0060 calls \u0060AppendLine\u0060, \u0060StringBuilder\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:116\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8ef01ff13132dd8bfa815cca61b52dae09ebb24ab2d3438d88d965b7084442"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:67-76 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:67-76 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:120-129 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSQLite.cs:63-72 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs:78-87 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:120-129 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 173 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. 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee927e32afd7011d695d01b1708095584bbc9ec8e7402ddd1dce372a3bc9194"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Sean.Core.DbRepository/Repository/BaseRepository.cs:1710-1719 | src/Sean.Core.DbRepository/Repository/BaseRepository.cs:2381-2390 \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/Sean.Core.DbRepository/Repository/BaseRepository.cs:1710\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/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cad81bba9b54d418ab67b3f7351371d4af50fd2dde3f926fc07a8bd10a5f171"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 24): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:67-75 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:120-128 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:67-75 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:120-128 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:72-80 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:116-124 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:129-137 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:69-77 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:118-126 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs:114-122 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:72-80 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:137-145 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:74-82 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:132-140 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOracle.cs:137-145 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs:132-140 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:66-74 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:115-123 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSQLite.cs:63-71 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSQLite.cs:113-121 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:129-137 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs:78-86 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs:139-147 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:120-128 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 173 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:69\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOracle.cs:136\u0060 calls \u0060Clear\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:128\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ada374f41dd09616a974c474effd4d13e33aa1971765bff5b3451b10400df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 6): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:59-66 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:59-66 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs:59-66 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:58-65 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:59-67 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:59-66 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 188 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:59\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d359655a62094429c3161c4dda9bc4b769edc396f8d02fe864366a227c9a6c8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:56-63 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:56-63 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:56-63 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs:56-63 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs:55-62 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:56-63 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:56-63 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 112 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2909b318116cc80187ef4cc3a83f2ddfa49262938673b35788fda9997b3239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Sean.Core.DbRepository.Dapper/Extensions/DbConnectionExtensions.cs:139-146 | src/Sean.Core.DbRepository.Dapper/Extensions/DbConnectionExtensions.cs:155-162 \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/Sean.Core.DbRepository.Dapper/Extensions/DbConnectionExtensions.cs:139\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/Sean.Core.DbRepository.Dapper/Extensions/DbConnectionExtensions.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"451badad8e9989d41752fe60cd35d122218a5ad5a7553fdd227706fe42b0d090"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:56-62 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:56-62 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:61-67 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:56-62 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs:59-65 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSQLite.cs:50-56 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 125 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSQLite.cs:59\u0060 calls \u0060Count\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:64\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f39e9e7cd13ad0db062f30cc6740c09fb6c609ba14baf42c94731599a9e0e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Sean.Core.DbRepository/SqlBuilder/DeleteableSqlBuilder.cs:232-238 | src/Sean.Core.DbRepository/SqlBuilder/UpdateableSqlBuilder.cs:328-334 \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. 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/Sean.Core.DbRepository/SqlBuilder/DeleteableSqlBuilder.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8500cfabaf484898f62f9a358b138646a982f9420a68513bd3c41b05842bbb67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Sean.Core.DbRepository/SqlBuilder/InsertableSqlBuilder.cs:142-147 | src/Sean.Core.DbRepository/SqlBuilder/ReplaceableSqlBuilder.cs:106-111 \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/Sean.Core.DbRepository/SqlBuilder/InsertableSqlBuilder.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32e647359d3e6c53ea025f41e9737d2ee463d531fd3325d2a1f54c5bfa8a531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 15): src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:85-89 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs:86-90 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDameng.cs:86-90 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDuckDB.cs:87-91 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:87-91 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs:84-88 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMsAccess.cs:85-89 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForMySql.cs:103-107 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOpenGauss.cs:90-94 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForOracle.cs:89-93 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForPostgreSql.cs:90-94 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSQLite.cs:84-88 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs:87-91 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForSqlServer.cs:93-97 | src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForXugu.cs:86-90 \u2014 before extracting anything, compare \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForFirebird.cs:93\u0060 calls \u0060Add\u0060, \u0060ToString\u0060 and \u0060src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs:91\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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a002f019274b834491b6c5df86c52ebb6f9e020f6c7550f561e3b74c10df65b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Sean.Core.DbRepository/SqlBuilder/InsertableSqlBuilder.cs:241-255 | src/Sean.Core.DbRepository/SqlBuilder/ReplaceableSqlBuilder.cs:131-145 \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. 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/Sean.Core.DbRepository/SqlBuilder/InsertableSqlBuilder.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51a574c28bbe4870f8dd58293ea4edf4c29d649365f6c50b20eefaa03982efc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (81 shared lines): examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs:24-199 | examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs:25-177 \u2014 These two members are variants of one another: 81 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba52980d9ee26879b7d1c7c5e85293f85979a56495d9e93213c9e508b8630e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Services/TestSimpleService.cs:73-144 | examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs:122-212 | examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs:74-145 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs:122-210 | examples/Dapper/NetFramework/Example.Dapper.Application/Services/TestSimpleService.cs:82-153 | examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/TestRepository.cs:119-207 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Services/TestSimpleService.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b5f3c63465890f7c663fca7043bf354c3de052b2c98160fe30b743edc2248b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CommonRepository.cs:35-47 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CommonRepository.cs:75-87 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs:65-77 | examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/CommonRepository.cs:33-45 | examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/CommonRepository.cs:72-84 | examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/TestRepository.cs:62-74 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CommonRepository.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee044189d8f867b489cfaad63f2d27e09485093db99d0d5204811472e16f71c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/DateTimeTypeHandler.cs:16-32 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/DateTimeTypeHandler.cs:44-65 | examples/Dapper/NetFramework/Example.Dapper.Domain/Handler/DateTimeTypeHandler.cs:16-32 | examples/Dapper/NetFramework/Example.Dapper.Domain/Handler/DateTimeTypeHandler.cs:44-65 \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":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/DateTimeTypeHandler.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acc4fc6dc93d203b9bc5744a62f7471a01a5284a786694283265549146abed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (78 lines \u00D7 3): examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Entities/TestEntity.cs:12-89 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Entities/TestEntity.cs:12-89 | examples/Dapper/NetFramework/Example.Dapper.Model/Entities/TestEntity.cs:12-89 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Entities/TestEntity.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Entities/TestEntity.cs\u0060 as WHOLE FILES: 99% 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 \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Entities/TestEntity.cs:12\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/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Entities/TestEntity.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0da0a34049b0b8702f8a818ebb5ad71daa78e40e8fe46cb56d7f6a903ab301"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (70\u201372 lines \u00D7 3): examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs:122-193 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs:122-191 | examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/TestRepository.cs:119-188 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 125 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 \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs:122\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, \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs:195\u0060 calls \u0060LogDebug\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs:194\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":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a66f3c8c7e51982dfb3552c785e776dd578f4cf504770a6cc1ea58ad4f026f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (72 lines \u00D7 2): examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Services/TestSimpleService.cs:73-144 | examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs:74-145 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Services/TestSimpleService.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 94 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":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Services/TestSimpleService.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"12996ccbeca2530e238874b0505f4e47d545fc05a1d5228bf50eb3812af0e417"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51\u201364 lines \u00D7 2): examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs:114-177 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs:113-163 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 129 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 \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs:114\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 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/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"28142da0efb14f6f130f1656bcd7345cd4c1e8981df17087a4860b3c4801ecc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 3): examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Entities/UserEntity.cs:11-64 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Entities/UserEntity.cs:11-64 | examples/Dapper/NetFramework/Example.Dapper.Model/Entities/UserEntity.cs:11-64 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Entities/UserEntity.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Entities/UserEntity.cs\u0060 as WHOLE FILES: 98% 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/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Entities/UserEntity.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":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Entities/UserEntity.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"af011f2c704e085f9c44ac62d64894b8e963af8ba8ef9eb13eebaad6d5f3711c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 3): examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs:114-148 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs:113-147 | examples/Dapper/NetFramework/Example.Dapper.Domain/Extensions/DIExtensions.cs:111-145 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 129 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 \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs:114\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":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc07252d6bd1e4133f83025f034615f06bc0b7b762324ec73fe9d86fb55629ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Services/TestService.cs:82-113 | examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestService.cs:83-114 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Services/TestService.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestService.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 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/ADO.NET/NetCore/Example.ADO.NETCore.Application/Services/TestService.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"959c69745ef598040f053163f419806ed327e4850b936b86aea61a10ddcd6974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Entities/TestEntity.cs:96-122 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Entities/TestEntity.cs:96-122 | examples/Dapper/NetFramework/Example.Dapper.Model/Entities/TestEntity.cs:96-122 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Entities/TestEntity.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Entities/TestEntity.cs\u0060 as WHOLE FILES: 99% 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 \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Entities/TestEntity.cs:96\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/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Entities/TestEntity.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fb582b3fe71dcb2c222a5d73db783f9410ced665cc4f75cd9dbdc46db833e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): examples/Dapper/NetCore/Example.Dapper.Core.Domain/Entities/CheckInLogEntity.cs:11-34 | examples/Dapper/NetFramework/Example.Dapper.Model/Entities/CheckInLogEntity.cs:11-34 \u2014 before extracting anything, compare \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Entities/CheckInLogEntity.cs\u0060 and \u0060examples/Dapper/NetFramework/Example.Dapper.Model/Entities/CheckInLogEntity.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/Dapper/NetCore/Example.Dapper.Core.Domain/Entities/CheckInLogEntity.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":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Entities/CheckInLogEntity.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"986cc8b81492a581405ca2b2c8182929a431b77c2902520f4f815db19777603e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs:61-83 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs:60-82 | examples/Dapper/NetFramework/Example.Dapper.Domain/Extensions/DIExtensions.cs:58-80 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 129 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":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"309b3d8249a8a87f7c787263e51a0610673364c38451d594941bbac96ea3599b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Entities/EntityBase.cs:9-30 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Entities/EntityBase.cs:9-30 | examples/Dapper/NetFramework/Example.Dapper.Model/Entities/EntityBase.cs:9-30 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Entities/EntityBase.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Entities/EntityBase.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/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Entities/EntityBase.cs:9\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/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Entities/EntityBase.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d091b9087131ed1aacb6b8c7078e061231a8ba5b16a95b01a6c435b8b1223ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/DateTimeTypeHandler.cs:44-65 | examples/Dapper/NetFramework/Example.Dapper.Domain/Handler/DateTimeTypeHandler.cs:44-65 \u2014 before extracting anything, compare \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/DateTimeTypeHandler.cs\u0060 and \u0060examples/Dapper/NetFramework/Example.Dapper.Domain/Handler/DateTimeTypeHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/DateTimeTypeHandler.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2850c9cdff8d05d9de31736ebf608edf34bfa7579d3f3878e6edfa6df63d1866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): examples/ADO.NET/NetCore/Example.ADO.NETCore.ConsoleApp/Program.cs:16-36 | examples/Dapper/NetCore/Example.Dapper.Core.ConsoleApp/Program.cs:16-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.ConsoleApp/Program.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"981b8dc72d201d3065451c619aaebf02bd7ad7ab71af30842ac358b3c02f7dfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs:215-235 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs:213-233 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 125 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":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef262f234b34f11d9cc47db5e28a1a47dab6d28db7f0d524a8ac42f9a18a825"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 3): examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs:195-212 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs:191-210 | examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/TestRepository.cs:188-207 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 125 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 \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs:195\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 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs:195\u0060 calls \u0060LogDebug\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs:191\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":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"477ce7f701eb81b2691d7e76f3c2a9d79764fb146717570e1a823c2d4ba86d5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/DateTimeTypeHandler.cs:16-32 | examples/Dapper/NetFramework/Example.Dapper.Domain/Handler/DateTimeTypeHandler.cs:16-32 \u2014 before extracting anything, compare \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/DateTimeTypeHandler.cs\u0060 and \u0060examples/Dapper/NetFramework/Example.Dapper.Domain/Handler/DateTimeTypeHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/DateTimeTypeHandler.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e633b4517f7908847786476a35bf15df4a31af1206854266a159ee485060cfcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/DateTimeTypeHandler.cs:17-32 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/DateTimeTypeHandler.cs:50-65 | examples/Dapper/NetFramework/Example.Dapper.Domain/Handler/DateTimeTypeHandler.cs:17-32 | examples/Dapper/NetFramework/Example.Dapper.Domain/Handler/DateTimeTypeHandler.cs:50-65 \u2014 before extracting anything, compare \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/DateTimeTypeHandler.cs\u0060 and \u0060examples/Dapper/NetFramework/Example.Dapper.Domain/Handler/DateTimeTypeHandler.cs\u0060 as WHOLE FILES: this scan already matched 3 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. 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/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/DateTimeTypeHandler.cs:50\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060object\u0060 in one and \u0060DateTime?\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":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/DateTimeTypeHandler.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"036ed124f76668e5199110b556fdd7886bcf67e91d5d20fac075618b4fbd1877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Contracts/ITestService.cs:7-20 | examples/Dapper/NetCore/Example.Dapper.Core.Application/Contracts/ITestService.cs:7-20 | examples/Dapper/NetFramework/Example.Dapper.Application/Contracts/ITestService.cs:7-20 \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 \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Contracts/ITestService.cs:7\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/ADO.NET/NetCore/Example.ADO.NETCore.Application/Contracts/ITestService.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"12dd0853bb74f20110df1a6802ec8141bf38ffe17322ef4eb3c30320e7bab9af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CommonRepository.cs:35-47 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CommonRepository.cs:75-87 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs:65-77 | examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/CommonRepository.cs:33-45 | examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/CommonRepository.cs:72-84 | examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/TestRepository.cs:62-74 \u2014 before extracting anything, compare \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CommonRepository.cs\u0060 and \u0060examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/CommonRepository.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":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CommonRepository.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26bbbf2d0733d16a06cd6a9b72ba73712464da2566de3ab9d1febcafcbbc7da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Contracts/ITestSimpleService.cs:11-23 | examples/Dapper/NetCore/Example.Dapper.Core.Application/Contracts/ITestSimpleService.cs:11-23 | examples/Dapper/NetFramework/Example.Dapper.Application/Contracts/ITestSimpleService.cs:11-23 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Contracts/ITestSimpleService.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Application/Contracts/ITestSimpleService.cs\u0060 as WHOLE FILES: 89% 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 \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Contracts/ITestSimpleService.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":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Contracts/ITestSimpleService.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce59c71add6e1b859ca6a2eadc8dde68802ae11be9d7b2dfbaf7b6f63ed38e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/CommonRepository.cs:35-47 | examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/CommonRepository.cs:75-87 | examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs:65-77 \u2014 there are 3 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 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/CommonRepository.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fbae2c63f718f1a48b92906ff4a631a1401fa234ba7a00fd50c764784e43f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Contracts/ITestService.cs:8-19 | examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Contracts/ITestSimpleService.cs:12-23 | examples/Dapper/NetCore/Example.Dapper.Core.Application/Contracts/ITestService.cs:8-19 | examples/Dapper/NetCore/Example.Dapper.Core.Application/Contracts/ITestSimpleService.cs:12-23 | examples/Dapper/NetFramework/Example.Dapper.Application/Contracts/ITestService.cs:8-19 | examples/Dapper/NetFramework/Example.Dapper.Application/Contracts/ITestSimpleService.cs:12-23 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Contracts/ITestSimpleService.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Application/Contracts/ITestSimpleService.cs\u0060 as WHOLE FILES: 89% 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 \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Contracts/ITestService.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. 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/ADO.NET/NetCore/Example.ADO.NETCore.Application/Contracts/ITestService.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ba6388404aa8e802c8ac41c00be00c802ca18c0b04a9beb551191272439bbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 6): examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Services/TestSimpleService.cs:113-122 | examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs:165-176 | examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs:114-123 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs:165-174 | examples/Dapper/NetFramework/Example.Dapper.Application/Services/TestSimpleService.cs:122-131 | examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/TestRepository.cs:162-171 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Services/TestSimpleService.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 94 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":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Services/TestSimpleService.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"598b5e90ccb8910beec98912606375e5766aa8cbcb60f5dddcb30f6188475f09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples/Dapper/NetCore/Example.Dapper.Core.Application/Contracts/ICheckInLogService.cs:7-18 | examples/Dapper/NetFramework/Example.Dapper.Application/Contracts/ICheckInLogService.cs:7-18 \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/Dapper/NetCore/Example.Dapper.Core.Application/Contracts/ICheckInLogService.cs:7\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/Dapper/NetCore/Example.Dapper.Core.Application/Contracts/ICheckInLogService.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8043f6541ca79069460cf420c1822109783d5fcb57acd959b283f3bc97f326d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Contracts/IUserService.cs:7-17 | examples/Dapper/NetCore/Example.Dapper.Core.Application/Contracts/IUserService.cs:7-17 | examples/Dapper/NetFramework/Example.Dapper.Application/Contracts/IUserService.cs:7-17 \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 \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Contracts/IUserService.cs:7\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/ADO.NET/NetCore/Example.ADO.NETCore.Application/Contracts/IUserService.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f9cefb77343fb99465a330b7a9fc678c626dc8104635cfe019e963f5858520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Services/TestSimpleService.cs:97-106 | examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs:98-107 | examples/Dapper/NetFramework/Example.Dapper.Application/Services/TestSimpleService.cs:106-115 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Services/TestSimpleService.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 94 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":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Services/TestSimpleService.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1188156a2b6fb55a9ee5743be2d90f38c8685ae26f76029bdea588d258be997e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CheckInLogRepository.cs:47-56 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CheckInLogRepository.cs:58-67 \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 \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CheckInLogRepository.cs:47\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/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CheckInLogRepository.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1075725b068b1ca638cbb5475f8efb54839e7c039fd86ae0c272d48567dc0c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/ADO.NET/NetCore/Example.ADO.NETCore.Infrastructure/Extensions/DIExtensions.cs:56-64 | examples/Dapper/NetCore/Example.Dapper.Core.Infrastructure/Extensions/DIExtensions.cs:56-64 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Infrastructure/Extensions/DIExtensions.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Infrastructure/Extensions/DIExtensions.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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 \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Infrastructure/Extensions/DIExtensions.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Infrastructure/Extensions/DIExtensions.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1ee2dbca70949f3454911198ed290f982e1e8d73fe4f2fea26af87b6d47b17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs:208-215 | examples/Dapper/NetFramework/Example.Dapper.Domain/Extensions/DIExtensions.cs:195-202 \u2014 before extracting anything, compare \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs\u0060 and \u0060examples/Dapper/NetFramework/Example.Dapper.Domain/Extensions/DIExtensions.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 66 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":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ef1c0f23a8019e2f978aaee06cb3d185ee319d18508d643b0f0fbca79e0cdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs:25-31 | examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs:24-30 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 129 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 \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs:25\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/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"daeb1a7ef56538adf5fc40383989e5a2b09bdffad7d291d79316b7f850d89e69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): examples/ADO.NET/NetCore/Example.ADO.NETCore.Infrastructure/DIManager.cs:14-38 | examples/Dapper/NetCore/Example.Dapper.Core.Infrastructure/DIManager.cs:14-38 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Infrastructure/DIManager.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Infrastructure/DIManager.cs\u0060 as WHOLE FILES: 95% 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. 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":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Infrastructure/DIManager.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede71917af506a42a592cb7e3662b0a357cf9e5f3cd0f90582c6e30935becf1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/DuckDBDecimalTypeHandler.cs:10-18 | examples/Dapper/NetFramework/Example.Dapper.Domain/Handler/DuckDBDecimalTypeHandler.cs:10-18 \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. 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":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/DuckDBDecimalTypeHandler.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1378248c31b3cc18fcabdd50e9bc225dd96ef84d5bd55214eb65430becd953bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/MsAccessDateTimeHandler.cs:10-30 | examples/Dapper/NetFramework/Example.Dapper.Domain/Handler/MsAccessDateTimeHandler.cs:10-30 \u2014 before extracting anything, compare \u0060examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/MsAccessDateTimeHandler.cs\u0060 and \u0060examples/Dapper/NetFramework/Example.Dapper.Domain/Handler/MsAccessDateTimeHandler.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/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/MsAccessDateTimeHandler.cs:10\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. 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":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/MsAccessDateTimeHandler.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f56e08115e7da4a61ae6846524875bb98e3adf9636578ecf2b10306a220edb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/OracleBoolTypeHandler.cs:10-18 | examples/Dapper/NetFramework/Example.Dapper.Domain/Handler/OracleBoolTypeHandler.cs:10-18 \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. 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":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Handler/OracleBoolTypeHandler.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d84f3788ae80e8c18ad233cd0bb5f2ceb6806e998ba78fc56c481680112275"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/CheckInLogService.cs:61-66 | examples/Dapper/NetFramework/Example.Dapper.Application/Services/CheckInLogService.cs:58-63 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/CheckInLogService.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bf8ebd0ff10248bee00c93748705b4c2d12b3f7640067968e70af27abce2a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CheckInLogRepository.cs:32-38 | examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/CheckInLogRepository.cs:29-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. 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":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CheckInLogRepository.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c916e5b27831025264575199dbe61b32f0d087366d068bd531feb01daf72541b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/ADO.NET/NetCore/Example.ADO.NETCore.Infrastructure/Extensions/DIExtensions.cs:20-28 | examples/Dapper/NetCore/Example.Dapper.Core.Infrastructure/Extensions/DIExtensions.cs:20-28 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Infrastructure/Extensions/DIExtensions.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Infrastructure/Extensions/DIExtensions.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Infrastructure/Extensions/DIExtensions.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a102b1b2a8a83cd2f137e77aa8ad31b7826e12127161ce230b23236acaa00a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): examples/ADO.NET/NetCore/Example.ADO.NETCore.Infrastructure/Extensions/DIExtensions.cs:31-54 | examples/Dapper/NetCore/Example.Dapper.Core.Infrastructure/Extensions/DIExtensions.cs:31-54 \u2014 before extracting anything, compare \u0060examples/ADO.NET/NetCore/Example.ADO.NETCore.Infrastructure/Extensions/DIExtensions.cs\u0060 and \u0060examples/Dapper/NetCore/Example.Dapper.Core.Infrastructure/Extensions/DIExtensions.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 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":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Infrastructure/Extensions/DIExtensions.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80b881ce646570e818f169ae706848af1b70dbc43214e8c8190aeb4257ecbc7"}},{"ruleId":"D5","level":"error","message":{"text":"Layer violation: Domain \u2192 Infrastructure: Example.ADO.NETCore.Domain (Domain) references Example.ADO.NETCore.Infrastructure (Infrastructure) \u2014 dependencies must point inward (Web \u2192 Application \u2192 Domain; Infrastructure implements inner interfaces, nothing depends outward on it)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0bde25de6b8b28551eb10f1560684badf1943daf404cded610cf407270e683f6"}},{"ruleId":"D5","level":"error","message":{"text":"Layer violation: Application \u2192 Infrastructure: Example.Dapper.Application (Application) references Example.Dapper.Infrastructure (Infrastructure) \u2014 dependencies must point inward (Web \u2192 Application \u2192 Domain; Infrastructure implements inner interfaces, nothing depends outward on it)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e27aca6f791fcbe2465e67f515025cce032234649858060654062cf706cdb54c"}},{"ruleId":"D5","level":"error","message":{"text":"Layer violation: Domain \u2192 Infrastructure: Example.Dapper.Core.Domain (Domain) references Example.Dapper.Core.Infrastructure (Infrastructure) \u2014 dependencies must point inward (Web \u2192 Application \u2192 Domain; Infrastructure implements inner interfaces, nothing depends outward on it)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2bf0a4f2ba3e2e40bbc3dae70926d1ac1858dd7dd436da711b9324d8f59cd208"}},{"ruleId":"D5","level":"error","message":{"text":"Layer violation: Domain \u2192 Infrastructure: Example.Dapper.Domain (Domain) references Example.Dapper.Infrastructure (Infrastructure) \u2014 dependencies must point inward (Web \u2192 Application \u2192 Domain; Infrastructure implements inner interfaces, nothing depends outward on it)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e581124e716ec342fc6c05c06958b770ba09996d2884edb7132b2dfd23b3e3f2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/Attributes/NamingConventionAttribute.cs: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Attributes/NamingConventionAttribute.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68033048f48ebb6304fd6630bd26a4706b8e13d70ee6637fa8d429dae5311a4b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/Attributes/SequenceAttribute.cs: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Attributes/SequenceAttribute.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03e0244e90b8db481d5f63cc68c2038bc4ce6e900af22fed26640da83357626"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/SqlBuilder/DeleteableSqlBuilder.cs: 37.6% line coverage (64/170)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/SqlBuilder/DeleteableSqlBuilder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05f9f008fbd500232e2302a5ed9821036deaa72b12ce564157aca5afdf07194"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/SqlBuilder/OrderByCondition.cs: 45.7% line coverage (16/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/SqlBuilder/OrderByCondition.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0943e64b3080be9cb937add9e6918ff37ebf6f84ce7dee13a88fc39cf0309c9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/SqlBuilder/UpdateableSqlBuilder.cs: 47.7% line coverage (116/243)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/SqlBuilder/UpdateableSqlBuilder.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef19cdd041b7763f6abd8851f3e19a14cb2d7b0edd143cbc86a2991e91d32a8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/Util/WhereExpressionUtil.cs: 16.7% line coverage (3/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Util/WhereExpressionUtil.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c053be5e613cd02a720d2db3db858a9266096e94e7ca25bbd8fe7c91829cdd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs: 47.4% line coverage (65/137)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b204ef653597d2e30c04ded900168c7b2fd3b9df34145d708a91010b0e0a200"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/Extensions/DbProviderFactoryExtensions.cs: 27.3% line coverage (12/44)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DbProviderFactoryExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ecfde52708c6905bc18118f9a7a0614e56991b772956f694d90168e9032c7d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/Extensions/EnumExtensions.cs: 28.3% line coverage (13/46)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/EnumExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"945c5daeec1c45df5d82875ba1e794929c359e84ca1196ac6944f81aa1b153dd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/Extensions/PropertyInfoExtensions.cs: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/PropertyInfoExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4f35fece15c5b882556c9cb21085213a24c4f8d25a52331f922f146814def6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/Extensions/RepositoryExtensions.cs: 33.3% line coverage (18/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/RepositoryExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0aaa67448ac25a800af970f37ca45449ec12e1e800568bda141bd95b7cee91d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/Extensions/TypeExtensions.cs: 30.0% line coverage (9/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/TypeExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9f46c4d2f3c3a63469fec90ebbf23fe786d4ac7f48474c134fa8ce14672d3e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForDameng.cs: 6.3% line coverage (3/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForDameng.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b6d9353b974df60b01d93eb01d2df26afb23b07dc146db7dd823e12b026992"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForFirebird.cs: 4.1% line coverage (3/74)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForFirebird.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f148ce42fa10d79d81ac235e4c501b212146a10f70b3af12f3c81c3e191688f5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForMsAccess.cs: 5.9% line coverage (3/51)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForMsAccess.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ee268df02496f0e140c923afbb25e6348f8dbb857136299cc83b4ace7a8f68"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForMySql.cs: 8.5% line coverage (6/71)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForMySql.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edffcdf432a8d71b394f09b32aec0634aa49ab734c2ed16df22a3295464123e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForOracle.cs: 9.1% line coverage (6/66)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForOracle.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4a826a81efd0a288bdbcad3df2af0d4b8824afa661e8347e61b17554e57b84"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForPostgreSql.cs: 6.7% line coverage (6/89)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForPostgreSql.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5374c0825c9968e7d0d6236986fd5ef2738474fc8dfe0b0852f842983230854"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForSqlServer.cs: 4.6% line coverage (3/65)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForSqlServer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"626c236f1e22788a56c042eaa46eabb7f19b5c1c744bbd110cfb3e0eb20c5e6b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/Sean.Core.DbRepository/CodeFirst/DatabaseUpgrader.cs: 37.8% line coverage (14/37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/DatabaseUpgrader.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b31e4ea5c09eced9f5efc64e36ea5e51926c7c3466f1e9b34b137fa9cbafb0"}},{"ruleId":"D8","level":"warning","message":{"text":"CRAP 191: DbProviderFactoryExtensions.GetDatabaseType: Cyclomatic 21 with 27.3% file coverage \u2014 too complex for how untested it is (CRAP = CC\u00B2\u00B7(1\u2212cov)\u00B3 \u002B CC; \u226530 needs tests or simplification)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DbProviderFactoryExtensions.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73b1a0d2a9cfdfe12c05094438627f9278b13a0d2dd809a3b560752ce0e2cf0"}},{"ruleId":"D8","level":"warning","message":{"text":"CRAP 161: DatabaseTypeExtensions.MarkAsIdentifier: Cyclomatic 30 with 47.4% file coverage \u2014 too complex for how untested it is (CRAP = CC\u00B2\u00B7(1\u2212cov)\u00B3 \u002B CC; \u226530 needs tests or simplification)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd27b44640497fb8756b28ba3e1026f317e3c82df3c5603c244cef0dd5cbe02"}},{"ruleId":"D8","level":"warning","message":{"text":"CRAP 124: DatabaseTypeExtensions.GetSqlForTableExists: Cyclomatic 26 with 47.4% file coverage \u2014 too complex for how untested it is (CRAP = CC\u00B2\u00B7(1\u2212cov)\u00B3 \u002B CC; \u226530 needs tests or simplification)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe389117ee83f5750e75d77b0ee8dec3854f7fbf808de45fc5575eb59bec3e9b"}},{"ruleId":"D8","level":"warning","message":{"text":"CRAP 124: DatabaseTypeExtensions.GetSqlForTableFieldExists: Cyclomatic 26 with 47.4% file coverage \u2014 too complex for how untested it is (CRAP = CC\u00B2\u00B7(1\u2212cov)\u00B3 \u002B CC; \u226530 needs tests or simplification)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9203fbad57e730f7ee0abee6b5db8c805feeb3ebafe272b267260f294dd51f"}},{"ruleId":"D8","level":"warning","message":{"text":"CRAP 96: ExpressionExtensions.GetFieldNames: Cyclomatic 48 with 72.4% file coverage \u2014 too complex for how untested it is (CRAP = CC\u00B2\u00B7(1\u2212cov)\u00B3 \u002B CC; \u226530 needs tests or simplification)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/ExpressionExtensions.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb59514e899aca29ae8f9da459b3d39c076d4445bdc0029b3ead1347dbe005b"}},{"ruleId":"D8","level":"warning","message":{"text":"CRAP 89: QueryableSqlBuilder.BuildSqlCommand: Cyclomatic 40 with 68.7% file coverage \u2014 too complex for how untested it is (CRAP = CC\u00B2\u00B7(1\u2212cov)\u00B3 \u002B CC; \u226530 needs tests or simplification)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/SqlBuilder/QueryableSqlBuilder.cs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4d0889b5a91110f08c9fb7fbc5de924a8a29212320b9649c6f94872c1c299d"}},{"ruleId":"D8","level":"warning","message":{"text":"CRAP 74: InsertableSqlBuilder.BuildSqlCommand: Cyclomatic 28 with 61.1% file coverage \u2014 too complex for how untested it is (CRAP = CC\u00B2\u00B7(1\u2212cov)\u00B3 \u002B CC; \u226530 needs tests or simplification)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/SqlBuilder/InsertableSqlBuilder.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"78055fd70ac5ac0136898fae20ae744fdfe7a3ce6c4067a7888f7b5b60dcba01"}},{"ruleId":"D8","level":"warning","message":{"text":"CRAP 56: EnumExtensions.ToSqlString: Cyclomatic 11 with 28.3% file coverage \u2014 too complex for how untested it is (CRAP = CC\u00B2\u00B7(1\u2212cov)\u00B3 \u002B CC; \u226530 needs tests or simplification)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/EnumExtensions.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a1e7b616dc8b44e9d61c0119d8c9b7f4757c5a38b6ff2b1c78e7d1c8696dfe"}},{"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":"7326914b3ec1ad66b420aad00e4407f6df098130b64937f8e3a63970c218f3df"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7eeb350c7a026604e164ccc2451c1813bab1a5188bac2d84707893a27fcfbaa"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D14","level":"error","message":{"text":"Banned license: MySql.Data: \u0060MySql.Data\u0060 26.7.0 resolves to SPDX id GPL-2.0-only WITH Universal-FOSS-exception-1.0, and this run\u0027s banned set is AGPL-3.0, GPL-2.0, GPL-3.0, LGPL-3.0. The match is a SUBSTRING of the id, not an exact comparison \u2014 which is how variants like \u0060-only\u0060 and \u0060-or-later\u0060 are caught, and it is the rule to apply if you re-check this by hand. The set is policy, not law: it is configurable, so a licence banned here may be acceptable in your context, and the row is then something to record an exception for rather than to fix. \u2605 This arm reads the resolved package list and knows nothing about dependency SCOPE \u2014 it cannot tell a runtime dependency from a build- or test-only one, so unlike the Bundler arm it is NOT claiming this ships to your users. Check where it sits before acting. \u2605 DEPTH: this repository\u0027s MSBuild projects declare 49 direct \u0060PackageReference\u0060(s), and 205 further package(s) were reached beyond them by closing the graph over nuget.org\u0027s own nuspec dependency graph \u2014 so a banned licence pulled in only by a dependency\u0027s OWN dependencies is inside this verdict. A package whose licence nuget.org could not be asked for is not graded, and version ranges are taken at their lower bound, so this is the closure as that graph states it rather than a restored consumer\u0027s exact resolution."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"51216d747ce6fa49a50548dccf1c803009f0a69f26b9d887e942284651d4c1fe"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: MySql.Data: \u0060MySql.Data\u0060 9.0.0 resolves to SPDX id GPL-2.0-only, and this run\u0027s banned set is AGPL-3.0, GPL-2.0, GPL-3.0, LGPL-3.0. The match is a SUBSTRING of the id, not an exact comparison \u2014 which is how variants like \u0060-only\u0060 and \u0060-or-later\u0060 are caught, and it is the rule to apply if you re-check this by hand. The set is policy, not law: it is configurable, so a licence banned here may be acceptable in your context, and the row is then something to record an exception for rather than to fix. \u2605 This arm reads the resolved package list and knows nothing about dependency SCOPE \u2014 it cannot tell a runtime dependency from a build- or test-only one, so unlike the Bundler arm it is NOT claiming this ships to your users. Check where it sits before acting. \u2605 DEPTH: this repository\u0027s MSBuild projects declare 49 direct \u0060PackageReference\u0060(s), and 205 further package(s) were reached beyond them by closing the graph over nuget.org\u0027s own nuspec dependency graph \u2014 so a banned licence pulled in only by a dependency\u0027s OWN dependencies is inside this verdict. A package whose licence nuget.org could not be asked for is not graded, and version ranges are taken at their lower bound, so this is the closure as that graph states it rather than a restored consumer\u0027s exact resolution."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2c995e9684423d81ae81c55285168a3d9475fa878e3de80241d819142413f5b3"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: MySql.EntityFrameworkCore: \u0060MySql.EntityFrameworkCore\u0060 8.0.5\u002BMySQL9.0.0 resolves to SPDX id GPL-2.0-only, and this run\u0027s banned set is AGPL-3.0, GPL-2.0, GPL-3.0, LGPL-3.0. The match is a SUBSTRING of the id, not an exact comparison \u2014 which is how variants like \u0060-only\u0060 and \u0060-or-later\u0060 are caught, and it is the rule to apply if you re-check this by hand. The set is policy, not law: it is configurable, so a licence banned here may be acceptable in your context, and the row is then something to record an exception for rather than to fix. \u2605 This arm reads the resolved package list and knows nothing about dependency SCOPE \u2014 it cannot tell a runtime dependency from a build- or test-only one, so unlike the Bundler arm it is NOT claiming this ships to your users. Check where it sits before acting. \u2605 DEPTH: this repository\u0027s MSBuild projects declare 49 direct \u0060PackageReference\u0060(s), and 205 further package(s) were reached beyond them by closing the graph over nuget.org\u0027s own nuspec dependency graph \u2014 so a banned licence pulled in only by a dependency\u0027s OWN dependencies is inside this verdict. A package whose licence nuget.org could not be asked for is not graded, and version ranges are taken at their lower bound, so this is the closure as that graph states it rather than a restored consumer\u0027s exact resolution."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"15e02659a432589326dbe73b9b6b83e270898a1d5c80f6cec2ef9b9df70f03e7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Sean.Core.DbRepository/SqlBuilder/QueryableSqlBuilder.cs: src/Sean.Core.DbRepository/SqlBuilder/QueryableSqlBuilder.cs changed 3 times in last 90 days, max cyclomatic complexity 40 in QueryableSqlBuilder.BuildSqlCommand at line 510. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-13..2026-09-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-13 16:43:20 \u002B08:00\u0027 --until=\u00272026-09-11 16:43:20 \u002B08:00\u0027 --full-history --no-merges -- src/Sean.Core.DbRepository/SqlBuilder/QueryableSqlBuilder.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/SqlBuilder/QueryableSqlBuilder.cs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdf95a0f6c7abd0b58d6436dbb0bfec06baa94c7f1eff4c7fb1e96855b02810"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs: src/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs changed 3 times in last 90 days, max cyclomatic complexity 30 in DatabaseTypeExtensions.MarkAsIdentifier at line 71. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-13..2026-09-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-13 16:43:20 \u002B08:00\u0027 --until=\u00272026-09-11 16:43:20 \u002B08:00\u0027 --full-history --no-merges -- src/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac877392a0a35b96f85033d40b0f43f6f8a1c2b9e1ccf04ffe5052a1d2267a17"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/BaseSqlGenerator.cs: src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/BaseSqlGenerator.cs changed 3 times in last 90 days, max cyclomatic complexity 30 in BaseSqlGenerator.ConvertFieldDefaultValue at line 145. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-13..2026-09-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-13 16:43:20 \u002B08:00\u0027 --until=\u00272026-09-11 16:43:20 \u002B08:00\u0027 --full-history --no-merges -- src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/BaseSqlGenerator.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/BaseSqlGenerator.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94621b2fecc5517ea685beff422da04992256c5c4c0607f2aa3874b1a70eb6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Sean.Core.DbRepository/Util/SqlParameterUtil.cs: src/Sean.Core.DbRepository/Util/SqlParameterUtil.cs changed 2 times in last 90 days, max cyclomatic complexity 34 in SqlParameterUtil.ParseSqlParameterTokensCore at line 274. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-13..2026-09-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-13 16:43:20 \u002B08:00\u0027 --until=\u00272026-09-11 16:43:20 \u002B08:00\u0027 --full-history --no-merges -- src/Sean.Core.DbRepository/Util/SqlParameterUtil.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Util/SqlParameterUtil.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"00779f196f968317e25760cc21c647f79982ba0aece4732fb020b76d3e767f31"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Sean.Core.DbRepository/SqlBuilder/InsertableSqlBuilder.cs: src/Sean.Core.DbRepository/SqlBuilder/InsertableSqlBuilder.cs changed 2 times in last 90 days, max cyclomatic complexity 28 in InsertableSqlBuilder.BuildSqlCommand at line 122. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-13..2026-09-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-13 16:43:20 \u002B08:00\u0027 --until=\u00272026-09-11 16:43:20 \u002B08:00\u0027 --full-history --no-merges -- src/Sean.Core.DbRepository/SqlBuilder/InsertableSqlBuilder.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/SqlBuilder/InsertableSqlBuilder.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"56873eb560e9a460c0cf5a5892eebce1b05963cfd5274c43f663d4e45b46a0a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Sean.Core.DbRepository/Util/SqlBuilderUtil.cs: src/Sean.Core.DbRepository/Util/SqlBuilderUtil.cs changed 2 times in last 90 days, max cyclomatic complexity 26 in SqlBuilderUtil.ConvertToSqlString at line 370. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-13..2026-09-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-13 16:43:20 \u002B08:00\u0027 --until=\u00272026-09-11 16:43:20 \u002B08:00\u0027 --full-history --no-merges -- src/Sean.Core.DbRepository/Util/SqlBuilderUtil.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Util/SqlBuilderUtil.cs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9acca02837396c3e427f9dc63daaa949a44941212ff752adcf5488ee1619565"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Sean.Core.DbRepository/ExpressionResolve/ConditionBuilder.cs: src/Sean.Core.DbRepository/ExpressionResolve/ConditionBuilder.cs changed 3 times in last 90 days, max cyclomatic complexity 16 in ConditionBuilder.BuildLikeOrEqualCondition at line 43. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-13..2026-09-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-13 16:43:20 \u002B08:00\u0027 --until=\u00272026-09-11 16:43:20 \u002B08:00\u0027 --full-history --no-merges -- src/Sean.Core.DbRepository/ExpressionResolve/ConditionBuilder.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/ExpressionResolve/ConditionBuilder.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fca767125b110637a02a1b2bb88d7a91f483f7a2da1f41e8b6c838e0d2abf8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Sean.Core.DbRepository/SqlBuilder/ReplaceableSqlBuilder.cs: src/Sean.Core.DbRepository/SqlBuilder/ReplaceableSqlBuilder.cs changed 2 times in last 90 days, max cyclomatic complexity 15 in ReplaceableSqlBuilder.BuildSqlCommand at line 83. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-13..2026-09-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-13 16:43:20 \u002B08:00\u0027 --until=\u00272026-09-11 16:43:20 \u002B08:00\u0027 --full-history --no-merges -- src/Sean.Core.DbRepository/SqlBuilder/ReplaceableSqlBuilder.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/SqlBuilder/ReplaceableSqlBuilder.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"126281be4b44a32dfbcf9d4862b0bb92a7bdffd39961c153a75e70b2d76773f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Sean.Core.DbRepository/Repository/BaseRepository.cs: src/Sean.Core.DbRepository/Repository/BaseRepository.cs changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is BaseRepository.AddOrUpdate at line 1328), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u7981\u7528 Xugu \u4E0D\u5B89\u5168\u7684\u81EA\u589E\u4E3B\u952E\u56DE\u5199\u201D; \u201Cfix: \u4FEE\u590D\u6CDB\u578B\u547D\u4EE4\u53C2\u6570\u5171\u4EAB\u4E0E\u81EA\u589E\u4E3B\u952E\u56DE\u5199\u201D; \u201Cfix: \u7EDF\u4E00\u901A\u7528\u6267\u884C\u65B9\u6CD5\u7684\u8FDE\u63A5\u751F\u547D\u5468\u671F\u5E76\u4FEE\u590D Reader \u8D44\u6E90\u91CA\u653E\u201D; \u201Cfix: \u9694\u79BB\u5171\u4EAB\u751F\u6210\u5668\u7684\u5E76\u53D1\u521D\u59CB\u5316\u72B6\u6001\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-13..2026-09-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-13 16:43:20 \u002B08:00\u0027 --until=\u00272026-09-11 16:43:20 \u002B08:00\u0027 --full-history --no-merges -- src/Sean.Core.DbRepository/Repository/BaseRepository.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08de1b3d3479ecaec8c82b672128be7ca8f6c92f30ab6e8629829602ccd4830"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Sean.Core.DbRepository/Factory/DbFactory.cs: src/Sean.Core.DbRepository/Factory/DbFactory.cs changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is DbFactory.OnConnectionSettingsChanged at line 1814), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u652F\u6301\u6807\u91CF\u67E5\u8BE2\u7684 Guid \u6587\u672C\u8F6C\u6362\u201D; \u201Cfix: \u91CA\u653E\u8FDE\u63A5\u5B57\u7B26\u4E32\u521D\u59CB\u5316\u5931\u8D25\u7684\u8FDE\u63A5\u201D; \u201Cfix: \u91CA\u653E\u521D\u59CB\u5316\u5931\u8D25\u7684\u6570\u636E\u5E93\u547D\u4EE4\u201D; \u201Cfix: \u4FEE\u590D\u8FDE\u63A5\u91CA\u653E\u4E0E AddOrUpdate \u4E8B\u52A1\u4E00\u81F4\u6027\u95EE\u9898\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-13..2026-09-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-13 16:43:20 \u002B08:00\u0027 --until=\u00272026-09-11 16:43:20 \u002B08:00\u0027 --full-history --no-merges -- src/Sean.Core.DbRepository/Factory/DbFactory.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Factory/DbFactory.cs"},"region":{"startLine":1814}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45940c882d5672f30e99bf108bbf3f9b2605b2c1f9917686eef100863f207bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForMySql.cs: src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForMySql.cs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is CodeGeneratorForMySql.CodeGeneratorForMySql.ctor at line 9), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u6309\u5B9E\u9645\u7EA6\u675F\u8BC6\u522B MySQL \u4E3B\u952E\u5B57\u6BB5\u201D; \u201Cfix: \u6309\u5B9E\u9645\u7EA6\u675F\u8BC6\u522B MySQL \u5916\u952E\u5B57\u6BB5\u201D; \u201Cfix: \u53C2\u6570\u5316 MySQL \u5143\u6570\u636E\u67E5\u8BE2\u4E2D\u7684\u5E93\u540D\u548C\u8868\u540D\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-13..2026-09-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-13 16:43:20 \u002B08:00\u0027 --until=\u00272026-09-11 16:43:20 \u002B08:00\u0027 --full-history --no-merges -- src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForMySql.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForMySql.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"997aa2ba5a355b3e67dcddf2a4cee7261efd487c996e918a5c099c6259c6a246"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Sean.Core.DbRepository/Extensions/DbDataReaderExtensions.cs: src/Sean.Core.DbRepository/Extensions/DbDataReaderExtensions.cs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is DbDataReaderExtensions.CreateModelMapper at line 259), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: \u4FEE\u590D\u53EF\u7A7A\u7C7B\u578B\u3001\u6CDB\u578B\u5B9E\u4F53\u548C\u5143\u7EC4\u6620\u5C04\u201D; \u201Cfix: \u4FEE\u590D DataReader \u9650\u91CF\u8BFB\u53D6\u8D8A\u754C\u6D88\u8D39\u201D; \u201Cfix: \u4FEE\u590D\u5B9E\u4F53\u5B57\u6BB5\u6620\u5C04\u5E76\u590D\u7528\u5217\u6620\u5C04\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-13..2026-09-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-13 16:43:20 \u002B08:00\u0027 --until=\u00272026-09-11 16:43:20 \u002B08:00\u0027 --full-history --no-merges -- src/Sean.Core.DbRepository/Extensions/DbDataReaderExtensions.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DbDataReaderExtensions.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d57d8ba5bc4d9de0684a50ed09157f21da988a2579973ff793b4b5badb4dbbe"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Services/UserService.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b102dc4eb4c2bb5304f8810b5c125cc7086aaef0c8163954eae173036af284d"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.ConsoleApp/Impls/DBTest.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"414c20527bcd590b6e2f345ec2981684cd7b4503d5b5e4ee9f5c21c8002fb0fe"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/UserRepository.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6758e095c0b01e01cd640579b882a8940700675cdb33a4ec89fd72b8ab1809d4"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/CheckInLogService.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c824454a0e08d97901fbe35b705365c8bce18e55c5e1dc52239d04ffe2e4779"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/UserService.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"de54e986be3bd0fdaf8b8b4c703bd619f28709eba5691917ef2caefd6003221a"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.ConsoleApp/Impls/DBTest.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"052bf9477be71e505b10e6e6d4f5d7c08a57c7fd7a1c62788fea25c3d99cdb22"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CheckInLogRepository.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"41509edfc986b727e0cd39f19c8d778c97e2434383cee45cc2238414e9d5f8a1"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/UserRepository.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63f3aebc948fbe1f21650ad1423f009a3526f21059615e3acb8e728cbfbc82e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Application/Services/CheckInLogService.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b34c6cc3d3144969f2f8f09620b45b5a81529733a72b208d7d234b1d7351be1"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Application/Services/TestService.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7540e1af0731ba09907cabe4ed71fac61397469ac61155fb5e8a73e05ea6b5ca"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Application/Services/UserService.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3953ee21fc5ecc9e8f0a9b4d7addc00a1f2a148cda7694c59ab7fe01e468ad4"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.ConsoleApp/Impls/DBTest.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcb7bdc1323fc7713da70becf48b08eaf435c1f44ca5936aeeb60cf3e19cbd8"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/CheckInLogRepository.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b11f4ad78834372dd1eba5ad359833493948b11ed32ff97d22584f0bc1fc8c"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/UserRepository.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea8ce4bc3c1061212bb18479fffbacff4fdb8565aba86ab3888ad8700909313"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseOracle \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/DBTest/OracleTest.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f8b932fb84126cb1ce7aa6b579663480fd98b3e78418389e61142d8db2c5d6"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseOracle \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e77c658b428ec32d4929dd6d38dc09f70038d8c3d3ce19ecfab758f48954e5b"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseOracle \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/DBTest/OracleTest.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9abd60712a2c1c1610e1f45e032fe1f0c000e423ce349aa561f60df306fb3b"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseOracle \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d5297ecfd6b8e9948ebce2b26a9a35d1eb3f2a9d6cff6566ac05126976914d"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseOracle \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdebe2dcaad03a8455f41aa14edbf0023a02ac6c68dbddad6e8294089bf5483"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseOracle \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd21b48115752003f8cb2f05c950ede35b5960a84a0f6f6d549bb02a41d24a5"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseOracle \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16333d270386dd3865dadb1ee81388e06b4fe148bec562747d1b408344ae3ea"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseOracle \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53bb6483f04590b35caae0d7e3c26dcc8079cbcd2d0778f99786671edad2497"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseQuestDB \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/DBTest/QuestDBTest.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"790dc63eac93a4e0163f6d5d0002cc0059c1a51f2acb0a2398f0ca3859f65d41"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 24 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d42949b76569098e069a073575cc0420b88aceb20af02ebddce12224bb734c4"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 24 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5d6d12b14b1554056ea3eb5533312362641c484bc2ebc58ce320f1ace05547"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 24 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6492dc9b30f171ef9c3de2b447e3f832bb712723253b92687a45f4df339fff1e"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseFirebird \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"475a405e10c50e828dc73a6ea63d7c4edccbf1d01b0c8c80cf5fdf01ec6af60b"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseFirebird \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c02a6c0ac15c385a95fb4cc80ce9b0b9fdfda9df163557baa942d6bffbe2145"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseFirebird \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fd39322f604df6efbfb717029f1a8de543321f7d9da5376dcd4514ad3975ac"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseFirebird \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e537baad22d5ab09ec3143fd6275a6be2025e22793514d0d39f01a249c10610d"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseFirebird \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"7105beae33851d9fe6c2467f4fe73bc86972cc56ce42f03a108305984870393d"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UsePostgreSql || UseHighgoDB || UseIvorySQL || UseQuestDB \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3825fc360e7fa44cbce8df52f2ed32443b1504faab0624d32f84f33d9b3065b"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UsePostgreSql || UseHighgoDB || UseIvorySQL || UseQuestDB \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3e3c4d1306ca7a81e167436a7dd36725638a06d9515790c5552af0ecfb8fa7"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UsePostgreSql || UseHighgoDB || UseIvorySQL || UseQuestDB \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c611e0c5376b7be156589a4d1facf5a11e099a9a4342fad2b61e1d83a111741f"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseOpenGauss \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2737205d3208691dbf8d5cfb7a645bfa8bd20fa57f706d728de11596b2954ce6"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseOpenGauss \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1228821dfe0bcfa01034d3b7bc6c69c0ba6d5d61cd1fb4034b8cf7477b3beca7"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseOpenGauss \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6c4a22459632a60abfffa03f3e0fbbfea37bcfd08d2708d79467ed91d132bf"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseOpenGauss \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabdefa02deed829035e86b6ee00b8e8c932b611c8d1f537a5d1d2df16fd84a2"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseMsAccess \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"96da533a027e34554c537075aabbc7fec5b4073da436e17275376d1e031df94c"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseMsAccess \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e8603aeb3f4990bad6ac6fc7dcb3477c0a749a375e52c46ab186b0ef16f8df"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseMsAccess \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/OdbcConnectionExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea99c1607dee7edf2bffeeaccf1de248fbcc916819c23d2807214db11667579"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseMsAccess \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/OleDbConnectionExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0adca4b589cdfb589176b32204c7e29fab88f18b97d0739be924be87a57631"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseMsAccess \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0c2c3a01a1926f866cc810fc9eaf6aa25618e8b1791525f00ada0b63be028c"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseMsAccess \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb0b15da5e4632a0bfc0e4e3980c57b68ff6186dae2efa255865628767f656c"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseMsAccess \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29ae8114c31ae8f2a81c528b8edbfd9558ae18a9ae652cbd99302679889d1ce"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseMsAccess \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/OdbcConnectionExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd693832c5ee11ba8d5aebe496b46d73eea1ff05bd4a5d6d44c3febb52466cb"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseMsAccess \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/OleDbConnectionExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f807d6dcb7744068fdf2a9b8a6a9f06cecf6584b06d47f4935ded639fe1ec7b"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseMsAccess \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0683a1fc78309d50831ba021e7e6b8f31886abc4bb7d9401ca37a0fb613eed"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseMsAccess \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0403b8c5bb0e4912e8fdfb09e485ac3a71b252ceb9dbb6c1c57f0feec7502e"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseMsAccess \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3b2bdfe368f724b46aa13d4330d99946664f9e264b5d9ed632c49fe30f183b"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseMsAccess \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f175ac340b6f60c32523001d70efb39ff5391cc4356bb51629d10cea32ef67d"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseXugu \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4ba97b0e00d655fa5d496278ff7288aefef8a29c060e88fc813a59dedf2891"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 29 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"315dc445b46aeabc74aca8576ed04c23e70073a813a80d40848ee67a89e44a40"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 29 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb301606782f8adfd8fa45889b6f059e4999589b07591a20a08eb069f997823"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 29 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/TestRepository.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"912093019289b5e2c329310a9062749d0a6283e61e3b102745b76a57fdecd39e"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseDuckDB || UseXugu \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f77c512a80d860f720646dea99e6fa0327d82e30857c552031d23fa9bf4b434"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseDuckDB || UseXugu \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Extensions/DIExtensions.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2b91e49f42c471b7670d016fdfbd7f413673e6ae856fa20ecb48e0a0c32fdb"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private CommonRepository\u003CCheckInLogEntity\u003E _checkInLogRepository \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Application/Services/TestSimpleService.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"de85eb9ff203cce53f9ff1a19f201ea57a4011032b0431bf65923023d34e6691"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.ConsoleApp/Program.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b09caed4c08305ce578d7f53f42e4b2999e102540dcd1b4ad0c1bed362a84a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 21 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3dbed90a52dfc031b18603da4284453b40d8623e520fdd98a839bb8b053899"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseSqlServer \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"802d83f66ed3a45080f0015e24c993db17c6ccea5b9cd46c0d32c9bb1bced698"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseSqlServer \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9c7d36ef6a153cb2791870aadfe09abc645895c63ce009c8c17fb0b5d6e815"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseDB2 || UseInformix \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f09a5a13073ce4d9dd9d2208547d2b33e39f29d504fba7edef17c8e5f29df30"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseClickHouse \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"653b347a28fd79c2051b2af1d7c067d80bf83ed19c922926ab3abc0b8970c1b7"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseClickHouse \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b8d69d822938d9cfd9717660a1c337b3ba70d53a9c18e628f248b6d85c7a76"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseMySQL \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"2391319a4ee6caa3fded50b3ea375321a3eacc103b82fde7577f2b944101f46c"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseMariaDB \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca66fbf783f325f8700731cd238678f1cbb0a2f3261d21073484f219f62c1f8"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseTiDB \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"21766e0062c92a84ebc9e4ffc8e915b123c19756a9648f89ceb7278ec5304168"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseOceanBase \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"033afceac797458b044b19728352dc4637db37e2f0b340d90f24fbe0fd475021"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UsePostgreSql \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8b795a034b2c889afd52332f8137a3c8624c745f58506751d72bb2775795ff"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseHighgoDB \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"783f5625ca00631a2baa37bf06aedcd770aa22b3159ca098ab374ffb64d43027"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseIvorySQL \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef74d1db4f814089d6de826728d6f40c69475b6dfe0e2e42e740e995cdb93ed"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseDB2 \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca83318984f812c3f01cbc1017f2e5ea545dea7901dad70d61535bd943b16ae0"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseInformix \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a2a405b0d64e1bfe01a589f98f054debbdd2bafc665fd1f3c48251d2609244"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseInformix \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/Program.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"405ae62dd99bd5d552d3e2bd38c699ca79307559b740076243215c669a3c8bca"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseDameng \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9c7a83b81fa355c8721e5767b83f15597c535cb9ecce3a775c2adbe21b180a"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseKingbaseES \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"0daf881aac7ababbb829bc7bc90dfc080d94311c4f99de576c95164554a8229f"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UseShenTong \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/EFDbContext.cs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7b82872953613c980923f6dd78d55928b61f8fbd0580d942a38cd1564f51ed"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/Program.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda3092a1c37271f0cff89d47b27287685b755394a54cf487cb06902e928f35c"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UsePostgreSql || UseOpenGauss || UseHighgoDB || UseIvorySQL \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/EntityFramework/NetCore/Example.EF.Core.ConsoleApp/Program.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"897f5b84ab1513726ab27f8e3a81dffcff476fa810f15272538085ada6eeb959"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c27a7849ec84b5975f41014f439ada8f0ddb6288b49896a0557d9d4fc802561"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"991e5a7fa7053bf15fe8258e80ead7265caca2a221121d82b2309feb5e14efdf"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"488f7d74efe5da6ea63c1659e76abdec57b9294aaf0c4924696bca4c17334322"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b709a4cd856ee9357f0b5a8f9503710c60ae1b0cc70b3cf4cdd036c34d391b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded1dd45d8ef302f7950c244ddaaa52a81ba009e5cc23d76f06067f104c6249b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"369d3117a5178fdf42fabe5397c3e1db33fcc633899e15a4e2f01c7321a8989e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"30394abfeeada9ca7a37bd1959e6f78828b506346f93e61dcf5b6a74ddabe9ca"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3e3b1eec10370234bfc5b794dca53f080a61e46937b2f830474429fb940f06"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bfafdfc3bc77ee659ba5b5f569db8276c625df146fc95f531eed0818faee90"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"586b6831eed1dcc27c6ef2547e0e4029658cef5ea40884e9381315f4ee03d259"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbe7f3486e1fc483caa80916d371985fe32381441f414ec33ff53a3c948d529"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cc3bd57cddc8e9afaa8ee68aadd9b3fef3b2fd0275943b3fcb7f33a0276e58"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a633408f6f05309673636aacdc8cc1c621c62ce1cca10804d4870a61e1cfd62"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6459f2dccc88361dc6a40d3993f739947a26e149ecece56a18f7a5ffddc4bed"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DbCommandExtensions.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30a3f529f5ea1a6157fa5218fc22b4be782db160e49b4e2c83d0fc6644a7c5a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DbCommandExtensions.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5ddaf86dc2916e7ccf554a58fff0e89e8ba036fd79bc2483252c897fcc8013"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DbCommandExtensions.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f688a615e751d687efc13491905acc5d4a4cba20a8f8723a60917a1b04a66792"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DbCommandExtensions.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0ffa718328fe0dbd791346e702a5ddcc0d8c5cc56795bc5dd3f701a03a1c02"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Sean.Core.DbRepository.Test/FieldExpressionTest.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af06168d3467b5bffc8dea5723e372143411a4c5aa456e2b6605006eb736e83"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f66225b5561b90058027083aa9864520b6a226fc14ae3fc466b7a91243e07a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Config/MultiConnectionSettings.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b200eaebaf52f5c49062666e7c9864998fa24af672eb492f16bdf207f199f8e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"289acf3aef30b0f8c5c73edba4fd781a99bc9aeb76a196d348c5e819d9715515"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 15 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/DbFirst/CodeGenerator/CodeGeneratorForPostgreSql.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4367e673ffefb3376a14d715de6dc45e6317ccbd4b05693ad9aff583f294cf"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 11 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/DbProviderFactoryManager.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cba06866f91ac5308ee30d2f65f7dead0ec38a8f5ab045cc90516ec2d9d3579"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 14 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe626accc3bc43c95a7e1c0975dec3a7ee49c8abcce1f5d57b33bb1175d43ed1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 14 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f6cd9b7c79d3fbb5411ea94e3fef5ba5ccdbab853c75bebdd11f4eaaa047f5"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 14 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc39a97083d7ef80deb4e6c325196af13efbbccd3927385a7baf7e6be347d84"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 14 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"6194397738906825fef820a1075440a779619fe8f49f32cdc63ef3ef2e5454a9"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 14 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":2074}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a627c631c8654a3555a6d46fff2d08f6f31c9b089e22b7ede49c88acff24cc"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 14 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"33410314c15be18eb6557eca988eb3ad4131231326efc38f087bb4ea883b6e65"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no usage examples: The document is mostly feature/pricing text but does not show how to run it or point readers to the usage examples. Add a Usage section with a one-line \u0027how to run it\u0027 and an example of calling DbFactory/SqlFactory."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1355eb4e127a4bc9236772ce1c46f09510aa9286e7a06d1e47f308229df19049"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Sean.Core.DbRepository(net45): Sean.Core.DbRepository(net45): 21 % XML-doc coverage (236/1127)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Sean.Core.DbRepository.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3002601d5e19cf97ca8bf9898c2bd35cee61ce9033eb27aa2f227f14f363570b"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Example.Dapper.Core.ConsoleApp: Example.Dapper.Core.ConsoleApp: 0 % XML-doc coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.ConsoleApp/Example.Dapper.Core.ConsoleApp.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbedcfb934124c81c169bceb7b111f75d20db4ea60c6fc8d4f25e62578b6d39c"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Sean.Core.DbRepository.Dapper(net461): Sean.Core.DbRepository.Dapper(net461): 6 % XML-doc coverage (3/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository.Dapper/Sean.Core.DbRepository.Dapper.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e833609ef8756a2df94ff95a528f4e27d1c7042490f983dba91e7355344084d0"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Example.Dapper.Core.Application: Example.Dapper.Core.Application: 3 % XML-doc coverage (2/58)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Application/Example.Dapper.Core.Application.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa63c7168f785957ae3966da18911eaaa22205adc7173fe9e602d530a55ecf5c"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Example.Dapper.Core.Domain: Example.Dapper.Core.Domain: 48 % XML-doc coverage (43/89)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Example.Dapper.Core.Domain.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55241ba8f39556594e4943c020c93991fab10b21894af0de5756912cdc11ff4c"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Example.Dapper.Core.Infrastructure: Example.Dapper.Core.Infrastructure: 9 % XML-doc coverage (1/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Infrastructure/Example.Dapper.Core.Infrastructure.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ea9a52d1cd67c19e3f4e8a0414530e4c48776d4a6c2c333f86f68555319caf"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Example.Dapper.ConsoleApp: Example.Dapper.ConsoleApp: 0 % XML-doc coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.ConsoleApp/Example.Dapper.ConsoleApp.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3db4feb244591b98c1809578821df43ff0bcded4135792f5da349030f20c31"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Example.Dapper.Application: Example.Dapper.Application: 4 % XML-doc coverage (2/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Application/Example.Dapper.Application.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc58877801fe0f7c0c0ede1492ddd88dd6d73173617fcd0dce4f4d72f18b3c4"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Example.Dapper.Domain: Example.Dapper.Domain: 7 % XML-doc coverage (3/42)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Example.Dapper.Domain.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cf7c4dab97f2ae359de3a491ff2620d6d1ab7cc71269f86d50061985ed6c29"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Example.Dapper.Infrastructure: Example.Dapper.Infrastructure: 25 % XML-doc coverage (3/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Infrastructure/Example.Dapper.Infrastructure.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"203291e098a49dd9d5608469f19a922149810c6158684d6a921f6bc8d17a4ce3"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Example.ADO.NETCore.Application: Example.ADO.NETCore.Application: 5 % XML-doc coverage (2/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Example.ADO.NETCore.Application.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e70a3aa5078588e61b5fd0e1203360715eb02df0760f5674c989588787c313"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Example.ADO.NETCore.ConsoleApp: Example.ADO.NETCore.ConsoleApp: 0 % XML-doc coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.ConsoleApp/Example.ADO.NETCore.ConsoleApp.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e716be4d861c68f66e33a59e593c6ed777cfb5128035a98b5a4df2015be6ca"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Example.ADO.NETCore.Infrastructure: Example.ADO.NETCore.Infrastructure: 7 % XML-doc coverage (1/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Infrastructure/Example.ADO.NETCore.Infrastructure.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bd4a572d892e998fcf6a46123935c36ba895f4d1890915da304d912b2ba15e"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Example.Common: Example.Common: 0 % XML-doc coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Example.Common/Example.Common.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ac24291bad3135ae8851f42e19284940c01431de51564ce4761988a7143e42"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u4FDD\u7559 ClickHouse \u539F\u6709\u7684\u6210\u529F\u7ED3\u679C\u7EA6\u5B9A\u3002\u0022 \u2014 "},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository.Dapper/Execution/DapperRepositoryExecutor.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdcaa08b2aa8cf724693edc4871bb8437852d750ca2c96f0bc68bdda2fe3183"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u8FD4\u56DE\u4E3A\u5F53\u524D\u4F1A\u8BDD\u548C\u5F53\u524D\u4F5C\u7528\u57DF\u4E2D\u7684\u4EFB\u4F55\u8868\u6700\u540E\u751F\u6210\u7684\u6807\u8BC6\u503C\u0022 \u2014 "},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/SqlBuilder/InsertableSqlBuilder.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ebf744951fe631dc0681ce8dc6469cd5a509de8a42912a79bb4bc8bdf1cc65"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 19 project(s) overshoot their size bounds, lowering Project Cohesion to 8.9/10. The most over is \u0060Sean.Core.DbRepository(net45)\u0060 (17703 LoC, 147 public types across 5 namespaces). Review these for cohesion \u2014 draw the boundary inside the assembly first (group each responsibility into its own namespace/folder and keep the cross-boundary members internal), since splitting a published assembly moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"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":"45369027f185de436d70c0092d1f8da07324d7c5a909ed3aad5a68741bb0a058"},"taxa":[{"id":"CWE-776","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DataRowExtensions.cs \u2194 DbDataReaderExtensions.cs: \u0060src/Sean.Core.DbRepository/Extensions/DataRowExtensions.cs\u0060 and \u0060src/Sean.Core.DbRepository/Extensions/DbDataReaderExtensions.cs\u0060 change together 82% of the time (9 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060bd8b5c88\u0060 fix: \u4FEE\u590D\u53EF\u7A7A\u7C7B\u578B\u3001\u6CDB\u578B\u5B9E\u4F53\u548C\u5143\u7EC4\u6620\u5C04; \u0060f4c88218\u0060 fix: \u4FEE\u590D\u5B9E\u4F53\u5B57\u6BB5\u6620\u5C04\u5E76\u590D\u7528\u5217\u6620\u5C04; \u00606e2651c2\u0060 [fix] Map properties \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DataRowExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a860c6421056bb14ccf750a7c5cdfec0db02d86b1aff5563389c2aa5fc1ef7a2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DataRowExtensions.cs \u2194 DbFactory.cs: \u0060src/Sean.Core.DbRepository/Extensions/DataRowExtensions.cs\u0060 and \u0060src/Sean.Core.DbRepository/Factory/DbFactory.cs\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00606e2651c2\u0060 [fix] Map properties; \u006010a3b8f8\u0060 Paging query for SQL Server 2005 ~ 2008.; \u006043c9ebce\u0060 JsonSerializer \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DataRowExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0a977ab50d6e581082324ad14f5e45e1686453e30db7759de8a2440f35d499"}},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: Example.Dapper.Domain (Domain) \u2192 Example.Dapper.Infrastructure (Infrastructure): \u0060Example.Dapper.Domain\u0060 is a Domain project but references \u0060Example.Dapper.Infrastructure\u0060, a Infrastructure project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f5eee66f39c02a5361f7c1fafdef457c5cc1c043bddf50bdb5ba3ac6ba402fcc"}},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: Example.Dapper.Application (Application) \u2192 Example.Dapper.Infrastructure (Infrastructure): \u0060Example.Dapper.Application\u0060 is a Application project but references \u0060Example.Dapper.Infrastructure\u0060, a Infrastructure project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"798a85ac7bf775db7f231983cd6f966913cf06102ca3099940c7dfa14297c54e"}},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: Example.Dapper.Core.Domain (Domain) \u2192 Example.Dapper.Core.Infrastructure (Infrastructure): \u0060Example.Dapper.Core.Domain\u0060 is a Domain project but references \u0060Example.Dapper.Core.Infrastructure\u0060, a Infrastructure project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bdce007dcf11d32967e78df16b9addd1f9ecaf5a14a6dcc6ea8284a593a252d3"}},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: Example.ADO.NETCore.Domain (Domain) \u2192 Example.ADO.NETCore.Infrastructure (Infrastructure): \u0060Example.ADO.NETCore.Domain\u0060 is a Domain project but references \u0060Example.ADO.NETCore.Infrastructure\u0060, a Infrastructure project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9d595779ec948c96832860dc4a27dcec69ba0341b6e63bb6265b676f0cff4f8c"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IBaseRepository (51 members): \u0060IBaseRepository\u0060 declares 51 members: \u0060Factory\u0060, \u0060DbType\u0060, \u0060TableName\u0060, \u0060Execute\u0060, \u0060Execute\u0060, \u0060Query\u0060, \u0060Query\u0060, \u0060Get\u0060, \u0060Get\u0060, \u0060ExecuteScalar\u0060, \u0060ExecuteScalar\u0060, \u0060ExecuteScalar\u0060, \u0060ExecuteScalar\u0060, \u0060ExecuteDataTable\u0060, \u0060ExecuteDataTable\u0060, \u0060ExecuteDataSet\u0060, \u0060ExecuteDataSet\u0060, \u0060ExecuteReader\u0060, \u0060ExecuteReader\u0060, \u0060Execute\u0060, \u0060ExecuteTransaction\u0060, \u0060ExecuteAutoTransaction\u0060, \u0060IsTableExists\u0060, \u0060IsTableFieldExists\u0060, \u0060AddTableField\u0060, \u0060DeleteAll\u0060, \u0060DropTable\u0060, \u0060ExecuteAsync\u0060, \u0060ExecuteAsync\u0060, \u0060QueryAsync\u0060, \u0060QueryAsync\u0060, \u0060GetAsync\u0060, \u0060GetAsync\u0060, \u0060ExecuteScalarAsync\u0060, \u0060ExecuteScalarAsync\u0060, \u0060ExecuteScalarAsync\u0060, \u0060ExecuteScalarAsync\u0060, \u0060ExecuteDataTableAsync\u0060, \u0060ExecuteDataTableAsync\u0060, \u0060ExecuteDataSetAsync\u0060, and 11 more. 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. Those 51 declarations carry 31 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 31 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Contracts/IBaseRepository.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce5350322d5909bae784ff96d5cd8718e9b3c5c420996b95c72bb879b005404"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IBaseRepository\u003CTEntity\u003E (58 members): \u0060IBaseRepository\u003CTEntity\u003E\u0060 declares 58 members: \u0060Add\u0060, \u0060Add\u0060, \u0060AddOrUpdate\u0060, \u0060AddOrUpdate\u0060, \u0060Delete\u0060, \u0060Delete\u0060, \u0060Delete\u0060, \u0060DeleteAll\u0060, \u0060Update\u0060, \u0060Update\u0060, \u0060UpdateByDto\u0060, \u0060UpdateByDto\u0060, \u0060UpdateByDto\u0060, \u0060UpdateByDto\u0060, \u0060UpdateByDto\u0060, \u0060UpdateByDto\u0060, \u0060Increment\u0060, \u0060Decrement\u0060, \u0060Save\u0060, \u0060Save\u0060, \u0060PageQuery\u0060, \u0060Query\u0060, \u0060QueryOffset\u0060, \u0060Get\u0060, \u0060Count\u0060, \u0060Exists\u0060, \u0060IsTableExists\u0060, \u0060IsTableFieldExists\u0060, \u0060AddTableField\u0060, \u0060AddAsync\u0060, \u0060AddAsync\u0060, \u0060AddOrUpdateAsync\u0060, \u0060AddOrUpdateAsync\u0060, \u0060DeleteAsync\u0060, \u0060DeleteAsync\u0060, \u0060DeleteAsync\u0060, \u0060DeleteAllAsync\u0060, \u0060UpdateAsync\u0060, \u0060UpdateAsync\u0060, \u0060UpdateByDtoAsync\u0060, and 18 more. 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. Those 58 declarations carry 36 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 36 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Contracts/IBaseRepository.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ade469a8fa2479829fcc365eb777952654bc22b56d8134956e9938477f41d7d"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IQueryable\u003CTEntity\u003E (22 members): \u0060IQueryable\u003CTEntity\u003E\u0060 declares 22 members under just 13 distinct name(s): \u0060SelectFields\u0060, \u0060IgnoreFields\u0060, \u0060MaxField\u0060, \u0060MinField\u0060, \u0060SumField\u0060, \u0060AvgField\u0060, \u0060CountField\u0060, \u0060CountDistinctField\u0060, \u0060DistinctFields\u0060, \u0060SelectFields\u0060, \u0060IgnoreFields\u0060, \u0060MaxField\u0060, \u0060MinField\u0060, \u0060SumField\u0060, \u0060AvgField\u0060, \u0060CountField\u0060, \u0060CountDistinctField\u0060, \u0060DistinctFields\u0060, \u0060Top\u0060, \u0060Page\u0060, \u0060Offset\u0060, \u0060SetParameter\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 22 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 22 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/Sean.Core.DbRepository/Contracts/IQueryable.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27fcb2d397eabe9de76d9548ac094b8bb2d79cc98d8fdfff4f7517dea3f174e"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ISqlCommand (17 members): \u0060ISqlCommand\u0060 declares 17 members: \u0060DbType\u0060, \u0060Sql\u0060, \u0060Parameter\u0060, \u0060Master\u0060, \u0060Transaction\u0060, \u0060Connection\u0060, \u0060CommandTimeout\u0060, \u0060CommandType\u0060, \u0060OutputParameterOptions\u0060, \u0060BindSqlParameterType\u0060, \u0060UnusedSqlParameterRemoved\u0060, \u0060SqlParameterSorted\u0060, \u0060UseQuestionMarkParameter\u0060, \u0060ConvertParameterToDictionaryByName\u0060, \u0060ConvertParameterToDictionaryByPosition\u0060, \u0060ConvertSqlToUseQuestionMarkParameter\u0060, \u0060ConvertSqlToNonParameter\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. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Contracts/ISqlCommand.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4e8266950f98a9ba44adda821e18fe47a696242767dc95d1ddda898592de3a"}},{"ruleId":"C1","level":"warning","message":{"text":"No data-protection/encryption: No data-protection or encryption usage (ASP.NET Data Protection, AES, column encryption, PBKDF2) was found \u2014 sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3674448ef29fbd006d82bb49ec9615cf1ee508105aa1d952555aabaf3e10a9f9"}},{"ruleId":"DM12","level":"warning","message":{"text":"Domain type reads the wall clock: CheckInLogRepository: \u0060CheckInLogRepository\u0060 reads \u0060DateTime.Now\u0060 inside \u0060SearchAsync\u0060. The rule this feeds is not a function of its inputs: it cannot be tested at the instant that matters without moving the machine clock, and two reads inside one operation can observe different times. Pass the instant in as a parameter, or inject \u0060TimeProvider\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CheckInLogRepository.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae588f92d059229f64f4d6a6bbd11ffd5f6ece2cac3e4461482bbb10744bd6b"}},{"ruleId":"DM12","level":"warning","message":{"text":"Domain type reads the wall clock: TestRepository: \u0060TestRepository\u0060 reads \u0060DateTime.Now\u0060 inside \u0060TestCRUDAsync\u0060. The rule this feeds is not a function of its inputs: it cannot be tested at the instant that matters without moving the machine clock, and two reads inside one operation can observe different times. Pass the instant in as a parameter, or inject \u0060TimeProvider\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a375f936589dc71f4f38457e4f2fac9430d262cdd8ec2a29fea666d50120408"}},{"ruleId":"DM12","level":"warning","message":{"text":"Domain type reads the wall clock: TestRepository: \u0060TestRepository\u0060 reads \u0060DateTime.Now\u0060 inside \u0060TestCRUDAsync\u0060. The rule this feeds is not a function of its inputs: it cannot be tested at the instant that matters without moving the machine clock, and two reads inside one operation can observe different times. Pass the instant in as a parameter, or inject \u0060TimeProvider\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/TestRepository.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3e24433e456b766527d993714b5467e85d2040bed914967f7d4dd650a469d6"}},{"ruleId":"DM12","level":"warning","message":{"text":"Domain type reads the wall clock: TestRepository: \u0060TestRepository\u0060 reads \u0060DateTime.Now\u0060 inside \u0060TestCRUDAsync\u0060. The rule this feeds is not a function of its inputs: it cannot be tested at the instant that matters without moving the machine clock, and two reads inside one operation can observe different times. Pass the instant in as a parameter, or inject \u0060TimeProvider\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"679c4943941f206c2dddb0c7b28f7ccd4b2d70e829e5b76abd81fef0b5ec7ebd"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Repository/BaseRepository.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e709a52f12b62662c063bdb4bf940e41ae5399d6ee83d8d4693829f8c2a6d37d"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Infrastructure/Converter/DbParameterCollectionConverter.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba604c728dfd331ed344e3e14d968c281107c66aaf653a5345594fe3e0b103b0"}},{"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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForClickHouse.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6b5c215b93e4ee5ec8922e3f642461442a670b6ee4edcebd070a71bd1de680"}},{"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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"68788c1ae6a26506dc68ac9c8bccfcbdc4b6fa4a929d46062108d065c641e7d8"}},{"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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d80b56a08cf74df35d41fd6872f5fb3ce1a1208143d3ced1c12366d1adc692"}},{"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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForDB2.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"131dee6c457dceb3ab1b4a4ab6df6ba54b97bdc74b2163b2600c54de17e1ee96"}},{"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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4207a8c63fdde571bf55715e0ff859b6c3df4090a74d1a59ae80376bde01be40"}},{"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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"497e5343c357f9b677b384626e4e93cbae903e861010e18aff617521e226c9d5"}},{"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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForInformix.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e8d88f9cc52b11338fb130782c1af118a44cf3ad1a91c845dda1fc939faeda"}},{"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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb34577b46c4b6580ae26909639a9b021a1c21dacc65a1136d168a367f40008"}},{"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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"871a9235ef43f7a93329bc9809ebe86ee7ec3d81992b86aad2c8d1af3b480230"}},{"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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeac4bc334b010ddadb5fedaa738f78a6d036b5e647346fca53d67fd733669c8"}},{"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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForQuestDB.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"46dcf7b86b696e8c2f8b937690b8cebd705d07708d7b3a8b5dab0693cc581beb"}},{"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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62de32b49c06423d45f940611d7d87ee71724faa56db8dba412c5e32d3891cc"}},{"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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de219f1f801de366b808c80ee577586ecf12aa793e8786c77c48b2ce0bcf128"}},{"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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d43e947e205c73b381713d5f5ee40756574cf47038882ad78142264be9a1356"}},{"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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"156a6b63818f1cd9f7e21637dcd49907f7641ccf375668b2f02863af96c0fcbf"}},{"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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d414d9bca529f6507a59c687a8e9cac12579eb0b3c51e1b7bf3f9caa8cf9904a"}},{"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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b10d1f038fa70ae3fb5d080b2776deaeee0964acb2d9d9f2b9c56982e71878"}},{"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/Sean.Core.DbRepository/CodeFirst/SqlGenerator/SqlGeneratorForShenTong.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"248eebfda6dd163d9658cd81ec8bb2736807eb0142ee6af03750ffa8f1e53705"}},{"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/Sean.Core.DbRepository/DbProviderFactoryManager.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"697e1860801fd39f35438b3b7228c86528e5594f795073490e43797d8bc9fb79"}},{"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/Sean.Core.DbRepository/DbProviderFactoryManager.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3263c3eb8476bc4eb38dcd05b5cdf83bfd73419318aa27ef8947cad3e4d1ae0e"}},{"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/Sean.Core.DbRepository/DbProviderFactoryManager.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e243b2443cfba1262bdf770f98a289dbb1e9b7eb85787e15cceb563e8fe39255"}},{"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/Sean.Core.DbRepository/DbProviderFactoryManager.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefcf4f066d7b2b938207c0afba19066b9aec26ef163046ac709ddfcf2b1fa09"}},{"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/Sean.Core.DbRepository/DbProviderFactoryManager.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae7b16aa7e0d854395867e0751575d2dd8bfadb66d9b5f67b94069b3fd647df"}},{"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/Sean.Core.DbRepository/DbProviderFactoryManager.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe331b130777e9f2021ed7cec3d78e0494741855033cb72ac4957869c2bf827"}},{"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/Sean.Core.DbRepository/DbProviderFactoryManager.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c33eda89b854848ce6cd63b3fb147ad0aa0e780fde758ed93055128a93ab4f2"}},{"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/Sean.Core.DbRepository/DbProviderFactoryManager.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a20fa9ed25e5e2d968f8a0897a9f48f49e4de489e95187b7640d0318e4f034"}},{"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/Sean.Core.DbRepository/DbProviderFactoryManager.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2958d11bb6b7f8dc61d2cc805ecdefb566d8438411b8f33db3e916ec511b64"}},{"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/Sean.Core.DbRepository/DbProviderFactoryManager.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef52a59395eac1a24e95f7827b7aa1822c9801db5d1a62db21390152562f801"}},{"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/Sean.Core.DbRepository/DbProviderFactoryManager.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ba18be64ce7a88518dedb6b00af810c818027869c5de53f2f15774aca6c2fe"}},{"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/Sean.Core.DbRepository/DbProviderFactoryManager.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b028433362a200271c753c9731e3a2c320e115fb4179af85ff6813843c290e"}},{"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/Sean.Core.DbRepository/ExpressionResolve/ConstantExtractor.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9f6a0dc1d427f9d33cb1fc65a31f7dcf1ad27ae77d0b6e276bc63f30b354fa"}},{"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/Sean.Core.DbRepository/ExpressionResolve/ConstantExtractor.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ca966787da44248d0d489415d210dfd5158cd32ab3f83dc392898dc951eb7f"}},{"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/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b35727f2a4efe84aa52ce1f0e8349f9c89824f0fab0002e0c0cad9d74f04baa"}},{"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/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebaa5647eb8c2a0b7cb6dc7e35588831bf4fa02b8d83768bae96196ebcb5f84e"}},{"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/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"46927b136afa57fe4b0655473f5f29c90ce5d6d0dd0eb455048aa01bc9b7f4c2"}},{"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/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad3c42a48911891d3db1c70d8a2c2a5e26036b067e475a732088444e34ca58b"}},{"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/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"087de9dbd1144695c684073c5ef00c96d806ca30ada7bef95e113694dd319516"}},{"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/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"92926d77ccf4b0b6c3dbb1b7a088049fd683e375b5a6244c1a76f39914361f5c"}},{"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/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6dd9daec5396c51d1b3ff1c3c28e53b63cfff917bcc8ab6237787c7fc3dac8"}},{"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/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa2897c7f683ff42b4a3c0789a33749a77125aeab6c3e300ad90165c7d19edb"}},{"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":"P10","level":"note","message":{"text":"Large public API surface: 849/939 types (90%) are public. For a library, every public type is a stability contract \u2014 make internal-by-default and expose only the intended API."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ed2ba843444ae377c17142f58f714e281e4bd3f183ab100ee1fbef389875d3e6"}},{"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) as a CI step. What was searched, so you can tell an absence from a miss: the 1395 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":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"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":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 0/78 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":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 124 is called with an argument built by \u0060JsonConvert.SerializeObject(queryResult, Formatting.Indented)\u0060 (line 124), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"171a97a6bb5159b4d022f3d49a8fa2a88dca610d1d14d2e657d270a70b9f180c"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 127 is called with an argument built by \u0060JsonConvert.SerializeObject(getResult, Formatting.Indented)\u0060 (line 127), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9569fcef5ff4f70f264015519238d7469c41f457b18ba3e3e9646f043116e6e7"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 135 is called with an argument built by \u0060JsonConvert.SerializeObject(executeDataTableResult, Formatting.Indented)\u0060 (line 135), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4daa314d04b78b815890c438c44687ea07210a95223cedd294e53e5985438688"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 175 is called with an argument built by \u0060JsonConvert.SerializeObject(queryResult, Formatting.Indented)\u0060 (line 175), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9ba32c1d5f9dedc42826ce1f5eb734033e0853e2468ee9eecd19d4dbf2670c"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 178 is called with an argument built by \u0060JsonConvert.SerializeObject(getResult, Formatting.Indented)\u0060 (line 178), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f723bf0b9ebcdaeba4c4809a7d003019c035b77d58cc5fc9258d5536b1391c4"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 186 is called with an argument built by \u0060JsonConvert.SerializeObject(executeDataTableResult, Formatting.Indented)\u0060 (line 186), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b44448f158dedaa715e5eb9015f1edad99648b0fed80b2e4b128489c3913c83"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 195 is called with an argument built by \u0060JsonConvert.SerializeObject(getValueTupleData, Formatting.Indented)\u0060 (line 195), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2700f4d270441cc055d1423dfc0a1c2f57bb21e4cdab585ce6c798336186d7"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 197 is called with an argument built by \u0060JsonConvert.SerializeObject(getDynamicData, Formatting.Indented)\u0060 (line 197), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c76fbe84f902a4960bf80670f8a4e744853ed6609a2fe516d39b94da872395"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 132 is called with an argument built by \u0060JsonConvert.SerializeObject(queryResult, Formatting.Indented)\u0060 (line 132), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Application/Services/TestSimpleService.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc065fe160aaf83451ada8960f040b9ee656766298a2031c3501ebf13bd9290"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 135 is called with an argument built by \u0060JsonConvert.SerializeObject(getResult, Formatting.Indented)\u0060 (line 135), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Application/Services/TestSimpleService.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1103472ba65f01435f43521a23cffbed0901fd8b40138b6460368b09dc0e2c"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 143 is called with an argument built by \u0060JsonConvert.SerializeObject(executeDataTableResult, Formatting.Indented)\u0060 (line 143), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Application/Services/TestSimpleService.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0fc3f2ed6887717c41c9e9c7a1c274456b826a395c1fea0e6029cb0c6d6f31"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 172 is called with an argument built by \u0060JsonConvert.SerializeObject(queryResult, Formatting.Indented)\u0060 (line 172), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/TestRepository.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea9e858d501cb6810d66b7865dd71e875046d16aaf8a05204c00998c61d0dbe"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 175 is called with an argument built by \u0060JsonConvert.SerializeObject(getResult, Formatting.Indented)\u0060 (line 175), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/TestRepository.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adf10320ff11a2d191b6bc17026be1c67c84728d0d639f3c1b9ebca6714e5b2"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 183 is called with an argument built by \u0060JsonConvert.SerializeObject(executeDataTableResult, Formatting.Indented)\u0060 (line 183), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/TestRepository.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"34391b30da14bc15e45d1c9ad59c735252036401eecc1c0966c7545d2554b6d8"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 192 is called with an argument built by \u0060JsonConvert.SerializeObject(getValueTupleData, Formatting.Indented)\u0060 (line 192), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/TestRepository.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1701a13acb9f869664bb41e466e5c63da12b216360b5a87bf54efc45bb28081a"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 194 is called with an argument built by \u0060JsonConvert.SerializeObject(getDynamicData, Formatting.Indented)\u0060 (line 194), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/TestRepository.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"038045b7ffa1b2a906ed70d3f1994b570f615658110175531b7f9ab9b6aa71f4"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 123 is called with an argument built by \u0060JsonConvert.SerializeObject(queryResult, Formatting.Indented)\u0060 (line 123), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Services/TestSimpleService.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd5d757a7e01c7c1a121ff2170d25f863cfea8b46b64af542ae8cc2bd737beb"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 126 is called with an argument built by \u0060JsonConvert.SerializeObject(getResult, Formatting.Indented)\u0060 (line 126), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Services/TestSimpleService.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f449b5bc1b364531506da35e947f4aa1b45fda276dead449ea8055f5bf9c1a"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 134 is called with an argument built by \u0060JsonConvert.SerializeObject(executeDataTableResult, Formatting.Indented)\u0060 (line 134), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Application/Services/TestSimpleService.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"635b41c8309733f1519c6cd73355ff48b69f3aad546d7803f80e207d0f1d0c08"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 177 is called with an argument built by \u0060JsonConvert.SerializeObject(queryResult, Formatting.Indented)\u0060 (line 177), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a5a3876e960e51126bed704ecde618f62b8dfc3b486cb245f0aa8d35c62191"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 180 is called with an argument built by \u0060JsonConvert.SerializeObject(getResult, Formatting.Indented)\u0060 (line 180), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"68502adddc2fcf53bd04cc86e9be45d03f30ca1273e320a056441c88476584c6"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 188 is called with an argument built by \u0060JsonConvert.SerializeObject(executeDataTableResult, Formatting.Indented)\u0060 (line 188), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f890cbd857d2e83a51c54492efb50cfaa7217fdcbc5783bef6c899be8013ab8b"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 195 is called with an argument built by \u0060JsonConvert.SerializeObject(getTupleData, Formatting.Indented)\u0060 (line 195), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3783f1c5a21c856d0c6433958f47eddd95443fe2d2ed7588e0d4a45b6408a5"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 197 is called with an argument built by \u0060JsonConvert.SerializeObject(getValueTupleData, Formatting.Indented)\u0060 (line 197), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c226ab2b199499ccffa5c69d71ee585b90c2b3706da243fa0e22c1165eaf3f59"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060LogDebug\u0060 at line 199 is called with an argument built by \u0060JsonConvert.SerializeObject(getDynamicData, Formatting.Indented)\u0060 (line 199), whose cost grows with the collection it walks. C# evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because LogDebug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060IsEnabled\u0060 test, no debug flag, no conditional-compilation region."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ADO.NET/NetCore/Example.ADO.NETCore.Domain/Repositories/TestRepository.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf53c71e2e8fcd29f0c707377e44045ce6616d4488e22c6529602700e32a6c37"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc256e0ed072de341081d1080813f50333bb4150406ecf9b77d733bf629cf2a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1015ae7cdfb0adf9edac28b38044f9bc0779b8a4767aa1065e8605225cbb152"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80d73a92177d6d155d8fcdaf2cb4fcfc96ca111eac0db1bda2bc5c4925b9588"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ef836d0dd226b12fa1b5c5a0dcac8f14928ec15faa5a1ae7bd6d5e4d64649f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2207825d0c61ff9398c3708737e98e95aeb7993afa0ecd7df51d7900e4df007e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bee217bfbc7cba608baed34339054ae4f22633c30a9acf06357f314d0a7c840"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea4e0852f111db1badde64065664014dfa74e79a00d8c31a9c48a79120a9116"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3d10fb0abd2544aee4152416efcfb5ac65b11dfd23938a3bc69a8242393246"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Application/Services/TestSimpleService.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"77eb95c3763ea2cda258108c94d9bfbdb2d4fd9b9277803598831edc1ca8d96a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CommonRepository.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee3487ff2ed37389f90461f5dbaae35ec0c77d467a3151b19702a82bbeffeb8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CommonRepository.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed3c9016bca42ad59946eb2eaa7bcc86c81426f336cd9194f79157bf77e127d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CommonRepository.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d755dc85bb34062671c89c6679112b4ea93aa9994afba4ff50f85605b85eeb79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/CommonRepository.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc7e5e2e5817838145cbf804e0f47b92c3ec315c99c90cf9a13d41cc3448776"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab29ff5c4a28d4244c0f568632c797d3e6abf1cac1b0dad37f6fdb4897a046a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa596e61ec145294dca80a71db2e03221ecf165212f6ffd9f7b42ccd1aa4970"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"377f119dbcb6c4f909368b2281fe4e1711158470c5d6488152e53bed8607679e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5586cdd7a1b973a977255dc31ccafbad085d0a93aa4099ba7d736ade8abbc4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"097a13bcb202cbccf35dec47a31da2452cd966af84475784cb8bf93f54089fcf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"638d66ef1d78dd157f7c1b0d075d9347408ba2c26e087fc6b9c87a4eca5b3844"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c31205b6210450d17da6a80a24c1b962398c4516c204e5e654ffc35116d90ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"72760869a2c6566e0c501b8ee272c6abecd86af6d474dbb366cf841e827734fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0805c837a834b73af7acc7e8f890d268f05a352b1504d0743e9e9fdc935ce1c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a166efe64ebe6c62ea64ede42c3f16f40ba9b643b5dd96e146c06be43f41cb30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac001896812c22986948dd2e9c269eb270838786cb82bdbf46d6436cf5043b5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"651a2483e51b94bc62eb0fa668c1b2a2ff28741e3fce501b2025dc6a9426ccf7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetCore/Example.Dapper.Core.Domain/Repositories/TestRepository.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34f4102d9d175b0ab1edf9df27e87b8152042a0f233e68a3eccd81697e3ddd9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Application/Services/TestSimpleService.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"61547d4573fd65581fbc802a6dac40a6dbf777a6990f337f3f9860257f200564"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Application/Services/TestSimpleService.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"882a2174ddc3b5fae9521742dacc5396083d4aa6d2e24a6a4faeb9f9ba5f7b39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Application/Services/TestSimpleService.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e471f54361cdb1ca3706d4f6e7144a053f1cf6e1eb5d17f48c8007c58987a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Application/Services/TestSimpleService.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fbf8245d1392b3e5588bb90dfa2203797bdda46d476a70100c029841392eee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Application/Services/TestSimpleService.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e8fa36b30f7da7ab0b74825e62411236d7c35d4e87c3f8b4e5a2a3de89ba45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Application/Services/TestSimpleService.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ad161c1fca8483b8c841ffa142aac03c10d4d123298401deed6de75de3a778"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Application/Services/TestSimpleService.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"49969446cfc66d85fdce62c0b456463b751cd2db3e5b4d8f33c4c2051ffa8fa5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Application/Services/TestSimpleService.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b332bc002da8089c4844f6e2a1d77c72a318dfe854cdd97c128b1ce726e7c336"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Application/Services/TestSimpleService.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"50124a511edaa3de630b7cff455e28c38697aa7c420740f0ea761df033880892"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/CommonRepository.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38d45a3ee4e25101e9f386e7b7a4e207492e16abfa30aa3f74b05bdbd20c6bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/CommonRepository.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"486a9c5a80d78727dac65465bee2714258621c2c816be03929ab8ea7e21f7a6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/CommonRepository.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e80802e527361b3c9504da80d7b50a71aa5d92881d8ff0f5dd17aecea3cfd9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/CommonRepository.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e5783c4db9da84bb9f4df7e7c36716b26e3e18d37174f14e5d9bad2d0e606c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/Dapper/NetFramework/Example.Dapper.Domain/Repositories/TestRepository.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5ef93d884d12160f12fd095925197cb72a9e7800de243f4929a3503662ac6e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060userName\u0060: line 147 assigns it with \u0060as string\u0060, which hands back null rather than throwing when the value is not a \u0060string\u0060, but line 148 then dereferences it directly as \u0060userName.ToUpper\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060userName\u0060 once before the first use and handle the null case, or cast with \u0060(string)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b0272402a2afe3a585101ba0faa6dddaae1dc517bf2f3fe03a1551bac494df"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060userName\u0060: line 221 assigns it with \u0060as string\u0060, which hands back null rather than throwing when the value is not a \u0060string\u0060, but line 222 then dereferences it directly as \u0060userName.ToUpper\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060userName\u0060 once before the first use and handle the null case, or cast with \u0060(string)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Sean.Core.DbRepository/Extensions/DatabaseTypeExtensions.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"51aa330b78473fd0bbfd68212ef1f9a02e5c919f470e664189210318fa5c845c"}},{"ruleId":"X5","level":"note","message":{"text":"Nullable reference types not enabled everywhere: 1/9 NRT-eligible project(s) enable \u003CNullable\u003Eenable\u003C/Nullable\u003E (projects targeting a pre-C#-8 framework are excluded \u2014 NRTs aren\u0027t available there). NRTs catch a whole class of null-deref bugs at compile time."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"80b24de9378624a0ce4846d60457395befcaec8e109ea81d289a370c9f7bfd5d"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-776","guid":"9228794e-eb37-cc55-9570-3bbc19789fef","name":"CWE-776","shortDescription":{"text":"CWE-776"},"helpUri":"https://cwe.mitre.org/data/definitions/776.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":3,"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."]}]}