{"$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":"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":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM4","name":"Rich vs anemic model","shortDescription":{"text":"Rich vs anemic model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM7","name":"Repository granularity","shortDescription":{"text":"Repository granularity"},"helpUri":"https://codehealth.canine.dev/dimensions/DM7"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"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":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"DataConversionServiceFactory.build (cyclomatic 85): DataConversionServiceFactory.build has cyclomatic complexity 85 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/convert/DataConversionServiceFactory.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"799611458845d38d003b3e2d70d68a2cc73136692553e508b8c9b747647fafd8"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlColumnMapping.getSqlType (cyclomatic 83): SqlColumnMapping.getSqlType has cyclomatic complexity 83 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/schema/sql/SqlColumnMapping.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d69d3c0901585e5a7d4cf1a78cd03e9dfc84e6ab5b987bb03b2860ff476d7c"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryStatement.setDynamic (cyclomatic 69): QueryStatement.setDynamic has cyclomatic complexity 69 (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":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/QueryStatement.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"69253403db1708a79071f6a94afa19c6d5dadd0ac0b49af49dfe5ea52d15e47c"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlResultEntityTypeMapper.readEntity (cyclomatic 66): SqlResultEntityTypeMapper.readEntity has cyclomatic complexity 66 (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":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"52391e7c5ccae83ba147b8b2781df869803c5b2c1f39dcf4b8fd71aed322b4fc"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlSchemaUtils.getColumnDefinition (cyclomatic 47): SqlSchemaUtils.getColumnDefinition has cyclomatic complexity 47 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"726073ffe3ff9e8f5fae65bb182db580c144a4b9f8dcb9687f7410cf60cae4b2"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractSqlLikeQueryBuilder.buildUpdateStatement (cyclomatic 44): AbstractSqlLikeQueryBuilder.buildUpdateStatement has cyclomatic complexity 44 (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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d177ffe6b2746edd98ca34443c005a0416f49d22b4cc4240de682458bb5a9d3"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultBindableParametersStoredQuery.bindParameter (cyclomatic 41): DefaultBindableParametersStoredQuery.bindParameter has cyclomatic complexity 41 (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":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/query/DefaultBindableParametersStoredQuery.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3eac29c99f41d2ce6f6b1f6b1f8943ccba0dd081ed7eb2c7279dbad562bcdf"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMongoStoredQuery.replaceQueryParametersInBsonValue (cyclomatic 40): DefaultMongoStoredQuery.replaceQueryParametersInBsonValue has cyclomatic complexity 40 (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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"6203e7d48cda5d8be1e6da99cf53abb8d0b35119a5ced7e0d8ea3cfeffcc3536"}},{"ruleId":"D1","level":"warning","message":{"text":"FindersUtils.resolveInterceptorTypeByOperationType (cyclomatic 39): FindersUtils.resolveInterceptorTypeByOperationType has cyclomatic complexity 39 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b043f01c37f1ed3f2507cfcbfc24357cf8e7cee5fbf7a7c5bca43d1a62906f"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoExecutorQueryMethodMatcher.match (cyclomatic 37): MongoExecutorQueryMethodMatcher.match has cyclomatic complexity 37 (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":"data-document-processor/src/main/java/io/micronaut/data/document/processor/matchers/MongoExecutorQueryMethodMatcher.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"be36b541b6532ebfdad358b6938e996083db927cd46da3489f20d8d12ef8ee5c"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeUtils.resolveDataType (cyclomatic 36): TypeUtils.resolveDataType has cyclomatic complexity 36 (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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/TypeUtils.java"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e7c21fdf98d40fea8588d6777dec16879542ceac8e10f0f1c637e3806cc9c7"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlQueryBuilder.buildInsert (cyclomatic 34): SqlQueryBuilder.buildInsert 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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a04e803c7053cb029bbdc5caad0e5394ffe362fe802568b090982d546f2808"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlQueryBuilder.addGeneratedStatementToColumn (cyclomatic 33): SqlQueryBuilder.addGeneratedStatementToColumn has cyclomatic complexity 33 (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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c2a7d9a26860150c004ba0327c0a0a394a8a341618a605a447a27652257ef6"}},{"ruleId":"D1","level":"warning","message":{"text":"SyncCascadeOperations.cascadeEntity (cyclomatic 31): SyncCascadeOperations.cascadeEntity has cyclomatic complexity 31 (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":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/SyncCascadeOperations.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"62247cbc6ad1bfd2c92e776255d3913405f9455825fb45fb0dd1c5e16377855d"}},{"ruleId":"D1","level":"warning","message":{"text":"ReactiveCascadeOperations.cascadeEntity (cyclomatic 29): ReactiveCascadeOperations.cascadeEntity has cyclomatic complexity 29 (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":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/ReactiveCascadeOperations.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a209e4dfdfd6a65411631e63c6b3cf54fb385e7d6a6209d780ef3bcd6c266294"}},{"ruleId":"D1","level":"warning","message":{"text":"RepositoryTypeElementVisitor.processMethodInfo (cyclomatic 27): RepositoryTypeElementVisitor.processMethodInfo has cyclomatic complexity 27 (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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a58857aad86dea370792be568063adeed985b02a4abc433a45afeab0eabc253"}},{"ruleId":"D1","level":"warning","message":{"text":"RawQueryMethodMatcher.findSqlStatement (cyclomatic 26): RawQueryMethodMatcher.findSqlStatement 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef38e92c9c42528186e920934e345ad0cbca91124ef7281d4498c227800b13ef"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMongoRepositoryOperations.applyFindOptions (cyclomatic 24): DefaultMongoRepositoryOperations.applyFindOptions has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a779afd04617d41b3f32fe658d35c780f5511f8dcdfb6959db93da567ae6e2e"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultReactiveMongoRepositoryOperations.applyFindOptions (cyclomatic 24): DefaultReactiveMongoRepositoryOperations.applyFindOptions has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"5907bb1684390bac120cea82152f5eb239105e132875830b36a2d8c2223a7d4e"}},{"ruleId":"D1","level":"warning","message":{"text":"MappedEntityVisitor.computeMappingDefaults (cyclomatic 24): MappedEntityVisitor.computeMappingDefaults has cyclomatic complexity 24 (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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/MappedEntityVisitor.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"2895e47e8538e293e693bff0191407738bb5c92efb21d8870ab8e5ec6933b5c3"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoQueryBuilder.buildSelect (cyclomatic 23): MongoQueryBuilder.buildSelect has cyclomatic complexity 23 (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":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf46696907ee9c25655368564362117fc6fc48d32aa82beeee92070b0f5cc696"}},{"ruleId":"D1","level":"warning","message":{"text":"EntityEventRegistry.initListeners (cyclomatic 23): EntityEventRegistry.initListeners has cyclomatic complexity 23 (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":"data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bb7e0ee927285d8850114a4cb26d51ebe198b7314bd553de553d7c69f6974b"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlQueryBuilder.addTableCreateStatements (cyclomatic 22): SqlQueryBuilder.addTableCreateStatements has cyclomatic complexity 22 (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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba4aae3d092600ff4500da6fb795aecfc1269203c857e8ea2481a17e4012a8f"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlQueryBuilder.buildJoin (cyclomatic 22): SqlQueryBuilder.buildJoin has cyclomatic complexity 22 (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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c89ce09f399d3d483b85a5c2aeebf7c9be2a95131491aa2bd5d0afca8cf9453"}},{"ruleId":"D1","level":"warning","message":{"text":"1.buildMatchInfo (cyclomatic 22): 1.buildMatchInfo has cyclomatic complexity 22 (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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/SaveMethodMatcher.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3597e9126c01bc60ae0f090c6b93cebfb67324100c0ba30e544b3a8bb58b87"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlQueryBuilder.createIndexStatement (cyclomatic 21): SqlQueryBuilder.createIndexStatement has cyclomatic complexity 21 (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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afe61794d6dc4261139005244cd00b0986f2a49d83af5881386e2587640ae1e"}},{"ruleId":"D1","level":"warning","message":{"text":"RawQueryMethodMatcher.containsTopLevelKeywordOutsideQuotes (cyclomatic 21): RawQueryMethodMatcher.containsTopLevelKeywordOutsideQuotes has cyclomatic complexity 21 (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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f05c1a5882052358bce31aad526f31a0cced9fa79c058d0d99624d80d7f588c"}},{"ruleId":"D1","level":"warning","message":{"text":"AuditGraph.classify_package (cyclomatic 21): AuditGraph.classify_package has cyclomatic complexity 21 (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":".github/scripts/vulnerability-audit-filter.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c15b3dcab95a33000f3fc124d889441944821a1a271ee99cd207792bb823c8"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaGenerator.createOrValidateSchema (cyclomatic 20): SchemaGenerator.createOrValidateSchema has cyclomatic complexity 20 (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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/config/SchemaGenerator.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6873d2e1cc91efad513b79dc6ed40cbc18be200c0ee2f3296d71885dad7ff9"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaGenerator.generate (cyclomatic 20): SchemaGenerator.generate has cyclomatic complexity 20 (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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/config/SchemaGenerator.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b9539ae00b8219629c510900076b5c3311148c70c1b033027dd28b0a669743"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoFindOptions.copyNotNullFrom (cyclomatic 20): MongoFindOptions.copyNotNullFrom has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/options/MongoFindOptions.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"496e28627a800f53b0d4e3f0f9c50b5e7261078321c25519e95877bc8144e1ee"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractCriteriaMethodMatch.extractPredicates (cyclomatic 20): AbstractCriteriaMethodMatch.extractPredicates has cyclomatic complexity 20 (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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/AbstractCriteriaMethodMatch.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb533c345d57604ccd374fd84c59c14cc0efc41f17df325c6a819efc1710998"}},{"ruleId":"D1","level":"warning","message":{"text":"OracleRawQueryReturningSupport.findKeywordOutsideQuotes (cyclomatic 20): OracleRawQueryReturningSupport.findKeywordOutsideQuotes has cyclomatic complexity 20 (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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1a19bc8cd1709ba5fc6ce5709b3fa83dca3b78e8ba5de2e947081ca57ff8db"}},{"ruleId":"D1","level":"warning","message":{"text":"R2dbcEntitiesOperations.execute (cyclomatic 20): R2dbcEntitiesOperations.execute has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"6545d7e64ec25204cc0261b6a3d81da546c9d6ac04690bc53905ca9cbaa8da5b"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractCascadeOperations.cascade (cyclomatic 20): AbstractCascadeOperations.cascade has cyclomatic complexity 20 (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":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c82c6b52a982259be52cd57d9e9a392fd4b727b1abb68970cdfd398bba1a98d"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoFindOptions.isEmpty (cyclomatic 19): MongoFindOptions.isEmpty has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/options/MongoFindOptions.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93bb5f8033ff0ce004772600de4df42d825d53bc977defd0f62109f38138998"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMongoStoredQuery.\u003Cinit\u003E (cyclomatic 19): DefaultMongoStoredQuery.\u003Cinit\u003E has cyclomatic complexity 19 (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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcfa82d16d7e341b233946d29fa20c4458a25c71998854d98d5db689ac9b849"}},{"ruleId":"D1","level":"warning","message":{"text":"RepositoryTypeElementVisitor.bindParameters (cyclomatic 19): RepositoryTypeElementVisitor.bindParameters has cyclomatic complexity 19 (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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"6615bef933511e29c0dd7f671816039779b015a2833323fef71c698da7d0dce2"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlResultEntityTypeMapper.setChildrenAndTriggerPostLoad (cyclomatic 19): SqlResultEntityTypeMapper.setChildrenAndTriggerPostLoad has cyclomatic complexity 19 (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":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b7b67bf22ef1408591ade3002b0de238d26b14ca67f2a4b735814a3b556642"}},{"ruleId":"D1","level":"warning","message":{"text":"JdbcEntitiesOperations.execute (cyclomatic 18): JdbcEntitiesOperations.execute has cyclomatic complexity 18 (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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"774272e7e656b19e361e9daab8826f4db90186de800483726dc109317b1cea69"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractSqlLikeQueryBuilder.buildPropertyByName (cyclomatic 18): AbstractSqlLikeQueryBuilder.buildPropertyByName has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e20e15dd12854cc7c3e9f00a307e79796021251ef04eb33788f7e46eaf6836d"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoQueryBuilder.addLookups (cyclomatic 17): MongoQueryBuilder.addLookups has cyclomatic complexity 17 (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":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"0976f4efce302f7555e0fb4f91c591c99fabc65567d0d0fa81bdc72bede779f8"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoQueryBuilder.findPropertyInternal (cyclomatic 17): MongoQueryBuilder.findPropertyInternal has cyclomatic complexity 17 (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":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c9d5f62e0486cb2b31ba505bc73f7253e0f6d39fe70db3b14a904740c5ebef"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlUpsertQueryBuilder.build (cyclomatic 17): SqlUpsertQueryBuilder.build has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlUpsertQueryBuilder.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72e1c665865cd6b5ed366e790a52bb41fc49da2305a08d0232c1b0cf911e90c"}},{"ruleId":"D1","level":"warning","message":{"text":"DeleteMethodMatcher.match (cyclomatic 17): DeleteMethodMatcher.match has cyclomatic complexity 17 (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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/DeleteMethodMatcher.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62668370464f84e237de979bca8f92673cbe3943c09a8f6ffe6907ba35492a6"}},{"ruleId":"D1","level":"warning","message":{"text":"BeanIntrospectionMapper.map (cyclomatic 17): BeanIntrospectionMapper.map has cyclomatic complexity 17 (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":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/BeanIntrospectionMapper.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58a2d5663107c4f8cf48ce0442ff1261fd483f4baa038b0a1d13fcfdf450203"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoQueryBuilder.buildUpdate (cyclomatic 16): MongoQueryBuilder.buildUpdate 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":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"281c371d57c20859054b4ee9dbd5b76dd5e4b6a9d94406b4582b904ef995e219"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultJdbcRepositoryOperations.findOne (cyclomatic 16): DefaultJdbcRepositoryOperations.findOne 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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb107e27bfd0bd7a7f248db540b3cfeee4382d4e93588296188a600f3693ad5"}},{"ruleId":"D1","level":"warning","message":{"text":"NamingStrategy.mappedName (cyclomatic 16): NamingStrategy.mappedName 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":"data-model/src/main/java/io/micronaut/data/model/naming/NamingStrategy.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb749e30bcd0e80ce0226ecd9a54dde3fdc965e149d7b3ccd60c65ee590eb0c"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlQueryBuilder.createJsonViewQuery (cyclomatic 16): SqlQueryBuilder.createJsonViewQuery 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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e576bcea45eaf87a7136233fb78656c3c3ac78e25d8e127ebd90b57249d4e39"}},{"ruleId":"D1","level":"warning","message":{"text":"PersistentEntity.getPropertyPath (cyclomatic 16): PersistentEntity.getPropertyPath 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":"data-model/src/main/java/io/micronaut/data/model/PersistentEntity.java"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"adde8d49a26b22e2abb82acc7c770454d7c339399fa64f8798342ab151c07387"}},{"ruleId":"D1","level":"warning","message":{"text":"RepositoryTypeElementVisitor.addQueryDefinition (cyclomatic 16): RepositoryTypeElementVisitor.addQueryDefinition 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f3fc5dfc5f8458caa0b190a1abcac82a3f2423cb5fe794c8c144209766517b"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultSqlPreparedQuery.prepare (cyclomatic 16): DefaultSqlPreparedQuery.prepare 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":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/DefaultSqlPreparedQuery.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"d036356091fa280c857a9672efdec973013f2717efa09c21dfde033868686bc8"}},{"ruleId":"D1","level":"warning","message":{"text":"HibernateTransactionManager.doBegin (cyclomatic 16): HibernateTransactionManager.doBegin 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":"data-tx-hibernate/src/main/java/io/micronaut/transaction/hibernate/HibernateTransactionManager.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bca31360cb6b32acff848a6dc0430e4b50694fd4ca9b464637d3b19d136c22"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlResultEntityTypeMapper.readEntity (cognitive 211): SqlResultEntityTypeMapper.readEntity has cognitive complexity 211 (threshold 15). Drivers by points: if/else 55 (183 pts), boolean chains 14, ternaries 4 (7 pts), loops 3 (6 pts), error handling 1 (nesting depth added 134). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"503a9e8d1739f095adad0131424f254ef07714e7ee049d932dada1a3a259c016"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMongoStoredQuery.replaceQueryParametersInBsonValue (cognitive 109): DefaultMongoStoredQuery.replaceQueryParametersInBsonValue has cognitive complexity 109 (threshold 15). Drivers by points: if/else 29 (99 pts), loops 2 (4 pts), error handling 1 (3 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 75). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcc56f7013f044931dc1fdcf990808626f394d6c1e9514df2e16874db604101"}},{"ruleId":"D2","level":"warning","message":{"text":"SyncCascadeOperations.cascadeEntity (cognitive 99): SyncCascadeOperations.cascadeEntity has cognitive complexity 99 (threshold 15). Drivers by points: if/else 23 (73 pts), loops 4 (15 pts), boolean chains 6, ternaries 1 (5 pts) (nesting depth added 65). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/SyncCascadeOperations.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9734bd7c7323be1c92ab3405e7b48c1c68d096ae24d497db7cea16584112ff6e"}},{"ruleId":"D2","level":"warning","message":{"text":"DataConversionServiceFactory.build (cognitive 94): DataConversionServiceFactory.build has cognitive complexity 94 (threshold 15). Drivers by points: loops 60 (62 pts), error handling 15, if/else 4 (9 pts), ternaries 3 (6 pts), boolean chains 2 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/convert/DataConversionServiceFactory.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"291509a47dc2b81ed6278b01dff320789b74fcd5a21d16c2c2a331c732ae1594"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlColumnMapping.getSqlType (cognitive 89): SqlColumnMapping.getSqlType has cognitive complexity 89 (threshold 15). Drivers by points: if/else 66 (71 pts), ternaries 4 (11 pts), boolean chains 7 (nesting depth added 12). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/schema/sql/SqlColumnMapping.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"73083897b4e25d9b48472414564cb955502d12503fb214397c03fd71bafcaf55"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryStatement.setDynamic (cognitive 88): QueryStatement.setDynamic has cognitive complexity 88 (threshold 15). Drivers by points: if/else 41 (79 pts), match/switch 2 (6 pts), boolean chains 3 (nesting depth added 42). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/QueryStatement.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41138c37b388d9a74baaeee4a9cb72f02e8a746869973d3b82ff7cbe5e0ca63"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractSqlLikeQueryBuilder.buildUpdateStatement (cognitive 82): AbstractSqlLikeQueryBuilder.buildUpdateStatement has cognitive complexity 82 (threshold 15). Drivers by points: if/else 35 (66 pts), boolean chains 12, loops 2 (4 pts) (nesting depth added 33). 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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f33e7431e41e6fa001e759fab4fa2e841ef7840dfad159e4c45903453d069a7"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultBindableParametersStoredQuery.bindParameter (cognitive 75): DefaultBindableParametersStoredQuery.bindParameter has cognitive complexity 75 (threshold 15). Drivers by points: if/else 36 (67 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 32). 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":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/query/DefaultBindableParametersStoredQuery.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9663a93e14b89c4f182fe766a91caec873c5b0a35e64a1f02170636299d4a4b0"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlQueryBuilder.buildInsert (cognitive 69): SqlQueryBuilder.buildInsert has cognitive complexity 69 (threshold 15). Drivers by points: if/else 29 (51 pts), loops 5 (12 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 31). 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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41384991a6161a066953dac04ef9aea3d084154ed093d187d6924fa28fb2469"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaGenerator.createOrValidateSchema (cognitive 59): SchemaGenerator.createOrValidateSchema has cognitive complexity 59 (threshold 15). Drivers by points: if/else 15 (42 pts), error handling 2 (6 pts), loops 2 (5 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 36). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/config/SchemaGenerator.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"899d7820f095ec27f5157336818121386eadd2f4a72dd8d3aeead3aa1e8883bc"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaGenerator.generate (cognitive 57): SchemaGenerator.generate has cognitive complexity 57 (threshold 15). Drivers by points: if/else 9 (31 pts), error handling 3 (11 pts), loops 3 (10 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 39). 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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/config/SchemaGenerator.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb169ce0999786b66556bef54799128e9f09b81adfd474427612c5d28370ae3"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoExecutorQueryMethodMatcher.match (cognitive 55): MongoExecutorQueryMethodMatcher.match has cognitive complexity 55 (threshold 15). Drivers by points: if/else 20 (39 pts), boolean chains 10, match/switch 3 (6 pts) (nesting depth added 22). 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":"data-document-processor/src/main/java/io/micronaut/data/document/processor/matchers/MongoExecutorQueryMethodMatcher.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b95403f04159f991c28bdd2144ad325e77ef3701de6882252e97bf54403c50d"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeUtils.resolveDataType (cognitive 55): TypeUtils.resolveDataType has cognitive complexity 55 (threshold 15). Drivers by points: if/else 33 (49 pts), boolean chains 4, error handling 1, ternaries 1 (nesting depth added 16). 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/TypeUtils.java"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a06acc5784f25dd085efbdaa0ac6b9b12b08ef4080d89ca8441e3accd06bf9f"}},{"ruleId":"D2","level":"warning","message":{"text":"AuditGraph.classify_package (cognitive 54): AuditGraph.classify_package has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (40 pts), loops 4 (8 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 30). 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":".github/scripts/vulnerability-audit-filter.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9ba931109503e2dae7ca6283e4364b21f99fb73297caf34799f72819671c20"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoQueryBuilder.addLookups (cognitive 51): MongoQueryBuilder.addLookups has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (46 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 33). 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":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"102ce2ec58abdebbd8208172116b40483a0a91af6c79ee7759db847763cf0d58"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractCriteriaMethodMatch.extractPredicates (cognitive 51): AbstractCriteriaMethodMatch.extractPredicates has cognitive complexity 51 (threshold 15). Drivers by points: if/else 19 (44 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/AbstractCriteriaMethodMatch.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f270a337e551b403da6ec48c1e516e742e5f6566cc57b2cb06710c9990f257"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlQueryBuilder.addGeneratedStatementToColumn (cognitive 49): SqlQueryBuilder.addGeneratedStatementToColumn has cognitive complexity 49 (threshold 15). Drivers by points: if/else 29 (45 pts), boolean chains 3, match/switch 1 (nesting depth added 16). 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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f5a43f4880bf4230643af4b016ca242cd1055537c67f613197261654b64dbf"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistentEntity.getPropertyPath (cognitive 45): PersistentEntity.getPropertyPath has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (41 pts), loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/PersistentEntity.java"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"889a1347a642c8697f68dc98e353af939ea48dc06134b374a46d81601cec8f83"}},{"ruleId":"D2","level":"warning","message":{"text":"FindersUtils.resolveInterceptorTypeByOperationType (cognitive 45): FindersUtils.resolveInterceptorTypeByOperationType has cognitive complexity 45 (threshold 15). Drivers by points: if/else 33 (36 pts), boolean chains 9 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff51016be934d94aafc84000c1b38e3dce03031e52177731dcd7a872115db876"}},{"ruleId":"D2","level":"warning","message":{"text":"ReactiveCascadeOperations.cascadeEntity (cognitive 45): ReactiveCascadeOperations.cascadeEntity has cognitive complexity 45 (threshold 15). Drivers by points: if/else 22 (35 pts), boolean chains 6, loops 3, ternaries 1 (nesting depth added 13). 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":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/ReactiveCascadeOperations.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63e4bf92e596a9611b99152d3c79c07e849f86a9a325190be9512c3984c68ab"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlQueryBuilder.addTableCreateStatements (cognitive 43): SqlQueryBuilder.addTableCreateStatements has cognitive complexity 43 (threshold 15). Drivers by points: if/else 19 (37 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 19). 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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"873167ca3ffde9bd6dc66da803dc5f978130563311e9a9900a9d19aecf40ba91"}},{"ruleId":"D2","level":"warning","message":{"text":"RawQueryMethodMatcher.findSqlStatement (cognitive 43): RawQueryMethodMatcher.findSqlStatement has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (35 pts), boolean chains 7, loops 1 (nesting depth added 18). 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"471bbe42ff333825830c3c865da891b4df12f7ebdc83fefa9c0f7c7b00dad571"}},{"ruleId":"D2","level":"warning","message":{"text":"RepositoryTypeElementVisitor.processMethodInfo (cognitive 43): RepositoryTypeElementVisitor.processMethodInfo has cognitive complexity 43 (threshold 15). Drivers by points: if/else 26 (38 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 13). 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdfd0333a2a53a8bc2fdc39b226df6f10703779f1c384bb026baf5e4dac3b0f"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlResultEntityTypeMapper.setChildrenAndTriggerPostLoad (cognitive 43): SqlResultEntityTypeMapper.setChildrenAndTriggerPostLoad has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (30 pts), loops 2 (7 pts), boolean chains 6 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54dd0cd3e902f3732755a8c65dfc45d0239010f011afb57be2b0928faaca941"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlPredicateVisitor.visitEquals (cognitive 42): SqlPredicateVisitor.visitEquals has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (35 pts), loops 1 (4 pts), boolean chains 2, ternaries 1 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":2622}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf6cba447b0cdbbbf300bbf8276cbed63493a25485af862ef6a4a0d3be19254"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoQueryBuilder.buildSelect (cognitive 41): MongoQueryBuilder.buildSelect has cognitive complexity 41 (threshold 15). Drivers by points: if/else 22 (32 pts), ternaries 2 (6 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 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":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75b39426d0c85487be24417fde3afce786882c4dfa0196f84fe92fba673d1bb"}},{"ruleId":"D2","level":"warning","message":{"text":"RepositoryTypeElementVisitor.bindParameters (cognitive 41): RepositoryTypeElementVisitor.bindParameters has cognitive complexity 41 (threshold 15). Drivers by points: if/else 18 (39 pts), boolean chains 1, loops 1 (nesting depth added 21). 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f75c3ac7242e92e82a55544dc2362e0a4a52fa32127c282ebc61efced676266"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractCascadeOperations.cascade (cognitive 41): AbstractCascadeOperations.cascade has cognitive complexity 41 (threshold 15). Drivers by points: if/else 8 (27 pts), loops 2 (6 pts), boolean chains 5, match/switch 1 (3 pts) (nesting depth added 25). 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":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f3dfe82f43397a8dc16e6c2822e13ac606d533ac55141816bbee50c0c61a40"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultSqlPreparedQuery.prepare (cognitive 40): DefaultSqlPreparedQuery.prepare has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (34 pts), loops 2 (6 pts) (nesting depth added 25). 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":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/DefaultSqlPreparedQuery.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6687f9701c1b2916b4af6fda82ace22ea2c8b4e674e916af5c6ea3745d8241"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlQueryBuilder.buildJoin (cognitive 39): SqlQueryBuilder.buildJoin has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (28 pts), ternaries 3 (7 pts), boolean chains 4 (nesting depth added 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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21a7b996b15a589532533331f03c8dd3c6c738a496f6395219ea258c14fffbf"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoQueryBuilder.findPropertyInternal (cognitive 37): MongoQueryBuilder.findPropertyInternal has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (32 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23f4fc3868db1df18382a146725e3a75954131979c7a27d2cf7539c10333733"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractMongoCollectionsCreator.initialize (cognitive 37): AbstractMongoCollectionsCreator.initialize has cognitive complexity 37 (threshold 15). Drivers by points: if/else 6 (29 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/init/AbstractMongoCollectionsCreator.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"127fd3c23840e8e400eebe828501ca1373b2126ef78e134cc34ddf132da7ad9f"}},{"ruleId":"D2","level":"warning","message":{"text":"SourcePersistentEntity.\u003Cinit\u003E (cognitive 37): SourcePersistentEntity.\u003Cinit\u003E has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (35 pts), boolean chains 1, loops 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/model/SourcePersistentEntity.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e644ab24104fb7f9b74025dab592cecf0a47d71269eb9d2282c8e47dd37d075"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractCriteriaMethodMatch.extractPredicates (cognitive 37): AbstractCriteriaMethodMatch.extractPredicates has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (29 pts), loops 2 (6 pts), boolean chains 2 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/AbstractCriteriaMethodMatch.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca43db869657f428749d94481f4233ac3275de89489bcfda0bdcd809561f80d"}},{"ruleId":"D2","level":"warning","message":{"text":"MappedEntityVisitor.computeMappingDefaults (cognitive 37): MappedEntityVisitor.computeMappingDefaults has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (32 pts), boolean chains 5 (nesting depth added 13). 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/MappedEntityVisitor.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c77340988ebeeba916ef7e43065f25c8e594cd8e7308087df7409d632b6715"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlSchemaUtils.getColumnDefinition (cognitive 35): SqlSchemaUtils.getColumnDefinition has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (21 pts), ternaries 2 (6 pts), boolean chains 3, error handling 1 (3 pts), loops 1 (2 pts) (nesting depth added 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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ca9ce5d9ff130ec16e3958f3af7856a4ad78b8c145cbd2b3291c2c6461c0a3"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistentEntity.getPath (cognitive 35): PersistentEntity.getPath has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (27 pts), ternaries 2 (5 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/PersistentEntity.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4db3920580e28f78605638cd777e49c6d6374d77e81cb4053f4ad2318cb9890"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistentEntityUtils.traversePersistentProperties (cognitive 35): PersistentEntityUtils.traversePersistentProperties has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 4 (11 pts), ternaries 2 (6 pts) (nesting depth added 19). 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":"data-model/src/main/java/io/micronaut/data/model/PersistentEntityUtils.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3859f997bcd51b530a3d7d639b78d0a639e657749e5c324a8eb83cc64b9aeb"}},{"ruleId":"D2","level":"warning","message":{"text":"BeanIntrospectionMapper.map (cognitive 35): BeanIntrospectionMapper.map has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (29 pts), loops 3 (4 pts), boolean chains 1, error handling 1 (nesting depth added 14). 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":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/BeanIntrospectionMapper.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d06f3f5bc1512f7b8ee013ea6ec6c1a70e0f81af5a9c38204f096d71c8913c"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlSchemaUtils.addSqlIndexMappings (cognitive 34): SqlSchemaUtils.addSqlIndexMappings has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 4 (6 pts), error handling 1 (4 pts), boolean chains 2 (nesting depth added 19). 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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"63084b4738931f5796ed2c5c05bdfb689255a4ac81a98520f3c47f5d843b5473"}},{"ruleId":"D2","level":"warning","message":{"text":"RawQueryMethodMatcher.containsTopLevelKeywordOutsideQuotes (cognitive 34): RawQueryMethodMatcher.containsTopLevelKeywordOutsideQuotes has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 6, loops 1 (nesting depth added 14). 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1eac96f43277aa2c9741519b524f35cc98b5b337c1762bb3bf6ee59a8577155"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlQueryBuilder.createIndexStatement (cognitive 33): SqlQueryBuilder.createIndexStatement has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 6, ternaries 1 (nesting depth added 12). 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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b080593d740f4d421f799200ff890a3d87a4227500e863b792aa40d907caad72"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistentEntity.getPropertyByPath (cognitive 33): PersistentEntity.getPropertyByPath has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (31 pts), loops 1 (2 pts) (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/PersistentEntity.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0db21400426ac40ecf35f1227137a0b69008d7e4d884f97294336dd5d8197e9"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityEventRegistry.initListeners (cognitive 32): EntityEventRegistry.initListeners has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (22 pts), error handling 6, loops 2 (4 pts) (nesting depth added 8). 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":"data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ed0c044b784a267ebda8619c2ab522b24677d6293fc8b991a0bbbab0c5d94c"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractSqlLikeQueryBuilder.buildPropertyByName (cognitive 31): AbstractSqlLikeQueryBuilder.buildPropertyByName has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (21 pts), loops 2 (6 pts), boolean chains 3, ternaries 1 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c52582e0e904acd51b52d02426442a98367c51c95164c67f437fb79e57af30"}},{"ruleId":"D2","level":"warning","message":{"text":"OracleRawQueryReturningSupport.findKeywordOutsideQuotes (cognitive 31): OracleRawQueryReturningSupport.findKeywordOutsideQuotes has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 7, loops 1 (nesting depth added 12). 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec58bc3055c6e7e273ae1052ae0e55bf1d012ed60b616a2342063d8a4d0cf6b"}},{"ruleId":"D2","level":"warning","message":{"text":"RepositoryTypeElementVisitor.visitRepositoryMethod (cognitive 31): RepositoryTypeElementVisitor.visitRepositoryMethod has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 3 (6 pts), ternaries 2 (6 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 16). 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58043f4e9c2e9c9700a796bdda9878f08013b8aca9655ddbd083767ad5e1e18"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractHibernateOperations.createGraph (cognitive 30): AbstractHibernateOperations.createGraph has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (20 pts), ternaries 1 (5 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 17). 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":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/AbstractHibernateOperations.java"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"20db27f78f89bd5c967c1c63bb46bdceb26e20822bc4e207bd7471d02b147bc6"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMongoStoredQuery.\u003Cinit\u003E (cognitive 30): DefaultMongoStoredQuery.\u003Cinit\u003E has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (20 pts), ternaries 3 (6 pts), boolean chains 4 (nesting depth added 7). 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d259948ba9960d4f0df5940fa368e0fe9877a505cf934249f7a7f284feb034"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoPredicateVisitor.visitEquals (cognitive 29): MongoPredicateVisitor.visitEquals has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (24 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":1304}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87a41ec33f3a9f852381604aa735f40dbc95ed5e8d14134b43aedb7ee30fa82"}},{"ruleId":"D2","level":"warning","message":{"text":"2.bindOne (cognitive 29): 2.bindOne has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (21 pts), ternaries 2 (8 pts) (nesting depth added 13). 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":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/AbstractHibernateOperations.java"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a8d580042490b2f7012a35c626ac3b180676795b160dcbaca9e7544d4333cb"}},{"ruleId":"D2","level":"warning","message":{"text":"1.buildMatchInfo (cognitive 29): 1.buildMatchInfo has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 6, loops 2 (3 pts), ternaries 1 (nesting depth added 8). 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/SaveMethodMatcher.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f95147119613a5c448ebd24f474491271cabfe90f2a676b9b83cd776f073f8"}},{"ruleId":"D2","level":"warning","message":{"text":"MappingContext.findJoinPath (cognitive 29): MappingContext.findJoinPath has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (20 pts), ternaries 2 (6 pts), loops 1 (3 pts) (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"671d9d542a8b877b3c41cb968fec53d092718f21e89243e9e71f39de927f383f"}},{"ruleId":"D2","level":"warning","message":{"text":"JdbcEntitiesOperations.execute (cognitive 28): JdbcEntitiesOperations.execute has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 3 (5 pts), boolean chains 2, error handling 1 (nesting depth added 9). 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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"f805b84c674931e57cad5e80a937da8fe8c9a58793bc0c40ae9c830993f0bee6"}},{"ruleId":"D2","level":"warning","message":{"text":"NamingStrategy.mappedName (cognitive 28): NamingStrategy.mappedName has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 10). 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":"data-model/src/main/java/io/micronaut/data/model/naming/NamingStrategy.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f13377aef9c7f4b65617aaa8fc8da9315856a704400866280bf507630e2993"}},{"ruleId":"D2","level":"warning","message":{"text":"DeleteMethodMatcher.match (cognitive 28): DeleteMethodMatcher.match has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 4 (nesting depth added 12). 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/DeleteMethodMatcher.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc7405cb989dddbc02fa86275db05789f2d1dabfa31e78099b3be45b2a0d88e"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoPopulatedEntityEventListener.supports (cognitive 27): AutoPopulatedEntityEventListener.supports has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/event/listeners/AutoPopulatedEntityEventListener.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb228a3c1d61cf59031f01f46928878763b48ce05d8fcaee51071bbd0e81c14d"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultSqlPreparedQuery.buildCursorPagination (cognitive 27): DefaultSqlPreparedQuery.buildCursorPagination has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 2 (8 pts), loops 4 (5 pts) (nesting depth added 12). 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":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/DefaultSqlPreparedQuery.java"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"386ab36cdb38f3e47dab8432f87df184672aabdf4c69765d4860afcac8489814"}},{"ruleId":"D2","level":"warning","message":{"text":"RepositoryTypeElementVisitor.addQueryDefinition (cognitive 26): RepositoryTypeElementVisitor.addQueryDefinition has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 1 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 11). 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ca40cc97ba1edfb12144177b3d12aa091b5b531492fdae9964a99f09b948cf"}},{"ruleId":"D2","level":"warning","message":{"text":"HibernateTransactionManager.doBegin (cognitive 26): HibernateTransactionManager.doBegin has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 6 (nesting depth added 10). 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":"data-tx-hibernate/src/main/java/io/micronaut/transaction/hibernate/HibernateTransactionManager.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"537ca70af79a60d00b759cb3b4e428a8c98bee9647d3d78124c81b6176dbb208"}},{"ruleId":"D2","level":"warning","message":{"text":"R2dbcEntitiesOperations.execute (cognitive 25): R2dbcEntitiesOperations.execute has cognitive complexity 25 (threshold 15). Drivers by points: if/else 20 (22 pts), ternaries 2, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1034c62549fa04daef936903a869be4d973ec1747a81241155bea1ddb7e700"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractSpecificationInterceptor.createSelectionForSelectingIds (cognitive 25): AbstractSpecificationInterceptor.createSelectionForSelectingIds has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 5 (9 pts) (nesting depth added 14). 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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"3577ec48399a9aeca5124a97f2f95c46ffdba8b4de3dc72eaa8e25b94b33e8d4"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimePersistentEntity.\u003Cinit\u003E (cognitive 24): RuntimePersistentEntity.\u003Cinit\u003E has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 2, ternaries 1 (nesting depth added 10). 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":"data-model/src/main/java/io/micronaut/data/model/runtime/RuntimePersistentEntity.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"400785c8f568e37486b256d41a5e350f27a97cfb3986bc7c55a9c7de1fe2c351"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMongoStoredQuery.getValue (cognitive 24): DefaultMongoStoredQuery.getValue has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 4, loops 1 (3 pts) (nesting depth added 9). 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a67e3220955a652b0de4c1fe358d28a4232519126805dca2dd7cc51a6df9e1b"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMongoRepositoryOperations.applyFindOptions (cognitive 23): DefaultMongoRepositoryOperations.applyFindOptions has cognitive complexity 23 (threshold 15). Drivers by points: if/else 20, boolean chains 3. 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3facb719466d4a9893a64a606270502c8d562eda6a25b669e23e7c1277200f5"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultReactiveMongoRepositoryOperations.applyFindOptions (cognitive 23): DefaultReactiveMongoRepositoryOperations.applyFindOptions has cognitive complexity 23 (threshold 15). Drivers by points: if/else 20, boolean chains 3. 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93a8f45e7c13d53b02dd538445ea940c8f30bcce7f6a7201e6269a2faca2f62"}},{"ruleId":"D2","level":"warning","message":{"text":"HibernateJpaOperations.execute (cognitive 22): HibernateJpaOperations.execute has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 1 (3 pts) (nesting depth added 10). 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":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e15e0477c6052d760d244178b1e8e43747383e36af03250d6bffb9e9464329"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultJdbcRepositoryOperations.findOne (cognitive 22): DefaultJdbcRepositoryOperations.findOne has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, loops 1 (3 pts), error handling 1 (nesting depth added 6). 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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06879770309d7d5029652a791197620e63d6e251e001d2d91614a9ae01b1e7a"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractSqlLikeQueryBuilder.appendPropertyRef (cognitive 22): AbstractSqlLikeQueryBuilder.appendPropertyRef has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, ternaries 1 (nesting depth added 6). 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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbe6412fc653b674183011bf2a31b6ee3b5b1c90fc04be3af2c5aae22394c16"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlQueryBuilder.createJsonViewQuery (cognitive 22): SqlQueryBuilder.createJsonViewQuery has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 4, boolean chains 2, ternaries 1 (nesting depth added 6). 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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4fd4f195e169d4348c4c4d653bb4aa8063e9e5f4111711c43867455a74b2ff"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceParameterExpressionImpl.bind (cognitive 22): SourceParameterExpressionImpl.bind has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 5 (8 pts), boolean chains 3 (nesting depth added 5). 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":"data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourceParameterExpressionImpl.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5292aec792ff2cc84690ab7a7dfcdf2f771c99c7c71340c64d965d8587f30b26"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractCascadeOperations.afterCascadedMany (cognitive 22): AbstractCascadeOperations.afterCascadedMany has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 1 (2 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49b0eb5e9c43ee8ee0fd49e5782aa81cb316c3ab08c6b8bb9eb30df0948d67b"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlSelectionVisitor.visit (cognitive 21): SqlSelectionVisitor.visit has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 4 (nesting depth added 5). 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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":3351}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bc3bbd4092673e00a5b151c7bf3e769fd6744b29c1a1b650048db4315e3936"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMongoPreparedQuery.applyPageable (cognitive 21): DefaultMongoPreparedQuery.applyPageable has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 1 (2 pts) (nesting depth added 10). 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoPreparedQuery.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7aa9e00185595e9dbda6728aedbf9946205694da8dc67f5cf10d844828995c"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoQueryBuilder.buildUpdate (cognitive 20): MongoQueryBuilder.buildUpdate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 1 (4 pts), loops 1 (nesting depth added 8). 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":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2614ed858027ab5f1c7fe10852f2241d7495d315be348a1f80e89d670f92e43"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractPersistentEntity.getNamingStrategy (cognitive 20): AbstractPersistentEntity.getNamingStrategy has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), error handling 1 (2 pts), boolean chains 1, ternaries 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/AbstractPersistentEntity.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a988b8cc2d0cdb1350e4fb97c8cafc0dc4d36945ccabd17d95d7515663208c81"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlResultEntityTypeMapper.buildIdOnlyEntity (cognitive 20): SqlResultEntityTypeMapper.buildIdOnlyEntity has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (19 pts), boolean chains 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"562388fd7d0a28b027b848827391f7b4b59236438dc901712c136041646a136f"}},{"ruleId":"D2","level":"warning","message":{"text":"CriteriaUtils.hasVersionPredicate (cognitive 19): CriteriaUtils.hasVersionPredicate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 8). 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":"data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/CriteriaUtils.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a815e5599bafc24e9342d9996ce361c8f21c264f40a3f09c67d83e5b3d34ff"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractSqlLikeQueryBuilder.buildOrderBy (cognitive 19): AbstractSqlLikeQueryBuilder.buildOrderBy has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 1 (3 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 9). 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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0c2515886832fe87efd59e2e9618d9efdc9891da8f4bda4e091f5326d77bc3"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoFindOptions.copyNotNullFrom (cognitive 19): MongoFindOptions.copyNotNullFrom has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19. 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/options/MongoFindOptions.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"74845c33d80f924fd90b7967851fc1a2588486984d60ae919f864455e10a3a05"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMongoRepositoryOperations.triggerPostLoad (cognitive 19): DefaultMongoRepositoryOperations.triggerPostLoad has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (6 pts), match/switch 1 (3 pts) (nesting depth added 12). 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19afffc9094a21c7d5011fb773528f77ba9a05a3f6330db2667b42f879cf667"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultReactiveMongoRepositoryOperations.triggerPostLoad (cognitive 19): DefaultReactiveMongoRepositoryOperations.triggerPostLoad has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (6 pts), match/switch 1 (3 pts) (nesting depth added 12). 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b7ecb491362731f302ea095f1fdff0e48e73f635c6294d47601030924b58f0"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateCriteriaMethodMatch.interceptPredicate (cognitive 19): UpdateCriteriaMethodMatch.interceptPredicate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 1 (nesting depth added 6). 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/UpdateCriteriaMethodMatch.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47c7f8e57e9165bf9e708476da572d09e169c1a80dfddd32426bc0be9b35e96"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractQueryInterceptor.instantiateEntity (cognitive 19): AbstractQueryInterceptor.instantiateEntity has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 7). 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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/AbstractQueryInterceptor.java"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5b1ec92d6fe57c82ed1ae35214d35600d701302c37e6ed76c06a0a81d077fe"}},{"ruleId":"D2","level":"warning","message":{"text":"vulnerability-audit-filter.main (cognitive 19): vulnerability-audit-filter.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/vulnerability-audit-filter.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a3a29eee3449f443bd601f96409fd8bfe20f82667c285418e0ab55406ec174"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractHibernateOperations.bindQueryHints (cognitive 18): AbstractHibernateOperations.bindQueryHints has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/AbstractHibernateOperations.java"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7b21958cd1d426aedb2d83c6934ca67bffec407ed216a25195148c2b42ea7e"}},{"ruleId":"D2","level":"warning","message":{"text":"Joiner.joinAssociation (cognitive 18): Joiner.joinAssociation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (18 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/util/Joiner.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc48a856d18961bb1877d1e144923c65ff9041c601b5c80d1e15e452a96b3c2"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlSelectionVisitor.selectAllColumnsFromJoinPaths (cognitive 18): SqlSelectionVisitor.selectAllColumnsFromJoinPaths has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 3 (5 pts), boolean chains 1, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":2634}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf84914e2ee757d6610016d20d6fd76a2f3dd078438d5ed3c1d8ef910ed0b7d"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoFindOptions.isEmpty (cognitive 18): MongoFindOptions.isEmpty has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18. 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/options/MongoFindOptions.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d533b64572d4cb7cefc7fb3544d8ca5498a01c80a80bb95f1ac9d93d2ba517"}},{"ruleId":"D2","level":"warning","message":{"text":"R2dbcSchemaGenerator.createSchema (cognitive 18): R2dbcSchemaGenerator.createSchema has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). 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":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/config/R2dbcSchemaGenerator.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a4b18bcf338f0b7935685578535562f13ccb1d594a301c78acb3521be24379"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractSpecificationInterceptor.buildCursorPagination (cognitive 18): AbstractSpecificationInterceptor.buildCursorPagination has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 2 (3 pts) (nesting depth added 6). 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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0489b7a44508dc014b449ff6cb5c746ecc87e6ea6cb4149c6e663c9514aba7"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractSpecificationInterceptor.getCriteriaQueryBuilder (cognitive 18): AbstractSpecificationInterceptor.getCriteriaQueryBuilder has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 2, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"8308bfe310b42466e3f032ee57febf928a07129c987febb73d834b59b2e13024"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractTransactionOperations.commitInternal (cognitive 18): AbstractTransactionOperations.commitInternal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), error handling 4 (nesting depth added 4). 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":"data-tx/src/main/java/io/micronaut/transaction/support/AbstractTransactionOperations.java"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"67be1de0c205a98c2d7f07b627a73152e41d747982ee1fd4f16403b0af570ded"}},{"ruleId":"D2","level":"warning","message":{"text":"CosmosSerde.serialize (cognitive 17): CosmosSerde.serialize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (6 pts), boolean chains 1 (nesting depth added 8). 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":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/CosmosSerde.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"453c92c50099d2ea6fc510a486c48ce3c118705374530d663efdbe60c98e48f6"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractHibernateOperations.collectResults (cognitive 17): AbstractHibernateOperations.collectResults has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 1 (nesting depth added 4). 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":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/AbstractHibernateOperations.java"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b42ff935cde825c66b12eb6177187cf816f362db5e48417856259ca0fa88ad6"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaGenerator.validate (cognitive 17): SchemaGenerator.validate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (4 pts) (nesting depth added 8). 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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/config/SchemaGenerator.java"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50add47eb620b8970933115aa38e69589016e7e5848cf4efc6e594d0d1d67a9"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultJdbcRepositoryOperations.findStream (cognitive 17): DefaultJdbcRepositoryOperations.findStream has cognitive complexity 17 (threshold 15). Drivers by points: error handling 5 (6 pts), if/else 3 (4 pts), ternaries 2 (4 pts), loops 1 (3 pts) (nesting depth added 6). 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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"7662f1b6764e0239fce27760a1b5e81edd354e3da599b440f25b6cebeffc9b98"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlPredicateVisitor.visit (cognitive 17): SqlPredicateVisitor.visit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":2572}}}],"partialFingerprints":{"codehealthFindingId/v1":"f067e43049aa6b1a204d1c85787cc5efa8e3a64f01c262e62a1d97c67287fc4d"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMongoStoredQuery.needsProcessingValue (cognitive 17): DefaultMongoStoredQuery.needsProcessingValue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 pts) (nesting depth added 8). 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbaffbbd71408ed678469d486c688de5c09c1e58e7a1de40aad8cc04b7638ac"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateReturningData.getOptions (cognitive 17): UpdateReturningData.getOptions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (17 pts) (nesting depth added 6). 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd684a85f53822a65fdd42d35b6521924ab79ef87a394608e05639bf83a5283"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractCriteriaMethodMatch.applyJoinSpecs (cognitive 17): AbstractCriteriaMethodMatch.applyJoinSpecs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 9). 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/AbstractCriteriaMethodMatch.java"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75c9a35d6ad70e747f0d4d80b861895a73c4072c5e6e44d246ebcf3a55fcff4"}},{"ruleId":"D2","level":"warning","message":{"text":"SaveMethodMatcher.addPropertyUpdateQueryIfPossible (cognitive 17): SaveMethodMatcher.addPropertyUpdateQueryIfPossible has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, loops 2 (nesting depth added 3). 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/SaveMethodMatcher.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e3f27fb8cd00f2dd3d9f3eb20e9a9e63ce83c471dff60dc20ab6481f3e1a6c"}},{"ruleId":"D2","level":"warning","message":{"text":"R2dbcEntityOperations.execute (cognitive 17): R2dbcEntityOperations.execute has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, ternaries 3 (4 pts), boolean chains 1 (nesting depth added 1). 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":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1607c7eabfe700bd3f7c26411f56c2108a804a9f1164ae6a2cb3b3ace38898"}},{"ruleId":"D2","level":"warning","message":{"text":"FindPageAsyncSpecificationInterceptor.findAllAsync (cognitive 17): FindPageAsyncSpecificationInterceptor.findAllAsync has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 3 (nesting depth added 8). 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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/FindPageAsyncSpecificationInterceptor.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"43875b7b9485d6ba61e7d43d3a543ecdc7151950268bbf3bdbf8294e7eef9f2b"}},{"ruleId":"D2","level":"warning","message":{"text":"FindPageReactiveSpecificationInterceptor.findAllReactive (cognitive 17): FindPageReactiveSpecificationInterceptor.findAllReactive has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 3 (nesting depth added 8). 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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/reactive/FindPageReactiveSpecificationInterceptor.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"42249357312640d72161756c7ca960f8d264eeecac4e7cc5a9acef8d0d0fd59e"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultAbstractFindPageInterceptor.intercept (cognitive 17): DefaultAbstractFindPageInterceptor.intercept has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 7). 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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultAbstractFindPageInterceptor.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aeec38e3b8f52139bb6a6af11429bd152d00c499ee162147d91bc6fec832074"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultConnectionStatus.forEachSynchronizations (cognitive 16): DefaultConnectionStatus.forEachSynchronizations has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 2 (6 pts), error handling 1 (3 pts) (nesting depth added 9). 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":"data-connection/src/main/java/io/micronaut/data/connection/support/DefaultConnectionStatus.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"412218c4676e715ef78d01532e73153d73f5dcdbe25e2bd8e78c50c29786942b"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultParameterExpression.bind (cognitive 16): DefaultParameterExpression.bind has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 1 (2 pts), boolean chains 1, ternaries 1 (nesting depth added 8). 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":"data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/DefaultParameterExpression.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8473e71b2bad64e6902eb5622a25a2c2154c201d8846eed6e1fafb6d35dec39d"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlQueryBuilder.processAssociation (cognitive 16): SqlQueryBuilder.processAssociation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, match/switch 1 (nesting depth added 5). 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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8680207a3634626715b53d940b1b5f4d3edd10d843090c9a2bba70849f285f2"}},{"ruleId":"D2","level":"warning","message":{"text":"StaticMetamodelInitializer.initializeMetadataInternal (cognitive 16): StaticMetamodelInitializer.initializeMetadataInternal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 1, loops 1 (nesting depth added 6). 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":"data-runtime/src/main/java/io/micronaut/data/runtime/criteria/metamodel/StaticMetamodelInitializer.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f539216564c394e932194bbc4cd9e3eb1d74c0f8fe0658f80062a2968259b546"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractCriteriaBuilder: TooManyMethods \u2014 204 methods. The bar is 30 methods; this is 174 over it, 6.80\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":"data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractCriteriaBuilder.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"445462680572ddb4272c3f9ff9489ed1405687ff77762391ff4d12663cb2078e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AbstractSqlLikeQueryBuilder: ClassTooLong \u2014 2268 significant lines (blank, comment-only and punctuation-only lines excluded), 100 methods. The bar is 400 significant lines; this is 1868 over it, 5.67\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a432e5e6a15015c44d47e01799aa9a3fce61b64f6ae8e14c04acd086cb6aaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sql/AbstractSqlLikeQueryBuilder.java: FileTooLong \u2014 2383 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: AbstractSqlLikeQueryBuilder (142-4028). The bar is 500 significant lines; this is 1883 over it, 4.77\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34a21722896174e5cb36d0b6ab7ed544818718a53f0bc5ae6930396430f010a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataConversionServiceFactory.build: MethodTooLong \u2014 build runs 459 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 359 over it, 4.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/convert/DataConversionServiceFactory.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78732bde1a12c924456fa221e73c83070232d5d5ffaf912bcfb26b82e9329cb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SqlQueryBuilder: ClassTooLong \u2014 1826 significant lines (blank, comment-only and punctuation-only lines excluded), 105 methods. The bar is 400 significant lines; this is 1426 over it, 4.57\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a246428969547917cef0b9f6af67a2ab14b29cef947bba6d87aca10d4c91e568"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sql/SqlQueryBuilder.java: FileTooLong \u2014 1915 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: SqlQueryBuilder (116-2867). The bar is 500 significant lines; this is 1415 over it, 3.83\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd218e61cd9db76d9ef4de1d3231a406136a6bfdb23b1c9014612cf83b3bc2a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SqlQueryBuilder: TooManyMethods \u2014 105 methods. The bar is 30 methods; this is 75 over it, 3.50\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea69c229c1ad303f206aea557a910bed8a2c9ea09b71cc076b18416aef63061"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractSqlLikeQueryBuilder: TooManyMethods \u2014 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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0220523349326f4283468d92822fc6dfa82a76eb5d22802752331eb7a363a23d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultJdbcRepositoryOperations: ClassTooLong \u2014 1319 significant lines (blank, comment-only and punctuation-only lines excluded), 78 methods. The bar is 400 significant lines; this is 919 over it, 3.30\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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7206814513da1c2e2ec996801c54074904a523bf400540a97fe99c60f12e7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operations/DefaultJdbcRepositoryOperations.java: FileTooLong \u2014 1457 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: DefaultJdbcRepositoryOperations (164-2097). The bar is 500 significant lines; this is 957 over it, 2.91\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e08c5eb6a0143575bbeb07c134352d694a4f23824653a3c123163b3467ccbd4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultR2dbcRepositoryOperations: ClassTooLong \u2014 1119 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 400 significant lines; this is 719 over it, 2.80\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":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78449d85f3bc9b63640daf79c5b755a4f5e309bb821edef87d3081e046a99fb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MongoQueryBuilder: ClassTooLong \u2014 1065 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 665 over it, 2.66\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":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2212fccd9ab9cf72244e778edbabe0415708d7854ec91bcda86c0e4cafc33d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultJdbcRepositoryOperations: TooManyMethods \u2014 78 methods. The bar is 30 methods; this is 48 over it, 2.60\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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"3176dd09b577eb628b09089be232362c29384d3c604c4f3eabc4911d1d019513"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operations/DefaultR2dbcRepositoryOperations.java: FileTooLong \u2014 1259 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: DefaultR2dbcRepositoryOperations (166-1806). The bar is 500 significant lines; this is 759 over it, 2.52\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"821d8e9d2b9f3f6d6b1ffbbd7e27eca37d50526c1b0e28c1e5ee0e5e21089405"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HibernateJpaOperations: TooManyMethods \u2014 71 methods. The bar is 30 methods; this is 41 over it, 2.37\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":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"947103f137f020b53bd569724836f94c5ede636d8a73bdb514b8d5e3b817daa7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BasicTypesProjection: TooManyMethods \u2014 70 methods. The bar is 30 methods; this is 40 over it, 2.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":"data-tck/src/main/java/io/micronaut/data/tck/entities/BasicTypesProjection.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b133319688c01abe233ad6543379b65bd6474df0ce8a6307c9d2234eb742935"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builder/MongoQueryBuilder.java: FileTooLong \u2014 1153 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: MongoQueryBuilder (114-1723). The bar is 500 significant lines; this is 653 over it, 2.31\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24917845dd8111a4d0070de057a3e0cf938027fa57d29f4cd3d396118a869383"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractQueryInterceptor: TooManyMethods \u2014 65 methods. The bar is 30 methods; this is 35 over it, 2.17\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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/AbstractQueryInterceptor.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb39e66ae5442d5df13af57195a851843dbe254ccbd60e5af6b27709fc17352"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultMongoStoredQuery: ClassTooLong \u2014 839 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 439 over it, 2.10\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2831dd573745e926b657c55bd18f154f0ec1fdc90e5fe61bb558488c577295a5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultMongoRepositoryOperations: TooManyMethods \u2014 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4879852bdff0860d0e1ae182f9dbce996984eedd6e405dcf85b76b412e67ee0c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultHibernateReactiveRepositoryOperations: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\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":"data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d6c1765bb57c265f1ab59eee4d192f344910ec1859994461acc81777b21acd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RepositoryTypeElementVisitor: ClassTooLong \u2014 786 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 386 over it, 1.97\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b464a6f18c47d9c330cf4df0721a4797f78e18adb584d2f8b2f94bc2d85e35"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultReactiveMongoRepositoryOperations: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"53604ea28247eacc24769f7ee2168ad5d310cbab137a318948d5a66bac2f0657"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JQCriteriaBuilderUtils: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\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":"data-processor/src/main/java/io/micronaut/data/processor/jq/JQCriteriaBuilderUtils.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d32cde4ecbfbba04c9d833960c1bc44fdc5d67ec900769c5f589b5c6f60e37"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SqlResultEntityTypeMapper: ClassTooLong \u2014 758 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 358 over it, 1.90\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":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfc6991da6acfa904c91e08affef09adb2f0f70a49182675a651927ed8df8b2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JQCriteriaBuilderUtils: ClassTooLong \u2014 736 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 336 over it, 1.84\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":"data-processor/src/main/java/io/micronaut/data/processor/jq/JQCriteriaBuilderUtils.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f2207f2e5e1f447caa6cc214cfa73a1b59e200ea776f4a60182d49af87cb59"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operations/DefaultMongoStoredQuery.java: FileTooLong \u2014 901 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: DefaultMongoStoredQuery (89-1287). The bar is 500 significant lines; this is 401 over it, 1.80\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85c8273d2432d6a97d65970e1af4d3494da4c2d26922bb9cbc645e253148346"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultMongoRepositoryOperations: ClassTooLong \u2014 713 significant lines (blank, comment-only and punctuation-only lines excluded), 60 methods. The bar is 400 significant lines; this is 313 over it, 1.78\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c24ea4893ac1fca3621578cd5822f2b82ea4d4683fd7adebf71e10feb0893df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: visitors/RepositoryTypeElementVisitor.java: FileTooLong \u2014 890 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: RepositoryTypeElementVisitor (130-1277). The bar is 500 significant lines; this is 390 over it, 1.78\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1cc91a21d6c7c7c52d05b2b5cc666248f35bd6e18a683c3aeb28cfc82e103e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ArraysDto: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\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":"data-tck/src/main/java/io/micronaut/data/tck/entities/ArraysDto.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b94032fc6f302ef896f5372f79ebdd62e3896c7c29d9b67504d522c49003b5e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BookRepository: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\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":"data-tck/src/main/java/io/micronaut/data/tck/repositories/BookRepository.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2666a7e8eb802bab9e8055a0fad6c624cd9bdfd046c919bacf9c0e3067c26d6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SqlSchemaUtils: ClassTooLong \u2014 669 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 269 over it, 1.67\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d31d4dcdff196d653ba85a4875927da7de852dbc3f3c3bfaee8e96989d72dd2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultReactiveMongoRepositoryOperations: ClassTooLong \u2014 667 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 267 over it, 1.67\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8417bdb555055db62e4e220710653e7ea4850b0a942e6771e560f2c88a89f9cd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultReactiveCosmosRepositoryOperations: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\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":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a54ed02e15b24c653be47df115bf24bac23562ef9e526644133f653bb120b44"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultR2dbcRepositoryOperations: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\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":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc7890add73622853592bb113786d7effb66a7e0265467b72449f3b13a585d3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultReactiveCosmosRepositoryOperations: ClassTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 400 significant lines; this is 264 over it, 1.66\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":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54ff16013d5a3abc913501cf4729dead0450d9ac58ad27c696dbe9a0acee246"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractPersistentEntityFrom: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\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":"data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractPersistentEntityFrom.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da045a1b65af38110002ff9463d187c90507b7950fc611e712f02adbd5234ae"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractTransactionOperations: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\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":"data-tx/src/main/java/io/micronaut/transaction/support/AbstractTransactionOperations.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3093885424e08017b5cf8d916c79a505ddac56cc4508564d62b8544aac43cef8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SqlColumnMapping.getSqlType: MethodTooLong \u2014 getSqlType runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/schema/sql/SqlColumnMapping.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d8cb60d8e8fea1e08920b4ad6f5695670c1510a79b459ab0952005cc8282cf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SqlQueryBuilder.buildInsert: MethodTooLong \u2014 buildInsert runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bee58d4518fd91c17db69258109510812872fb9ee83d55ef7dcc0777a9d03b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operations/DefaultMongoRepositoryOperations.java: FileTooLong \u2014 809 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: DefaultMongoRepositoryOperations (121-1162). The bar is 500 significant lines; this is 309 over it, 1.62\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5a0ceb1dab80d505e90b431bd128b0bf67570434bf93a99af8c9f942c36de5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sql/SqlResultEntityTypeMapper.java: FileTooLong \u2014 808 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: SqlResultEntityTypeMapper (81-1311). The bar is 500 significant lines; this is 308 over it, 1.62\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e52ea4d9d6a76546037f0d3bbdd580fb5aa8219e64d0ebc60422af9ae7b26cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: jq/JQCriteriaBuilderUtils.java: FileTooLong \u2014 793 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: JQCriteriaBuilderUtils (82-1126). The bar is 500 significant lines; this is 293 over it, 1.59\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/jq/JQCriteriaBuilderUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6825e559396646199bf621af8e2652cd191e7d0eb6b2496c2b45ebdd4c8d56db"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AbstractCriteriaBuilder: ClassTooLong \u2014 619 significant lines (blank, comment-only and punctuation-only lines excluded), 204 methods. The bar is 400 significant lines; this is 219 over it, 1.55\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":"data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractCriteriaBuilder.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f415bf10093928bf7dcb2aba4f3822953a6e58c0518cf27919c4da71c701b1f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MongoPredicateVisitor: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a2b3fc66506bc819bae4b492f8e42ae2d7446670d9ed5d265b9a0c082e7d64"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operations/DefaultReactiveCosmosRepositoryOperations.java: FileTooLong \u2014 766 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: DefaultReactiveCosmosRepositoryOperations (127-1293). The bar is 500 significant lines; this is 266 over it, 1.53\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f914889e6818478b8cbe196d00cfc27ef91fb62165f6594e6a5d38dac3d521"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QueryCriteriaMethodMatch: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/QueryCriteriaMethodMatch.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5a789ddd110f16755f06c43ad86a252c647db9c92112c6b3bd387c06418d3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sql/SqlSchemaUtils.java: FileTooLong \u2014 746 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: SqlSchemaUtils (103-1091). The bar is 500 significant lines; this is 246 over it, 1.49\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c057c1dd7b65bfac6487d64d4b7719e1474519fd61da632865784b9298c6e1e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operations/DefaultReactiveMongoRepositoryOperations.java: FileTooLong \u2014 739 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: DefaultReactiveMongoRepositoryOperations (97-1092). The bar is 500 significant lines; this is 239 over it, 1.48\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d063c91628c93db0a7d862064ca5e9cb894b2da8fe3ec5da1ca6a985437a48"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SqlSelectionVisitor: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":3325}}}],"partialFingerprints":{"codehealthFindingId/v1":"e820d10303cb8e4d77f16f42a0c15c61ef49662524ccf2537dc7b6ca354d6f4a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RuntimePersistentEntity: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\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":"data-model/src/main/java/io/micronaut/data/model/runtime/RuntimePersistentEntity.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f03719176ed5dde2e8197053850abf055003550b4988f7570a6899f90c9db5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TxBookService: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\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":"data-tck/src/main/java/io/micronaut/data/tck/services/TxBookService.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e225ad72060f8f9fddf58cfa4c2967db1280979d4393d18da8c95aaac7e0c154"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AbstractSqlLikeQueryBuilder.buildUpdateStatement: MethodTooLong \u2014 buildUpdateStatement runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"5426cebfaf1d8f92504507001596d0f2b25c05eca7d9335bf838275809e43bc9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AbstractQueryInterceptor: ClassTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded), 65 methods. The bar is 400 significant lines; this is 182 over it, 1.46\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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/AbstractQueryInterceptor.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"515f03a56db920d4a569f89b8fce908f8e084663c8236c02a0c6deb8548dd6ab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QueryStatement.setDynamic: MethodTooLong \u2014 setDynamic runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/QueryStatement.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6312225526bf79fe5d2a0173599cd6a247e856f31771e4ce7fdb6d73fd2e0a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SqlResultEntityTypeMapper.readEntity: MethodTooLong \u2014 readEntity runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"5204b4b03b93a46c1e915432514b5f2a400c93a9bc05c2d02ab482d3649423d3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HibernateJpaOperations: ClassTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded), 71 methods. The bar is 400 significant lines; this is 178 over it, 1.45\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":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9095cd7ba0f269fe9f635b697220ecacd64d004cd84b7ebe7c836458422ecdcc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Where: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\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":"data-runtime/src/main/kotlin/io/micronaut/data/runtime/criteria/KCriteriaBuilderExt.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c4fcf29e6c86d0e9f0e305a1f0194985a610cb39d3c40d229d7d939ca15599"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RepositoryTypeElementVisitor.processMethodInfo: MethodTooLong \u2014 processMethodInfo runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"71991122428124613fe8a66fdec5b5c6cf61454844145c740ee272b067afc526"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AbstractSqlRepositoryOperations: ClassTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 400 significant lines; this is 170 over it, 1.43\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":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/AbstractSqlRepositoryOperations.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4df6584868c79b405d8afbee4cd395f327db2b76b1df90864936f78397f18f1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MongoFindOptions: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/options/MongoFindOptions.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ee3791a11e1e9e570d4ae2493da21ac98a8d53b338cfd2ea03de9d08bb8586"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractHibernateOperations: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\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":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/AbstractHibernateOperations.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e335baabe6cf524e9f3ff7146fd16f3fdb453bc59f797225d5e386b7c7a0af5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: impl/AbstractCriteriaBuilder.java: FileTooLong \u2014 683 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: AbstractCriteriaBuilder (90-1417). The bar is 500 significant lines; this is 183 over it, 1.37\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractCriteriaBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b9f4db6ca6f2b99425f92a20d6a26644f24a22c14e0645fa9e5fec28aa082e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operations/HibernateJpaOperations.java: FileTooLong \u2014 669 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: HibernateJpaOperations (117-992). The bar is 500 significant lines; this is 169 over it, 1.34\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f049858741f2622b54b3d05dac3247ef8eac4eec6331d241a78c315f4a8000"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractSpecificationInterceptor: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9ba02c4d61eaaa8efe371dde5c343a1749de0239b751e135919412c83f6f64"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: intercept/AbstractQueryInterceptor.java: FileTooLong \u2014 663 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: AbstractQueryInterceptor (109-1419). The bar is 500 significant lines; this is 163 over it, 1.33\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/AbstractQueryInterceptor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce44ac6bb51d5180e5f5d5c444447e0936100696e882969b90130c40efaf2595"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sql/AbstractSqlRepositoryOperations.java: FileTooLong \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: AbstractSqlRepositoryOperations (119-1152). The bar is 500 significant lines; this is 159 over it, 1.32\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/AbstractSqlRepositoryOperations.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b74c72e1c5d59371dc07a88c3dd428e2cbce17cafb179bb7c834df5a9fb999"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FindersUtils: ClassTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. The bar is 400 significant lines; this is 123 over it, 1.31\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"104120b6e860a52919b2a48c9240fc513d2453e1f7fabb953a7d6bcd9f342164"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractPersistentEntityQuery: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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":"data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractPersistentEntityQuery.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4af328cb5f098e6018d2394283cc33a0fdd4d1d1d1f08b1cc7ff7546d41481e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractSqlRepositoryOperations: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/AbstractSqlRepositoryOperations.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ad4461c2329b398845a27899616e816f90d37d6cfc81c4633577f46ac58a60"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MongoExecutorQueryMethodMatcher.match: MethodTooLong \u2014 match runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-processor/src/main/java/io/micronaut/data/document/processor/matchers/MongoExecutorQueryMethodMatcher.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20062166b985c62e90a56dddbe0058e3902fe522df774f59d738265b8507494"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DataConversionServiceFactory: ClassTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 110 over it, 1.28\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":"data-runtime/src/main/java/io/micronaut/data/runtime/convert/DataConversionServiceFactory.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc740d7ea77858e40164b10819c6f4ac8bededa7f4ac760fd6e06494e673defc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultSqlPreparedQuery: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/DefaultSqlPreparedQuery.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9146916166411c86f3c33f17859378a6050733b85db3e3e27582eaa377cf8d06"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: QueryCriteriaMethodMatch: ClassTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 106 over it, 1.27\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/QueryCriteriaMethodMatch.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79cdcd6b4347984d517f8100f2987e1ef4bf82e15cf3c5b072c3e66df5cf6ee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AbstractCriteriaMethodMatch: ClassTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 105 over it, 1.26\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/AbstractCriteriaMethodMatch.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0cd945fc0c58d82928e6003e407dc6175ef9f40950202a699164b407f79df4b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SourceParameterExpressionImpl.bind: MethodTooLong \u2014 bind runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourceParameterExpressionImpl.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efbca14d4131d407702f88b83323eef1e292fdf293c67c59fb1dc7be556cfb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: finders/FindersUtils.java: FileTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: FindersUtils (127-927). The bar is 500 significant lines; this is 128 over it, 1.26\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f17c03b15292aa7bc3f447d032be7e649717f58d41ffcfec6fb96eed13763d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: JQCriteriaBuilderUtils.getExpression: MethodTooLong \u2014 getExpression runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/jq/JQCriteriaBuilderUtils.java"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64846d0604f4340922dbbdf8cf5061d70d1f56f29a9c3e79384b0eeef14c675"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SqlQueryBuilder.buildJoin: MethodTooLong \u2014 buildJoin runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"f652eaf6cfa4eb17fd8f8eac9997ba2c25a0d4bdcc8577b3fc17000ab698258f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SqlPredicateVisitor: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":2473}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a16a2f7de5adb215af1425fe74299858c5a31e96eec468f55282feaf9b0f6ec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SqlSchemaUtils: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b9fae43eeddd6f6bd3223c45fb1e7800e4613e019975681b98f0f5b213b50d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultBindableParametersStoredQuery.bindParameter: MethodTooLong \u2014 bindParameter runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/query/DefaultBindableParametersStoredQuery.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f4ce223135c2eec29fdc5d5a53f0105ffe0a927537e3e04edadb21448522cb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TypeUtils: TooManyMethods \u2014 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/TypeUtils.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6662543855b9174a5e9eadc965c310029c3be9196c8400955991111795f4e3b3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MongoQueryBuilder: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\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":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7147857878db7f81a84dfe1c3893e82a26b08b56a400c700e2ccbb558f37a24f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: criteria/QueryCriteriaMethodMatch.java: FileTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: QueryCriteriaMethodMatch (101-914). The bar is 500 significant lines; this is 82 over it, 1.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/QueryCriteriaMethodMatch.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1e44e47b7848ee0392fe339b508b334282736ac03ff665593fbab4f843bf78"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AbstractSpecificationInterceptor: ClassTooLong \u2014 463 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 63 over it, 1.16\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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d53eacc8dcd2609bb557e0f67c8c754c97be1c1b62a1f750f96103813ac1326"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SqlResultEntityTypeMapper: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\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":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac82324d6a0ae448dee95afd61d2f41ef1e794a2c57f3c1a6e5bbd523be7fb68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: finders/AbstractCriteriaMethodMatch.java: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: AbstractCriteriaMethodMatch (86-851). The bar is 500 significant lines; this is 66 over it, 1.13\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/AbstractCriteriaMethodMatch.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"684b86b22efc67cdf1729929de5b435b1096960b58bb5779d209edde21c97643"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OracleChangeNotificationSubscription: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/notification/oracle/OracleChangeNotificationSubscription.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"58819fdec6cd8482be7e8100ee50ea4e1238bee011764df4b3278e8bf1031566"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RepositoryTypeElementVisitor: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7d512e7606b2066d75f141be962bcfe53e648272c7d80fd62eec2837b8ab97"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultMongoStoredQuery.replaceQueryParametersInBsonValue: MethodTooLong \u2014 replaceQueryParametersInBsonValue runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ec015591eb9bf8fcd48d8014e84ba67aa069a15eee42127f97cf0ecd5995e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convert/DataConversionServiceFactory.java: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: DataConversionServiceFactory (62-773). The bar is 500 significant lines; this is 47 over it, 1.09\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/convert/DataConversionServiceFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec5c7697810c25ba13eeb8081fece66c33202787c54490a6cf5f083d6ae3a15"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: criteria/AbstractSpecificationInterceptor.java: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: AbstractSpecificationInterceptor (100-857). The bar is 500 significant lines; this is 36 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8b74b40e27e527d51fca6cad72602733655c195ffec6414f571021674ca933"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MongoQueryBuilder.addLookups: MethodTooLong \u2014 addLookups runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c325070a479c407810e61434cbe70969f3ab81f902ab4495037761b2108779e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Joiner: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/util/Joiner.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb09faee22fc1845358d3313198984eb4d7a540b55ca044dec2ba7adbb85494"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractCriteriaMethodMatch: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/AbstractCriteriaMethodMatch.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c1c532e7fb8f2f82bd99117c83df113b9b16f8312cd37fd985284fd0990e65"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractReactorTransactionOperations: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tx/src/main/java/io/micronaut/transaction/support/AbstractReactorTransactionOperations.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"296db71f8bee6efeccb0bc47592779953935ef06502c073e49607ebcdf1efd13"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Restrictions: ClassTooLong \u2014 412 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 12 over it, 1.03\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/Restrictions.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8a603538a10778e8802d7116c497462cfb20d66fdeaaf744dd9d52b08a5b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 26 shared lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java:117-159 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java:367-415 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java:425-485 \u2014 These 3 members are variants of one another: a block of 26 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"5beabc4e5f706f8fbbfe5ae23f60a475c8b23c418079c5ff83e5e48d7481b803"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/query/internal/QueryResultStoredQuery.java:59-74 | data-runtime/src/main/java/io/micronaut/data/runtime/query/internal/QueryResultStoredQuery.java:116-134 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/query/internal/QueryResultStoredQuery.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf2e114cd765f50aa6dc70b8b1df711978370c837733791f4202e6e67906b67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertAllInterceptor.java:47-60 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultUpdateAllEntitiesInterceptor.java:46-60 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertAllInterceptor.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ce83deb540d7eefa24588888f01997ec58d6468d269cec69a137d7030e0f0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): data-model/src/main/java/io/micronaut/data/model/geo/GeometryCollection.java:42-52 | data-model/src/main/java/io/micronaut/data/model/geo/MultiLineString.java:42-52 | data-model/src/main/java/io/micronaut/data/model/geo/MultiPoint.java:42-52 | data-model/src/main/java/io/micronaut/data/model/geo/MultiPolygon.java:42-52 | data-model/src/main/java/io/micronaut/data/model/geo/Polygon.java:42-63 \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":"data-model/src/main/java/io/micronaut/data/model/geo/GeometryCollection.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ace22d4d35202577ad6b5acbd7b23499bc9dc0457fa84e09eb284b58a49f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertEntityInterceptor.java:43-52 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertOneInterceptor.java:45-56 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultSaveEntityInterceptor.java:43-52 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultSaveOneInterceptor.java:45-56 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultUpdateEntityInterceptor.java:43-52 \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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertEntityInterceptor.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d040c1d6511dcdff164c706aa09d2ad02b6ffaecfea5f90bb04322cd54284846"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): data-document-model/src/main/java/io/micronaut/data/document/serde/defaults/DefaultCustomConverterDeserializer.java:52-80 | data-document-model/src/main/java/io/micronaut/data/document/serde/defaults/DefaultCustomConverterSerializer.java:50-66 | data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataDecoderContext.java:172-200 | data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataEncoderContext.java:129-154 \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":"data-document-model/src/main/java/io/micronaut/data/document/serde/defaults/DefaultCustomConverterDeserializer.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3e0f946c0fdf39f8e01a7d2257c52c70bfdf0e3803aee6f6a1c38ec7b617ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexCallableResultReader.java:211-234 | data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexResultSetReader.java:207-230 | data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameCallableResultReader.java:228-251 | data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameResultSetReader.java:262-289 \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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexCallableResultReader.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc0babad19ed981ce67c7d88ca657b0801f5b91539ae7b3d6f7d7634f2027ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): data-jpa/src/main/java/io/micronaut/data/jpa/repository/intercept/DetachInterceptor.java:47-68 | data-jpa/src/main/java/io/micronaut/data/jpa/repository/intercept/PersistInterceptor.java:47-68 | data-jpa/src/main/java/io/micronaut/data/jpa/repository/intercept/RefreshInterceptor.java:47-68 | data-jpa/src/main/java/io/micronaut/data/jpa/repository/intercept/RemoveInterceptor.java:47-68 \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":"data-jpa/src/main/java/io/micronaut/data/jpa/repository/intercept/DetachInterceptor.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4c56f0e6ce36e8f51c1d368e38ccaf3a33baef91144a77129a9bb422fe90fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:470-551 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:570-602 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:482-563 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:583-615 \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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46126ae456b7d1a59f11dc2aa2b70d73116f54af734b269aafc0a1322c3b434"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:621-634 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:637-651 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:654-669 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:672-692 \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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"63164e93f3f1f3d0477a2e5341668f689e3ace7a5aedacb57279e2c3ca2a0aad"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/DeleteMethodMatcher.java:60-71 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/SaveMethodMatcher.java:88-99 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/UpdateMethodMatcher.java:76-87 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/UpsertMethodMatcher.java:67-78 \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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/DeleteMethodMatcher.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f878152797ed2655c79d8f6152cd4763fc862fc597741973ac53f68915aa958"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): data-tck/src/main/java/io/micronaut/data/tck/repositories/BookSpecifications.java:61-77 | data-tck/src/main/java/io/micronaut/data/tck/repositories/BookSpecifications.java:139-155 | data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java:279-296 | data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java:380-397 \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":"data-tck/src/main/java/io/micronaut/data/tck/repositories/BookSpecifications.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d275924c78e790c96a8865d4ed3ad755770a82f0e2891707f8f52534fec777a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java:243-259 | data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java:261-277 | data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java:344-360 | data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java:362-378 \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":"data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"164836f0c95bbadeb9085dd75dbf6ebc5bb178d32146782706f713ce9b5423b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/FindPageAsyncSpecificationInterceptor.java:59-102 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/reactive/FindPageReactiveSpecificationInterceptor.java:60-103 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/FindPageAsyncSpecificationInterceptor.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3d67afb6243fc7d56c3bd48a4a1d2fc815635f8a07fd78acd6e39130304786"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java:196-251 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/UpdateCriteriaMethodMatch.java:258-319 \u2014 These two members are one piece of code written twice and then edited apart: 56 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5531534eb07b1014e8bf86aad068e21896519b8a66ca69431004b32f7f23b92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:321-355 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:365-393 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b47d316569654605d3f04044816d9bf9a85c1287633f2640051122e216e6a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/JacksonNodeConverter.java:53-91 | data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/JacksonNodeConverter.java:149-187 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/JacksonNodeConverter.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6634935f2cbd2b344122aeb3e4b6589deef3658dc031ccc1fe69e6be5c8896"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): data-jpa-metamodel-processor/src/main/java/io/micronaut/data/processor/jpa/metamodel/JpaMetamodelProcessor.java:175-212 | data-processor/src/main/java/io/micronaut/data/processor/visitors/GenerateJakartaDataMetamodelVisitor.java:153-190 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jpa-metamodel-processor/src/main/java/io/micronaut/data/processor/jpa/metamodel/JpaMetamodelProcessor.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bad888c10ae46a12db48d0df3512eb58937263090745254dfa41583ae772baa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/JacksonNodeConverter.java:109-132 | data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/JacksonNodeConverter.java:209-230 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/JacksonNodeConverter.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b954ba03b6ed7c7e92b24000b1de1d3e35718a23d771f5bd407e4ac82b3a378"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:3658-3698 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:2830-2864 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":3658}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b13a7af8f307f847dd509bf73fc719b968115f0a4a9601103f823f63f84656d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:192-220 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:395-419 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12f7fd3069506a7fbac1523092eb4bd55f6d5b50e679119dc2450c3e90f8e89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/http/PageableRequestArgumentBinder.java:83-118 | data-spring/src/main/java/io/micronaut/data/spring/runtime/http/SpringPageableRequestArgumentBinder.java:79-113 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/http/PageableRequestArgumentBinder.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6e2a63cc2d2a17ab172f07714b3d68cb49d993e7eeae0c64de586ea3d3983a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:1063-1096 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:1012-1050 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad2507ac6fdeb5cbac08ffa426d0d129216abb4ae9874f9d4428b78bf5db418"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:962-983 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:987-1010 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c73dc5fba3290c94e103f2eec8976d095646f8275aff402e503039c89e9bd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:867-895 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:985-1010 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"1deffdb6732fd89aa7f55d9e632ff288556c17f88a663965ae16a6a5ca9d5e20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java:938-969 | data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java:971-997 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f30458038ec80995c79fa904bd0811b45f343774e7092f80453a660faf07694"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:945-969 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1209-1236 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf168f1838003b0d596179bf5cf6ccff03117a96843f3b9f069876db8eba3a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:1278-1317 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:1320-1350 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c24ea56c97e015d32810c33f2a913ae897334adbc26e3209f6ae4b2b1603588"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:775-812 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:897-933 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"423aa95eb454c32a7da484e1167ece790eef1f9f00b4b4a32a03069c25c4bc20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/QueryCriteriaMethodMatch.java:682-709 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/QueryCriteriaMethodMatch.java:714-740 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/QueryCriteriaMethodMatch.java"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52e49a7d44094b375f6cca3f4b01bc592ad7962875995dc62070f96a83ed62b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/OracleJdbcJsonColumnMapper.java:69-101 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/OracleR2dbcJsonColumnMapper.java:70-102 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/OracleJdbcJsonColumnMapper.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f8461aa3fec127212d4a76875199fbf4969f2a1e58e86c48c0302fd0b97206"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:1067-1094 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:1016-1048 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"99017089559d50042a5f6c077175779b9fe91e4f936e5fe9acd6e774519dcb43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java:148-174 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java:186-217 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5763bd0c40c6334bc65e92e35c638cae1df84725893b24751ae8ab7ab9254e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/FindPageAsyncSpecificationInterceptor.java:120-143 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/reactive/FindPageReactiveSpecificationInterceptor.java:125-148 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/FindPageAsyncSpecificationInterceptor.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7dab839dc62d53d1673c78e91f95c16e9417c038dc3bead3d0a7da100f6638"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:235-277 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:231-275 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fe4a10c112a83fa1c3b084e3c6f0ef83bbae0d3fce42621d0585a1c0850a42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java:118-137 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ColumnIndexReadableResultReader.java:69-90 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c036b872ca554779d21de729ae6b13cc669dc26c5933651af89702b136aaef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:871-893 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:989-1008 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c42585fe1bab1cd5b0567dee179f3c54cc99f3f64f936164ccb89f637ae837b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1094-1115 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1119-1140 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"321efed41f71c85fcdabf5c441bcd0ab0d9a935931aa30e19d1539699e4deb5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:3124-3157 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:3911-3937 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":3124}}}],"partialFingerprints":{"codehealthFindingId/v1":"422916fd90dace9ced338d3a33f3a9df8c323e1bf1c20b637f40b0469d48e8a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java:942-966 | data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java:975-995 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9ac1c88e708e46c4316982bb26855ccf41f94059fb234e60c7027293ccc98e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:1625-1648 | data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:1828-1848 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9681e2b5d5bb570cdeb4cfbf4c057afbd11b12742589d894bc85cae4145930a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:908-937 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:1038-1061 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"049d3ad5334cb3d095c48c5bcf9b88f13ecf8c05fb1cc1ea7f4cc7e830ca9ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/init/MongoCollectionsCreator.java:57-86 | data-mongodb/src/main/java/io/micronaut/data/mongodb/init/MongoReactiveCollectionsCreator.java:58-87 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/init/MongoCollectionsCreator.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb3c2a0a0062c543052ca916c2b4f96abf1737f5cf16c0b2fba56bafc21ebeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): data-jpa-metamodel-processor/src/main/java/io/micronaut/data/processor/jpa/metamodel/visitor/JpaMetamodelProcessorVisitor.java:99-124 | data-processor/src/main/java/io/micronaut/data/processor/visitors/GenerateJakartaDataMetamodelVisitor.java:110-131 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jpa-metamodel-processor/src/main/java/io/micronaut/data/processor/jpa/metamodel/visitor/JpaMetamodelProcessorVisitor.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"007143eefa01f0d6a9126f92aa97986a4e927e5742b54151071bf2c038bff646"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:404-421 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:425-442 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"3653f9e2dba3d7b0e5c1feb91c57081cf436d22123aa466ad721f0624cf0ff6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultDeleteAllInterceptor.java:46-66 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultDeleteAllReturningInterceptor.java:49-70 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultDeleteAllInterceptor.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c87445ecaa31e853e3061993069f52addaead7d732215608fef62a4e3ec31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): data-connection-jdbc/src/main/java/io/micronaut/data/connection/jdbc/oracle/OracleClientInfoCondition.java:42-67 | data-tx-jdbc/src/main/java/io/micronaut/transaction/jdbc/oracle/OracleTransactionRecoveryCondition.java:38-62 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-connection-jdbc/src/main/java/io/micronaut/data/connection/jdbc/oracle/OracleClientInfoCondition.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a157ffee19d9dd26fe511640e4ab582140d6bafb6804369140223aabba459a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultSaveAllInterceptor.java:67-87 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultSaveAllAsyncInterceptor.java:56-78 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultSaveAllInterceptor.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc68fc4a2570efc985f0c47acbe9ae294e91c39f463991d8de5b088f99799b5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:916-935 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:953-974 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7f61572c09d9f6676fad207ca4dcc280ad5372ae73251b154a65eb9659ca0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java:109-147 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java:149-184 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"47305841ebec86b920279bfd19c36313621251fbd3eb960e576cca6dab5c42f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): data-connection/src/main/java/io/micronaut/data/connection/async/AsyncUsingReactiveConnectionOperations.java:74-115 | data-tx/src/main/java/io/micronaut/transaction/async/AsyncUsingReactiveTransactionOperations.java:83-118 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-connection/src/main/java/io/micronaut/data/connection/async/AsyncUsingReactiveConnectionOperations.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"883fe7b7aa8b7d1ca4676f65e7e0183bf9b05049b60e623cb5cfa4cb7846b436"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:510-529 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:531-552 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e3e0ae1816b2feec34a2766714230dcc509600a2e3585b02cbb29980b5a6e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:874-903 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:978-1002 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e725a97a84584e5a0ba9e552e94fa1fe943ba60fab1f7bba665229e6b3498c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:266-282 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:285-304 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e40f12a6eaef444f6ce4c43a405f4353782125dc095a9378dc6ca6d41e0343e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:879-907 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1014-1034 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1167-1195 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4bde2dba213e73ba7c05aa59ae303ad20f2221a87f3a24ce267cb6aba52154"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:1917-1940 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:1948-1968 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bef18e21e69b92a33b36314152b88694eca57d4aae7ea6978a89a45669627f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:854-872 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:750-773 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c9e751aa5e4e1c3eecab59bf28f8a603c126685bd32c1e1fe759c96388c74a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): data-model/src/main/java/io/micronaut/data/model/PersistentPropertyPath.java:267-288 | data-model/src/main/java/io/micronaut/data/model/PersistentPropertyPath.java:295-316 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/PersistentPropertyPath.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cf058487fbc052407a62fdd2a33ef0925498fcbe5155e9559659af85690e6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultDeleteReturningManyReactiveInterceptor.java:43-59 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultDeleteReturningOneReactiveInterceptor.java:45-66 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultDeleteReturningManyReactiveInterceptor.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaece685674a997489ef8e3a34a02c5a805e19fe2444070f74512758e7e7e236"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java:401-418 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java:724-742 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f7fa5484d52e39fb1db49ed27a6226f9c2b97653d822bb6b3e9b039d62607d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java:635-647 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java:656-675 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05087ddc37fab3b3da78dc6034dd02b7b815a04861f487411ef5abfdfd219f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): data-tx/src/main/java/io/micronaut/transaction/support/AbstractReactorTransactionOperations.java:221-239 | data-tx/src/main/java/io/micronaut/transaction/support/AbstractReactorTransactionOperations.java:251-271 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tx/src/main/java/io/micronaut/transaction/support/AbstractReactorTransactionOperations.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"041b114ab494c153d46d4f4e7ce504f0e230ba68950ae950117bddedd85808fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:267-286 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:288-307 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:309-328 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:357-371 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c88a95b93f161fc241837af0b4cc54e17824c7475b8ade8b30b8121aa7d378"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:794-813 | data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:838-857 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1144-1163 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ee02e2d72a8745f55baf7fc7f132ffd47eea31310c925a31322138198f8b14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:2733-2764 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:2767-2791 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":2733}}}],"partialFingerprints":{"codehealthFindingId/v1":"907f8a6de756bf41c367eeb1030df169b07770448a5c5ffd57ed4856a0d1fc6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:371-386 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:433-449 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22183d86d032466a40b196d16cff3830813e772badefd5ac9298db184e53063"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java:823-851 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java:1195-1223 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"18918f695f41a60fce031d9ed5b7fb86348bcd18853cfd2dead4d758be1e0dd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/options/MongoOptionsUtils.java:55-76 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/options/MongoOptionsUtils.java:114-127 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/options/MongoOptionsUtils.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3854a6bac2eb6eedb0ca8e4d143f0630a033c71b58063db6415904537fd8bf93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java:446-460 | data-runtime/src/main/java/io/micronaut/data/runtime/query/internal/DefaultPreparedQuery.java:214-233 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e430845478590f277d296e812b4e636ec3ab90fffe5c40e002986181fb2849"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): data-model/src/main/java/io/micronaut/data/model/vector/SparseByteVector.java:59-80 | data-model/src/main/java/io/micronaut/data/model/vector/SparseDoubleVector.java:59-80 | data-model/src/main/java/io/micronaut/data/model/vector/SparseFloatVector.java:59-80 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/vector/SparseByteVector.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40baebc8189b3bcf17dccda2f4bb9bd6bfc8bea0dc6a452dfc4fc9d2381bd42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/AbstractSourcePersistentEntityFrom.java:67-88 | data-runtime/src/main/java/io/micronaut/data/runtime/criteria/AbstractRuntimePersistentEntityFrom.java:85-108 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/AbstractSourcePersistentEntityFrom.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4360f7e50bb6c275da60fe07dc21d78d4b17f5f3b3c214a80c1f90e6bda035f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/TypeUtils.java:436-455 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/TypeUtils.java:484-503 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/TypeUtils.java"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e152d30d31b88cabe58e7b1dac528fa072c2ea66bb737f3f2c00c88fc536aaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/Utils.java:65-79 | data-processor/src/main/java/io/micronaut/data/processor/visitors/Utils.java:86-102 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/Utils.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afc6d0fc1db2b9fb20c36e2e2a576642d40cec1cc594ff06a12ae8c53f54b91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:246-288 | data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:365-406 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"517fc4d9e28175feeb7e17683e5e41e90ccadb65093703d54abb5214f4c81447"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:858-870 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:754-771 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c413f598d6fa42c3da4d91d9601973080af4017880551962f42f819d58fb09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java:206-225 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/VectorParameterBinder.java:126-152 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"883661d0c7ae1e65a3c6ab8ae93fa61185b666cffe587cd0fe1d197c13d575a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data-connection/src/main/java/io/micronaut/data/connection/sync/SynchronousConnectionOperationsFromReactiveConnectionOperations.java:61-72 | data-tx/src/main/java/io/micronaut/transaction/sync/SynchronousTransactionOperationsFromReactiveTransactionOperations.java:74-86 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-connection/src/main/java/io/micronaut/data/connection/sync/SynchronousConnectionOperationsFromReactiveConnectionOperations.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e26af3f3abf5d2675222a4b491cdb7a1b32e33897f79191c7a45752304ea6d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java:305-327 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ColumnIndexR2dbcResultReader.java:46-68 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"2decbe4e968cdf9d3793618ceb9ef80e5ec21722e33624a63e7b23dd7739944f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:235-248 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:251-263 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2eaebeab92bf7f56a2f1e9f1b5fa384fb817d57005f009cc9c4b63262cbf8fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java:117-145 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java:158-182 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa6276dffce9317ac0ef3b458acb758ec70ba56615abed4f36d4897399c6502"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java:754-771 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java:808-825 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bda9d3befeb2079801f6c1d2a3371ee53106c7e28c2ed84617c7d60945d7df7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/AbstractCountOrEntityPublisherInterceptor.java:57-69 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/AbstractPublisherInterceptor.java:58-68 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/AbstractCountOrEntityPublisherInterceptor.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a13b37819c71fafde93db4ac0dcb5d0b5f910192734cd0744ef105e26d15fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:629-651 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:653-671 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:673-695 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dccd1656ad7aac447af6b433ac1533d6be041254632c5d28c98de5fd8d21104"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntityOperations.java:104-119 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntityOperations.java:122-136 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntityOperations.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"198e9164e3f2da82b906e30ecc85494aa7603b6dde9034d1a891321ac7b8f3d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntitiesOperations.java:123-138 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntitiesOperations.java:141-155 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntitiesOperations.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8573d4bb287f77d248344a579a3b5037607e16aec58c02d42efc4dec7d6ad047"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultDeleteAllAsyncInterceptor.java:48-58 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultDeleteAllReactiveInterceptor.java:45-55 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultDeleteAllAsyncInterceptor.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7376127668c00a105a4aa9c92dedd5b2c2f6e7917f0d037d1c5a7293636746ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): data-connection/src/main/java/io/micronaut/data/connection/support/AbstractReactorConnectionOperations.java:102-118 | data-connection/src/main/java/io/micronaut/data/connection/support/AbstractReactorConnectionOperations.java:137-153 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-connection/src/main/java/io/micronaut/data/connection/support/AbstractReactorConnectionOperations.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d8defa015986a05c080f1552e7926ced29347e26b0f2aaed021d6be84cc61e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/mappers/jpa/jx/ManyToOneMapper.java:43-63 | data-processor/src/main/java/io/micronaut/data/processor/mappers/jpa/jx/OneToOneMapper.java:43-59 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/mappers/jpa/jx/ManyToOneMapper.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ba1bafc93dcb6eb759ad01da2264f6d305221e0e33d6bdd57d60d375c34a50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): data-connection/src/main/kotlin/io/micronaut/data/connection/kotlin/DefaultCoroutineConnectionOperations.kt:48-69 | data-tx/src/main/kotlin/io/micronaut/transaction/kotlin/DefaultCoroutineTransactionOperations.kt:50-72 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-connection/src/main/kotlin/io/micronaut/data/connection/kotlin/DefaultCoroutineConnectionOperations.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"789aa089d1ae967b6e314ff6b809740700d205bf46c4e185e63fee23cc614896"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:164-175 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:138-149 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb59f6ce0c580ff0fb059349d88d7d1f27d6619dff5d9ed5841afa482d111731"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): data-tck/src/main/java/io/micronaut/data/tck/repositories/BookSpecifications.java:79-91 | data-tck/src/main/java/io/micronaut/data/tck/repositories/BookSpecifications.java:157-169 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/BookSpecifications.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3685bc3b61e784c92fc19379c6f5ac5bc60a7ec85397c98075d11e618c455a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/exceptions/jakarta/data/JdbcJakartaDataExceptionConverter.java:47-65 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/exceptions/jakarta/data/R2dbcJakartaDataExceptionConverter.java:47-65 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/exceptions/jakarta/data/JdbcJakartaDataExceptionConverter.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5b5f3ca440e97e660a18d48c63d110759ba400820b669e06bf54ec44c92991"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:695-709 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:712-726 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:307-322 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:325-340 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"643687f803b2547bf8cf76a00644774b81e4ecb1f95e1de7deb63b9107cd2b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java:227-239 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/BaseOperations.java:311-323 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"606fc9c0ede6e309f2d2f6432fcf6ebd115c23f2fa559ac9fe7f68fa0c88e62b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java:69-83 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/VectorParameterBinder.java:100-112 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee34c6cf16cbaef55970e9f0ad109fb2a00a93e3d17c07c49f9e58de5f02eff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/FindPageAsyncSpecificationInterceptor.java:104-114 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/reactive/FindPageReactiveSpecificationInterceptor.java:105-119 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/FindPageAsyncSpecificationInterceptor.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4467c3e0416b038bc70ad4bdf7bde63155ea6e3fb621f04227b4a361d82f7b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/CosmosSqlQueryBuilder.java:186-196 | data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/CosmosSqlQueryBuilder.java:199-209 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/CosmosSqlQueryBuilder.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d899c25d1618e46c2b14660d2f5d0698974bfe71485430624cf55c9b1b58cadf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): data-model/src/main/java/io/micronaut/data/model/PersistentProperty.java:157-176 | data-processor/src/main/java/io/micronaut/data/processor/model/SourcePersistentProperty.java:81-100 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/PersistentProperty.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"857135d101a18cb3ceb78cf714f0be414532b9edee034a85a32401602943f012"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): data-tck/src/main/java/io/micronaut/data/tck/repositories/BookSpecifications.java:93-114 | data-tck/src/main/java/io/micronaut/data/tck/repositories/BookSpecifications.java:171-192 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/BookSpecifications.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"21264fd88732898ae1b319380e0d1f856930603bde6bdc041ac651c6395f86a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:821-830 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:837-848 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:715-724 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:727-738 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8eecb088187de3ef169fdcab505578ba38fa4d91bb1998ac5e9a49c08bf076"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/event/listeners/VersionGeneratingEntityEventListener.java:102-117 | data-runtime/src/main/java/io/micronaut/data/runtime/event/listeners/VersionGeneratingEntityEventListener.java:119-131 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/event/listeners/VersionGeneratingEntityEventListener.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c13e486f7df7b8ea6a836667ca03d1f77ad12eb3c23f1c60362874f68daeb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/MethodNameParser.java:153-170 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/MethodNameParser.java:172-187 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/MethodNameParser.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"425db88064b6ea3c0a212139409b53e0e8e74a2a797eac435b2bd7fd4b781e6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java:339-351 | data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java:354-366 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"33022f398537e0ddd4174ac2b538f7f0fada0bf32ae0e5add22b6afe60a87de2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/connection/DefaultR2dbcReactorConnectionOperations.java:88-104 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/connection/DefaultR2dbcReactorConnectionOperations.java:107-122 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/connection/DefaultR2dbcReactorConnectionOperations.java:125-140 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/connection/DefaultR2dbcReactorConnectionOperations.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c377a4deeb38ac9b6d92c92191a22e9ad1d42134949ce913989dd226cee28e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/CallableStatementTupleMapper.java:53-67 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ReadableTupleMapper.java:53-63 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/CallableStatementTupleMapper.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"076a6bd3290afed30e41928f2ffa99f4d69d47fa4d7bdee9dbf88c900b0e9541"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/AbstractAsyncSpecificationInterceptor.java:107-118 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/reactive/AbstractReactiveSpecificationInterceptor.java:96-107 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/AbstractAsyncSpecificationInterceptor.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"699a5e098475d567fb003352250474f30083c164c720357eae205996dfb3c97c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): data-connection-hibernate/src/main/java/io/micronaut/data/hibernate/conf/AbstractHibernateCondition.java:41-58 | data-connection-jdbc/src/main/java/io/micronaut/data/connection/jdbc/support/RequestBoundaryCondition.java:38-54 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-connection-hibernate/src/main/java/io/micronaut/data/hibernate/conf/AbstractHibernateCondition.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c4d988904a6b406594c9e8ca4195d52a653136fe696f51fde18fc14983250a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java:515-529 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:1456-1471 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"d014b6bda7aa006c54b397ac93316da7d7382f82ffa4451a807414e489fd04b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/QueryCriteriaMethodMatch.java:211-224 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/QueryCriteriaMethodMatch.java:262-283 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/QueryCriteriaMethodMatch.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d2cfc315ffccf03c14f7fd44c84694ff95a1de38e5582ef399a8fa46ed933e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java:156-167 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/UpdateCriteriaMethodMatch.java:139-151 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e889908c04b35e7189fb8e71aa921ec516ea1e85b7398ecdbff43a241aefc006"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data-connection/src/main/java/io/micronaut/data/connection/support/AbstractReactorConnectionOperations.java:124-132 | data-connection/src/main/java/io/micronaut/data/connection/support/AbstractReactorConnectionOperations.java:159-167 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-connection/src/main/java/io/micronaut/data/connection/support/AbstractReactorConnectionOperations.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"767277386f9805261d85c9ad8b2a96210c134999bb54192e5e010effcbcbe1a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:145-171 | data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:465-498 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac93f2d6d1acce3e793d7cba502623265dcae174ed0bbf0e817453617564f93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/DefaultSqlPreparedQuery.java:99-107 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/DefaultSqlPreparedQuery.java:114-121 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/DefaultSqlPreparedQuery.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff820de6f24d46e4be0b2a5174de18aafd3539b4a8ef0e005b31ba0700a64b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java:1156-1168 | data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java:1185-1197 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8d901f5ffb76b67a9f9dd98bc60e91f24cdf15b62af78083b0f0b07b46de27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultEntityIdentityPresenceChecker.java:34-48 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultEntityIdentityPresenceChecker.java:67-81 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultEntityIdentityPresenceChecker.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"486d7842cdde1b96da6b504fbc84a42d6a33376d723287dd906491fd1134f758"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/MethodNameParser.java:84-100 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/MethodNameParser.java:102-114 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/MethodNameParser.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5344328b1c8de16b1134233253abe0cdfa90cb6647b27089141f33c5523a71d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/mappers/jpa/jx/ManyToManyMapper.java:42-51 | data-processor/src/main/java/io/micronaut/data/processor/mappers/jpa/jx/OneToManyMapper.java:42-50 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/mappers/jpa/jx/ManyToManyMapper.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a658ae58aca3997975dae9efc321c6b7d21b04d56cf5e5e6997ce4cfe7a37142"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java:296-309 | data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java:312-325 | data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java:385-396 | data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java:399-413 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"c243d0039bb483eb68a1b4d34719fb5243c78a3ed84c04204898009a5687b016"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/DeleteAllSpecificationInterceptor.java:45-55 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/UpdateAllSpecificationInterceptor.java:45-55 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/DeleteAllSpecificationInterceptor.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3715b7f527555418dba6bd453b54bb1f26540d75b99e474ef82456346c887a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): data-jpa-metamodel-processor/src/main/java/io/micronaut/data/processor/jpa/metamodel/JpaMetamodelProcessor.java:221-226 | data-processor/src/main/java/io/micronaut/data/processor/visitors/GenerateJakartaDataMetamodelVisitor.java:258-263 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jpa-metamodel-processor/src/main/java/io/micronaut/data/processor/jpa/metamodel/JpaMetamodelProcessor.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93518f9f5159b16859c601ddf7b01bd50ebbbff85c10b06b74161c92984394f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:555-564 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:567-576 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a77ba75b6a7363aa63125be6bc907b66586377d1a407e2a4f863f68531bd59f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java:86-98 | data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java:101-113 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88e780d651ee205c0656d728de16c3534c594b34f26e819bc752fbdc9499176"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultDeleteReturningOneInterceptor.java:49-57 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertReturningOneInterceptor.java:49-57 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultUpdateReturningOneInterceptor.java:49-57 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultDeleteReturningOneInterceptor.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03f246f1ce5a246db7374f3e2bc5c31ea0bfc01b68ae8fd53da5c798416ba43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): data-tx-hibernate/src/main/java/io/micronaut/transaction/hibernate/HibernateTransactionManager.java:251-271 | data-tx-hibernate/src/main/java/io/micronaut/transaction/hibernate/HibernateTransactionManager.java:274-288 | data-tx-jdbc/src/main/java/io/micronaut/transaction/jdbc/DataSourceTransactionManager.java:333-353 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tx-hibernate/src/main/java/io/micronaut/transaction/hibernate/HibernateTransactionManager.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bc69f8c0e979b97d6371be167854f0e1fabdf5956a9045b5a71fd9ba3eb084"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): data-model/src/main/java/io/micronaut/data/model/PersistentPropertyPath.java:247-260 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:2243-2257 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/PersistentPropertyPath.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d833c2e2502019ce50a45ff8a6feb5f552a03483882ff618ef247da4c187e47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/jq/JQCriteriaBuilderUtils.java:427-438 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/QueryCriteriaMethodMatch.java:465-478 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/jq/JQCriteriaBuilderUtils.java"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f247308a8c5bba11c3a2f05d9d72356634c12a267c3e87f5fadaf45041c713d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ColumnNameR2dbcResultReader.java:68-85 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ColumnNameR2dbcResultReader.java:89-106 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ColumnNameR2dbcResultReader.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4429107b0ce2cecdcd093a6770bb2b11d57119ed08f75b556e5c20e7cbb547"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:950-958 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1044-1052 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1056-1070 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3a7b93a07a3131e00234e180bd4e9d34243d97d3a82df83602cab46701e9d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:354-363 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:370-380 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f04ea02a0d0135825bdf79ee68b41847149cdc56ded42110a65422e1d4d5bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactorTransactionOperations.java:110-122 | data-mongodb/src/main/java/io/micronaut/data/mongodb/transaction/DefaultMongoReactorTransactionOperations.java:62-74 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactorTransactionOperations.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd4b3f85ed14bc77f082487d12e3be8f72f3fa78aad111e3d2040987649157b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): data-model/src/main/java/io/micronaut/data/model/PersistentEntityUtils.java:125-135 | data-model/src/main/java/io/micronaut/data/model/PersistentEntityUtils.java:145-157 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/PersistentEntityUtils.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce75f8a2082dca981828033dddc77d1ef16b05af39922cb23a257423a835f86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactorTransactionOperations.java:75-85 | data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactorTransactionOperations.java:88-98 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactorTransactionOperations.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c5ed27582b32a65515c31f56671a61837036cf5da740be37ffb5aa9b8b9b0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:358-368 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:421-431 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"b827111f0188357f60f772e967b39a0c37311c89336880a7c0a6254f9f921523"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:590-603 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:716-729 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d902d37df52f19df2b553a0da6fbfcab5f7965feee8b92c274a36403c39e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): data-tx-hibernate/src/main/java/io/micronaut/transaction/hibernate/HibernateTransactionManager.java:193-212 | data-tx-hibernate/src/main/java/io/micronaut/transaction/hibernate/HibernateTransactionManager.java:215-233 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tx-hibernate/src/main/java/io/micronaut/transaction/hibernate/HibernateTransactionManager.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1e28d0ae77734c7d26d5844dac5d0f87729d9ef4621b211a3fc44a90a0b63f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:816-824 | data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:827-835 | data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:861-875 | data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:911-919 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31f7950397275e0a29c7f14e95065c20d37b56f3dcefab75a9c777acf9069d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:459-468 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:471-480 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed704a762e7a1a894ba17bd74ffc872db035c5c3b7c2dc79452a6c40fa7f50d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/convert/vendor/OracleTypeConvertersFactory.java:139-150 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/convert/vendor/OracleTypeConvertersFactory.java:153-164 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/convert/vendor/OracleTypeConvertersFactory.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66a45ff0edf9388c97ef565448722798ebc159c7bb3b7500105811e39346489"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java:293-308 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java:314-326 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61b7a3b1a04b123dff45956cee49b7ce7773bf4fe0bf871c31db030040c5dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): data-tx/src/main/java/io/micronaut/transaction/support/SyncCompleteAndErrorPublisher.java:91-119 | data-tx/src/main/java/io/micronaut/transaction/support/SyncCompleteAndErrorPublisher.java:122-145 | data-tx/src/main/java/io/micronaut/transaction/support/SyncCompleteAndErrorPublisher.java:148-170 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tx/src/main/java/io/micronaut/transaction/support/SyncCompleteAndErrorPublisher.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"446298e8dd22569306ab42aaeba35f3b636a4071813092d27e33fbca659111bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:1193-1202 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:1204-1213 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"df994b33f3e595c4f1a25a75b05266318ad2c31ee626f56f39182c2d95dee3f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/CosmosSqlQueryBuilder.java:164-172 | data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/CosmosSqlQueryBuilder.java:175-183 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/CosmosSqlQueryBuilder.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f4b9be20ec3407ddc121ebd4c1d086dbf1a3a9738fb2a490e4340ecf0858ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/event/EventIntegrator.java:93-103 | data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/event/EventIntegrator.java:134-144 | data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/event/EventIntegrator.java:170-180 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/event/EventIntegrator.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef6b2e3dfe6c78d850193249dce0970d01c779ab08b14608d891d6fe1de3649"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): data-document-tck/src/main/java/io/micronaut/data/document/tck/repositories/BookRepository.java:83-97 | data-tck/src/main/java/io/micronaut/data/tck/repositories/BookRepository.java:155-165 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-tck/src/main/java/io/micronaut/data/document/tck/repositories/BookRepository.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83a3cd5f59371abe79c610f6555dbc98dc7a98de4262823c4ed2f894b017ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/convert/vendor/AbstractJdbcVectorConverter.java:49-55 | data-jdbc/src/main/java/io/micronaut/data/jdbc/convert/vendor/AbstractJdbcVectorConverter.java:65-71 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/convert/vendor/AbstractR2dbcVectorConverter.java:48-55 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/convert/vendor/AbstractR2dbcVectorConverter.java:65-71 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/convert/vendor/AbstractJdbcVectorConverter.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5152e767e6b3cd8b55f4acb17aab28f85139079aad8ce7827e488b014883cae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:1485-1494 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1310-1318 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b0ed2114ebcc2621aeecb3281f34b22a2b4aba3601bb6c7bf961a0f2ac0d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataDecoderContext.java:230-239 | data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataEncoderContext.java:167-176 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataDecoderContext.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f2f17de89eb2f2a5938102509b5fb309f5af457e569886f7d5d1d66fbaec78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/AbstractQueryInterceptor.java:682-691 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/AbstractAsyncInterceptor.java:76-85 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/AbstractReactiveInterceptor.java:70-79 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/AbstractQueryInterceptor.java"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9adff8b3997de1f6cdb8af404af6dcb1156b661a652dfe8d91fab1f38984792"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): jakarta-data-tck/support/src/main/java/io/micronaut/data/jakarta/tck/TckObserver.java:43-51 | jakarta-data-tck/support/src/main/java/io/micronaut/data/jakarta/tck/TckObserver.java:53-61 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jakarta-data-tck/support/src/main/java/io/micronaut/data/jakarta/tck/TckObserver.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb477c373f2655102eaf2bd2f73b8fed77f21cbe47eecd7f891ed2f1b3aefdd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): data-connection/src/main/java/io/micronaut/data/connection/DefaultConnectionOperationsRegistry.java:64-77 | data-connection/src/main/java/io/micronaut/data/connection/DefaultConnectionOperationsRegistry.java:81-94 | data-tx/src/main/java/io/micronaut/transaction/support/DefaultTransactionOperationsRegistry.java:63-76 | data-tx/src/main/java/io/micronaut/transaction/support/DefaultTransactionOperationsRegistry.java:79-92 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-connection/src/main/java/io/micronaut/data/connection/DefaultConnectionOperationsRegistry.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b79aa8e9285120380a71543cf588b66ae9ac6638215142a14620a4514def3fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:554-561 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:563-570 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:572-579 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:581-588 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23a6042bb12ba9f04f30ea6d3c555cc555e4aa3893cf716945fafae7ad705cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntitiesOperations.java:96-107 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntityOperations.java:90-101 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntitiesOperations.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2980085470a4d0c50d52353089fe7e3ed80e65c97a6d21e585dcc41d5e04ab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data-model/src/main/java/io/micronaut/data/model/vector/VectorArrays.java:86-97 | data-model/src/main/java/io/micronaut/data/model/vector/VectorArrays.java:99-110 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/vector/VectorArrays.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14c3468016158c9e30766d2e85a8f777b85474eb93fdb54607fe794f65113d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataOrderByListMapper.java:43-53 | data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataSelectListMapper.java:43-53 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataOrderByListMapper.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1043d0febc0649035d3b96e3f4356de5d6c14821a45f9e82321fd38d9db6640"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultInsertReturningOneReactiveInterceptor.java:43-51 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultUpdateReturningOneReactiveInterceptor.java:43-51 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultInsertReturningOneReactiveInterceptor.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9bcfb2a337e9b41497e3ab6d931aacdb0eeb26e3e56ad8707acf4ae6413e16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:305-316 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:327-340 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b01a75228a0d9c53a25448e1e7087af941da4edcd475fea0dab552bbc8a8ba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java:504-512 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilderUtils.java:205-214 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9b7f0e2adc7b165a64873abe0d8046615731b5a6c3737f28dd28645e80968f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataSerdeRegistry.java:97-112 | data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataSerdeRegistry.java:115-130 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataSerdeRegistry.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6462ec1a6cc38d7a0fad0c52f18e1a121997a90d235c7d261b6e52187303ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java:451-462 | data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java:466-479 | data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java:524-536 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13a2ae03a9348db281d8a6d3d635d0ba0a5eb4ab78f9576276df23f0db12b08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java:879-896 | data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java:899-915 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b050a23a5fe8a4d4d6a4ff48095792c73b234823ec2f26d96d05ed6c672a38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlUpsertQueryBuilder.java:387-398 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlUpsertQueryBuilder.java:441-450 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlUpsertQueryBuilder.java"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf49a77ae6ed65721ce1cb16df210d131d58136b1bfa12fc088aee21b95feac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:998-1008 | data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:1010-1019 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c3c80e44c29a867b1c3f17569786475e5cf8e3928c7492c0d93dc9232abc57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntityCriteriaDelete.java:54-62 | data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntityCriteriaInsert.java:48-56 | data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntityCriteriaUpdate.java:61-69 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntityCriteriaDelete.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7718365ce178a4fa5293c8f60d7fe8d94a33fc257c6f7e6503b9cb8d53029a51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/TypeUtils.java:342-353 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/AbstractQueryInterceptor.java:1090-1100 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/TypeUtils.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c828dd7de0150f49ce0c0afb8941e3b18e7aaac54279a081cd16e15891404b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data-document-processor/src/main/java/io/micronaut/data/document/processor/mapper/MappedEmbeddedIdMapper.java:45-53 | data-document-processor/src/main/java/io/micronaut/data/document/processor/mapper/MappedIdMapper.java:44-52 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-processor/src/main/java/io/micronaut/data/document/processor/mapper/MappedEmbeddedIdMapper.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a8eaee6c610440ca3530d072774a7ba09b383bcb7a92d451c26849e4995b5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java:391-399 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlUpsertQueryBuilder.java:315-330 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3fc99d0f3b1d7d680a328d23e0f7a8f59cf4e76e014540db17a8b89f2b3c45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): data-spring/src/main/java/io/micronaut/data/spring/runtime/SortDelegate.java:59-68 | data-spring/src/main/java/io/micronaut/data/spring/runtime/SortDelegate.java:79-88 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-spring/src/main/java/io/micronaut/data/spring/runtime/SortDelegate.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"286bc889544be61d4a75029f666f00f5499feeee4ceb8a3e64f16f64c62d3fa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): data-connection/src/main/java/io/micronaut/data/connection/support/JdbcConnectionUtils.java:157-167 | data-connection/src/main/java/io/micronaut/data/connection/support/JdbcConnectionUtils.java:169-179 | data-connection/src/main/java/io/micronaut/data/connection/support/JdbcConnectionUtils.java:181-191 | data-connection/src/main/java/io/micronaut/data/connection/support/JdbcConnectionUtils.java:193-203 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-connection/src/main/java/io/micronaut/data/connection/support/JdbcConnectionUtils.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31bc5589732537f6a832dd953e52cbe4468558fa4fbb2853154fd492dbc97e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:330-337 | data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:343-352 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9baf735b7fc3dd833063eb0a32f77d0ea62ec95686a5b8b4bb34a7ccc5476f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java:788-799 | data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java:498-509 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecb91c49d0ffe4fa2d395ad0e07160fc2f0258813ba438eda36b89b59a260e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): data-model/src/main/java/io/micronaut/data/model/query/JoinPath.java:143-152 | data-model/src/main/java/io/micronaut/data/model/query/JoinPath.java:161-170 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/JoinPath.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"257fdba463fde0b8091cc6b0849fa92b0391b21932a4e116f746fe7778dfba5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:786-798 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:800-812 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdaadc18128e295c409be8fd57b90bd91dba5b317ad5c9ff2630aeb43fba235"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java:167-177 | data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java:179-187 | data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java:189-196 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab71daf6ac1c252c986c985a63c8250d4849931a541fa22e02947293fc52885e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/query/internal/QueryResultStoredQuery.java:348-359 | data-runtime/src/main/java/io/micronaut/data/runtime/query/internal/StoredQueryParameter.java:146-157 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/query/internal/QueryResultStoredQuery.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c43075ebf8ee541c4117549bbfb97619e828d1beb9df86a77d17b9222adbef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java:549-557 | data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java:594-603 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf61f56b003ea0c0ea9d352b5cbcf2f9566600df3e2889aca5489cf7567095b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/ReactiveHibernateHelper.java:120-125 | data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/ReactiveHibernateHelper.java:137-141 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/ReactiveHibernateHelper.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a568834bff83223f33e5ae49ef86abec566ddef6f6b0e525909b3330cf3a779a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:295-300 | data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:319-324 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:319-324 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:343-348 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bc6c409d74f4e97eca6ab23c62ba9cac7750092336c9f9d9929d04ff0d4eef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): data-model/src/main/java/io/micronaut/data/model/CursoredPage.java:129-135 | data-model/src/main/java/io/micronaut/data/model/Page.java:96-102 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/CursoredPage.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8642fc9b4589fdc33705f31990b1ae131b23d7c8dbb603c4c063296d4a3086"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractPersistentEntityFrom.java:159-168 | data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractPersistentEntityFrom.java:346-352 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractPersistentEntityFrom.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"deef677df576f3f7c87cb514e735423f4bbec312d4036947d002c78f5648b473"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/support/convert/convert/jpa/JakartaAttributeConverterProvider.java:44-50 | data-runtime/src/main/java/io/micronaut/data/runtime/support/convert/convert/jpa/JxAttributeConverterProvider.java:44-50 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/support/convert/convert/jpa/JakartaAttributeConverterProvider.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30b7a5e3a9572627168e4567c19c2452a70e3e2924fd1339c0cc2c654e76446"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java:227-235 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/VectorParameterBinder.java:154-162 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8dad181d10c9b07754b535ea4558d093de239d6f6f6980838386b8b42f39781"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/AbstractAsyncInterceptor.java:66-74 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/AbstractAsyncInterceptor2.java:66-72 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/AbstractAsyncSpecificationInterceptor.java:127-133 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/AbstractAsyncInterceptor.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a6688c9938507c73c467ab6d0f76298b146c43929ee1d1a7413ed610c12865"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractSyncEntitiesOperations.java:129-144 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractSyncEntitiesOperations.java:147-156 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractSyncEntitiesOperations.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e622f3c4bbcffe4701dfd0042ee03bca1fea75e08a4b6d6e38092be83afff7d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): data-model/src/main/java/io/micronaut/data/model/runtime/convert/GeometryJsonConverter.java:67-80 | data-model/src/main/java/io/micronaut/data/model/runtime/convert/GeometryJsonConverter.java:84-98 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/runtime/convert/GeometryJsonConverter.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce80696488e99dcb56a4e99cdf5b4aff08bf1edb1f04398a62ad2a8a47f56e57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/DefaultVectorAttributeConverter.java:95-103 | data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/DefaultVectorAttributeConverter.java:105-113 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/DefaultVectorAttributeConverter.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d2ab7a413632083e77538f117ea4e8783a1290c706c29db3776d8132a9362f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java:1423-1429 | data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java:1432-1438 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c54deaef3d0fec0576bf77b029488dad2b71a5590a62f9fcba5b342aee62f23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/Shipment.java:74-80 | data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/ShipmentId.java:73-79 | data-tck/src/main/java/io/micronaut/data/tck/entities/Shipment.java:70-76 | data-tck/src/main/java/io/micronaut/data/tck/entities/ShipmentId.java:68-74 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/Shipment.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3118b099e719672e82ec8c11d6e9d3d5655fa3eee367723c295f216c8a7309e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourcePersistentPropertyPathImpl.java:62-69 | data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentPropertyPathImpl.java:61-68 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourcePersistentPropertyPathImpl.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"66939a34634b41abc7511627fe4c75ca718e140015de39aa913034163be3e70b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:457-470 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:620-627 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cc90d17f2071e568d254dde623331dee0a9e634a869b767a2914b8b2e94004"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 10\u002B corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java:103-113 | data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java:116-125 | data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java:128-137 | data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java:140-150 | data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java:153-162 | data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java:165-175 | data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java:179-188 | data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java:191-200 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8353d91ef499a330d1142af9cc3e4d38db40d2132d0b4b7c2c15d131d9da0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/event/listeners/VersionGeneratingEntityEventListener.java:69-77 | data-runtime/src/main/java/io/micronaut/data/runtime/event/listeners/VersionGeneratingEntityEventListener.java:80-89 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/event/listeners/VersionGeneratingEntityEventListener.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02d512ba6aaae81ceb8b86bba65ff9d8aa5184d4fa90b9f5b4682fccb4bdf9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractPreparedQueryCriteriaRepositoryOperations.java:181-187 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractPreparedQueryCriteriaRepositoryOperations.java:189-195 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractPreparedQueryCriteriaRepositoryOperations.java:197-203 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractPreparedQueryCriteriaRepositoryOperations.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7060b7580c25df4fa004bb9d7d3cb45499b67f67fdc550c2e7ea31108a24e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): data-model/src/main/java/io/micronaut/data/model/Association.java:70-80 | data-model/src/main/java/io/micronaut/data/model/Association.java:87-97 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/Association.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"989494bd14aede80ea7687c33d6a327a4ecfcad4e6eb54064f158111a4743212"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:2479-2489 | data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java:1145-1153 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":2479}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b528a8f2ba48ba4731ad5b38a7d9d706c94bd5c6765088c319e8bb67fab60f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/JacksonNodeConverter.java:100-107 | data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/JacksonNodeConverter.java:200-207 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/JacksonNodeConverter.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec31e53c48faae331e677588c7ced5db393d63db73f83ffe7731b8a4840235ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:254-264 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:204-216 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bae188edb7326974f907679ee7f85d682883a7be7ff56aaef96db85cfbff43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntityOperations.java:71-78 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractSyncEntityOperations.java:66-74 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntityOperations.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f635d02aec688f665fdf6e51556924c3c784590506d6b56d375fe402f2716f77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java:215-220 | data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java:316-321 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"943994e8e2118eebe313fed66c48a909c103b6c6a1b357cbf9804ecbbd4d59b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): data-model/src/main/java/io/micronaut/data/model/CursoredPage.java:108-112 | data-model/src/main/java/io/micronaut/data/model/CursoredPage.java:115-119 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/CursoredPage.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdcbfd7f9e47c04b077f0cfb781a3e101d80e3f8a68b2e94e00e4420706f044"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java:739-748 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java:1176-1182 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c34b3a68d544e02f5a96ebb370405c0bfc3755ef1af4e02edf8685101ce0118"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/convert/JakartaDataRestrictionsConverter.java:105-114 | data-runtime/src/main/java/io/micronaut/data/runtime/convert/JakartaDataRestrictionsConverter.java:274-281 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/convert/JakartaDataRestrictionsConverter.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"48defa0c3f2f68de0d26f55c6994ba0088006cd7a949d3ca83d8ea45af86870b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data-tck/src/main/java/io/micronaut/data/tck/services/TxBookService.java:176-187 | data-tck/src/main/java/io/micronaut/data/tck/services/TxBookService.java:257-269 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/services/TxBookService.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c7f21a8aedb3c4defc32ecc9a55e8640abe5407200882ff48827e476df5e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/exceptions/R2dbcExceptionUtils.java:43-52 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/transaction/OracleTransactionPriorityReactiveTransactionExecutionListener.java:147-159 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/exceptions/R2dbcExceptionUtils.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"98804c836d837ab8ef0e4f03af543ef455c1be3f8beb400f15b4b080d970e4ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/JdbcQueryStatement.java:252-263 | data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/JdbcQueryStatement.java:384-397 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/JdbcQueryStatement.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c43e0d330b35b84b7bcfe399a17fdc2ee13adf3b8babec14c6c26138690a679"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataCodecRegistry.java:111-121 | data-runtime/src/main/java/io/micronaut/data/runtime/support/DefaultRuntimeEntityRegistry.java:190-200 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataCodecRegistry.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"76574c3ac3f70e85e3cec000b6e2c5dc2fded989ff09cac87c8659bdbdadbbe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): data-jpa-metamodel-processor/src/main/java/io/micronaut/data/processor/jpa/metamodel/JpaMetamodelProcessor.java:281-286 | data-processor/src/main/java/io/micronaut/data/processor/visitors/GenerateJakartaDataMetamodelVisitor.java:251-256 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jpa-metamodel-processor/src/main/java/io/micronaut/data/processor/jpa/metamodel/JpaMetamodelProcessor.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"955aabd38714e2b2dc0fbde242af8bc633771411a42836020933f7313b4d9d85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/DeleteMethodMatcher.java:48-56 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/SaveMethodMatcher.java:77-84 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/UpdateMethodMatcher.java:65-72 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/DeleteMethodMatcher.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8dd9ff55613c9e9741847ecd8c06b7721c7f0cabba4b9f4dd534dffa3f110e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data-model/src/main/java/io/micronaut/data/model/runtime/RuntimePersistentEntity.java:328-336 | data-processor/src/main/java/io/micronaut/data/processor/model/SourcePersistentEntity.java:186-194 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/runtime/RuntimePersistentEntity.java"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"d021f9dc787ccc7a1d2fed653d2b45f8ab7fe920320d8e063ad934c2d22bf47c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data-connection/src/main/kotlin/io/micronaut/data/connection/kotlin/DefaultCoroutineConnectionOperations.kt:71-79 | data-tx/src/main/kotlin/io/micronaut/transaction/kotlin/DefaultCoroutineTransactionOperations.kt:74-83 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-connection/src/main/kotlin/io/micronaut/data/connection/kotlin/DefaultCoroutineConnectionOperations.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4459a901f01bc403b4eaa66a95611837e0d12b9438782e87d21ecc2cc7e69be7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java:632-641 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:612-619 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe21b091565d6e855b51b1ca9c5f01f76a829145330ca1aa10a47ed952ed162"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java:197-203 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ColumnIndexReadableResultReader.java:131-137 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec730e4ee68db41af3e18d66f64cedc9fb8d12ed4297a0aa70bee0afc792cc99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1536-1546 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntitiesOperations.java:110-120 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"38929d009264381a0c735b795d857c8f637fbdff2f3770c6c54ebf100a50f8ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntitySubquery.java:62-71 | data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntityCriteriaQuery.java:64-72 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntitySubquery.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb528ebf59497373cc8c3bfc55adef1302a76974b3965c41b0c4846025b2fd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data-tx-hibernate/src/main/java/io/micronaut/transaction/hibernate/HibernateTransactionManager.java:240-248 | data-tx-jdbc/src/main/java/io/micronaut/transaction/jdbc/DataSourceTransactionManager.java:322-330 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tx-hibernate/src/main/java/io/micronaut/transaction/hibernate/HibernateTransactionManager.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9262d0297d2486edd05f8ecb9e641446f25fb1380bc5cebfaad4482068c429"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:313-319 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:357-363 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"857498bcb7e80803f8547eb869041f13aa2f4b12e404de08d70456d41c805838"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 8\u002B corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataDeleteMapper.java:44-51 | data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataInsertMapper.java:44-51 | data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataRepositoryMapper.java:44-51 | data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataSaveMapper.java:44-51 | data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataUpdateMapper.java:44-51 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataDeleteMapper.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"32739163dfe2868c287fcca82a317f1eefb1f2bf3f54522369103620d9f14271"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java:672-677 | data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java:331-336 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb020f166531ea65ec5eaac91fd63c4a6f332b5306dbe71346a2ab602657e0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/CosmosBinder.java:135-143 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java:437-445 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/CosmosBinder.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7d51499dd6dbf215cc5368a0da113b7554a9b595128c82a265eed5c2c75343"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): data-model/src/main/java/io/micronaut/data/model/geo/MultiPoint.java:72-77 | data-model/src/main/java/io/micronaut/data/model/geo/MultiPolygon.java:72-77 | data-model/src/main/java/io/micronaut/data/model/geo/Polygon.java:83-88 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/geo/MultiPoint.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a3ccd1d3a2afdd7b4509d85e4427c22d8a4959ffa623237ac93b284c8ffe5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): data-model/src/main/java/io/micronaut/data/model/runtime/convert/GeometryWktConverter.java:189-195 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java:313-319 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/runtime/convert/GeometryWktConverter.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28bd2513fb349b237b672f9ec8dec09e556bc8e3f8bac5951110dcc697baf68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/mappers/spring/SpringRepositoryMapper.java:41-48 | data-processor/src/main/java/io/micronaut/data/processor/mappers/spring/SpringTransactionalEventListenerMapper.java:40-47 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/mappers/spring/SpringRepositoryMapper.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c07774b9940016f65cfa2ec9b2b38afff7ef8f753ca666c3a70a8f26405edd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:904-912 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1361-1369 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntityOperations.java:139-147 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"4664827aba4e7fa63bbdc59d70dba2fc7bd58ad83d6b0c6c688628254d7ef5c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java:187-193 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ColumnIndexReadableResultReader.java:121-127 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"303fc8f0c3e9b4aa20250fd40b5cd08be0d633324bb1fb477d58acaca7b21ed5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java:404-408 | data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java:274-278 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a96762d76f6362e4a69358c9813e2677204f52c529b60e4a6ffd3f8d641824f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/notification/DefaultChangeEvent.java:56-59 | data-jdbc/src/main/java/io/micronaut/data/jdbc/notification/DeferredChangeEvent.java:84-87 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/notification/DefaultChangeEvent.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e6a16fcf075b937611aa6ef305ba6ae6471c7f93d73b0508f77a14e5532cc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): data-model/src/main/java/io/micronaut/data/model/CursoredPage.java:82-85 | data-model/src/main/java/io/micronaut/data/model/Page.java:76-79 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/CursoredPage.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f87f72348dc8b6910edbe55321d622259491f5c1f439f0c059f5dd11718ebeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): data-model/src/main/java/io/micronaut/data/model/PersistentPropertyPath.java:203-212 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:1570-1576 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/PersistentPropertyPath.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d632f84d4d9bdac566dbc461ee586dc8828d42e1a57395ea394015d7a5fe815"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultDeleteAllInterceptor.java:68-74 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultDeleteAllReturningInterceptor.java:72-78 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultDeleteAllInterceptor.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1c8d6c388d6496b99463aa6346283ea27d28660ac8e5f7df895207a9002d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/ReactiveAsyncCriteriaRepositoryOperations.java:94-99 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/AsyncFromReactiveAsyncRepositoryOperation.java:162-168 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/ReactiveAsyncCriteriaRepositoryOperations.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa95dfc08a39a6d18e54ad6d030ad1a6b2e9e7c55498a9590a5973e5be8c269d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): data-document-tck/src/main/java/io/micronaut/data/document/tck/services/TxEventsService.java:49-54 | data-tck/src/main/java/io/micronaut/data/tck/services/TxEventsService.java:88-94 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-tck/src/main/java/io/micronaut/data/document/tck/services/TxEventsService.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"63165eaed3edf81434f587de6da1c00c414dbd5e1afeac91d56a48838f12a8ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): data-document-tck/src/main/java/io/micronaut/data/document/tck/services/TxEventsService.java:57-62 | data-tck/src/main/java/io/micronaut/data/tck/services/TxEventsService.java:106-112 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-tck/src/main/java/io/micronaut/data/document/tck/services/TxEventsService.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fc93571137743a88c1eaec2374c8d76e157fd6d98926182c8c989c02309701"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): data-document-tck/src/main/java/io/micronaut/data/document/tck/services/TxEventsService.java:65-70 | data-tck/src/main/java/io/micronaut/data/tck/services/TxEventsService.java:123-129 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-tck/src/main/java/io/micronaut/data/document/tck/services/TxEventsService.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e933a85387491c2a2e440e2bbcf1a0c62a2d1292a4d660f55d4053f0b87c1b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data-tx/src/main/java/io/micronaut/transaction/support/AbstractReactorTransactionOperations.java:456-467 | data-tx/src/main/java/io/micronaut/transaction/support/AbstractTransactionOperations.java:418-429 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tx/src/main/java/io/micronaut/transaction/support/AbstractReactorTransactionOperations.java"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"b351dd846fd164a5bbeb245999dc3fd4c3def103f2bc5848c043d0412e186bfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/reactive/DeleteAllReactiveSpecificationInterceptor.java:44-47 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/reactive/FindAllReactiveSpecificationInterceptor.java:44-47 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/reactive/DeleteAllReactiveSpecificationInterceptor.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"179a26ac5302ff5b0c01f59f68f95aca587cdcd472b18ed8807c85ac3dc27cd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): data-document-tck/src/main/java/io/micronaut/data/document/tck/repositories/PersonRepository.java:145-147 | data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java:207-209 | doc-examples/hibernate-example-java/src/main/java/example/ProductRepository.java:85-88 | doc-examples/hibernate-reactive-example-java/src/main/java/example/ProductRepository.java:57-60 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-tck/src/main/java/io/micronaut/data/document/tck/repositories/PersonRepository.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab69e539d56763f269f5c7ff53f8f60a66f200e71de05dd8c77e1deca6b3c3dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/OracleReturningSupport.java:126-129 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:674-677 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/AbstractSqlRepositoryOperations.java:827-830 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/OracleReturningSupport.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"517f4c0c460b5dbcb88d3d1edbb7c7896f91b892c3262451b3e4be1a0f4281c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataByMapper.java:42-46 | data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataParamsMapper.java:42-46 | data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataSelectMapper.java:42-46 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataByMapper.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea04f9ef897d043a7d3e186bdc5f4d4bb22caabc1f9add991620ccda1e131ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntityCriteriaQuery.java:47-52 | data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntitySubquery.java:49-54 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntityCriteriaQuery.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7521402ffda91d5e3f5364e1ec0022ad1a6f531b0eafe6f9785e8f0e8071fbbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): data-connection-jdbc/src/main/java/io/micronaut/data/connection/jdbc/operations/DefaultDataSourceConnectionOperations.java:82-88 | data-connection-jdbc/src/main/java/io/micronaut/data/connection/jdbc/support/RequestBoundaryConnectionCustomizer.java:92-98 | data-connection/src/main/java/io/micronaut/data/connection/support/JdbcConnectionUtils.java:125-131 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-connection-jdbc/src/main/java/io/micronaut/data/connection/jdbc/operations/DefaultDataSourceConnectionOperations.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5069038a22fb266b53e254f754c47526559187a0cd305f092e8fc12d20c957e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:1250-1252 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1197-1199 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"2223f26ac2c0f1f6e1f574dd12b7b6a6568ab109be135480b373085b89939469"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): data-model/src/main/java/io/micronaut/data/model/CursoredPageable.java:72-77 | data-model/src/main/java/io/micronaut/data/model/Pageable.java:361-366 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/CursoredPageable.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2e113e47a7ad2805c71041904c3a25109c5b27c9123fc433a8c2b29a70261c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): data-model/src/main/java/io/micronaut/data/model/vector/DoubleVector.java:99-104 | data-model/src/main/java/io/micronaut/data/model/vector/FloatVector.java:99-104 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/vector/DoubleVector.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd43029de8466a5d66ffca49563a070fb5e6566c2ed617acd6c635102315ad34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/QueryCriteriaMethodMatch.java:667-670 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractPreparedQueryCriteriaRepositoryOperations.java:176-179 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/QueryCriteriaMethodMatch.java"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e361d860403829aa32c0511a0b85c09f695cda669d8e17e9591f65bbf88ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:1819-1826 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractSyncEntitiesOperations.java:95-102 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":1819}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ae1ab68edb4d46bda770ef94add77b845f6aed202e14143cb66ff73d711968"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java:167-174 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ColumnIndexReadableResultReader.java:101-108 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47f9e8ed758e5a7e137717b7256b7306146560c20dfd7d8edf731e629d634d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java:228-235 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ColumnIndexReadableResultReader.java:146-153 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"8693f7bc76afd1959f0dfb9429b3da967bab6439a99a4a85b3908325620036a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java:238-245 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ColumnIndexReadableResultReader.java:156-163 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b83db3a1fd8e912042559cb953ac7802e742410801b70ac93690f4f7791558"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java:248-255 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ColumnIndexReadableResultReader.java:166-173 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"270df92e59879b5817e460a2343ec1fd95a8fa6e456f06cea0cfaa97f6f84c66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java:258-265 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ColumnIndexReadableResultReader.java:176-183 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ebbd630d7f9ba2375b9da66470ab06c60eff1f94263f6e7c14f3d0cfb93620"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java:268-275 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ColumnIndexReadableResultReader.java:186-193 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba738257cef16263c003fec56e58ee1943f22f5a7621d48af1228f763e98253"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java:278-285 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ColumnIndexReadableResultReader.java:196-203 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"9696e2bddd69c00bfc2f813ac189d1a565d847d58b040c74e0f23877e8e2f3d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultFindOneAsyncInterceptor.java:43-46 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultFindOneReactiveInterceptor.java:43-46 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultFindOneAsyncInterceptor.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1838eb630d87303a5f999e86cd59d203eb56dd0b2f00bfcff7b01b80e59ed489"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/AbstractSqlRepositoryOperations.java:219-223 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/DefaultSqlPreparedQuery.java:89-91 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/AbstractSqlRepositoryOperations.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"052ecfe859875bbea5929d372878198c6fe4b9f2e5e894d9bc7bec764607031e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): data-model/src/main/java/io/micronaut/data/model/CursoredPageable.java:97-102 | data-model/src/main/java/io/micronaut/data/model/Pageable.java:378-383 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/CursoredPageable.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f1b21d83578580e88bd2755c6a393c88f1c9244073f511e1f72ba0fdad3de7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): data-model/src/main/java/io/micronaut/data/model/query/builder/jpa/JpaQueryBuilder.java:92-95 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:429-432 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/jpa/JpaQueryBuilder.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf55318978417d33d1789bb9129050d349747e7d7f25bfdb84111808be96d09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): data-model/src/main/java/io/micronaut/data/model/runtime/RuntimePersistentEntity.java:421-423 | data-processor/src/main/java/io/micronaut/data/processor/model/SourcePersistentEntity.java:300-302 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/runtime/RuntimePersistentEntity.java"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef6b2186ed984b8c467fd1582d79e8f9b2a22909e4ab49e595d578a86beb479"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/ProcedureMethodMatcher.java:146-153 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java:577-584 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/ProcedureMethodMatcher.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b794e2e3d1d20c48f99891b7b9f049dc5b8017b54309c1d2635beeef8e495924"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): data-spring/src/main/java/io/micronaut/data/spring/runtime/PageDelegate.java:113-115 | data-spring/src/main/java/io/micronaut/data/spring/runtime/SliceDelegate.java:93-95 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-spring/src/main/java/io/micronaut/data/spring/runtime/PageDelegate.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3773cb8cff88dbf201a9861a39b95aa0aa8cce5681a996ef576b982905ae2354"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactorConnectionOperations.java:65-70 | data-mongodb/src/main/java/io/micronaut/data/mongodb/session/DefaultMongoReactorConnectionOperations.java:65-71 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactorConnectionOperations.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d60633d68a422b7f6b857efdb5801e7a1bc47d94d8cc5d3be8d7a72f0e55ed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java:177-183 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ColumnIndexReadableResultReader.java:111-117 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2784becd705555ea1af166710284bdec6c4fb90f5b1ec722b4abceb69d3a6d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (81 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:471-551 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:483-563 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060findIterable\u0060 to \u0060FindIterable\u003CMR\u003E\u0060 in one and \u0060FindPublisher\u003CMR\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"049a2c54c98af859c96662e4b91e143eed6d35212fcdd920eee4f4744746aa05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:571-602 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:584-615 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060aggregateIterable\u0060 to \u0060AggregateIterable\u003CMR\u003E\u0060 in one and \u0060AggregatePublisher\u003CMR\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec1741f66e5200494e2d9ce3d1620a31c2f5112b105f7b0cee431cdc39231dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:248-278 | data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:308-338 \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 \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:248\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:247\u0060 calls \u0060requireNonNull\u0060 and \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:307\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22549ed94576fab806a9ac56577244f32557f7d89719bbb73967d2d89e4cffb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:741-771 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:618-648 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"7262853d0334798d8f25c39299f36bf2a9fdff3818e273d994a9cf6d070c2c29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/notification/oracle/OracleChangeNotificationOptions.java:40-66 | data-processor/src/main/java/io/micronaut/data/processor/visitors/OracleChangeNotificationOptions.java:40-66 \u2014 before extracting anything, compare \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/notification/oracle/OracleChangeNotificationOptions.java\u0060 and \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/OracleChangeNotificationOptions.java\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. 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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/notification/oracle/OracleChangeNotificationOptions.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc8e01bf256e758f06185b3749881bea1bbdbeb11b91f4749666178173c9a7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): data-connection/src/main/java/io/micronaut/data/connection/async/AsyncUsingReactiveConnectionOperations.java:75-99 | data-tx/src/main/java/io/micronaut/transaction/async/AsyncUsingReactiveTransactionOperations.java:84-108 \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 \u0060data-connection/src/main/java/io/micronaut/data/connection/async/AsyncUsingReactiveConnectionOperations.java:75\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":"data-connection/src/main/java/io/micronaut/data/connection/async/AsyncUsingReactiveConnectionOperations.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"077df49618d6ebe17431ed1d634f42233cbed51735068dbe79fc1eea0ef5c5ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java:385-409 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java:443-467 \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 \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java:385\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c81ce567c0ad607e4972c917fa6ca9843e02614b91e00c0d12d578c17e492e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:3134-3157 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:3914-3937 \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 \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:3134\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":3134}}}],"partialFingerprints":{"codehealthFindingId/v1":"0232050dcdf7d6e022d7cfb7a7107a8452a919f842f5db105879e85e38163444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201329 lines \u00D7 3): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java:122-147 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java:368-396 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java:426-454 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java: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. 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2374097f42ab2370aa34c8ef8db737d9e00bcb08c3348424e168d6e5c3844cb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:983-1003 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:1533-1554 \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 \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:983\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d24074bde4c7ae223f0b0d77712a1354b81a2e2cc646a680fce928b4bf4653f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourceParameterExpressionImpl.java:204-225 | data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourceParameterExpressionImpl.java:259-280 \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 \u0060data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourceParameterExpressionImpl.java:204\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":"data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourceParameterExpressionImpl.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cee97ab495e7aebc5bf2b6e2dd932d0a4dae982453ba1961e961620cdfef62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:323-343 | data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:386-406 | data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:427-447 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:323\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c005b8a63bfa274666ca584ac5b38102523e7260f51cc4c8bbe2dbb04f007a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/OracleJdbcJsonColumnMapper.java:81-101 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/OracleR2dbcJsonColumnMapper.java:82-102 \u2014 before extracting anything, compare \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/OracleJdbcJsonColumnMapper.java\u0060 and \u0060data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/OracleR2dbcJsonColumnMapper.java\u0060 as WHOLE FILES: 91% 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 \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/OracleJdbcJsonColumnMapper.java:81\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060resultReader\u0060 to \u0060ResultReader\u003CResultSet, String\u003E\u0060 in one and \u0060ResultReader\u003CRow, String\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/OracleJdbcJsonColumnMapper.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e7b7dd6db958cd030086c98f04eef8537536533ccd960f147745221d334c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:263-283 | data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:473-493 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f0c10088d8e2df6716c3b09b72276eac060bcb97e7e33e0c1cfdbe87c594cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java:219-239 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/UpdateCriteriaMethodMatch.java:277-297 \u2014 before extracting anything, compare \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java\u0060 and \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/UpdateCriteriaMethodMatch.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 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 \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java:219\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b5f7764fde41e11707a24c504f87e31277bd99f08adbf7f9c9fa993e76bee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexCallableResultReader.java:212-231 | data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameCallableResultReader.java:229-248 \u2014 before extracting anything, compare \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexCallableResultReader.java\u0060 and \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameCallableResultReader.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexCallableResultReader.java:212\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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexCallableResultReader.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3158dba71e24b822499ae835f7444105d707b60942a49675c7cd54ac7d14a1b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:147-164 | data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:184-202 | data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:422-440 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java:147\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/QueryResult.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1750fa463a750ebecfe2efea06247535fd16b954dc54f118172b77a7eba195"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java:765-782 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java:945-962 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060from\u0060 to \u0060UpdateOptions\u0060 in one and \u0060FindOneAndUpdateOptions\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b20609c16da282e3fd31d7f114edb39d71d78a95d00cbdace359dd90630663"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java:148-165 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/VectorParameterBinder.java:165-182 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"693e92c66180f23ff5a0ae359726a63cbb51dc20fc214c03382ed297f52df1cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): data-tx/src/main/java/io/micronaut/transaction/support/SyncCompleteAndErrorPublisher.java:95-111 | data-tx/src/main/java/io/micronaut/transaction/support/SyncCompleteAndErrorPublisher.java:124-140 | data-tx/src/main/java/io/micronaut/transaction/support/SyncCompleteAndErrorPublisher.java:150-166 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-tx/src/main/java/io/micronaut/transaction/support/SyncCompleteAndErrorPublisher.java:95\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, \u0060data-tx/src/main/java/io/micronaut/transaction/support/SyncCompleteAndErrorPublisher.java:112\u0060 calls \u0060onNext\u0060 and \u0060data-tx/src/main/java/io/micronaut/transaction/support/SyncCompleteAndErrorPublisher.java:167\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":"data-tx/src/main/java/io/micronaut/transaction/support/SyncCompleteAndErrorPublisher.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6df6e3407c143464f9c45a448acc4d501fdd2a932d153528b80f1980edc9e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/init/MongoCollectionsCreator.java:59-76 | data-mongodb/src/main/java/io/micronaut/data/mongodb/init/MongoReactiveCollectionsCreator.java:60-77 \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 \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/init/MongoCollectionsCreator.java: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. Note first that the copies are not typed on the same thing: \u0060MongoClient\u0060 names \u0060com.mongodb.client.MongoClient\u0060 in one and \u0060com.mongodb.reactivestreams.client.MongoClient\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/init/MongoCollectionsCreator.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08686d6548e3bd797f0e0e8776c2f36b0e098e4d7383abb17e64f9fd82c1ad8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataDecoderContext.java:97-113 | data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataDecoderContext.java:179-195 \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 \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataDecoderContext.java:97\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataDecoderContext.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e75069f4ba1108990028f3f8585d7187e159ad475203c218c2545d3183c0220"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/exceptions/JdbcExceptionUtils.java:75-90 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/exceptions/R2dbcExceptionUtils.java:75-90 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/exceptions/JdbcExceptionUtils.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf5342ca031a9e8676e50df50091ac1febbb6459eab84d085d38c3764d26b12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java:750-763 | data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java:780-795 \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 \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java:750\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb4d4dded1eb9778d784d7adbc5efae5245c2bf86d9c65a3c2618e2ce03b6a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): data-connection-hibernate/src/main/java/io/micronaut/data/hibernate/conf/AbstractHibernateCondition.java:42-56 | data-connection-jdbc/src/main/java/io/micronaut/data/connection/jdbc/oracle/OracleClientInfoCondition.java:43-57 \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":"data-connection-hibernate/src/main/java/io/micronaut/data/hibernate/conf/AbstractHibernateCondition.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0762be208dd3e04b66b4b055dd6ff7fc7ebfc68d4869b224dbd068976f2a624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:820-834 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:941-955 \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 \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:820\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4014927884c3f5525d64ed7e3c1f90ea9331f2b7ddd3398e91f1f3795637a93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/AbstractQueryInterceptor.java:364-378 | data-runtime/src/main/java/io/micronaut/data/runtime/query/internal/DefaultStoredQuery.java:276-289 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060context\u0060 to \u0060MethodInvocationContext\u0060 in one and \u0060ExecutableMethod\u003C?, ?\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/AbstractQueryInterceptor.java"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e982db0aae7681916e93b3a5276db4b6c2ef3a0ff6d004d8f053d98b301f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/AbstractAsyncInterceptor.java:118-132 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/AbstractAsyncSpecificationInterceptor.java:144-158 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/AbstractAsyncInterceptor.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe6da60e4ec77ca45db511912eed6ed60bf48462d96f6e9ed03cb6da0fcbba8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexCallableResultReader.java:221-234 | data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexResultSetReader.java:217-230 | data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameCallableResultReader.java:238-251 | data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameResultSetReader.java:276-289 \u2014 before extracting anything, compare \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexCallableResultReader.java\u0060 and \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexResultSetReader.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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 \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexCallableResultReader.java:221\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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexCallableResultReader.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6d94eb07343a52e70bec35c95cdc7a23320ec53230ab11e345e4cd6f26f90a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): data-document-model/src/main/java/io/micronaut/data/document/serde/defaults/DefaultCustomConverterDeserializer.java:67-80 | data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataDecoderContext.java:187-200 \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 \u0060data-document-model/src/main/java/io/micronaut/data/document/serde/defaults/DefaultCustomConverterDeserializer.java:67\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/serde/defaults/DefaultCustomConverterDeserializer.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4dbc7d6fdd4c90a856ebc52234d856db8dc97315108110266897c4e601eb05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/jakarta/data/HibernateJakartaDataDeleteExceptionConverter.java:44-57 | data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/jakarta/data/HibernateJakartaDataUpdateExceptionConverter.java:44-57 \u2014 before extracting anything, compare \u0060data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/jakarta/data/HibernateJakartaDataDeleteExceptionConverter.java\u0060 and \u0060data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/jakarta/data/HibernateJakartaDataUpdateExceptionConverter.java\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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/jakarta/data/HibernateJakartaDataDeleteExceptionConverter.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8003ad2c57d46e970630857ad3252184eb2105cecead6e2dab225f423f1a5efe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/convert/vendor/OracleTypeConvertersFactory.java:189-202 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/convert/vendor/OracleTypeConvertersFactory.java:123-136 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/convert/vendor/OracleTypeConvertersFactory.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4997e07aaa6bd23abe9fc296b0466b166e03d061e96d2cf77fe4aa6b731104"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:3684-3697 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:2850-2863 \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 \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:3684\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:2848\u0060 calls \u0060add\u0060, \u0060getMappedName\u0060, \u0060getDataType\u0060 and \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:3683\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":3684}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cce375d97408c34397fbd5b58b63feb722f922a421c24896235dddef73307a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/mappers/jpa/jx/ManyToOneMapper.java:50-63 | data-processor/src/main/java/io/micronaut/data/processor/mappers/jpa/jx/OneToOneMapper.java:49-59 \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 \u0060data-processor/src/main/java/io/micronaut/data/processor/mappers/jpa/jx/ManyToOneMapper.java:50\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, \u0060data-processor/src/main/java/io/micronaut/data/processor/mappers/jpa/jx/OneToOneMapper.java:48\u0060 calls \u0060stringValue\u0060, \u0060ifPresent\u0060, \u0060member\u0060 and \u0060data-processor/src/main/java/io/micronaut/data/processor/mappers/jpa/jx/ManyToOneMapper.java:50\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":"data-processor/src/main/java/io/micronaut/data/processor/mappers/jpa/jx/ManyToOneMapper.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf64e61006d89818ce1de4f64878d24f6ce369e734faecb3ef330c727a7e4a71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): data-connection/src/main/java/io/micronaut/data/connection/DefaultConnectionOperationsRegistry.java:48-60 | data-tx/src/main/java/io/micronaut/transaction/support/DefaultTransactionOperationsRegistry.java:48-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-connection/src/main/java/io/micronaut/data/connection/DefaultConnectionOperationsRegistry.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58db46b90ebe1b294b815fb0ee662bc706cc0ab2a4e69ec50aa0480f9a0be79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): data-jpa-metamodel-processor/src/main/java/io/micronaut/data/processor/jpa/metamodel/JpaMetamodelProcessor.java:188-200 | data-processor/src/main/java/io/micronaut/data/processor/visitors/GenerateJakartaDataMetamodelVisitor.java:167-179 \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 \u0060data-jpa-metamodel-processor/src/main/java/io/micronaut/data/processor/jpa/metamodel/JpaMetamodelProcessor.java:188\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":"data-jpa-metamodel-processor/src/main/java/io/micronaut/data/processor/jpa/metamodel/JpaMetamodelProcessor.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"566cd59bd9fc3e3df0154dd993e8d664dcb4e89d052977ddd399a5b27c256951"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/VectorSimilarityDialect.java:177-189 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/VectorSimilarityDialect.java:191-203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/VectorSimilarityDialect.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b437e9f6f8e44b0247e1c6f33c0287eac910684d85c943830f4a94dbf9e346c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:606-618 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:702-714 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2946e0d8a7cc6b712f6546d4b1f88b78b941d579d157c83a74c75ce6671cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java:129-141 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java:167-179 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java:142\u0060 calls \u0060dto\u0060 and \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java:180\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ce6a3e2bfc94f74425deb3ea7dfa6b572660d4647539035c5917a5ce0c3634"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): data-tx-hibernate/src/main/java/io/micronaut/transaction/hibernate/HibernateTransactionManager.java:259-271 | data-tx-jdbc/src/main/java/io/micronaut/transaction/jdbc/DataSourceTransactionManager.java:341-353 \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 \u0060data-tx-hibernate/src/main/java/io/micronaut/transaction/hibernate/HibernateTransactionManager.java:259\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":"data-tx-hibernate/src/main/java/io/micronaut/transaction/hibernate/HibernateTransactionManager.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a0f96b63c86453192d607a3969aa056f1e996374c413b5e79d1281f92e548f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:502-513 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:577-588 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:514-525 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:590-601 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060findIterable\u0060 to \u0060FindIterable\u003CMR\u003E\u0060 in one and \u0060FindPublisher\u003CMR\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"621d73094b243e5e2e0f519fcf95b2a9b4fea16f036933a11cb4e7e84baeb9d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataDecoderContext.java:102-113 | data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataDecoderContext.java:141-152 | data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataDecoderContext.java:184-195 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataDecoderContext.java:102\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataDecoderContext.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"696b5558816a1bfca4d0f2bf546930a75274ea7b0da65303a65310dc03d365bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java:1308-1325 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:2651-2668 \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 \u0060data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java:1308\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":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"5717f7d5f82c39e09cb2d1002d25ad7611e7ebaa17c327c218576ae9747100a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:1361-1372 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:1374-1385 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2e4b334fd57c74efa132a325cad2336d6f08ae7a46e95c49dd88040e9a0e68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:179-190 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:153-164 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42a5494fa46e5fffd99543103d7979055549a52808766e629057c546ce2185e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:328-339 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:372-383 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 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 \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:328\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: \u0060ClientSession\u0060 names \u0060com.mongodb.client.ClientSession\u0060 in one and \u0060com.mongodb.reactivestreams.client.ClientSession\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"339b0dd62192c5582d284abacabed70a21b04483c49aca9be4d8559f99819d29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:784-795 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:909-920 \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 \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:784\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e1b3e836f8cd573b0099c006ee56d7c085aa7dd2685a5a3e8a60f0017d7f25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/options/MongoOptionsUtils.java:65-76 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/options/MongoOptionsUtils.java:103-112 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/options/MongoOptionsUtils.java:65\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/options/MongoOptionsUtils.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c290f003150c14ea8a10476c276ab955e42998cfc70dfd58c076309f8b31c434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataCodecRegistry.java:124-135 | data-runtime/src/main/java/io/micronaut/data/runtime/support/DefaultRuntimeEntityRegistry.java:203-214 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataCodecRegistry.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b997717753a5bb5a1194e0e4376d41c7b29c467e80c7f25c7ed18ce5357ed62a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:654-665 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:674-685 \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 \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java:654\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/FindersUtils.java"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"7482b9909327e8d699019cfabc5e7cf3a85341330b4fbb32711cc1de5498b545"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/TypeUtils.java:442-453 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/TypeUtils.java:490-501 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/TypeUtils.java"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb0c91235d3a86c9846021437fe913db9415508645c5a9f2871be6d07cfd728"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java:182-193 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/UpdateCriteriaMethodMatch.java:230-241 \u2014 before extracting anything, compare \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java\u0060 and \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/UpdateCriteriaMethodMatch.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060query\u0060 to \u0060PersistentEntityCriteriaDelete\u003CT\u003E\u0060 in one and \u0060PersistentEntityCriteriaUpdate\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bce3df6d25ecba08fb049cabb148040e44d8c22920134ec2a138cb96c938c16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/connection/DefaultR2dbcReactorConnectionOperations.java:90-101 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/connection/DefaultR2dbcReactorConnectionOperations.java:109-120 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060handler\u0060 to \u0060Function\u003CConnectionStatus\u003CConnection\u003E, Publisher\u003CT\u003E\u003E\u0060 in one and \u0060Function\u003CConnectionStatus\u003CConnection\u003E, Flux\u003CT\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/connection/DefaultR2dbcReactorConnectionOperations.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6984adb9325224a39edc0f7f850a27d9ff3c030d5f35f075d6ac3b0d3c9ccac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): data-model/src/main/java/io/micronaut/data/repository/jpa/criteria/SpecificationComposition.java:57-67 | data-model/src/main/java/io/micronaut/data/repository/jpa/criteria/SpecificationComposition.java:70-80 | data-model/src/main/java/io/micronaut/data/repository/jpa/criteria/SpecificationComposition.java:96-106 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060lhs\u0060 to \u0060QuerySpecification\u003CT\u003E\u0060 in one and \u0060UpdateSpecification\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/repository/jpa/criteria/SpecificationComposition.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfeedeccb61826ccf87295a11ba2487ec9592c8f36b6fe4bd4db29d55e6bfbac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertAllInterceptor.java:50-60 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultSaveAllInterceptor.java:55-65 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultUpdateAllEntitiesInterceptor.java:50-60 \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 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertAllInterceptor.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertAllInterceptor.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6504f659622c0945166f59f71c39f06b33f554274484db84eeb7e24189a62bed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/config/SchemaGenerator.java:140-153 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/config/R2dbcSchemaGenerator.java:99-112 \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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/config/SchemaGenerator.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd61e36901fc80154dfb98be5c52e0ace2b9c07d95ddfe4173c1e0b523ef0235"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameCallableResultReader.java:80-90 | data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameResultSetReader.java:113-123 \u2014 before extracting anything, compare \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameCallableResultReader.java\u0060 and \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameResultSetReader.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameCallableResultReader.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e124b3725694c20ee8673684d22dabac403d6427c873bc739610d5bb324500ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): data-jpa-metamodel-processor/src/main/java/io/micronaut/data/processor/jpa/metamodel/visitor/JpaMetamodelProcessorVisitor.java:111-121 | data-processor/src/main/java/io/micronaut/data/processor/visitors/GenerateJakartaDataMetamodelVisitor.java:118-128 \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 \u0060data-jpa-metamodel-processor/src/main/java/io/micronaut/data/processor/jpa/metamodel/visitor/JpaMetamodelProcessorVisitor.java:111\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":"data-jpa-metamodel-processor/src/main/java/io/micronaut/data/processor/jpa/metamodel/visitor/JpaMetamodelProcessorVisitor.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69e0c277a9eaa59ecf8c27f594c0519a0b63deb47a7386544b0ae1cbafe264e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:3206-3216 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:3433-3443 \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 \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:3206\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":3206}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b16555d1b647d9a03bae7daa1b9161d2e8f2b36e5176857e1a4716be49be034"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/repository/jpa/criteria/SpecificationComposition.java:44-54 | data-model/src/main/java/io/micronaut/data/repository/jpa/criteria/SpecificationComposition.java:83-93 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060lhs\u0060 to \u0060QuerySpecification\u003CT\u003E\u0060 in one and \u0060DeleteSpecification\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/repository/jpa/criteria/SpecificationComposition.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4be9c8fb22a847c68b15ce73ee91508a582109238c89c90ee89a4eebb212db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java:829-839 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java:1201-1211 \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 \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java:829\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"801ffef90eb975cd075d25569f3bffd376f3dfea75e32ed18014fcd6182afcfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultDeleteReturningManyReactiveInterceptor.java:44-54 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultDeleteReturningOneReactiveInterceptor.java:46-56 \u2014 before extracting anything, compare \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultDeleteReturningManyReactiveInterceptor.java\u0060 and \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultDeleteReturningOneReactiveInterceptor.java\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultDeleteReturningManyReactiveInterceptor.java:44\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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultDeleteReturningManyReactiveInterceptor.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e17503cab8a2fa59ec9a7286e01b5823a933b4ae17099e019059b7aeb34379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/DeleteMethodMatcher.java:62-71 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/SaveMethodMatcher.java:90-99 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/UpdateMethodMatcher.java:78-87 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/UpsertMethodMatcher.java:69-78 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/DeleteMethodMatcher.java:62\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/DeleteMethodMatcher.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe792b472426561aafb3a4585b041bcecbb1fc2613f4543cf9baf177af13be9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java:1157-1166 | data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java:1186-1195 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c1f2615504b8dd3bd0e27fd05942dcb530efc0cc84c58aa98f629b2a255dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): data-document-processor/src/main/java/io/micronaut/data/document/processor/matchers/MongoRawQueryMethodMatcher.java:227-236 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java:235-243 \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":"data-document-processor/src/main/java/io/micronaut/data/document/processor/matchers/MongoRawQueryMethodMatcher.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"6716be7b2343d07547e268898166593a96e199cec7d03b6e5ee33f7e3bf8bf1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java:248-257 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:205-214 \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":"data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b58aae00daad63ebb23852252f781eb08604ad114888b58f92131a014bf683"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:1553-1562 | data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java:1232-1241 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d8689133cc53e98453c32b6c0f46a7c9fd81765ce852143de15efd49a79404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:1013-1022 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:1034-1043 \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 \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:1013\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, \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:1012\u0060 calls \u0060add\u0060 and \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:1033\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"0009aa68dfd316c551aca37b3da0c5135501376b70c94104c8337548ee286f37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:405-414 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:426-435 \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 \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:405\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"9715264477fa2d98f496450dc977cb66ee2f9a4da72f4a9a27ce992d495701ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:1084-1093 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:1034-1043 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 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 \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:1084\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 after the matched lines, \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:1044\u0060 calls \u0060just\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:1094\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31a37fc8709fcbb5cc59b3b9a0a061076c5730db6982835cd704d5dd8ca787b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java:811-820 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java:992-1001 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d305932d46e37febfc3dd543e40873a598f6003ae0f029ff653590323bca2a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java:931-940 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java:972-981 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ae055e8992665f28ca12ea825288d11e6b03df6267f622e59cc449a52d8e12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/MethodNameParser.java:105-114 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/MethodNameParser.java:129-138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/MethodNameParser.java:105\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/MethodNameParser.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e940aabb793496f899540ba7d50358990de4d0136f15a1481875f200996e683"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/http/PageableRequestArgumentBinder.java:84-93 | data-spring/src/main/java/io/micronaut/data/spring/runtime/http/SpringPageableRequestArgumentBinder.java:80-89 \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. Note first that the copies are not typed on the same thing: \u0060Pageable\u0060 names \u0060io.micronaut.data.model.Pageable\u0060 in one and \u0060org.springframework.data.domain.Pageable\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"data-runtime/src/main/java/io/micronaut/data/runtime/http/PageableRequestArgumentBinder.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a09328b88e57b3d5ed9b76a6ca15dc086db9670bcf882007c01809eda67a3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java:762-771 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java:816-825 \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 \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java:762\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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d19469ff209470b04b08ff181cdbdc7c66f73a5e32e3c6d369ff3f21a37f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): data-model/src/main/java/io/micronaut/data/model/geo/GeometryCollection.java:43-51 | data-model/src/main/java/io/micronaut/data/model/geo/MultiLineString.java:43-51 | data-model/src/main/java/io/micronaut/data/model/geo/MultiPoint.java:43-51 | data-model/src/main/java/io/micronaut/data/model/geo/MultiPolygon.java:43-51 | data-model/src/main/java/io/micronaut/data/model/geo/Polygon.java:43-51 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/geo/GeometryCollection.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5fb48ce18c6bbd79ca73d0979bd2249041517206442e8bc72d075a2e53a7f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): data-connection-hibernate/src/main/java/io/micronaut/data/hibernate/conf/AbstractHibernateCondition.java:47-55 | data-connection-jdbc/src/main/java/io/micronaut/data/connection/jdbc/oracle/OracleClientInfoCondition.java:48-56 | data-tx-jdbc/src/main/java/io/micronaut/transaction/jdbc/oracle/OracleTransactionRecoveryCondition.java:44-52 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-connection-hibernate/src/main/java/io/micronaut/data/hibernate/conf/AbstractHibernateCondition.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bcaf14b6d169657a30d442df01b6feb035b2284463f482fcfa1f3b39b69181"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:3575-3583 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:3690-3698 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:2856-2864 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:3575\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060propertyPath\u0060 to \u0060PersistentPropertyPath\u0060 in one and \u0060QueryPropertyPath\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":3575}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5d6c01b6c675b9cea5fda2ffe08c519c55062a56d781e7609907039513a414"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data-document-processor/src/main/java/io/micronaut/data/document/processor/mapper/MappedPropertyMapper.java:56-64 | data-processor/src/main/java/io/micronaut/data/processor/visitors/MappedEntityVisitor.java:472-480 \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 \u0060data-document-processor/src/main/java/io/micronaut/data/document/processor/mapper/MappedPropertyMapper.java: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":"data-document-processor/src/main/java/io/micronaut/data/document/processor/mapper/MappedPropertyMapper.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb6f3895eaf6cbb7afca1fe990e220eeee757ca02a60f39ef671a3b155cf833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:3674-3683 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:2838-2847 \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 \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:3674\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 after the matched lines, \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:2848\u0060 calls \u0060add\u0060, \u0060getMappedName\u0060, \u0060getDataType\u0060 and \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:3684\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":3674}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a6a877506a89ed681e5add187500457b43e3684541ec6e79fde10bae3a1889"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/jq/JQCriteriaBuilderUtils.java:856-864 | data-processor/src/main/java/io/micronaut/data/processor/jq/JQCriteriaBuilderUtils.java:866-874 \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 \u0060data-processor/src/main/java/io/micronaut/data/processor/jq/JQCriteriaBuilderUtils.java:856\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":"data-processor/src/main/java/io/micronaut/data/processor/jq/JQCriteriaBuilderUtils.java"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"87056fb67b027d23896cc1bf7798c95f6946c01139a67d178db918506f4a7b97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/SaveMethodMatcher.java:105-113 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/UpsertMethodMatcher.java:91-99 \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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/SaveMethodMatcher.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cd4740a809bb4f125f0ac4cd75b1ecbd194bc9071ea8e305110294a0a5f40c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java:73-81 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/VectorParameterBinder.java:103-111 \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 \u0060data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java:73\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":"data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4e7f8ab055eefbb9fc743d556ed6dbd571fd64b48396b29cda9508b0a02a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java:734-742 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java:784-796 \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 \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java:734\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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"49df3012ac4531b763e23cd746b7fd80e8f90e6f1a6f44763a71e466fd184ec3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java:231-239 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/BaseOperations.java:315-323 \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 \u0060data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java:231\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060beanProperty\u0060 to \u0060BeanProperty\u003CB, T\u003E\u0060 in one and \u0060BeanProperty\u003CB, L\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2f000a7adb3530f257ea5c70574e0ed2fe5a34327cc846e2a4949bffe50db6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data-tck/src/main/java/io/micronaut/data/tck/repositories/BookSpecifications.java:69-77 | data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java:251-259 \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 \u0060data-tck/src/main/java/io/micronaut/data/tck/repositories/BookSpecifications.java:69\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":"data-tck/src/main/java/io/micronaut/data/tck/repositories/BookSpecifications.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a95901cf9f2879c27518e5b7ffd6e477b7d77b9ceb54ddd6c8ea5d06d8edfef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntityCriteriaDelete.java:55-62 | data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntityCriteriaInsert.java:49-56 | data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntityCriteriaUpdate.java:62-69 \u2014 before extracting anything, compare \u0060data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntityCriteriaDelete.java\u0060 and \u0060data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntityCriteriaUpdate.java\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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntityCriteriaDelete.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea0973ce0e224d875d46902799325bb3ca3d3d38a9ba3b60dafc2cd5ce415e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultDeleteReturningOneInterceptor.java:50-57 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertReturningOneInterceptor.java:50-57 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultUpdateReturningOneInterceptor.java:50-57 \u2014 before extracting anything, compare \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultDeleteReturningOneInterceptor.java\u0060 and \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertReturningOneInterceptor.java\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultDeleteReturningOneInterceptor.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"be76119fc7632690a8e4db110a64f4f6e0377af1db48c3874ba8b96b11e060ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-connection/src/main/java/io/micronaut/data/connection/sync/SynchronousConnectionOperationsFromReactiveConnectionOperations.java:65-72 | data-tx/src/main/java/io/micronaut/transaction/sync/SynchronousTransactionOperationsFromReactiveTransactionOperations.java:79-86 \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 \u0060data-connection/src/main/java/io/micronaut/data/connection/sync/SynchronousConnectionOperationsFromReactiveConnectionOperations.java:65\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":"data-connection/src/main/java/io/micronaut/data/connection/sync/SynchronousConnectionOperationsFromReactiveConnectionOperations.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a768c65c87d6d780147bb460772247718caca4351a17d2050a00e3954bef926"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-document-processor/src/main/java/io/micronaut/data/document/processor/mapper/MappedEmbeddedIdMapper.java:46-53 | data-document-processor/src/main/java/io/micronaut/data/document/processor/mapper/MappedIdMapper.java:45-52 \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":"data-document-processor/src/main/java/io/micronaut/data/document/processor/mapper/MappedEmbeddedIdMapper.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"35dc6ed5abdb6ca473efbcc598dc75b12ca43077f6ba954845a35d26c7c4d152"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java:297-304 | data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java:313-320 \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 \u0060data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java:297\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 \u0060operation\u0060 to \u0060InsertOperation\u003CT\u003E\u0060 in one and \u0060UpdateOperation\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"710d5ebf2eb790ff4e6ebc8d21d950d19e5adf4a20f07aff4f40835c5ebc688e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/exceptions/jakarta/data/JdbcJakartaDataExceptionConverter.java:53-60 | data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:1330-1337 \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 \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/exceptions/jakarta/data/JdbcJakartaDataExceptionConverter.java:53\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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/exceptions/jakarta/data/JdbcJakartaDataExceptionConverter.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"584c762047b493aef5b3a12fe92f61ccecc1aa80f1d4b910be194b9e5c947834"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:1683-1690 | data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:1950-1956 \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 \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:1683\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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":1683}}}],"partialFingerprints":{"codehealthFindingId/v1":"1512d797d6b556c800ff53fbd82d7be128acf095843c71c5c767a01844dbf839"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/schema/sql/SqlColumnMapping.java:322-329 | data-model/src/main/java/io/micronaut/data/model/schema/sql/SqlColumnMapping.java:363-370 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-model/src/main/java/io/micronaut/data/model/schema/sql/SqlColumnMapping.java:322\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":"data-model/src/main/java/io/micronaut/data/model/schema/sql/SqlColumnMapping.java"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c96582b4048ff22fe502f596ca1f01432bd8eae563bd82745fb9da191080aac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:208-215 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:407-414 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 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 \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:208\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 first that the copies are not typed on the same thing: \u0060ClientSession\u0060 names \u0060com.mongodb.client.ClientSession\u0060 in one and \u0060com.mongodb.reactivestreams.client.ClientSession\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c91887a8952efe38f7f430edfc0f0e40772a27d9373e5c0679d12f5772a39ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/jq/JQCriteriaBuilderUtils.java:194-201 | data-processor/src/main/java/io/micronaut/data/processor/jq/JQCriteriaBuilderUtils.java:242-249 \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 \u0060data-processor/src/main/java/io/micronaut/data/processor/jq/JQCriteriaBuilderUtils.java:194\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, \u0060data-processor/src/main/java/io/micronaut/data/processor/jq/JQCriteriaBuilderUtils.java:202\u0060 calls \u0060requireNonNull\u0060 and \u0060data-processor/src/main/java/io/micronaut/data/processor/jq/JQCriteriaBuilderUtils.java:250\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":"data-processor/src/main/java/io/micronaut/data/processor/jq/JQCriteriaBuilderUtils.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"100460a134d3f5c7353f5f23a57fb314a41af0a02ceb87ac1a30e6e5975a4b8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/visitors/MappedEntityVisitor.java:469-476 | data-processor/src/main/java/io/micronaut/data/processor/visitors/MappedEntityVisitor.java:503-510 \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 \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/MappedEntityVisitor.java:469\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/MappedEntityVisitor.java"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6953a1ecf107be446d99bc170b01573a063e15d08fafd019add527d67cfa396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java:228-235 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/VectorParameterBinder.java:155-162 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c2cf73f2f55d56a29470b25a7836cb8949a6d02223b19060700bee7f867115"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/DefaultVectorAttributeConverter.java:96-103 | data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/DefaultVectorAttributeConverter.java:106-113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/DefaultVectorAttributeConverter.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea8b0b142f3ec11ec0a076999a4bb1f8f4b5129133a35eabb34811f6bcbd0a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/DeleteAllSpecificationInterceptor.java:48-55 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/UpdateAllSpecificationInterceptor.java:48-55 \u2014 before extracting anything, compare \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/DeleteAllSpecificationInterceptor.java\u0060 and \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/UpdateAllSpecificationInterceptor.java\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/DeleteAllSpecificationInterceptor.java:48\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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/DeleteAllSpecificationInterceptor.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3649e72e6af103e653ca6a150003fc4c62a8c6de4eb0e72ee92f071f11709d33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultInsertReturningOneReactiveInterceptor.java:44-51 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultUpdateReturningOneReactiveInterceptor.java:44-51 \u2014 before extracting anything, compare \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultInsertReturningOneReactiveInterceptor.java\u0060 and \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultUpdateReturningOneReactiveInterceptor.java\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultInsertReturningOneReactiveInterceptor.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"502646f4f8283ac343f2c5d03fb629e2a74472372d3a79ab5d01ffda883033de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntitiesOperations.java:98-105 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntityOperations.java:92-99 \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":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntitiesOperations.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac9a3506579dba5ed070206af1a11d67493f5edfc1b16ace6c27eccc82111d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): data-tck/src/main/java/io/micronaut/data/tck/repositories/BookSpecifications.java:62-68 | data-tck/src/main/java/io/micronaut/data/tck/repositories/BookSpecifications.java:140-146 | data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java:280-286 | data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java:381-387 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-tck/src/main/java/io/micronaut/data/tck/repositories/BookSpecifications.java:62\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":"data-tck/src/main/java/io/micronaut/data/tck/repositories/BookSpecifications.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d1e7cad34126b7c4a9f0258e077ad2672732d649863a44745aa709363b7ff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java:244-250 | data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java:262-268 | data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java:345-351 | data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java:363-369 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java:244\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":"data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6c67509b18b996a059541457d3f407abf5b7aa067912b11e52c8670af0cb3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): data-document-processor/src/main/java/io/micronaut/data/document/processor/mapper/MappedPropertyMapper.java:56-62 | data-processor/src/main/java/io/micronaut/data/processor/visitors/MappedEntityVisitor.java:472-478 | data-processor/src/main/java/io/micronaut/data/processor/visitors/MappedEntityVisitor.java:506-512 \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":"data-document-processor/src/main/java/io/micronaut/data/document/processor/mapper/MappedPropertyMapper.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cae94fda9b418241b66db1cbb839b0c6512ffd457a7d80a8512a6f3f32f867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): data-model/src/main/java/io/micronaut/data/model/schema/sql/SqlColumnMapping.java:321-327 | data-model/src/main/java/io/micronaut/data/model/schema/sql/SqlColumnMapping.java:335-341 | data-model/src/main/java/io/micronaut/data/model/schema/sql/SqlColumnMapping.java:362-368 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-model/src/main/java/io/micronaut/data/model/schema/sql/SqlColumnMapping.java:321\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":"data-model/src/main/java/io/micronaut/data/model/schema/sql/SqlColumnMapping.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"2357523cf8d871cc38b6626364a05a65fe736d205f63d082b6233bf9c5d3340b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java:244-250 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java:228-234 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/UpdateCriteriaMethodMatch.java:286-292 \u2014 before extracting anything, compare \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java\u0060 and \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/UpdateCriteriaMethodMatch.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 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 \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java:244\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java:243\u0060 calls \u0060getMethodElement\u0060, \u0060annotate\u0060, \u0060value\u0060 and \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java:227\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2afa242ae6a689743423056e98d640e3b20db2a93fa5ae69ce12c2628b873c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java:239-245 | data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java:248-254 | data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java:257-263 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java:239\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":"data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"822787dec8a685388c27aedd88ed32524ffed57ebc04a35635105f285dbaa05f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java:207-215 | data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java:472-480 \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 \u0060data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java:207\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":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c545aa304ff60586584722019d193a111594a4142710c40deda7ec0fcfae57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java:939-945 | data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java:972-978 \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 \u0060data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java:939\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, \u0060data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java:946\u0060 calls \u0060getPartitionKey\u0060, \u0060getItemId\u0060 and \u0060data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java:979\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":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8cfc09e0471f34ecd7c005374ade80f794236d285bbadc91f075c3615fa861"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java:340-346 | data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java:355-361 \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 \u0060data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java:340\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 \u0060operation\u0060 to \u0060UpdateBatchOperation\u003CT\u003E\u0060 in one and \u0060InsertBatchOperation\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactiveRepositoryOperations.java"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5d9ef10fdd2467638d62e61c1f5f77e1979384f6327dbf579b0e0045a9c3b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:956-963 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1222-1229 \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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"10984e008afa440def78745503e721ed8afffd20e0cc8dbb522d09fb5d649de2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:1308-1316 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:641-649 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fde5bc39b694fc6535fce0deb74addec5bac720eecdf5977eaeb8ff5442832"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/query/JoinPath.java:144-150 | data-model/src/main/java/io/micronaut/data/model/query/JoinPath.java:162-168 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/JoinPath.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc1a2c8f2907a962070638e92c6f2396a4ac6f9f9f90028c310699eec7d8f3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:1026-1032 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilderUtils.java:346-352 \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 \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:1026\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c483e57e6b36c61d7545c1500b35139a65d79a248c199245fe56e9f31a09fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:838-846 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:728-736 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 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 first that the copies are not typed on the same thing: \u0060MongoCollection\u0060 names \u0060com.mongodb.client.MongoCollection\u0060 in one and \u0060com.mongodb.reactivestreams.client.MongoCollection\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"605b18d77948258b4c5c6a83f70e88d31c7399dd48313ccb8901ba8ecd5a2b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:889-895 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:974-980 \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 \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:889\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fcb9c1d6b195a4049259473217d4382d605c77fc5dc917b1ef6a3683845167"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/mappers/jpa/jx/JoinTableAnnotationMapper.java:55-61 | data-processor/src/main/java/io/micronaut/data/processor/mappers/jpa/jx/JoinTableAnnotationMapper.java:62-68 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/mappers/jpa/jx/JoinTableAnnotationMapper.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb10318efff9a4bba6187b12df647b976b9e3a4c485b6687e510379cd4fd0c10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/TypeUtils.java:343-349 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/AbstractQueryInterceptor.java:1091-1098 \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 \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/TypeUtils.java:343\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060type\u0060 to \u0060ClassElement\u0060 in one and \u0060Class\u003C?\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/TypeUtils.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a5ad80337d7ba5e5ebff2b6619a61c627258730acdeb30ce2b6d611054040c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java:201-207 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/UpdateCriteriaMethodMatch.java:263-269 \u2014 before extracting anything, compare \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java\u0060 and \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/UpdateCriteriaMethodMatch.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae39f1b46cd501ad82d975bdea890c19b0c2355a6b78b34688d6de67028f2e1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/event/listeners/AutoPopulateUtil.java:98-104 | data-runtime/src/main/java/io/micronaut/data/runtime/event/listeners/AutoPopulateUtil.java:151-157 \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 \u0060data-runtime/src/main/java/io/micronaut/data/runtime/event/listeners/AutoPopulateUtil.java:98\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":"data-runtime/src/main/java/io/micronaut/data/runtime/event/listeners/AutoPopulateUtil.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f37f824a717573fd997394630d7bd873682101419358e2edf78778a1d6caec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/FindPageSpecificationInterceptor.java:85-96 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/reactive/FindPageReactiveSpecificationInterceptor.java:106-117 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/FindPageSpecificationInterceptor.java:97\u0060 calls \u0060getReturnType\u0060, \u0060getType\u0060, \u0060isInstance\u0060 and \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/reactive/FindPageReactiveSpecificationInterceptor.java:118\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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/FindPageSpecificationInterceptor.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"228407ae5348c4dce5fe0ce113a9563a29ecf76e35e47e3e8a8fb4f7b24eecac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/FindPageAsyncSpecificationInterceptor.java:79-85 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/reactive/FindPageReactiveSpecificationInterceptor.java:79-85 \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 \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/FindPageAsyncSpecificationInterceptor.java:79\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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/FindPageAsyncSpecificationInterceptor.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4f2c96e8a1308f66d1ac01b4364cdb3adda1346192374153d7552c27c3e84e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java:161-167 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java:204-210 \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 \u0060data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java:161\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":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3585c7c260997de33f1e4c84bc03af61808283acc921da35ab766acdbaa49a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntitiesOperations.java:124-130 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntitiesOperations.java:142-148 \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 \u0060data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntitiesOperations.java:124\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":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntitiesOperations.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2b3196351f1ee8dd89c4ec565d28b721504570d254a55e5790867317dc7fbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertEntityInterceptor.java:46-52 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertOneInterceptor.java:50-56 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultSaveEntityInterceptor.java:46-52 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultSaveOneInterceptor.java:50-56 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultUpdateEntityInterceptor.java:46-52 \u2014 before extracting anything, compare \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertEntityInterceptor.java\u0060 and \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertOneInterceptor.java\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertEntityInterceptor.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertEntityInterceptor.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2487db7a211cb051b3d65b60f7f6fe8044cb83f9c4341bd7ea9353f7a1d245"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): data-jpa/src/main/java/io/micronaut/data/jpa/repository/intercept/DetachInterceptor.java:56-61 | data-jpa/src/main/java/io/micronaut/data/jpa/repository/intercept/PersistInterceptor.java:56-61 | data-jpa/src/main/java/io/micronaut/data/jpa/repository/intercept/RefreshInterceptor.java:56-61 | data-jpa/src/main/java/io/micronaut/data/jpa/repository/intercept/RemoveInterceptor.java:56-61 \u2014 before extracting anything, compare \u0060data-jpa/src/main/java/io/micronaut/data/jpa/repository/intercept/DetachInterceptor.java\u0060 and \u0060data-jpa/src/main/java/io/micronaut/data/jpa/repository/intercept/PersistInterceptor.java\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-jpa/src/main/java/io/micronaut/data/jpa/repository/intercept/DetachInterceptor.java:56\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":"data-jpa/src/main/java/io/micronaut/data/jpa/repository/intercept/DetachInterceptor.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea351d1d81f27b7ba9cb2d84c7901445d7c4ba00323484d5a428068511b6dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): data-runtime/src/main/java/io/micronaut/data/runtime/convert/DataConversionServiceFactory.java:213-218 | data-runtime/src/main/java/io/micronaut/data/runtime/convert/DataConversionServiceFactory.java:220-225 | data-runtime/src/main/java/io/micronaut/data/runtime/convert/DataConversionServiceFactory.java:320-325 | data-runtime/src/main/java/io/micronaut/data/runtime/convert/DataConversionServiceFactory.java:327-332 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-runtime/src/main/java/io/micronaut/data/runtime/convert/DataConversionServiceFactory.java:213\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":"data-runtime/src/main/java/io/micronaut/data/runtime/convert/DataConversionServiceFactory.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"098da6b5129225bf7fb543931d563accd256df4c6463cda7f249079083cd762c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1394-1399 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntityOperations.java:105-110 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntityOperations.java:123-128 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1394\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":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7eaf18b23202fcb3e9e1adff67f90f2d0792063aebd2ff95ec14a0beaa96568"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java:266-271 | data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java:274-279 | data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java:282-287 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java:266\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":"data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"990f01f2d9bd237c20f73e20fde091fc4204d2b571f434849e7c7e6e902986f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/CosmosSqlQueryBuilder.java:283-289 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:351-356 \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":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/CosmosSqlQueryBuilder.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48c51e87a124df955c3c0030db5192d0f10cc85a44d06dd1ca4c238be33e6a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractPersistentEntityCriteriaDelete.java:95-104 | data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractPersistentEntityCriteriaUpdate.java:150-159 \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":"data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractPersistentEntityCriteriaDelete.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bf5634b7d0d7fd7c804d8e4df93054132dfd05b5c13f1f6cc74ab8eaad9aa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:360-366 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:423-429 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 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 \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:360\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 first that the copies are not typed on the same thing: \u0060ClientSession\u0060 names \u0060com.mongodb.client.ClientSession\u0060 in one and \u0060com.mongodb.reactivestreams.client.ClientSession\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e22e22320d687ed31441ccc6b029d8c3866544df4deb8cc3f2ecf7fdfb28a30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:713-718 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:326-331 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 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 \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:713\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"927f6b9a872fd9780e5a622a70d156070effe43c54fc14fe73aa0d6a5bdd03ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java:752-757 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java:922-927 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060options\u0060 to \u0060UpdateOptions\u0060 in one and \u0060FindOneAndUpdateOptions\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"049408a565a4e34cc23b41636c4e0fe706201d7c112c050385953ba936c53419"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java:309-313 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java:315-320 \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 \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java:315\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"54170c2c86da67d489e75d7a313cb855b7f2319510f622c490a9959d58b793df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/ReservationMethodMatcher.java:122-128 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/UpdateMethodMatcher.java:239-244 \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 \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/ReservationMethodMatcher.java:122\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/UpdateMethodMatcher.java:236\u0060 calls \u0060getPersistentEntity\u0060, \u0060hasIdentity\u0060 and \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/ReservationMethodMatcher.java:121\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/ReservationMethodMatcher.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3b6c8775e4fb0b12e83c267d552ba1b55d77dfebfed214591cf62c0af99edb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1501-1509 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1693-1701 \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 \u0060data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1501\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":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0f40c79546ce7c47cd82b124bdd3142d25c50aad5b39242347bef8ad898415"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/convert/DataConversionServiceFactory.java:91-96 | data-runtime/src/main/java/io/micronaut/data/runtime/convert/DataConversionServiceFactory.java:99-104 \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 \u0060data-runtime/src/main/java/io/micronaut/data/runtime/convert/DataConversionServiceFactory.java:91\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":"data-runtime/src/main/java/io/micronaut/data/runtime/convert/DataConversionServiceFactory.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98ccc4d597654d3e0919d26543258f2b1c09b19ef9dd6731c31b38fb1bfa57e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java:447-452 | data-runtime/src/main/java/io/micronaut/data/runtime/query/internal/DefaultPreparedQuery.java:215-220 \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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractSpecificationInterceptor.java"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cf2cc6757bb7bcaca19e216ae1131689c3906da36dce1e325ed460466ef1c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/query/internal/QueryResultStoredQuery.java:60-69 | data-runtime/src/main/java/io/micronaut/data/runtime/query/internal/QueryResultStoredQuery.java:117-126 \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 \u0060data-runtime/src/main/java/io/micronaut/data/runtime/query/internal/QueryResultStoredQuery.java:60\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":"data-runtime/src/main/java/io/micronaut/data/runtime/query/internal/QueryResultStoredQuery.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea30028857b3950badcdcd9baf24bffb97936c490ac74d307d35420cdfe33b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:1918-1923 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:1949-1954 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:2004-2009 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:1918\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":1918}}}],"partialFingerprints":{"codehealthFindingId/v1":"614626d22398f7581850c026870ab600b4e842f9012a23f50af34d78e9b7db3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/connection/DefaultR2dbcReactorConnectionOperations.java:90-94 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/connection/DefaultR2dbcReactorConnectionOperations.java:109-113 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/connection/DefaultR2dbcReactorConnectionOperations.java:127-131 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-r2dbc/src/main/java/io/micronaut/data/r2dbc/connection/DefaultR2dbcReactorConnectionOperations.java:90\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":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/connection/DefaultR2dbcReactorConnectionOperations.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6acc6bd6b6b0179798df883a9a8718ac8a992d735adacde29ccd37b075c9f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data-connection/src/main/java/io/micronaut/data/connection/support/AbstractReactorConnectionOperations.java:128-132 | data-connection/src/main/java/io/micronaut/data/connection/support/AbstractReactorConnectionOperations.java:163-167 \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 \u0060data-connection/src/main/java/io/micronaut/data/connection/support/AbstractReactorConnectionOperations.java:128\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":"data-connection/src/main/java/io/micronaut/data/connection/support/AbstractReactorConnectionOperations.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"600dc69a505df928c79fc17db0fc187db7b097278f6eb71114031d82f658f1f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data-document-processor/src/main/java/io/micronaut/data/document/processor/matchers/MongoRawQueryMethodMatcher.java:149-153 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java:97-101 \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 \u0060data-document-processor/src/main/java/io/micronaut/data/document/processor/matchers/MongoRawQueryMethodMatcher.java:149\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":"data-document-processor/src/main/java/io/micronaut/data/document/processor/matchers/MongoRawQueryMethodMatcher.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8054e051df31272e29063d018b3ca4e522a623b67be6f7ad171ca9c23d43c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/Shipment.java:75-80 | data-tck/src/main/java/io/micronaut/data/tck/entities/Shipment.java:71-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/Shipment.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d644735d53642f4f1805a6918d3ab6fccb43c6d553365e17b0a455d256f08a42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/ShipmentId.java:74-79 | data-tck/src/main/java/io/micronaut/data/tck/entities/ShipmentId.java:69-74 \u2014 before extracting anything, compare \u0060data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/ShipmentId.java\u0060 and \u0060data-tck/src/main/java/io/micronaut/data/tck/entities/ShipmentId.java\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/ShipmentId.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b4cd57b3c925fb1fbfb1c5303dea7b794104c5b5cc46ee12274c3d7aafea37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/convert/vendor/AbstractJdbcVectorConverter.java:66-71 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/convert/vendor/AbstractR2dbcVectorConverter.java:66-71 \u2014 before extracting anything, compare \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/convert/vendor/AbstractJdbcVectorConverter.java\u0060 and \u0060data-r2dbc/src/main/java/io/micronaut/data/r2dbc/convert/vendor/AbstractR2dbcVectorConverter.java\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/convert/vendor/AbstractJdbcVectorConverter.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb45249b9e99081f04a31a1d42b8fcdb008f47be87c3d37dfdc903171ce8c26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java:509-514 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java:995-999 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java:515\u0060 calls \u0060getDataType\u0060, \u0060isEmpty\u0060 and \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java:1000\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab82241b07d895fe05a8cc4dc828c3a11998f9748422a03b55f096786458e6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:960-966 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:842-848 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 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 \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:960\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c226a4fc23402285eead3d67d79043044b95fb0f76a532953e16b550d56523a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/options/MongoOptionsUtils.java:122-127 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/options/MongoOptionsUtils.java:193-198 \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 \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/options/MongoOptionsUtils.java:122\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/options/MongoOptionsUtils.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42b7ff6abd5cb94ce912ad49f3d238eb40be1a680ca3f15ba0be5b64847c76c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java:157-162 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/UpdateCriteriaMethodMatch.java:140-145 \u2014 before extracting anything, compare \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java\u0060 and \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/UpdateCriteriaMethodMatch.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 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, \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/UpdateCriteriaMethodMatch.java:146\u0060 calls \u0060retainAll\u0060 and \u0060data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java:163\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b0a8c7bf4bf0a53d9ca551f9431f373d992e7c095ab6cc399a352d319c843d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java:180-184 | data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java:190-194 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e79dc864ca3ef551ee66ecceb38880659128b7b43081f8f4f99f2d40e3c24e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/AbstractAsyncInterceptor2.java:67-72 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/AbstractAsyncSpecificationInterceptor.java:128-133 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/AbstractAsyncInterceptor2.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a188439a65c81432268f291a63d1ae79e8e5e342b9e57a8a458ca1425a04b73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/AbstractCountOrEntityPublisherInterceptor.java:65-69 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/AbstractPublisherInterceptor.java:64-68 \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 \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/AbstractCountOrEntityPublisherInterceptor.java:65\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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/AbstractCountOrEntityPublisherInterceptor.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d35d660a400f7423dfdabbd4bd4675d4962f7485c8906bb1414dd65752124cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): data-document-model/src/main/java/io/micronaut/data/document/serde/defaults/DefaultIdDeserializer.java:1-41 | data-document-model/src/main/java/io/micronaut/data/document/serde/defaults/DefaultOneRelationDeserializer.java:1-41 \u2014 before extracting anything, compare \u0060data-document-model/src/main/java/io/micronaut/data/document/serde/defaults/DefaultIdDeserializer.java\u0060 and \u0060data-document-model/src/main/java/io/micronaut/data/document/serde/defaults/DefaultOneRelationDeserializer.java\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-document-model/src/main/java/io/micronaut/data/document/serde/defaults/DefaultIdDeserializer.java:1\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":"data-document-model/src/main/java/io/micronaut/data/document/serde/defaults/DefaultIdDeserializer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6c2f173d2badbf85f39931b39b99189d07abbdd417947fbe464490c99b6de8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/AuthorBooksDto.java:32-56 | data-tck/src/main/java/io/micronaut/data/tck/entities/AuthorBooksDto.java:29-51 \u2014 before extracting anything, compare \u0060data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/AuthorBooksDto.java\u0060 and \u0060data-tck/src/main/java/io/micronaut/data/tck/entities/AuthorBooksDto.java\u0060 as WHOLE FILES: 91% 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":"data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/AuthorBooksDto.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"45392c23c3363eeef38e84c466b48bbaf29a393e1e6ade3e524c6c3108dff37d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/BookDto.java:32-64 | data-tck/src/main/java/io/micronaut/data/tck/entities/BookDto.java:29-59 \u2014 before extracting anything, compare \u0060data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/BookDto.java\u0060 and \u0060data-tck/src/main/java/io/micronaut/data/tck/entities/BookDto.java\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 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":"data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/BookDto.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df17a250ec059f7482178ab9011a5f0ab583dc9c4aea086919c8feb4ea6f070"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/Pet.java:1-66 | data-tck/src/main/java/io/micronaut/data/tck/entities/Pet.java:1-62 \u2014 before extracting anything, compare \u0060data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/Pet.java\u0060 and \u0060data-tck/src/main/java/io/micronaut/data/tck/entities/Pet.java\u0060 as WHOLE FILES: 85% 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 \u0060data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/Pet.java:1\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":"data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/Pet.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfca8aa4d17c93083568608ae83e3b1ee40d0f85d70e56c4ba28c22c55da4b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/QuantityAttributeConverter.java:1-36 | doc-examples/jdbc-example-java/src/main/java/example/QuantityAttributeConverter.java:1-19 | doc-examples/mongo-example-java/src/main/java/example/QuantityAttributeConverter.java:1-19 | doc-examples/mongo-example-records-java/src/main/java/example/QuantityAttributeConverter.java:1-19 \u2014 before extracting anything, compare \u0060doc-examples/jdbc-example-java/src/main/java/example/QuantityAttributeConverter.java\u0060 and \u0060doc-examples/mongo-example-java/src/main/java/example/QuantityAttributeConverter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/QuantityAttributeConverter.java:1\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":"data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/QuantityAttributeConverter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9bd0d4958c77e7218a49d4024b43c475141197cbe3fd2a8533b0d9a16118f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data-document-tck/src/main/java/io/micronaut/data/document/tck/repositories/DocumentRepository.java:28-32 | doc-examples/mongo-example-java/src/main/java/example/PersonRepository.java:1-102 \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 \u0060doc-examples/mongo-example-java/src/main/java/example/PersonRepository.java:1\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":"data-document-tck/src/main/java/io/micronaut/data/document/tck/repositories/DocumentRepository.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b1d52bfaaec831e88f2c5bfc1c53ba2a0762d6da43a7193b5b274b26c3f9b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): data-document-tck/src/main/java/io/micronaut/data/document/tck/services/AbstractBookService.java:31-57 | data-tck/src/main/java/io/micronaut/data/tck/services/AbstractBookService.java:32-62 \u2014 before extracting anything, compare \u0060data-document-tck/src/main/java/io/micronaut/data/document/tck/services/AbstractBookService.java\u0060 and \u0060data-tck/src/main/java/io/micronaut/data/tck/services/AbstractBookService.java\u0060 as WHOLE FILES: 85% 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. Note first that the copies are not typed on the same thing: \u0060Book\u0060 names \u0060io.micronaut.data.document.tck.entities.Book\u0060 in one and \u0060io.micronaut.data.tck.entities.Book\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"data-document-tck/src/main/java/io/micronaut/data/document/tck/services/AbstractBookService.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7db305d2ca89dba5accfc170046eda03a59b06d66c4c2227b6f6967f35b8855"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/convert/vendor/OracleJdbcVectorConverter.java:48-74 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/convert/vendor/OracleR2dbcVectorConverter.java:47-73 \u2014 before extracting anything, compare \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/convert/vendor/OracleJdbcVectorConverter.java\u0060 and \u0060data-r2dbc/src/main/java/io/micronaut/data/r2dbc/convert/vendor/OracleR2dbcVectorConverter.java\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/convert/vendor/OracleJdbcVectorConverter.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"66378327c6fd7929b885888a31dd3735c7709a75847163f5dc3df21620e1c174"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/OracleSqlExceptionMapper.java:1-53 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/OracleR2dbcExceptionMapper.java:1-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/OracleSqlExceptionMapper.java:1\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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/OracleSqlExceptionMapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c6c05027b918566b9f4f83b8ff35fc5ed1fa3fbbb9698f4058d0632c84c816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/predicate/ConjunctionPredicate.java:35-53 | data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/predicate/DisjunctionPredicate.java:35-58 \u2014 before extracting anything, compare \u0060data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/predicate/ConjunctionPredicate.java\u0060 and \u0060data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/predicate/DisjunctionPredicate.java\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/predicate/ConjunctionPredicate.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"062ac73168b4b2179d0e772ffd22b071bbf780625c525cd720aa9fb88405c17c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/MongoFindOneAndUpdate.java:46-71 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/MongoUpdate.java:45-61 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060options\u0060 to \u0060FindOneAndUpdateOptions\u0060 in one and \u0060UpdateOptions\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/MongoFindOneAndUpdate.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2561f3e54832d2975bece54839d3eb6c0b83a8a90336fbad2ce8293484c4253b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 5): data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataDetachMapper.java:1-49 | data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataMergeStatefulMapper.java:1-49 | data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataPersistMapper.java:1-49 | data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataRefreshMapper.java:1-49 | data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataRemoveMapper.java:1-49 \u2014 before extracting anything, compare \u0060data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataDetachMapper.java\u0060 and \u0060data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataMergeStatefulMapper.java\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataDetachMapper.java:1\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":"data-processor/src/main/java/io/micronaut/data/processor/mappers/jakarta/data/JakartaDataDetachMapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfcc22d0bb5c86cd00cf9e3438416cf0e8b7ec562a6c675bab82d2b5a265a43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourceEmbeddedPersistentPropertyPathImpl.java:46-67 | data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimeEmbeddedPersistentPropertyPathImpl.java:46-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourceEmbeddedPersistentPropertyPathImpl.java:46\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060persistentProperty\u0060 to \u0060SourceAssociation\u0060 in one and \u0060RuntimeAssociation\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourceEmbeddedPersistentPropertyPathImpl.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5a1c2e5b8cb5135c8060d9380ad8eaa0ed92886ed67ef4d7a8f665ed5e517f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourcePersistentEntityCriteriaDeleteImpl.java:48-71 | data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourcePersistentEntityCriteriaUpdateImpl.java:49-96 \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 \u0060data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourcePersistentEntityCriteriaDeleteImpl.java:48\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":"data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourcePersistentEntityCriteriaDeleteImpl.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb98d5daccfdd131863d79d923afbaec37ab3477627d9b366b9fcbefcdecd92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultDeleteReturningManyInterceptor.java:40-48 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertReturningManyInterceptor.java:40-48 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultUpdateReturningManyInterceptor.java:40-48 \u2014 before extracting anything, compare \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultDeleteReturningManyInterceptor.java\u0060 and \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultInsertReturningManyInterceptor.java\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultDeleteReturningManyInterceptor.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"046e90b99c10f83b5932ccf93f0d2b8e0f5c58908a068d2eab45695f51570ba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultDeleteReturningManyAsyncInterceptor.java:43-51 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultInsertReturningManyAsyncInterceptor.java:43-51 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultProcedureReturningManyAsyncInterceptor.java:43-51 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultUpdateReturningManyAsyncInterceptor.java:43-51 \u2014 before extracting anything, compare \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultDeleteReturningManyAsyncInterceptor.java\u0060 and \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultInsertReturningManyAsyncInterceptor.java\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultDeleteReturningManyAsyncInterceptor.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3424cd1f671d59943737bc6fc6a654128edd2767a99726f7dc8e46d9729eff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultDeleteReturningOneAsyncInterceptor.java:43-56 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultInsertReturningOneAsyncInterceptor.java:43-56 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultProcedureReturningOneAsyncInterceptor.java:44-57 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultUpdateReturningOneAsyncInterceptor.java:43-56 \u2014 before extracting anything, compare \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultDeleteReturningOneAsyncInterceptor.java\u0060 and \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultInsertReturningOneAsyncInterceptor.java\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultDeleteReturningOneAsyncInterceptor.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"931d6b5dcf58e93369a78f2222841fb042e451e7793ef152539dfbee036ab4e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultInsertReturningManyReactiveInterceptor.java:36-44 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultProcedureReactiveInterceptor.java:40-48 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultUpdateReturningManyReactiveInterceptor.java:36-44 \u2014 before extracting anything, compare \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultInsertReturningManyReactiveInterceptor.java\u0060 and \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultUpdateReturningManyReactiveInterceptor.java\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 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultInsertReturningManyReactiveInterceptor.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92c0404e8679ba343efdf4977d97f7a52a9b625bf520dc93a1c3aa831d382cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/multitenancy/internal/DefaultDataSourceTenantResolver.java:45-54 | data-runtime/src/main/java/io/micronaut/data/runtime/multitenancy/internal/DefaultSchemaTenantResolver.java:45-54 \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":"data-runtime/src/main/java/io/micronaut/data/runtime/multitenancy/internal/DefaultDataSourceTenantResolver.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"99338a7b794af10dc74974332e0c934e2d652e5d844b8e4f0037214603cbadeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): data-tck/src/main/java/io/micronaut/data/tck/entities/Country.java:37-59 | doc-examples/jdbc-example-java/src/main/java/example/Country.java:24-46 \u2014 before extracting anything, compare \u0060data-tck/src/main/java/io/micronaut/data/tck/entities/Country.java\u0060 and \u0060doc-examples/jdbc-example-java/src/main/java/example/Country.java\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 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":"data-tck/src/main/java/io/micronaut/data/tck/entities/Country.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f620973615c730889b7c216e41f2257680102b1998ecd8cd4713b7076b88322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): data-tck/src/main/java/io/micronaut/data/tck/jdbc/entities/upsert/AutoPopulatedUpsertEntity.java:71-170 | data-tck/src/main/java/io/micronaut/data/tck/jdbc/entities/upsert/CompositeClinic.java:29-51 \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":"data-tck/src/main/java/io/micronaut/data/tck/jdbc/entities/upsert/AutoPopulatedUpsertEntity.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fc5a937c220d1a5e47fe3e4e4c5535293fa51cf707358aa823ff6546127475"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): data-tx/src/main/java/io/micronaut/transaction/async/AsyncTransactionStatus.java:45-85 | data-tx/src/main/java/io/micronaut/transaction/reactive/ReactiveTransactionStatus.java:38-84 \u2014 before extracting anything, compare \u0060data-tx/src/main/java/io/micronaut/transaction/async/AsyncTransactionStatus.java\u0060 and \u0060data-tx/src/main/java/io/micronaut/transaction/reactive/ReactiveTransactionStatus.java\u0060 as WHOLE FILES: 85% 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 \u0060data-tx/src/main/java/io/micronaut/transaction/async/AsyncTransactionStatus.java:45\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":"data-tx/src/main/java/io/micronaut/transaction/async/AsyncTransactionStatus.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe351f4e1f2bd3d5ef63e851296ae10b5bf6c6a3371d19d9c0bc8cca817951c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/CosmosBinder.java:77-85 | data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:1463-1471 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java:416-424 \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. 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":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/CosmosBinder.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9cf1a9ffc39b6a860603cc5225d8c8ce67bb7957e797cc2b6f9202e56b8eaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/CosmosBinder.java:89-96 | data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:1475-1482 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java:428-435 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:1300-1307 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. 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":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/CosmosBinder.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"df81091bd401072aba22418c6563a156467cdced20980d0047d6ca509afac82a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java:568-573 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/AbstractSqlRepositoryOperations.java:574-579 \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":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e781cfb4e15e47e96a08541b7bf35e3cc68b94ef37c435e02c4ac53bc754446"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-connection/src/main/java/io/micronaut/data/connection/reactive/DefaultReactiveConnectionStatus.java:162-168 | data-connection/src/main/java/io/micronaut/data/connection/support/DefaultConnectionStatus.java:114-120 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060synchronization\u0060 to \u0060ReactiveConnectionSynchronization\u0060 in one and \u0060ConnectionSynchronization\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":"data-connection/src/main/java/io/micronaut/data/connection/reactive/DefaultReactiveConnectionStatus.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5283978f89cb86a2d69e20218a430707468ae7f38cf9968c73dfcdd4c2c857"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java:1643-1651 | data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/util/Joiner.java:198-206 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java:1655\u0060 calls \u0060put\u0060, \u0060of\u0060, \u0060asLiteral\u0060 and \u0060data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/util/Joiner.java:210\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":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b361e563572bcf2cc388d774467d36f8036abd409bdd974eb29d33f4ba54ac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-document-processor/src/main/java/io/micronaut/data/document/processor/mapper/EmbeddableMapper.java:41-46 | data-document-processor/src/main/java/io/micronaut/data/document/processor/mapper/MappedEntityMapper.java:41-46 \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":"data-document-processor/src/main/java/io/micronaut/data/document/processor/mapper/EmbeddableMapper.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd705b551b789dba51de643cf6afa2ec4e8a6413d5d101f71f1388033726b05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-document-tck/src/main/java/io/micronaut/data/document/tck/repositories/BookRepository.java:105-112 | data-tck/src/main/java/io/micronaut/data/tck/repositories/BookRepository.java:173-180 \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. Note first that the copies are not typed on the same thing: \u0060Author\u0060 names \u0060io.micronaut.data.document.tck.entities.Author\u0060 in one and \u0060io.micronaut.data.tck.entities.Author\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"data-document-tck/src/main/java/io/micronaut/data/document/tck/repositories/BookRepository.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5337e49adba474111291518f3e73567417b24ae9d4646495f05f1823e2a6f5ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexCallableResultReader.java:64-72 | data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexResultSetReader.java:64-72 | data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameCallableResultReader.java:63-71 | data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameResultSetReader.java:92-100 \u2014 before extracting anything, compare \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexCallableResultReader.java\u0060 and \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexResultSetReader.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060index\u0060 to \u0060Integer\u0060 in one and \u0060String\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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexCallableResultReader.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d17f06ee3526ee61b112bd9401adf9da171d544d5b3ec4fd04164c692bdac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexCallableResultReader.java:104-114 | data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexResultSetReader.java:102-112 | data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameCallableResultReader.java:122-132 | data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameResultSetReader.java:155-165 \u2014 before extracting anything, compare \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexCallableResultReader.java\u0060 and \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexResultSetReader.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexCallableResultReader.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"085a0530e4b43df6dacf7a5f15fd246c545adb81322b289e6621adf674192fa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexResultSetReader.java:233-239 | data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameResultSetReader.java:103-109 | data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/JdbcTupleMapper.java:46-52 \u2014 before extracting anything, compare \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexResultSetReader.java\u0060 and \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameResultSetReader.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexResultSetReader.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"647ac02121d5e88360f237325e6a3d2aa4b76e9a6c4658df9e2d5a5a55adcccf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexResultSetReader.java:245-251 | data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameResultSetReader.java:295-301 \u2014 before extracting anything, compare \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexResultSetReader.java\u0060 and \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameResultSetReader.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnIndexResultSetReader.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1ce7caf9ebb69eaa208456fbec4e763407938b7619200bd7afe4164623bd5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameByIndexCallableResultReader.java:63-69 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ColumnNameByIndexR2dbcResultReader.java:63-69 \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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameByIndexCallableResultReader.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf566e26c905a9d89226b0d4d06febb9ed07f80ce8a9cc1045b1224411c8c5d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/JdbcTuple.java:60-66 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/R2dbcTuple.java:59-65 \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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/JdbcTuple.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"182f5f10cfcd1421835a148b624b2e9a0760b8b1df8a1493a142277eb7cd6ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/OracleJdbcJsonColumnMapper.java:119-127 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/OracleR2dbcJsonColumnMapper.java:121-129 \u2014 before extracting anything, compare \u0060data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/OracleJdbcJsonColumnMapper.java\u0060 and \u0060data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/OracleR2dbcJsonColumnMapper.java\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/OracleJdbcJsonColumnMapper.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"33412b77fd0743a59a2866aa7820a1329203cf920d76bb372306f7a310804244"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java:1286-1290 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:623-627 \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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2db5825e6cd3f967178c9af467127d103e188e22f3cba925b0b07388c62e9e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-jpa-metamodel-processor/src/main/java/io/micronaut/data/processor/jpa/metamodel/JpaMetamodelProcessor.java:359-364 | data-processor/src/main/java/io/micronaut/data/processor/visitors/GenerateJakartaDataMetamodelVisitor.java:265-270 \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":"data-jpa-metamodel-processor/src/main/java/io/micronaut/data/processor/jpa/metamodel/JpaMetamodelProcessor.java"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c56e043beabc9cc05de4ab166370f97094036288a65d8184a18b8566eb3e273"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): data-model/src/main/java/io/micronaut/data/model/PersistentPropertyPath.java:135-141 | data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java:598-604 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java:219-225 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/BaseOperations.java:303-309 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. 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":"data-model/src/main/java/io/micronaut/data/model/PersistentPropertyPath.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7088c6fa14f42595599b07dea03dc4f70839d5fce997a1aa4bb3fd4adcc948"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractPersistentEntityCriteriaDelete.java:128-137 | data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractPersistentEntityCriteriaUpdate.java:177-186 \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":"data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractPersistentEntityCriteriaDelete.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ec91baeeb724e9b3890111f49787b27e2415802c30c10f9100302d0eee7184"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractPersistentEntityCriteriaDelete.java:147-155 | data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractPersistentEntityCriteriaUpdate.java:215-223 \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":"data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractPersistentEntityCriteriaDelete.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e0b46bf953ef75ef18692093441f86e05b4ff4fed5e523921425d4c778bd94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/runtime/RuntimePersistentEntity.java:339-344 | data-processor/src/main/java/io/micronaut/data/processor/model/SourcePersistentEntity.java:202-207 \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":"data-model/src/main/java/io/micronaut/data/model/runtime/RuntimePersistentEntity.java"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"738eaeb67bba0905c01df95d53cf510d96e00ef98e95f7d0040220c555980fe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): data-model/src/main/java/io/micronaut/data/model/vector/SparseByteVector.java:45-51 | data-model/src/main/java/io/micronaut/data/model/vector/SparseDoubleVector.java:45-51 | data-model/src/main/java/io/micronaut/data/model/vector/SparseFloatVector.java:45-51 \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 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/vector/SparseByteVector.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0099bd66451d3eddb5b64c9f2f713f757c2b63a644c66d26125bf62d613c7fe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourcePersistentAssociationPath.java:68-75 | data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentAssociationPath.java:60-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourcePersistentAssociationPath.java: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":"data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourcePersistentAssociationPath.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e537eadc68f9d5bc6884c172c5ffcb676d89e137e86fe78843ad9e9d6eb71b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourcePersistentAssociationPath.java:159-164 | data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentAssociationPath.java:125-130 | data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java:1243-1248 \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. 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":"data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourcePersistentAssociationPath.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"91390b49cef24177d8db8b0f67bf6f1d0d41bded53e31069e4fe76ca1664738e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourcePersistentEntityCriteriaQueryImpl.java:71-78 | data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourcePersistentEntitySubqueryImpl.java:65-72 \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":"data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourcePersistentEntityCriteriaQueryImpl.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e08327922b7f54513343c537b97b55b9d52b5353a910f62390c18c69283581"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourcePersistentEntityCriteriaQueryImpl.java:82-89 | data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourcePersistentEntitySubqueryImpl.java:76-83 \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":"data-processor/src/main/java/io/micronaut/data/processor/model/criteria/impl/SourcePersistentEntityCriteriaQueryImpl.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29865a29492630ac60bff12ab46902d4df0c96abb0820f490d02dbf1164a64b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java:161-167 | data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java:417-423 \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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab88590117bb2402c7749b404634d46b08f4d970302a4c990fb49a6f267a1acf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/AbstractAsyncInterceptor.java:52-59 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/AbstractAsyncInterceptor2.java:50-57 \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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/AbstractAsyncInterceptor.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"987ecf9079875dc459b69d51d6ebce115551abd2bbf8cc5e0ccd6bfd8810e802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultSaveAllAsyncInterceptor.java:50-54 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultSaveAllReactiveInterceptor.java:48-52 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultSaveAllAsyncInterceptor.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"44283cdf5952c1115edc86056683adf8b9d6fc23c0f18d5a767b11354b4fba5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/ReactiveAsyncCriteriaRepositoryOperations.java:101-105 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/AsyncFromReactiveAsyncRepositoryOperation.java:170-174 \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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/ReactiveAsyncCriteriaRepositoryOperations.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4caf8e03725513e332bbaa5db9a9b82ab482e5fe88bac40a9a556eba2a3f57b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/JsonQueryResultMapper.java:84-92 | data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java:917-925 \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":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/JsonQueryResultMapper.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1871c84a4e3616d5f0f6dabdffc0b62669c0c90673108ff8ea872816a9d8de14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-tx-hibernate/src/main/java/io/micronaut/transaction/hibernate/HibernateTransactionManager.java:353-360 | data-tx-jdbc/src/main/java/io/micronaut/transaction/jdbc/DataSourceTransactionManager.java:415-422 \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":"data-tx-hibernate/src/main/java/io/micronaut/transaction/hibernate/HibernateTransactionManager.java"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77dc64aeedb04e1fe191a61f6d559f3c0cc7867bd152b783c0ef3d906d6bd0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactorConnectionOperations.java:57-62 | data-mongodb/src/main/java/io/micronaut/data/mongodb/session/DefaultMongoReactorConnectionOperations.java:56-61 \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":"data-hibernate-reactive/src/main/java/io/micronaut/data/hibernate/reactive/operations/DefaultHibernateReactorConnectionOperations.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"59341673da3c3932623e27e4d5fa99dcdadc1b7774351f316786ff30db3c38f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data-jdbc/src/main/java/io/micronaut/data/jdbc/exceptions/jakarta/data/JdbcJakartaDataExceptionConverter.java:68-77 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/exceptions/jakarta/data/R2dbcJakartaDataExceptionConverter.java:68-77 \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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/exceptions/jakarta/data/JdbcJakartaDataExceptionConverter.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"77afcc3b99c29dd1db46b1dab8d339861dfd5e95f3cfd256457a44077ba18515"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/geo/LineString.java:72-77 | data-model/src/main/java/io/micronaut/data/model/geo/MultiLineString.java:72-77 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060coords\u0060 to \u0060List\u003CList\u003CDouble\u003E\u003E\u0060 in one and \u0060List\u003CList\u003CList\u003CDouble\u003E\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/geo/LineString.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65c13e06d40a2f21e83d82c326a6ac2f91cad939aa316e99530f7a63688a5c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/vector/BinaryVector.java:156-161 | data-model/src/main/java/io/micronaut/data/model/vector/ByteVector.java:99-104 \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":"data-model/src/main/java/io/micronaut/data/model/vector/BinaryVector.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85f01e67609a1ed523c48f912d2271f323964b8809c6fa515aa04470c47f224"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): data-model/src/main/java/io/micronaut/data/model/vector/SparseByteVector.java:158-165 | data-model/src/main/java/io/micronaut/data/model/vector/SparseDoubleVector.java:158-165 | data-model/src/main/java/io/micronaut/data/model/vector/SparseFloatVector.java:158-165 \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 3 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":"data-model/src/main/java/io/micronaut/data/model/vector/SparseByteVector.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a621c0f7997146842a82e28cd7a7d9c99195e5c723ceb54808e6717a450559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/repository/jpa/criteria/DeleteSpecification.java:46-51 | data-model/src/main/java/io/micronaut/data/repository/jpa/criteria/QuerySpecification.java:56-61 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060spec\u0060 to \u0060DeleteSpecification\u003CT\u003E\u0060 in one and \u0060QuerySpecification\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/repository/jpa/criteria/DeleteSpecification.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9477c494e89ae62690d07afcc601ae51dbcd7256a8af8a0805a0fa7495773a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/repository/jpa/criteria/DeleteSpecification.java:76-81 | data-model/src/main/java/io/micronaut/data/repository/jpa/criteria/QuerySpecification.java:86-91 \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":"data-model/src/main/java/io/micronaut/data/repository/jpa/criteria/DeleteSpecification.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"421268d4a0a62b56d117bf05a973aabf46ab53e50b6894344b263ead24e46951"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:605-610 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:219-224 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d79a86792f4022bef8f015e1b12b551856787ebf90957e90251fa968052722"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:613-618 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:227-232 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0740b217865c50698eeee066053111de56fda11299587b8260d75f6fbd53575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:792-796 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:809-813 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:655-659 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 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. 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a98be981cbfb4b6a27f5cc59dd5144fa12a92f86156f11d34a3bcb539da15c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:799-806 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:662-669 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 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. 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e3e560b4334cbd5e5871933c649e13173f2511914b2f20d8263a88a1e4668e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): data-mongodb/src/main/java/io/micronaut/data/mongodb/transaction/DefaultMongoReactorTransactionOperations.java:77-82 | data-mongodb/src/main/java/io/micronaut/data/mongodb/transaction/DefaultMongoReactorTransactionOperations.java:85-90 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/transaction/DefaultR2dbcReactorTransactionOperations.java:138-143 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/transaction/DefaultR2dbcReactorTransactionOperations.java:146-151 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060connectionStatus\u0060 to \u0060ConnectionStatus\u003CClientSession\u003E\u0060 in one and \u0060ConnectionStatus\u003CConnection\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/transaction/DefaultMongoReactorTransactionOperations.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3b48e1dc65ce6285bc0e79f2adbcc5dd9904d14ad7ca97d9426e2958e07c6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/OracleVectorSqlIndexDefinitionProvider.java:47-51 | data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/PostgresVectorSqlIndexDefinitionProvider.java:46-50 \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":"data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/OracleVectorSqlIndexDefinitionProvider.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d25329bd82bcc2d9c71990aff94d7513b98eb07976450316bfbb70fb4fc0fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultFindAllAsyncInterceptor.java:46-52 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultFindAllReactiveInterceptor.java:44-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultFindAllAsyncInterceptor.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab2a4a3a40a24aad8c8604f1703d65ddc003587ee3949a84884ea146d106a2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultFindByIdAsyncInterceptor.java:42-46 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultFindByIdReactiveInterceptor.java:42-46 \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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultFindByIdAsyncInterceptor.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"da94f803b66bf3d66ffc3a1cf42f738930ea5fab5d902c5fd89c110d9769cf50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultInsertOneAsyncInterceptor.java:44-49 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultInsertOneReactiveInterceptor.java:44-49 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultInsertOneAsyncInterceptor.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa04a7a65109539df8ebec0f07b9b602c727d81059da0f8119b4fad47048cbae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultUpdateAllAsyncEntitiesInterceptor.java:45-49 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultUpdateAllEntitiesReactiveInterceptor.java:42-46 \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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultUpdateAllAsyncEntitiesInterceptor.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e07059346eed569b3b875cf69bc890ed98dfd4e0cc4e76c9b23c9d6120348c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/AbstractAsyncSpecificationInterceptor.java:90-104 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/reactive/AbstractReactiveSpecificationInterceptor.java:79-93 \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 \u0060data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/AbstractAsyncSpecificationInterceptor.java:90\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":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/AbstractAsyncSpecificationInterceptor.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1935b04ea1be41047de57b9cda9dee31400fe577e582d28a2a563914f5e5c09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/reactive/CountReactiveSpecificationInterceptor.java:45-52 | data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/reactive/ExistsReactiveSpecificationInterceptor.java:43-50 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060context\u0060 to \u0060MethodInvocationContext\u003CObject, Publisher\u003CNumber\u003E\u003E\u0060 in one and \u0060MethodInvocationContext\u003CObject, Publisher\u003CBoolean\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/reactive/CountReactiveSpecificationInterceptor.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1325b6ce9942a078348ef0d00005a5d47e3353d2490ecb2c50fbbe68050559e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/CosmosSerde.java:84-88 | data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/CosmosSerde.java:141-145 \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 \u0060data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/CosmosSerde.java:84\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":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/CosmosSerde.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cc88f6a8b74acaa84202026d87bf92230e30b9d879ef4b10da1b991e499129"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java:306-311 | data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java:503-508 \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 \u0060data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java:306\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":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33bff1fb6c940fbf05b6e9ec457f00ce4d05ed70bfd5a39d6d248de4e02f814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/CosmosSqlQueryBuilder.java:165-170 | data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/CosmosSqlQueryBuilder.java:187-192 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/CosmosSqlQueryBuilder.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa63d92cfb5f1f4464835f8d6bd85fb57a9c60a7f86207baba43a0055fe6c6a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/CosmosSqlQueryBuilder.java:176-181 | data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/CosmosSqlQueryBuilder.java:200-205 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/CosmosSqlQueryBuilder.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d538c6d4ee669f77c93c04a84d6aad779504cfd9b6f6720ab24362abed59a52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): data-document-model/src/main/java/io/micronaut/data/document/serde/defaults/DefaultCustomConverterDeserializer.java:53-57 | data-document-model/src/main/java/io/micronaut/data/document/serde/defaults/DefaultCustomConverterSerializer.java:51-55 | data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataDecoderContext.java:173-177 | data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataEncoderContext.java:130-134 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060type\u0060 to \u0060Argument\u003C? super Object\u003E\u0060 in one and \u0060Argument\u003C?\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/serde/defaults/DefaultCustomConverterDeserializer.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e586579c6d2cb39840c9ff5e50525e95cd6fac6b508f4cbf8500421733bc6df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:2623-2627 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:2678-2682 \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 \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java:2623\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":2623}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d53639c0aaa27decc294494e340c8665f49f005bcde3f83bc690c6d4e09a26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:2220-2224 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:2229-2233 \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 \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java:2220\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a8270ca013fd164cea82511e6b3a8336bf82bcabc97ee2492052918e28d473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java:651-655 | data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java:657-661 \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 \u0060data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java:651\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc5ab47a890db84b29a7bc481a67cd362d6660f736ef9a7d7c243600620ba81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:165-172 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:139-146 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 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 \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:165\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: \u0060MongoCollection\u0060 names \u0060com.mongodb.client.MongoCollection\u0060 in one and \u0060com.mongodb.reactivestreams.client.MongoCollection\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a69b532a577fb0a4a55dccd6c64738f7e72bc6b57e1e604bf3f81e442f1e77c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:196-200 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:399-403 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 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 \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:196\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: \u0060ClientSession\u0060 names \u0060com.mongodb.client.ClientSession\u0060 in one and \u0060com.mongodb.reactivestreams.client.ClientSession\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06a4446a1e0cc345e216d30a0984d10be1f76c3b10d79c28291f39a9c801d35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:622-626 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:638-642 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:655-659 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:673-677 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:622\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 \u0060operation\u0060 to \u0060UpdateOperation\u003CT\u003E\u0060 in one and \u0060UpdateBatchOperation\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"107955d5e865ac1521d152a0d0eab8971da83f57e45698ab5f8397fc1ce78277"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:696-701 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:308-313 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 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 \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:696\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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6186f96fcbe0ebcb09939e83da12fc6333f39195f829b71c31366f4f4ff6b3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java:822-828 | data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java:716-722 \u2014 before extracting anything, compare \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java\u0060 and \u0060data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 278 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 first that the copies are not typed on the same thing: \u0060MongoCollection\u0060 names \u0060com.mongodb.client.MongoCollection\u0060 in one and \u0060com.mongodb.reactivestreams.client.MongoCollection\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6b84e5b08368801dd0d82cb8fbb5aeee30071e18900c5d4b2be3174476bc98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:969-973 | data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java:998-1002 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1cb93076a315b856fc23c4d066b5d29fac700a105632ce9af8990f80c1b8fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/ReactiveCascadeOperations.java:106-111 | data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/SyncCascadeOperations.java:94-99 \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 \u0060data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/ReactiveCascadeOperations.java:106\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":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/ReactiveCascadeOperations.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0749be362ea95a7809976ede6621962ececb53b7db8195b83ecf8ee2d2bdcd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): data-connection/src/main/kotlin/io/micronaut/data/connection/kotlin/DefaultCoroutineConnectionOperations.kt:51-60 | data-tx/src/main/kotlin/io/micronaut/transaction/kotlin/DefaultCoroutineTransactionOperations.kt:53-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data-connection/src/main/kotlin/io/micronaut/data/connection/kotlin/DefaultCoroutineConnectionOperations.kt:51\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":"data-connection/src/main/kotlin/io/micronaut/data/connection/kotlin/DefaultCoroutineConnectionOperations.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ac0e5d5c7114648fe4550fe159e05ccd8c753c9b30f88a8128e3ad447d5fac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): doc-examples/mongo-reactive-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt:77-90 | doc-examples/r2dbc-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt:57-70 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/mongo-reactive-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"299852b375e0e77da3b8758d142c3ab4dad71ff117f1eb356738e5e7a38b4c5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): doc-examples/jooq-r2dbc-postgres/src/main/java/example/AbstractRepository.java:25-33 | doc-examples/jooq-r2dbc-postgres/src/main/java/example/AbstractRepository.java:35-43 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jooq-r2dbc-postgres/src/main/java/example/AbstractRepository.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d504f41545032d2832a78b86d5bc3c98ad2f4ac49e3006b4490f5b2a558c4296"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): doc-examples/mongo-reactive-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt:103-112 | doc-examples/r2dbc-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt:98-107 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/mongo-reactive-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5224eeae5f5ee305d61445014a4647c1c3976f3f92392cc96ac5cf741f15a6e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): doc-examples/mongo-reactive-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt:67-74 | doc-examples/r2dbc-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt:88-95 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/mongo-reactive-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7a6fb3a1e8b07d71b7a9f2f05551a351e3ded6d95612d3e8f2c4d7dae76393"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): doc-examples/hibernate-example-java/src/main/java/example/ProductManager.java:29-35 | doc-examples/hibernate-reactive-example-java/src/main/java/example/ProductManager.java:29-34 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-java/src/main/java/example/ProductManager.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5483608f4cf5f8829d5d48213f54771a444971b4c422c8202dda7ecbd7765d63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): doc-examples/mongo-reactive-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt:57-64 | doc-examples/r2dbc-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt:78-85 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/mongo-reactive-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a48307be236185bd899d50cb31b4ee39bf5c13d6247a87dca986300b520f12f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): doc-examples/mongo-reactive-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt:93-100 | doc-examples/r2dbc-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt:47-54 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/mongo-reactive-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fff71233c0e619e8ff2f364fd7167f214b8368dd7bc001c6eb7f17afbb9fe1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): doc-examples/hibernate-example-kotlin/src/main/kotlin/example/ProductManager.kt:22-28 | doc-examples/hibernate-reactive-example-kotlin/src/main/kotlin/example/ProductManager.kt:25-36 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin/src/main/kotlin/example/ProductManager.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"446611e546bebb450a7522aa2e201f1784e4aa265ffb813233e5b23f1a9119fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): doc-examples/hibernate-example-python/src/main/python/example/StudentRepository.py:13-13 | doc-examples/mongo-example-python/src/main/python/example/StudentRepository.py:15-15 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-python/src/main/python/example/StudentRepository.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9493dd7cbf393d76fd3ac98284e57e3859cfba378b5bd1615ff5e457c1232c3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): doc-examples/jdbc-example-kotlin/src/main/kotlin/example/PersonRepository.kt:109-116 | doc-examples/mongo-example-kotlin/src/main/kotlin/example/PersonRepository.kt:107-114 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-kotlin/src/main/kotlin/example/PersonRepository.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f8e23097d5a59b518942cd52ede35ef6e182507f04c3c3b15bd77c6704e42d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): doc-examples/hibernate-example-java/src/main/java/example/ProductRepository.java:65-75 | doc-examples/hibernate-reactive-example-java/src/main/java/example/ProductRepository.java:37-47 \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 \u0060doc-examples/hibernate-example-java/src/main/java/example/ProductRepository.java:65\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 \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":"doc-examples/hibernate-example-java/src/main/java/example/ProductRepository.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aad307c55963748e8f67968147933fb3f60c2c465703375feab35b88397814e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): doc-examples/jdbc-example-java/src/main/java/example/ProjectId.java:27-36 | doc-examples/mongo-example-java/src/main/java/example/ProjectId.java:28-37 \u2014 before extracting anything, compare \u0060doc-examples/jdbc-example-java/src/main/java/example/ProjectId.java\u0060 and \u0060doc-examples/mongo-example-java/src/main/java/example/ProjectId.java\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. 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":"doc-examples/jdbc-example-java/src/main/java/example/ProjectId.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca35188b8297e9e90d948a174c439e48cb783b5da27df60d85bd55c87fbd3eae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (90 lines \u00D7 2): doc-examples/azure-cosmos-example-java/src/main/java/example/PersonRepository.java:1-90 | doc-examples/mongo-example-records-java/src/main/java/example/PersonRepository.java:1-92 \u2014 before extracting anything, compare \u0060doc-examples/azure-cosmos-example-java/src/main/java/example/PersonRepository.java\u0060 and \u0060doc-examples/mongo-example-records-java/src/main/java/example/PersonRepository.java\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 \u0060doc-examples/azure-cosmos-example-java/src/main/java/example/PersonRepository.java:1\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":"doc-examples/azure-cosmos-example-java/src/main/java/example/PersonRepository.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5171619584004ce6fcfb38622f1c695ab255fda15e5fc11689255bc33ec4f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): doc-examples/hibernate-example-java/src/main/java/example/BookController.java:17-29 | doc-examples/hibernate-reactive-example-java/src/main/java/example/BookController.java:17-29 \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":"doc-examples/hibernate-example-java/src/main/java/example/BookController.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9497c5eff3f37f1db49633df801f5927aa9800438aafa44a37a91ae85851a39e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): doc-examples/hibernate-multitenancy-discriminator-example-java/src/main/java/example/BookController.java:20-47 | doc-examples/jdbc-multitenancy-discriminator-example-java/src/main/java/example/BookController.java:20-47 \u2014 before extracting anything, compare \u0060doc-examples/hibernate-multitenancy-discriminator-example-java/src/main/java/example/BookController.java\u0060 and \u0060doc-examples/jdbc-multitenancy-discriminator-example-java/src/main/java/example/BookController.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-multitenancy-discriminator-example-java/src/main/java/example/BookController.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"79540431551215f865c4d1e119b67b9f792f813db008cb85c80ebd1ff869d4a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 7): doc-examples/hibernate-multitenancy-discriminator-example-java/src/main/java/example/BookDto.java:13-34 | doc-examples/jdbc-multitenancy-datasource-example-java/src/main/java/example/BookDto.java:13-34 | doc-examples/jdbc-multitenancy-discriminator-example-java/src/main/java/example/BookDto.java:13-34 | doc-examples/jdbc-multitenancy-schema-example-java/src/main/java/example/BookDto.java:13-34 | doc-examples/r2dbc-multitenancy-datasource-example-java/src/main/java/example/BookDto.java:13-34 | doc-examples/r2dbc-multitenancy-discriminator-example-java/src/main/java/example/BookDto.java:13-34 | doc-examples/r2dbc-multitenancy-schema-example-java/src/main/java/example/BookDto.java:13-34 \u2014 before extracting anything, compare \u0060doc-examples/hibernate-multitenancy-discriminator-example-java/src/main/java/example/BookDto.java\u0060 and \u0060doc-examples/jdbc-multitenancy-datasource-example-java/src/main/java/example/BookDto.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"doc-examples/hibernate-multitenancy-discriminator-example-java/src/main/java/example/BookDto.java"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"88511515847ea5aaedda6583ac3c30b9b4c41697aff0b1492e08f2dbda2062a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): doc-examples/hibernate-spring-tx-example-java/src/main/java/example/BookManager.java:1-43 | doc-examples/jdbc-spring-tx-example-java/src/main/java/example/BookManager.java:1-43 \u2014 before extracting anything, compare \u0060doc-examples/hibernate-spring-tx-example-java/src/main/java/example/BookManager.java\u0060 and \u0060doc-examples/jdbc-spring-tx-example-java/src/main/java/example/BookManager.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060doc-examples/hibernate-spring-tx-example-java/src/main/java/example/BookManager.java:1\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":"doc-examples/hibernate-spring-tx-example-java/src/main/java/example/BookManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7320a59a994560125229c6d7a2ccd1061b346250b1da84d8b66410f229a27c37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): doc-examples/jdbc-and-r2dbc-example-java/src/main/java/example/AbstractJdbcBookRepository.java:19-31 | doc-examples/jdbc-example-java/src/main/java/example/AbstractBookRepository.java:21-33 | doc-examples/jdbc-jakarta-data-example-java/src/main/java/example/AbstractBookRepository.java:18-30 \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. Note first that the copies are not typed on the same thing: \u0060Transactional\u0060 names \u0060io.micronaut.transaction.annotation.Transactional\u0060 in one and \u0060jakarta.transaction.Transactional\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"doc-examples/jdbc-and-r2dbc-example-java/src/main/java/example/AbstractJdbcBookRepository.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"192e20f96fe8eb69df7b31756b59bd9d6dfc438b44faa3dc5e4f43d49b66a611"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): doc-examples/jdbc-example-java/src/main/java/example/Flight.java:17-41 | doc-examples/r2dbc-example-java/src/main/java/example/Flight.java:16-40 \u2014 before extracting anything, compare \u0060doc-examples/jdbc-example-java/src/main/java/example/Flight.java\u0060 and \u0060doc-examples/r2dbc-example-java/src/main/java/example/Flight.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-java/src/main/java/example/Flight.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb3deaa50e841c256ced070e576fd284b451312ade888f694dce969fff1a6b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (78 lines \u00D7 2): doc-examples/jdbc-example-java/src/main/java/example/metamodel/Client.java:1-78 | doc-examples/jdbc-jakarta-data-example-java/src/main/java/example/metamodel/Client.java:1-78 \u2014 before extracting anything, compare \u0060doc-examples/jdbc-example-java/src/main/java/example/metamodel/Client.java\u0060 and \u0060doc-examples/jdbc-jakarta-data-example-java/src/main/java/example/metamodel/Client.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060doc-examples/jdbc-example-java/src/main/java/example/metamodel/Client.java:1\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":"doc-examples/jdbc-example-java/src/main/java/example/metamodel/Client.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c46221ed03410613752af5c2b35291295e2e4160674b743224e12e7ebed309d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): doc-examples/hibernate-multitenancy-discriminator-example-java/src/main/java/example/BookController.java:20-47 | doc-examples/jdbc-multitenancy-datasource-example-java/src/main/java/example/BookController.java:20-42 | doc-examples/jdbc-multitenancy-discriminator-example-java/src/main/java/example/BookController.java:20-47 | doc-examples/jdbc-multitenancy-schema-example-java/src/main/java/example/BookController.java:20-42 \u2014 before extracting anything, compare \u0060doc-examples/hibernate-multitenancy-discriminator-example-java/src/main/java/example/BookController.java\u0060 and \u0060doc-examples/jdbc-multitenancy-datasource-example-java/src/main/java/example/BookController.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-multitenancy-discriminator-example-java/src/main/java/example/BookController.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f15e674ac09bf8316603e2d0fd4d197153bba33fca7fc4020d3143fc92693f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): doc-examples/mongo-example-java/src/main/java/example/ProductManager.java:22-47 | doc-examples/mongo-example-records-java/src/main/java/example/ProductManager.java:22-47 \u2014 before extracting anything, compare \u0060doc-examples/mongo-example-java/src/main/java/example/ProductManager.java\u0060 and \u0060doc-examples/mongo-example-records-java/src/main/java/example/ProductManager.java\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060doc-examples/mongo-example-java/src/main/java/example/ProductManager.java:22\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":"doc-examples/mongo-example-java/src/main/java/example/ProductManager.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37cde3901b5a06d180525ffaff8697ffe5e35ab4f7ba669c2cec049a00d3ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): doc-examples/mongo-multitenancy-database-example-java/src/main/java/example/BookDto.java:13-34 | doc-examples/mongo-multitenancy-datasource-example-java/src/main/java/example/BookDto.java:13-34 | doc-examples/mongo-multitenancy-discriminator-example-java/src/main/java/example/BookDto.java:13-34 \u2014 before extracting anything, compare \u0060doc-examples/mongo-multitenancy-database-example-java/src/main/java/example/BookDto.java\u0060 and \u0060doc-examples/mongo-multitenancy-datasource-example-java/src/main/java/example/BookDto.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"doc-examples/mongo-multitenancy-database-example-java/src/main/java/example/BookDto.java"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc7a225b5492e32c64a2ffde2b78dd95268b5f9b9b38cf5f1393d5810897b3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): doc-examples/mongo-multitenancy-datasource-example-java/src/main/java/example/BookController.java:21-43 | doc-examples/mongo-multitenancy-discriminator-example-java/src/main/java/example/BookController.java:21-48 \u2014 before extracting anything, compare \u0060doc-examples/mongo-multitenancy-datasource-example-java/src/main/java/example/BookController.java\u0060 and \u0060doc-examples/mongo-multitenancy-discriminator-example-java/src/main/java/example/BookController.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/mongo-multitenancy-datasource-example-java/src/main/java/example/BookController.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b459f861d8adeab10b419ad100247bebda050c5e19ebf0b78aa7b77429af18b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): doc-examples/r2dbc-multitenancy-datasource-example-java/src/main/java/example/BookController.java:18-40 | doc-examples/r2dbc-multitenancy-discriminator-example-java/src/main/java/example/BookController.java:20-47 | doc-examples/r2dbc-multitenancy-schema-example-java/src/main/java/example/BookController.java:18-40 \u2014 before extracting anything, compare \u0060doc-examples/r2dbc-multitenancy-datasource-example-java/src/main/java/example/BookController.java\u0060 and \u0060doc-examples/r2dbc-multitenancy-discriminator-example-java/src/main/java/example/BookController.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"doc-examples/r2dbc-multitenancy-datasource-example-java/src/main/java/example/BookController.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"64571675f1898c3bed2ea0b1b2663d8c67af0d2f01e78cec6e6d37899bb37d05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): doc-examples/hibernate-example-java/src/main/java/example/MonthDayDateAttributeConverter.java:20-29 | doc-examples/hibernate-reactive-example-java/src/main/java/example/MonthDayDateAttributeConverter.java:20-29 \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":"doc-examples/hibernate-example-java/src/main/java/example/MonthDayDateAttributeConverter.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e82b0656c8a2a9cc874c046bbd3bbe383de92b0290fef8f27770b2ccea19dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): doc-examples/jdbc-example-kotlin/src/main/kotlin/example/DemoController.kt:17-40 | doc-examples/r2dbc-example-kotlin/src/main/kotlin/example/DemoController.kt:17-40 \u2014 before extracting anything, compare \u0060doc-examples/jdbc-example-kotlin/src/main/kotlin/example/DemoController.kt\u0060 and \u0060doc-examples/r2dbc-example-kotlin/src/main/kotlin/example/DemoController.kt\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-kotlin/src/main/kotlin/example/DemoController.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3748df4b4396ae414a1017071bb660e0a459e8f8fcf2adf67ef86ba2f3e21b49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): doc-examples/mongo-reactive-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt:79-90 | doc-examples/r2dbc-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt:59-70 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060doc-examples/mongo-reactive-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt:79\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/mongo-reactive-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5330bfe58806fdf40c5782dfed836f9c8f195474fc4ed6019e0b26de8c1ce680"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/BookListeners.kt:12-24 | doc-examples/hibernate-example-kotlin/src/main/kotlin/example/BookListeners.kt:12-24 \u2014 before extracting anything, compare \u0060doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/BookListeners.kt\u0060 and \u0060doc-examples/hibernate-example-kotlin/src/main/kotlin/example/BookListeners.kt\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/BookListeners.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2bf409692d95a3ee3b8450106d3209718ee92394a52fd1c7f3f34dd6a91baa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/BookManager.kt:14-23 | doc-examples/hibernate-example-kotlin/src/main/kotlin/example/BookManager.kt:14-23 | doc-examples/hibernate-reactive-example-kotlin/src/main/kotlin/example/BookManager.kt:14-23 \u2014 before extracting anything, compare \u0060doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/BookManager.kt\u0060 and \u0060doc-examples/hibernate-example-kotlin/src/main/kotlin/example/BookManager.kt\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/BookManager.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"54898408575770e1c24e7cdabb065a93f189d606a709bf9c3ad7b7663d6c278c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (122 lines \u00D7 5): doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/PersonSuspendRepositoryService.kt:18-139 | doc-examples/hibernate-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt:18-139 | doc-examples/jdbc-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt:18-161 | doc-examples/mongo-example-kotlin-ksp/src/main/kotlin/example/PersonSuspendRepositoryService.kt:20-171 | doc-examples/mongo-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt:20-176 \u2014 before extracting anything, compare \u0060doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/PersonSuspendRepositoryService.kt\u0060 and \u0060doc-examples/hibernate-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/PersonSuspendRepositoryService.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f42a8b34689143aa830de24235e497c8221f0c58173cb273d146da2fffbc93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/ProductRepository.kt:49-73 | doc-examples/hibernate-example-kotlin/src/main/kotlin/example/ProductRepository.kt:61-85 \u2014 before extracting anything, compare \u0060doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/ProductRepository.kt\u0060 and \u0060doc-examples/hibernate-example-kotlin/src/main/kotlin/example/ProductRepository.kt\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/ProductRepository.kt:49\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":"doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/ProductRepository.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d12532c475dff5933ad585b98fdaed1a7cb5025b518f185819257b8dbffb6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): doc-examples/jdbc-multitenancy-datasource-example-kotlin/src/main/kotlin/example/BookController.kt:17-30 | doc-examples/jdbc-multitenancy-discriminator-example-kotlin/src/main/kotlin/example/BookController.kt:17-34 | doc-examples/jdbc-multitenancy-schema-example-kotlin/src/main/kotlin/example/BookController.kt:17-30 \u2014 before extracting anything, compare \u0060doc-examples/jdbc-multitenancy-datasource-example-kotlin/src/main/kotlin/example/BookController.kt\u0060 and \u0060doc-examples/jdbc-multitenancy-discriminator-example-kotlin/src/main/kotlin/example/BookController.kt\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-multitenancy-datasource-example-kotlin/src/main/kotlin/example/BookController.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dc1af1dfc9daa7c40a0dae17671b0f34681c03ef3e382cd570c9d4a130bc95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (152 lines \u00D7 2): doc-examples/mongo-example-kotlin-ksp/src/main/kotlin/example/PersonSuspendRepositoryService.kt:20-171 | doc-examples/mongo-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt:20-176 \u2014 before extracting anything, compare \u0060doc-examples/mongo-example-kotlin-ksp/src/main/kotlin/example/PersonSuspendRepositoryService.kt\u0060 and \u0060doc-examples/mongo-example-kotlin/src/main/kotlin/example/PersonSuspendRepositoryService.kt\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/mongo-example-kotlin-ksp/src/main/kotlin/example/PersonSuspendRepositoryService.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9341cda19adc3848c28f5b8b57b6736f462de0b418ab91c5db907a833134ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): doc-examples/mongo-example-kotlin-ksp/src/main/kotlin/example/ProductManager.kt:17-35 | doc-examples/mongo-example-kotlin/src/main/kotlin/example/ProductManager.kt:18-36 \u2014 before extracting anything, compare \u0060doc-examples/mongo-example-kotlin-ksp/src/main/kotlin/example/ProductManager.kt\u0060 and \u0060doc-examples/mongo-example-kotlin/src/main/kotlin/example/ProductManager.kt\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"doc-examples/mongo-example-kotlin-ksp/src/main/kotlin/example/ProductManager.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"df74443cd21105aff72524f92ee3aa301ee5e365af365d4a8259a3b0c64da2ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): doc-examples/mongo-example-kotlin-ksp/src/main/kotlin/example/PersonRepository.kt:124-131 | doc-examples/mongo-example-kotlin/src/main/kotlin/example/PersonRepository.kt:128-135 \u2014 before extracting anything, compare \u0060doc-examples/mongo-example-kotlin-ksp/src/main/kotlin/example/PersonRepository.kt\u0060 and \u0060doc-examples/mongo-example-kotlin/src/main/kotlin/example/PersonRepository.kt\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/mongo-example-kotlin-ksp/src/main/kotlin/example/PersonRepository.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b089c725d4c01c91f55912e8f5e67a37db31b5d261cd8b6f367641243f10d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 3): doc-examples/azure-cosmos-example-python/src/main/python/example/PersonRepository.py:20-72 | doc-examples/jdbc-example-python/src/main/python/example/PersonRepository.py:21-77 | doc-examples/mongo-example-python/src/main/python/example/PersonRepository.py:22-83 \u2014 before extracting anything, compare \u0060doc-examples/azure-cosmos-example-python/src/main/python/example/PersonRepository.py\u0060 and \u0060doc-examples/jdbc-example-python/src/main/python/example/PersonRepository.py\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"doc-examples/azure-cosmos-example-python/src/main/python/example/PersonRepository.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f71ece4013ffc7f05892b88a3553660db7f4ad16dba8ecfbd974e8ea546f52f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DefaultR2dbcRepositoryOperations (LCOM4 15): DefaultR2dbcRepositoryOperations\u0027s methods fall into 15 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 15 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54c2f4dcf1199e91de6f85515eab1529c41f2503287f1385de1ca2604c1290a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DefaultJdbcRepositoryOperations (LCOM4 13): DefaultJdbcRepositoryOperations\u0027s methods fall into 13 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 13 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1caca19709c192a03fec2c7a22c6eb7c8b43a2e1593743f9a545b9ce77e206e4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ColumnIndexReadableResultReader (LCOM4 11): ColumnIndexReadableResultReader\u0027s methods fall into 11 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 11 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ColumnIndexReadableResultReader.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ffa5fe2cdc6a23305d5b95f3d5e922d8a3eed3b829238ab62d870654ce8248"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DefaultMongoStoredQuery (LCOM4 9): DefaultMongoStoredQuery\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac4dc3f34961075eb3dac024639779ac98aa071c6d290d44379c8c13d4a362b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AbstractReactorTransactionOperations (LCOM4 9): AbstractReactorTransactionOperations\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tx/src/main/java/io/micronaut/transaction/support/AbstractReactorTransactionOperations.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1321d8a9ea4b8c02c325d8dcecfc37b69a77274288013ad0ebb50965a68673"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AbstractMongoRepositoryOperations (LCOM4 8): AbstractMongoRepositoryOperations\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/AbstractMongoRepositoryOperations.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e890e2580176ad419f42b5ceea100d21636050f15c869ac8d7e690ed1e42b2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AbstractCriteriaMethodMatch (LCOM4 8): AbstractCriteriaMethodMatch\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/AbstractCriteriaMethodMatch.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"18017d1d6471a3073ad0ed529f5531ed6d3f754aa975a7ce0cd54342e7a72853"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: R2dbcQueryStatement (LCOM4 8): R2dbcQueryStatement\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/R2dbcQueryStatement.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"239094c4ca220144ff229662d7dd4bbee359e8be70d3049c378ffb10619b8f83"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: JakartaDataRestrictionsConverter (LCOM4 7): JakartaDataRestrictionsConverter\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/convert/JakartaDataRestrictionsConverter.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"851171402edde5bd330782d69b47ce9c9eebf33f1257b02be6d313463af2b103"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SQLiteJoinFetchTest (LCOM4 7): SQLiteJoinFetchTest\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteJoinFetchTest.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"320b40b350410c4eca2f0793d31575a00a974d68e99a45d8135a78d6134ffee5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DefaultReactiveCosmosRepositoryOperations (LCOM4 6): DefaultReactiveCosmosRepositoryOperations\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"047faaaedb3755de3eb8c43e37e0aa6f0fe6c798c54c53e0fe0e0a304c56767b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HibernateJpaOperations (LCOM4 6): HibernateJpaOperations\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ace058ce2e5c1d83b3bdb27da039056d0f415898553a03c11321a8a4394393"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AbstractQueryInterceptor (LCOM4 5): AbstractQueryInterceptor\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/AbstractQueryInterceptor.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0c2fa93f288270a9bfcfd622700813e1ea991850b7818a8db3d0d360c90e8b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ManyToManyJoinTableTest (LCOM4 5): ManyToManyJoinTableTest\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/many2many/ManyToManyJoinTableTest.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62014c3f74fbcebd4d988740e12b9454ad75af768ca4777b2d356aa85eccd80"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SQLiteEnumsMappingTest (LCOM4 5): SQLiteEnumsMappingTest\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteEnumsMappingTest.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac46443d53d63a0906b0acff1c012d2367c7de16d44c66e657ca280507a4051"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RegistrationRecoveryConfiguration (LCOM4 4): RegistrationRecoveryConfiguration\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/notification/oracle/OracleNotificationConfiguration.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5463a4e691c501816edc9c5cecd1db4cbae92cc4552ced9defa8686d5c29efb6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AbstractRepositoryOperations (LCOM4 4): AbstractRepositoryOperations\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractRepositoryOperations.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e5a31070ae3bd9a3975269cbc3830730ea7a8384b9380bc2ec2383c37634a5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EntityTests (LCOM4 4): EntityTests\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/jakarta_data/entity/EntityTests.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0ff5cd36cc467033fac51941dee6d7afe7da7fade285f0da23c2b65f005b47"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MultiManyToOneJoinTest (LCOM4 4): MultiManyToOneJoinTest\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/many2one/MultiManyToOneJoinTest.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94039600af44b62387f40d0414277858ad7cb1ee678995ab37d10b5ac177587"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SQLiteTransactionsTest (LCOM4 4): SQLiteTransactionsTest\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteTransactionsTest.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfcf0e795b6dc0b0dda44ebf9fc43df31e89ebc197f8c98fad923875c1d7cba"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: shouldThrowIfBuildingJoin: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/coherence-example-java/src/test/java/io/micronaut/coherence/data/query/CohQLQueryTest.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9938fe806bbca5b8e7ff517b9ee0303961a72179b49830011585add7c079bec6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: shouldReturnFalseForInvalidAuthor: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/coherence-example-java/src/test/java/io/micronaut/coherence/data/GeneratedAsyncStatementsTest.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7bb8f681547767ff0cc017741ecb0c59a77c43c2186b79ec3d9e414f6b2169"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: shouldReturnTrueForValidAuthor: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/coherence-example-java/src/test/java/io/micronaut/coherence/data/GeneratedAsyncStatementsTest.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e5d019b390172611eefb93caed76a8b59975bf2dd62bbcca33a0466a6490b9"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: shouldGetBooksById: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022Flaky test\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/coherence-example-java/src/test/java/io/micronaut/coherence/data/GeneratedAsyncStatementsTest.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"083f6833e290c0f32dc30bdfafcbe432737a14100904d00b26ffffb6c6ab7ecb"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: org.orbisgis:h2gis: \u0060org.orbisgis:h2gis\u0060 2.2.5 is published on Maven Central under \u0060LGPL-3.0\u0060, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact\u0027s POM \u0060\u003Clicenses\u003E\u0060 block \u2014 following \u0060\u003Cparent\u003E\u0060 where the POM inherits them \u2014 and normalised to SPDX before it was judged, because Maven publishes the name as free text (\u0060GNU Affero General Public License v3\u0060 is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven\u0027s own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c10967d283b5d18cd35f72345026040c87d941e6efb4fce5dcb65758a935c8c"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: org.openjdk.jmh:jmh-core: \u0060org.openjdk.jmh:jmh-core\u0060 1.37 is published on Maven Central under \u0060GPL-2.0\u0060, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact\u0027s POM \u0060\u003Clicenses\u003E\u0060 block \u2014 following \u0060\u003Cparent\u003E\u0060 where the POM inherits them \u2014 and normalised to SPDX before it was judged, because Maven publishes the name as free text (\u0060GNU Affero General Public License v3\u0060 is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven\u0027s own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"01583a0c194289959e71817aaeaf053fd4437f5c0bc5d638a8da404c8765d84b"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: org.openjdk.jmh:jmh-generator-annprocess: \u0060org.openjdk.jmh:jmh-generator-annprocess\u0060 1.37 is published on Maven Central under \u0060GPL-2.0\u0060, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact\u0027s POM \u0060\u003Clicenses\u003E\u0060 block \u2014 following \u0060\u003Cparent\u003E\u0060 where the POM inherits them \u2014 and normalised to SPDX before it was judged, because Maven publishes the name as free text (\u0060GNU Affero General Public License v3\u0060 is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven\u0027s own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dc4b012c5d7cfe91687089c2615f4cd0eb108c448d567beaf217196ad6a929e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java: data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in SqlQueryBuilder.buildInsert at line 1497. 6 of those changes were fix/bug commits, and the other 10 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 10:26:30 \u002B01:00\u0027 --until=\u00272026-11-16 10:26:30 \u002B01:00\u0027 --full-history --no-merges -- data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0039664006dbeaa72caf05d46814f08fdfc52553b5876579989a59580a5f263"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java: data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in SqlResultEntityTypeMapper.readEntity at line 607. 2 of those changes were fix/bug commits, and the other 3 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 10:26:30 \u002B01:00\u0027 --until=\u00272026-11-16 10:26:30 \u002B01:00\u0027 --full-history --no-merges -- data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java\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":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ba16b1469c31f61871d4f97c387371b6565b6ca5fea89b44ffd7a6d4b3a1fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java: data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in AbstractSqlLikeQueryBuilder.buildPropertyByName at line 1460. 8 of those changes were fix/bug commits, and the other 9 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 10:26:30 \u002B01:00\u0027 --until=\u00272026-11-16 10:26:30 \u002B01:00\u0027 --full-history --no-merges -- data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java\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":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18d56b4671275f8677cb3ced9c6c98c629c620fc4c12051d991976cf820d05f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java: data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in RepositoryTypeElementVisitor.processMethodInfo at line 596. 2 of those changes were fix/bug commits, and the other 4 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 10:26:30 \u002B01:00\u0027 --until=\u00272026-11-16 10:26:30 \u002B01:00\u0027 --full-history --no-merges -- data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java\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":"data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"32834d4d8e80b47bdf4df5ee1e4150533bc528d9ad4625f55f6c9dd9f6627c17"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java: data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in JdbcEntitiesOperations.execute at line 1861. 3 of those changes were fix/bug commits, and the other 6 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 10:26:30 \u002B01:00\u0027 --until=\u00272026-11-16 10:26:30 \u002B01:00\u0027 --full-history --no-merges -- data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java\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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"f050ab69b799f428c5d7f6d309ad7587998849d3496e074f699a405d697500a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java: data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in R2dbcEntitiesOperations.execute at line 1568. 3 of those changes were fix/bug commits, and the other 3 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 10:26:30 \u002B01:00\u0027 --until=\u00272026-11-16 10:26:30 \u002B01:00\u0027 --full-history --no-merges -- data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java\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":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8ae5c5d4eaef30cac94f93c0c20a42cc65a6d7c695634d7fe1b4fe3fa9c22b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: data-jdbc/src/main/java/io/micronaut/data/jdbc/config/SchemaGenerator.java: data-jdbc/src/main/java/io/micronaut/data/jdbc/config/SchemaGenerator.java changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in SchemaGenerator.createOrValidateSchema at line 127. 2 of those changes were fix/bug commits, and the other 3 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 10:26:30 \u002B01:00\u0027 --until=\u00272026-11-16 10:26:30 \u002B01:00\u0027 --full-history --no-merges -- data-jdbc/src/main/java/io/micronaut/data/jdbc/config/SchemaGenerator.java\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":"data-jdbc/src/main/java/io/micronaut/data/jdbc/config/SchemaGenerator.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba295d32ebf9c949ba1474271576cbfb58914f0a7daa4b02bb6b6abfa8bd3dec"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: data-tx/src/main/java/io/micronaut/transaction/support/DefaultTransactionDefinition.java: data-tx/src/main/java/io/micronaut/transaction/support/DefaultTransactionDefinition.java 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 8 (its worst body is DefaultTransactionDefinition.toString at line 325), AT OR 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 bugs found in a code review across processor, query builders, runtime, backends and transactions (#4091)\u201D; \u201C[5.2.x] Restructure the guide, add examples for all languages and fix documentation issues (#4073)\u201D; \u201CRestructure the guide, add examples for all languages and fix documentation issues (#4062)\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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 10:26:30 \u002B01:00\u0027 --until=\u00272026-11-16 10:26:30 \u002B01:00\u0027 --full-history --no-merges -- data-tx/src/main/java/io/micronaut/transaction/support/DefaultTransactionDefinition.java\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":"data-tx/src/main/java/io/micronaut/transaction/support/DefaultTransactionDefinition.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"69863e10f109a5943bae71f42869f042bb5d0432560429cfd04e5b1905159829"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 6 significant file(s) lose their only recent owner: data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java, data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/ColumnNameResultSetReader.java, data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/DefaultPersistentPropertyPath.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/MethodMatchContext.java, data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/AbstractAsyncSpecificationInterceptor.java, data-runtime/src/main/java/io/micronaut/data/runtime/mapper/AbstractDelegatingResultReader.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"063ceb882fc2ea37808e1109917550f28ee83c6eaf1a37db44ec387a9ef203bf"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 5 significant file(s) lose their only recent owner: data-tx-jdbc/src/main/java/io/micronaut/transaction/jdbc/oracle/OracleSessionlessTransactionHandler.java, data-model/src/main/java/io/micronaut/data/model/runtime/convert/GeometryWktConverter.java, data-model/src/main/java/io/micronaut/data/model/runtime/convert/GeometryJsonConverter.java, data-model/src/main/java/io/micronaut/data/annotation/Srid.java, data-model/src/main/java/io/micronaut/data/model/geo/Point.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"493e667f0edd054be260871ddd59898c15f4912b37bb04312c668ed790e93a5b"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (20 single-owned of 670 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 670 of the 2648 production source files in this repository met that bar). They are anonymized user #3 (4 file(s)), anonymized user #4 (3 file(s)), anonymized user #5 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java, data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/VectorParameterBinder.java, data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/OracleVectorSqlIndexDefinitionProvider.java, data-model/src/main/java/io/micronaut/data/model/runtime/convert/SqlIndexDefinitionProvider.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/ReservationMethodMatcher.java, data-runtime/src/main/java/io/micronaut/data/runtime/event/listeners/AutoPopulateUtil.java, data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/R2dbcLobReader.java, data-model/src/main/java/io/micronaut/data/model/AbstractPersistentEntity.java."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //FIXME - Are user defined repository interfaces like this allowed via the Specification? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/jakarta_data/read/only/ReadOnlyRepository.java"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9f29a7b8b25ee34d08a1076a7798ca25f725a8ed499af91c875061b49940b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jakarta-data-tck/mongodb/src/test/java/io/micronaut/data/jakarta/tck/FilterExtension.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f91b1e3eda72f5b14e99fecf5d5cd49481bd0e6a571738dd495d8b207ba4a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jakarta-data-tck/mongodb/src/test/java/io/micronaut/data/jakarta/tck/FilterExtension.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5051175737885d685b8f2a0324ecec42a54d04ca3c421fb26dec5c5c99bc91"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jakarta-data-tck/mongodb/src/test/java/io/micronaut/data/jakarta/tck/FilterExtension.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea59bbcdc9898e8a89f1a4155e008a8220a5a22231273bdd7813a97d9fdc604"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jakarta-data-tck/mongodb/src/test/java/io/micronaut/data/jakarta/tck/FilterExtension.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e59cdad4f82772bece2c97ce502eeca29b14e4fc36ef26f7cd354143b18a725"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(python): overriding the inherited generic \u0060\u003CS extends Book\u003E Publisher\u003CS\u003E saveAll(Iterable\u003CS\u003E)\u0060 is not \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/r2dbc-example-python/src/main/python/example/BookRepository.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9c576ab5c0106303e3b19b762ce7e6ad772598f978d321b6e1dc9b92138c4c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement in Micronaut Serialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/mongo-jackson-example-java/src/test/java/example/Tests.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08a784f3a75b3f53b8e37a6460458a88e6889822d9587925108f0e718e83425"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(python): the specification methods are declared on the repository instead of extending JpaSpecificationExecutor: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/mongo-example-python/src/main/python/example/PersonRepository.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e6ec01508f957da709c152744860282338148e28c5ca8df997928135651537"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(python): the specification methods are declared on the repository instead of extending JpaSpecificationExecutor: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-python/src/main/python/example/PersonRepository.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd52ac56bb536888febe11369001c159b7d4df9d0981f1d67915a747efd7953d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(python): the specification methods are declared on the repository instead of extending JpaSpecificationExecutor: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-python/src/main/python/example/ProductRepository.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eda676770057d834ca0d83eeaf67241241fcdf484b9596dcede9564ddd3b26f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(python): the specification methods are declared on the repository instead of extending JpaSpecificationExecutor: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/azure-cosmos-example-python/src/main/python/example/FamilyRepository.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e5a98a4d8c2607638a56a8786a3c6eff89199ecad48dd1eafed5eea0ad97a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(python): the specification methods are declared on the repository instead of extending JpaSpecificationExecutor: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/azure-cosmos-example-python/src/main/python/example/PersonRepository.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31229bb6b2d507d525d73ce5187f6abf207be28f4a59ff4163910f7f0f769d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //   TODO     Assertions.assertEquals(1, bookManager.getEvents().size()); \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-spring-tx-example-java/src/test/java/example/BookRepositorySpec.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb2761129c768fabf70c674d0d25274e1a9f9588b649cf3cd798bf62c9158c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this should throw an exception because the type is not Kotlin nullable but context returns nullable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-kotlin/src/test/kotlin/example/PersonSuspendRepositorySpec.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3a02edd516570e131aa66966ec4bf50acacfc8eea48b071899279cbd025ebf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:       Assertions.assertEquals(1, bookManager.getEvents().size()); \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-spring-tx-example-java/src/test/java/example/BookRepositorySpec.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76ecaf3870d811c21dadb091d525e4fe634cac6014fb83c0abc107be4a68594"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Need to update coherence after Micronaut 5 is released and this test might be obsolete \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/coherence-example-java/src/test/java/io/micronaut/coherence/data/query/CohQLQueryTest.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"036b9a29f42703e9724b0e67344befac5e8178c8b122dc8eccb4a02cf85b15d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fix this combination \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tx-hibernate/src/test/java/io/micronaut/transaction/hibernate6/micronaut/ReadOnlyTest.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ddd341e9d7444d9b5bd18143f146b77feb1fe11a25d87980369b6f136cd017"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fix this combination \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tx-hibernate/src/test/java/io/micronaut/transaction/hibernate6/micronaut/ReadOnlyTest.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba103190719ef3c39c752e7592413defb44a85415d16676eef34be7c72707109"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fix this combination \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-spring-jpa/src/test/java/io/micronaut/data/spring/hibernate/micronaut/ReadOnlyTest.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb6b3e4ccb8479b1dbce6c23a8dd3f6da551ab537473a2fd9cd25f816721cfd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fix this combination \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-spring-jpa/src/test/java/io/micronaut/data/spring/hibernate/micronaut/ReadOnlyTest.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c43c0dd31d0ba496259f2fe256362854d706932c3e1a5e3b9e5265dec47cf4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //  TODO: fix postponed compilation @OrderBy(_Train.NAME) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/TrainRepository.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9822f9b97daae6fc2fc898d6c4aece5410ad1c950fb0a6545816584a035fade0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We should avoid using @Replaces, there should be a way to use different data sources with Micronaut and Spring TX \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-spring-jpa/src/main/java/io/micronaut/data/spring/jpa/hibernate/SpringHibernateConnectionOperations.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de577c7c8d5a6c717208a0484d8f677c7015c00f1b331f6f31ec84b46e8f932"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We should avoid using @Replaces, there should be a way to use different data sources with Micronaut and Spring TX \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-spring-jdbc/src/main/java/io/micronaut/data/spring/jdbc/SpringJdbcConnectionOperations.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db542941020511820a82ffb4375882aa2d7763d4938746e17c1afd0113c8212"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to avoid using the prepared query \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/SqlJsonColumnMapperProvider.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab324d48817f94a40e559c5890ad7ca89319958a34a2aaca3f43d5a2632959b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support adding an expression annotation value in Core \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitor.java"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b2f875968d0eaa3565c91710c97db0fa559a465696df56dedb213f6057ec72"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support embedded ID \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/AbstractCriteriaMethodMatch.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47a284232ea87368bd01ef63f8d33794ce29cd803b324c56cbe6be438ead865"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support embedded ID \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/UpdateMethodMatcher.java"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f494db4c377982b141e42467ca6ca51e41e6c4c72cad63b9046e8457bb325799"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/TypeUtils.java"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"871d130c5c2a2c3dd3effd6c0cde7db350fdd4fdff782f75dcb0251e79d03a12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/TypeUtils.java"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad923188bca13593bb7cabc22f630d468a8e7ea01142c28409ecad7f454f4074"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: improve id recognition \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoStoredQuery.java"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"94dd5b7bcb6b4581fd5e11d5fbbed452c0801739057b16e4937dfbecd5424955"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: different initializer per conf \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/init/AbstractMongoCollectionsCreator.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"555b09ca48576708314e8756879d7cdf6598e18082659f9fe1c1dca49e8830b2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support @JoinTable style annotation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e8deb777ac09890ce93905db1a654944d8dbb2e1689d218184b8bf0e7b3f87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Later implement indexing policy, time to live, unique key etc. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/common/CosmosDatabaseInitializer.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a4125b1ef1489883afec4d74d5fa2174bf36130a87762a6d947ef468da7dbc"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060buildSrc/build.gradle\u0060 makes this repository a deployable product (line 21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"buildSrc/build.gradle"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4130cceddf8373645d765de11048e92cb8398c7d2bb48385ee9be2887b1a19b7"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060AuthorDTO\u0060 spells \u0060DTO\u0060 where 19 names in the project spell it \u0060Dto\u0060: 19 of 21 names in project data-tck spell the token \u0060Dto\u0060 (19 of 21; unit: names in project data-tck containing \u0060Dto\u0060). Peers: io.micronaut.data.tck.entities.ArraysDto (data-tck/src/main/java/io/micronaut/data/tck/entities/ArraysDto.java:25); io.micronaut.data.tck.entities.AuthorBooksDto (data-tck/src/main/java/io/micronaut/data/tck/entities/AuthorBooksDto.java:23); io.micronaut.data.tck.entities.AuthorDtoWithBookDtos (data-tck/src/main/java/io/micronaut/data/tck/entities/AuthorDtoWithBookDtos.java:24); io.micronaut.data.tck.entities.AuthorDtoWithBooks (data-tck/src/main/java/io/micronaut/data/tck/entities/AuthorDtoWithBooks.java:24); io.micronaut.data.tck.entities.BookDto (data-tck/src/main/java/io/micronaut/data/tck/entities/BookDto.java:23). Rename to \u0060AuthorDto\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/entities/AuthorDTO.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7088f09bfe9092ef31f8136e3d7993008a1d791a373d9209e98ae0a3dc7f505"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060SaleDTO\u0060 spells \u0060DTO\u0060 where 19 names in the project spell it \u0060Dto\u0060: 19 of 21 names in project data-tck spell the token \u0060Dto\u0060 (19 of 21; unit: names in project data-tck containing \u0060Dto\u0060). Peers: io.micronaut.data.tck.entities.ArraysDto (data-tck/src/main/java/io/micronaut/data/tck/entities/ArraysDto.java:25); io.micronaut.data.tck.entities.AuthorBooksDto (data-tck/src/main/java/io/micronaut/data/tck/entities/AuthorBooksDto.java:23); io.micronaut.data.tck.entities.AuthorDtoWithBookDtos (data-tck/src/main/java/io/micronaut/data/tck/entities/AuthorDtoWithBookDtos.java:24); io.micronaut.data.tck.entities.AuthorDtoWithBooks (data-tck/src/main/java/io/micronaut/data/tck/entities/AuthorDtoWithBooks.java:24); io.micronaut.data.tck.entities.BookDto (data-tck/src/main/java/io/micronaut/data/tck/entities/BookDto.java:23). Rename to \u0060SaleDto\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/entities/SaleDTO.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae44acb415c19704d85612b7f65ac85bc1ab715d4f524f8a27ece70fff23d6f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060testReadDTO\u0060 spells \u0060DTO\u0060 where 13 names in the project spell it \u0060Dto\u0060: 13 of 14 names in project test-suite-data-jdbc-sqlite spell the token \u0060Dto\u0060 (13 of 14; unit: names in project test-suite-data-jdbc-sqlite containing \u0060Dto\u0060). Peers: AbstractManualSchemaTest.testManualInsertAndDtoRetrieval (test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/AbstractManualSchemaTest.java:122); io.micronaut.data.jdbc.sqlite.SQLiteBookDtoRepository (test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteBookDtoRepository.java:25); io.micronaut.data.jdbc.sqlite.AccountRecordDto (test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteDiscriminatorMultitenancyRecordTest.java:215); io.micronaut.data.jdbc.sqlite.SQLiteDtoTest (test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteDtoTest.java:30); io.micronaut.data.jdbc.sqlite.ThingDto (test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteDtoTest.java:147). Rename to \u0060testReadDto\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteAuthorRepository.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9e11cce18ead51509a0ab10f94996df3f81ce4fbff375dedd0a1a8607da09c"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060addressID\u0060 spells \u0060ID\u0060 where 24 names in the project spell it \u0060Id\u0060: 24 of 26 names in project jdbc-example-kotlin spell the token \u0060Id\u0060 (24 of 26; unit: names in project jdbc-example-kotlin containing \u0060Id\u0060). Peers: AccountBalanceRepository.findByIdForUpdate (doc-examples/jdbc-example-kotlin/src/main/kotlin/example/AccountBalanceRepository.kt:13); BookRepository.calculateSum(bookId) (doc-examples/jdbc-example-kotlin/src/main/kotlin/example/BookRepository.kt:125); CartRepository.findById (doc-examples/jdbc-example-kotlin/src/main/kotlin/example/CartRepository.kt:11); FooRepository.findById (doc-examples/jdbc-example-kotlin/src/main/kotlin/example/FooRepository.kt:15); ParentRepository.findById (doc-examples/jdbc-example-kotlin/src/main/kotlin/example/ParentRepository.kt:12). Rename to \u0060addressId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-kotlin/src/main/kotlin/example/AddressSubView.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2802dd2e6ada08bf8b5c9b77f516db2bba4c5f66b49bdcdecd97e54c76d33f0"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060teachID\u0060 spells \u0060ID\u0060 where 24 names in the project spell it \u0060Id\u0060: 24 of 26 names in project jdbc-example-kotlin spell the token \u0060Id\u0060 (24 of 26; unit: names in project jdbc-example-kotlin containing \u0060Id\u0060). Peers: AccountBalanceRepository.findByIdForUpdate (doc-examples/jdbc-example-kotlin/src/main/kotlin/example/AccountBalanceRepository.kt:13); BookRepository.calculateSum(bookId) (doc-examples/jdbc-example-kotlin/src/main/kotlin/example/BookRepository.kt:125); CartRepository.findById (doc-examples/jdbc-example-kotlin/src/main/kotlin/example/CartRepository.kt:11); FooRepository.findById (doc-examples/jdbc-example-kotlin/src/main/kotlin/example/FooRepository.kt:15); ParentRepository.findById (doc-examples/jdbc-example-kotlin/src/main/kotlin/example/ParentRepository.kt:12). Rename to \u0060teachId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-kotlin/src/main/kotlin/example/TeacherSubView.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d897ea72d823ea760b4813d606726c12af4eeff33b3688278e1cdcb34a11d6"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060data-model\u0060 (44138 LoC, 495 module-visible types across 47 directories) overshoots its size bounds. 5 of 26 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 6.4/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2ac8e28488eebcd3b0dfb801b4510966eafca1cafd959ad3334fc059f62523"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060data-runtime\u0060 (31187 LoC, 255 module-visible types across 33 directories) overshoots its size bounds. 5 of 26 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 6.4/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"166f518272e199a2a40433cbe458e78b905c06e9d7760b1e13311a2698d5f2c7"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060data-processor\u0060 (20121 LoC, 210 module-visible types across 15 directories) overshoots its size bounds. 5 of 26 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 6.4/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17c78fbd8ab011a607d9961d467d5a9c5d6e4d530766adb59889d80d8e6f629"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060data-tck\u0060 (14475 LoC, 300 module-visible types across 10 directories) overshoots its size bounds. 5 of 26 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 6.4/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cd67d4fc81b368c2f17f9e6211d9864facf55260c2b0ad0ed06296bd9f6996"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060data-tx\u0060 (7486 LoC, 73 module-visible types across 13 directories) overshoots its size bounds. 5 of 26 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 6.4/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tx/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71749c51c849836bb145827cb6169b07fbe7a20aea17aaf71e0413a47fe9672a"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f32e8f3fbf7570a6be9670d21e5c6b43cdac618ba5bf8a556a1c427f087797e"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a38ef7cbc3d91666d5f9cce4fb77b41d065d16c17f765b140a07691e71982cf4"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"760e165bf9813a3a355e50ec52de3c2fd4a173bb665104120bb8047f7f740e1c"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"f298bc5d4e7307b6aabbf6b6c2c00d23955a4f75af3f4338239bc354cda145d4"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 6 of 675 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 675 of the 2648 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: data-model/src/main/kotlin/io/micronaut/data/repository/jpa/kotlin/KotlinJpaSpecificationExecutor.kt, data-model/src/main/java/io/micronaut/data/model/CursoredPage.java, data-model/src/main/java/io/micronaut/data/model/DefaultCursoredPageable.java, data-model/src/main/kotlin/io/micronaut/data/repository/kotlin/KotlinCrudRepository.kt, data-model/src/main/java/io/micronaut/data/model/CursoredPageable.java, data-model/src/main/java/io/micronaut/data/model/DefaultCursoredPage.java. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/kotlin/io/micronaut/data/repository/jpa/kotlin/KotlinJpaSpecificationExecutor.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea08772a55e9080fe14982aaa470f85d5658adac9e05b2fbbcd3858657abaee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/CursoredPage.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5ebd0455cb9a1fa4175da79d057e0588877e719d64144f277f8bdda0605422"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/DefaultCursoredPageable.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de210ae64b492fef2f258f7bdeac766741c82461f9bf4d0416fc28c28bfea45c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/kotlin/io/micronaut/data/repository/kotlin/KotlinCrudRepository.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"277fa40cd56ac226f6256ea62ab392020cffacdee58e7e89e33a0608dc088b4e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/CursoredPageable.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee15abf6852466407547c27a6b16297e411d931c97dea3b3f7acef851176f0b2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/DefaultCursoredPage.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a594186717b3cf949d880b7845c7c9dc33dc047c49dd6cd331a6c63ad62718"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb8314ae45cfdfc2cbeef37f08b0e23e2f7b0853f60c446b1706ff0a86b7386a"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7fe2e19b71c498519968d862310b456c7dd82fc0bb140361564ead0dc9c876a9"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3280e262306330d897f849e2808b4280104b91840a867b4347220b94b659388"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"538e9233f0717839365dd0776acee63ba6031e46920627cec177c737b9c490ab"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a98ff4a17774b86920ed38f0788a538c3c38bf84ad9be14d44ad574be3038e3d"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"642c827971bc42d20ac9b1e602e078578877a75bbc4a076f8a54bc20c3db94ac"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf771b21e3b58bc52e0b53c1fd3ef001293d7fda2b1cc74ec7d8edb8611899ef"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ad4701c91f7eaa24aa7b7536975da3068c18dd1ab098025ae5c285286432c8e"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c1e52189f6d6201dbdd1a89c10409962d6e3253ca6edffdb033db8fc4089a61"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e4607103018ccbf4772504c4475df05c43062f243e17471503584c98dc62fdc"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: DefaultReactiveCosmosRepositoryOperations: \u0060DefaultReactiveCosmosRepositoryOperations\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (defaultCosmosSqlQueryBuilder; e.g. \u0060defaultCosmosSqlQueryBuilder\u0060 in \u0060decorate\u0060 at line 182)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-azure-cosmos/src/main/java/io/micronaut/data/cosmos/operations/DefaultReactiveCosmosRepositoryOperations.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edeaf9444b6b29c719734f793628b6311a33422825d3ac976f514fd68732e6d"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: TxEventsService: \u0060TxEventsService\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (lastEvent; e.g. \u0060lastEvent\u0060 in \u0060afterCommit\u0060 at line 73)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-tck/src/main/java/io/micronaut/data/document/tck/services/TxEventsService.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"178ed9990f8afd1e3aba9495152e03b91b8b22e8b1eabd89e8cab2970948ec1f"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: EntityEventRegistry: \u0060EntityEventRegistry\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (beanEventHandlers; e.g. \u0060beanEventHandlers\u0060 in \u0060process\u0060 at line 333)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/event/EntityEventRegistry.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9deaab276a8526bf996fe33edd172c5e6661d65df6ea078482400283245705d2"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: JakartaDataTrainEventListener: \u0060JakartaDataTrainEventListener\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (events; e.g. \u0060events\u0060 in \u0060onEvent\u0060 at line 38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/services/JakartaDataTrainEventListener.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef46e74e53a0872b4484a5e2cba8bf16249b998209ec4ebcddca4c117eac73a9"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: TxEventsService: \u0060TxEventsService\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (lastEvent, events; e.g. \u0060lastEvent\u0060 in \u0060afterCommit\u0060 at line 132)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/services/TxEventsService.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bdf911e258c6c49f3774cb8cffd4ba634c882b72a16f2d7540a7b9cf3e118b"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: EventRecorder: \u0060EventRecorder\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (eventRecords; e.g. \u0060eventRecords\u0060 in \u0060record\u0060 at line 16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/coherence-example-java/src/main/java/io/micronaut/coherence/data/util/EventRecorder.java"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"743fa2770dd8ac67ef200a8512b0a7d64bdbdd1d89acdd6ba6094d922544cf91"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: BookManager: \u0060BookManager\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (events; e.g. \u0060events\u0060 in \u0060onNewBook\u0060 at line 35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-spring-tx-example-java/src/main/java/example/BookManager.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1828c06c991322b21f58f011ca8106d77dc979fda1c4f77fac67830e6fb02216"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: BookManager: \u0060BookManager\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (events; e.g. \u0060events\u0060 in \u0060onNewBook\u0060 at line 35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-spring-tx-example-java/src/main/java/example/BookManager.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e096da3852e6f2bf84120b3f17f46cff97338e607a0b01d59cf8307e8c2134c"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PersonRepository (46 abstract methods): \u0060PersonRepository\u0060 declares 46 abstract methods: \u0060count\u0060, \u0060countByAgeGreaterThan\u0060, \u0060countByAgeLessThan\u0060, \u0060deleteByNameRegex\u0060, \u0060findAgeByName\u0060, \u0060findAllByNameRegex\u0060, \u0060findAllByNameRegex\u0060, \u0060findByDateOfBirthGreaterThan\u0060, \u0060findByDateOfBirthGreaterThanEquals\u0060, \u0060findByDateOfBirthLessThan\u0060, \u0060findByDateOfBirthLessThanEquals\u0060, \u0060findByIdIn\u0060, \u0060findByIdNotIn\u0060, \u0060findByName\u0060, \u0060findByNameContains\u0060, \u0060findByNameContainsIgnoreCase\u0060, \u0060findByNameEndsWith\u0060, \u0060findByNameEndsWithIgnoreCase\u0060, \u0060findByNameEqualIgnoreCase\u0060, \u0060findByNameIn\u0060, \u0060findByNameLike\u0060, \u0060findByNameNotEqualIgnoreCase\u0060, \u0060findByNameRegex\u0060, \u0060findByNameRegex\u0060, \u0060findByNameRegexOrderByAge\u0060, \u0060findByNameRegexOrderByAgeDesc\u0060, \u0060findByNameStartsWith\u0060, \u0060findByNameStartsWithIgnoreCase\u0060, \u0060findMaxAgeByNameRegex\u0060, \u0060findMaxDateOfBirthByNameRegex\u0060, \u0060findMinAgeByNameRegex\u0060, \u0060findMinDateOfBirthByNameRegex\u0060, \u0060get\u0060, \u0060getAvgAgeByNameRegex\u0060, \u0060getByNameRegex\u0060, \u0060getSumAgeByNameRegex\u0060, \u0060list\u0060, \u0060listTop10\u0060, \u0060queryByNameRegex\u0060, \u0060readAgeByNameRegex\u0060, and 6 more. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 46 declarations carry 44 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 44 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":"data-document-tck/src/main/java/io/micronaut/data/document/tck/repositories/PersonRepository.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a318c9ea81c52c90191d8718e0e7b0ea5435d5a4462a1b3b3aec04a1d6fe5b5f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PersistentEntityCriteriaBuilder (27 abstract methods): \u0060PersistentEntityCriteriaBuilder\u0060 declares 27 abstract methods: \u0060and\u0060, \u0060arrayContains\u0060, \u0060containsString\u0060, \u0060containsStringIgnoreCase\u0060, \u0060createCriteriaDelete\u0060, \u0060createCriteriaInsert\u0060, \u0060createCriteriaUpdate\u0060, \u0060createQuery\u0060, \u0060createQuery\u0060, \u0060createTupleQuery\u0060, \u0060endingWithString\u0060, \u0060endingWithStringIgnoreCase\u0060, \u0060equalStringIgnoreCase\u0060, \u0060equalStringIgnoreCase\u0060, \u0060geoIntersects\u0060, \u0060geoWithin\u0060, \u0060ilike\u0060, \u0060isEmptyString\u0060, \u0060isNotEmptyString\u0060, \u0060near\u0060, \u0060notEqualStringIgnoreCase\u0060, \u0060notEqualStringIgnoreCase\u0060, \u0060or\u0060, \u0060regex\u0060, \u0060sort\u0060, \u0060startsWithString\u0060, \u0060startsWithStringIgnoreCase\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 27 declarations carry 24 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 24 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":"data-model/src/main/java/io/micronaut/data/model/jpa/criteria/PersistentEntityCriteriaBuilder.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b3b34ac848da0418ce3bb04aac9654a0454a20a117798697dda9f4c0a7bdf3"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PersistentEntityCriteriaQuery\u003CT\u003E (17 abstract methods): \u0060PersistentEntityCriteriaQuery\u003CT\u003E\u0060 declares 17 abstract methods under just 10 distinct name(s): \u0060distinct\u0060, \u0060from\u0060, \u0060from\u0060, \u0060from\u0060, \u0060groupBy\u0060, \u0060groupBy\u0060, \u0060having\u0060, \u0060having\u0060, \u0060limit\u0060, \u0060multiselect\u0060, \u0060multiselect\u0060, \u0060offset\u0060, \u0060orderBy\u0060, \u0060orderBy\u0060, \u0060select\u0060, \u0060where\u0060, \u0060where\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 17 separate responsibilities: a caller binds to 10 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 17 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/jpa/criteria/PersistentEntityCriteriaQuery.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"26644e478781fd30dbb884fdb2c360a97cf503456cf5abd7b287f0e3da68a68c"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PersistentEntityFrom\u003COwnerType, AssociatedEntityType\u003E (20 abstract methods): \u0060PersistentEntityFrom\u003COwnerType, AssociatedEntityType\u003E\u0060 declares 20 abstract methods under just 5 distinct name(s): \u0060getPersistentJoins\u0060, \u0060join\u0060, \u0060join\u0060, \u0060join\u0060, \u0060join\u0060, \u0060join\u0060, \u0060join\u0060, \u0060join\u0060, \u0060join\u0060, \u0060join\u0060, \u0060join\u0060, \u0060join\u0060, \u0060join\u0060, \u0060join\u0060, \u0060joinCollection\u0060, \u0060joinCollection\u0060, \u0060joinList\u0060, \u0060joinList\u0060, \u0060joinSet\u0060, \u0060joinSet\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 20 separate responsibilities: a caller binds to 5 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 20 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":"data-model/src/main/java/io/micronaut/data/model/jpa/criteria/PersistentEntityFrom.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"737b4ddc2236645a57afa89f7a652cd73fb269623ab295fd3c23e66235b53339"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AdvancedPredicateVisitor\u003CP\u003E (19 abstract methods): \u0060AdvancedPredicateVisitor\u003CP\u003E\u0060 declares 19 abstract methods: \u0060getRequiredProperty\u0060, \u0060visitContains\u0060, \u0060visitEndsWith\u0060, \u0060visitEquals\u0060, \u0060visitGreaterThan\u0060, \u0060visitGreaterThanOrEquals\u0060, \u0060visitIdEquals\u0060, \u0060visitIn\u0060, \u0060visitInBetween\u0060, \u0060visitIsEmpty\u0060, \u0060visitIsFalse\u0060, \u0060visitIsNotEmpty\u0060, \u0060visitIsNotNull\u0060, \u0060visitIsNull\u0060, \u0060visitIsTrue\u0060, \u0060visitLessThan\u0060, \u0060visitLessThanOrEquals\u0060, \u0060visitNotEquals\u0060, \u0060visitStartsWith\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. 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":"data-model/src/main/java/io/micronaut/data/model/query/impl/AdvancedPredicateVisitor.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d820028269b4089f0c9b4cae04e0f6f1136eba40efb97b113ae80107ba09b8ca"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PersistentEntity (16 abstract methods): \u0060PersistentEntity\u0060 declares 16 abstract methods: \u0060findNamingStrategy\u0060, \u0060getAliasName\u0060, \u0060getCompositeIdentity\u0060, \u0060getIdentity\u0060, \u0060getName\u0060, \u0060getNamingStrategy\u0060, \u0060getParentEntity\u0060, \u0060getPersistentProperties\u0060, \u0060getPersistentPropertyNames\u0060, \u0060getPropertyByName\u0060, \u0060getPropertyByNameIgnoreCase\u0060, \u0060getVersion\u0060, \u0060hasCompositeIdentity\u0060, \u0060hasIdentity\u0060, \u0060hasVersion\u0060, \u0060isOwningEntity\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. 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":"data-model/src/main/java/io/micronaut/data/model/PersistentEntity.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06c39e3bdc7a61efecd3dd18f448f9543f348ae00d32275725e8a8b14d4e15f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AsyncRepositoryOperations (16 abstract methods): \u0060AsyncRepositoryOperations\u0060 declares 16 abstract methods under just 13 distinct name(s): \u0060count\u0060, \u0060delete\u0060, \u0060deleteAll\u0060, \u0060executeUpdate\u0060, \u0060exists\u0060, \u0060findAll\u0060, \u0060findAll\u0060, \u0060findOne\u0060, \u0060findOne\u0060, \u0060findOptional\u0060, \u0060findOptional\u0060, \u0060findPage\u0060, \u0060getExecutor\u0060, \u0060persist\u0060, \u0060persistAll\u0060, \u0060update\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 16 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 16 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":"data-model/src/main/java/io/micronaut/data/operations/async/AsyncRepositoryOperations.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"20891c1c0dfe478a80daaaa7514f09f0728a68e5aa1931514143398ec59fcda5"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ReactiveRepositoryOperations (16 abstract methods): \u0060ReactiveRepositoryOperations\u0060 declares 16 abstract methods under just 13 distinct name(s): \u0060count\u0060, \u0060delete\u0060, \u0060deleteAll\u0060, \u0060executeUpdate\u0060, \u0060exists\u0060, \u0060findAll\u0060, \u0060findAll\u0060, \u0060findOne\u0060, \u0060findOne\u0060, \u0060findOptional\u0060, \u0060findOptional\u0060, \u0060findPage\u0060, \u0060persist\u0060, \u0060persistAll\u0060, \u0060update\u0060, \u0060updateAll\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 16 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 16 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":"data-model/src/main/java/io/micronaut/data/operations/reactive/ReactiveRepositoryOperations.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa20b1b56fdab77f4ea21b868847b9ea960b651d5d6ae496f78e1a005e2d4d7"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ReactorReactiveRepositoryOperations (17 abstract methods): \u0060ReactorReactiveRepositoryOperations\u0060 declares 17 abstract methods under just 14 distinct name(s): \u0060count\u0060, \u0060delete\u0060, \u0060deleteAll\u0060, \u0060executeDelete\u0060, \u0060executeUpdate\u0060, \u0060exists\u0060, \u0060findAll\u0060, \u0060findAll\u0060, \u0060findOne\u0060, \u0060findOne\u0060, \u0060findOptional\u0060, \u0060findOptional\u0060, \u0060findPage\u0060, \u0060persist\u0060, \u0060persistAll\u0060, \u0060update\u0060, \u0060updateAll\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 17 separate responsibilities: a caller binds to 14 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 17 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/operations/reactive/ReactorReactiveRepositoryOperations.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"056f2819bff536baf71fd98149402c43bb324ebed283f0c2c8d122d116fdcada"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: JpaSpecificationExecutor\u003CT\u003E (19 abstract methods): \u0060JpaSpecificationExecutor\u003CT\u003E\u0060 declares 19 abstract methods under just 6 distinct name(s): \u0060count\u0060, \u0060count\u0060, \u0060deleteAll\u0060, \u0060deleteAll\u0060, \u0060deleteAll\u0060, \u0060exists\u0060, \u0060exists\u0060, \u0060findAll\u0060, \u0060findAll\u0060, \u0060findAll\u0060, \u0060findAll\u0060, \u0060findAll\u0060, \u0060findAll\u0060, \u0060findAll\u0060, \u0060findOne\u0060, \u0060findOne\u0060, \u0060findOne\u0060, \u0060updateAll\u0060, \u0060updateAll\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 19 separate responsibilities: a caller binds to 6 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 19 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":"data-model/src/main/java/io/micronaut/data/repository/jpa/JpaSpecificationExecutor.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"882a78a94a1e8a95259ce721d9a438b754a236cbe6bccf713b4c70269b106923"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AuthorRepository (36 abstract methods): \u0060AuthorRepository\u0060 declares 36 abstract methods: \u0060countByNameContains\u0060, \u0060findAll\u0060, \u0060findAll\u0060, \u0060findAllByName\u0060, \u0060findAllByNameCustom\u0060, \u0060findAllByNickName\u0060, \u0060findByBooksTitle\u0060, \u0060findByBooksTotalPages\u0060, \u0060findById\u0060, \u0060findByIdIsNotNull\u0060, \u0060findByName\u0060, \u0060findByNameContains\u0060, \u0060findByNameContainsIgnoreCase\u0060, \u0060findByNameEndsWith\u0060, \u0060findByNameEndsWithIgnoreCase\u0060, \u0060findByNameIgnoreCase\u0060, \u0060findByNameIsNotNull\u0060, \u0060findByNameStartsWith\u0060, \u0060findByNameStartsWithIgnoreCase\u0060, \u0060findOne\u0060, \u0060findOne\u0060, \u0060listAll\u0060, \u0060queryAll\u0060, \u0060queryByIdIsNotNull\u0060, \u0060queryByName\u0060, \u0060queryByNameContains\u0060, \u0060read\u0060, \u0060readAll\u0060, \u0060readByIdIsNotNull\u0060, \u0060readByNameIsNotNull\u0060, \u0060retrieveByIdIsNotNull\u0060, \u0060retrieveByName\u0060, \u0060searchAll\u0060, \u0060searchByName\u0060, \u0060searchByNameIsNotNull\u0060, \u0060updateNickname\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 36 declarations carry 34 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 34 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":"data-tck/src/main/java/io/micronaut/data/tck/repositories/AuthorRepository.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"01827cf3ed8b0f795ec0cdc01c288e38a7ef376ec75dd9949db14bb2e8f939fe"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PersonAsyncRepository (25 abstract methods): \u0060PersonAsyncRepository\u0060 declares 25 abstract methods: \u0060add1\u0060, \u0060add1Aliased\u0060, \u0060count\u0060, \u0060deleteByNameLike\u0060, \u0060deleteCustom\u0060, \u0060deleteCustomSingle\u0060, \u0060deleteCustomSingleNoEntity\u0060, \u0060erase\u0060, \u0060erase\u0060, \u0060findByName\u0060, \u0060findByNameLike\u0060, \u0060findByNameLike\u0060, \u0060findPeople\u0060, \u0060getById\u0060, \u0060getByName\u0060, \u0060getMaxId\u0060, \u0060list\u0060, \u0060queryByName\u0060, \u0060remove\u0060, \u0060save\u0060, \u0060saveCustom\u0060, \u0060saveCustomSingle\u0060, \u0060updateNamesCustom\u0060, \u0060updatePeople\u0060, \u0060updatePerson\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 25 declarations carry 23 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 23 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":"data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonAsyncRepository.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8a23b10ddd26e339900cb2a0cd9dc605b6cc19321a48f3c35e6ccec0a56c6b"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PersonReactiveRepository (25 abstract methods): \u0060PersonReactiveRepository\u0060 declares 25 abstract methods: \u0060count\u0060, \u0060deleteByNameLike\u0060, \u0060deleteCustom\u0060, \u0060deleteCustomSingle\u0060, \u0060deleteCustomSingleExpression\u0060, \u0060deleteCustomSingleNoEntity\u0060, \u0060findByName\u0060, \u0060findByNameLike\u0060, \u0060findByNameLike\u0060, \u0060findNameByNameLike\u0060, \u0060findPeople\u0060, \u0060getById\u0060, \u0060getByName\u0060, \u0060getMaxId\u0060, \u0060list\u0060, \u0060queryByAgeGreaterThan\u0060, \u0060queryByName\u0060, \u0060save\u0060, \u0060saveCustom\u0060, \u0060saveCustomSingle\u0060, \u0060saveCustomSingleExpression\u0060, \u0060searchByNameLike\u0060, \u0060updateNamesCustom\u0060, \u0060updatePeople\u0060, \u0060updatePerson\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 25 declarations carry 24 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 24 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":"data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonReactiveRepository.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"07de241125d3fc3445808971de79b51e217ba98f03d50f8126323eb48fc5e4f9"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PersonRepository (57 abstract methods): \u0060PersonRepository\u0060 declares 57 abstract methods: \u0060count\u0060, \u0060countByAgeGreaterThan\u0060, \u0060countByAgeLessThan\u0060, \u0060deleteByNameLike\u0060, \u0060deleteCustom\u0060, \u0060deleteCustomSingle\u0060, \u0060deleteCustomSingleExpression\u0060, \u0060deleteCustomSingleNoEntity\u0060, \u0060find\u0060, \u0060findAgeByName\u0060, \u0060findAll\u0060, \u0060findAllByAgeInRange\u0060, \u0060findAllByName\u0060, \u0060findAllByNameLike\u0060, \u0060findByName\u0060, \u0060findByNameLike\u0060, \u0060findByNameLike\u0060, \u0060findByNameLikeOrderByAge\u0060, \u0060findByNameLikeOrderByAgeDesc\u0060, \u0060findDistinct\u0060, \u0060findDistinctName\u0060, \u0060findMaxAgeByNameLike\u0060, \u0060findMinAgeByNameLike\u0060, \u0060findOptionalByName\u0060, \u0060findPeople\u0060, \u0060get\u0060, \u0060getAvgAgeByNameLike\u0060, \u0060getByName\u0060, \u0060getSumAgeByNameLike\u0060, \u0060getTotal\u0060, \u0060list\u0060, \u0060listTop10\u0060, \u0060queryByNameLike\u0060, \u0060queryNames\u0060, \u0060readAgeByNameLike\u0060, \u0060retrieve\u0060, \u0060save\u0060, \u0060saveCustom\u0060, \u0060saveCustom\u0060, \u0060saveCustomSingle\u0060, and 17 more. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 57 declarations carry 53 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 53 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":"data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonRepository.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"642f69b134b5cbba020f1d894af3dcadc00f9bda8b89275917e17b0b17d0ec26"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: TrainRepository (60 abstract methods): \u0060TrainRepository\u0060 declares 60 abstract methods: \u0060deleteAll\u0060, \u0060findByCapacityAtLeast\u0060, \u0060findByCapacityBetween\u0060, \u0060findByCapacityGreaterThan\u0060, \u0060findByCapacityGreaterThanConstrain\u0060, \u0060findByCapacityGreaterThanEquals\u0060, \u0060findByModelIn\u0060, \u0060findByModelInConstrain\u0060, \u0060findByModelIsNotNull\u0060, \u0060findByModelIsNull\u0060, \u0060findByModelNot\u0060, \u0060findByModelNotLike\u0060, \u0060findByModelNotLikeConstrain\u0060, \u0060findByName\u0060, \u0060findByNameEqualsConstrain\u0060, \u0060findByNameEqualsConstrain\u0060, \u0060findByNameEqualsConstrainAndElectricConstraint\u0060, \u0060findByNameEqualsConstrainWithRestriction\u0060, \u0060findByNameLike\u0060, \u0060findByNameLikeConstrain\u0060, \u0060findByNameNotEqualsConstrain\u0060, \u0060findByNameNotIn\u0060, \u0060findByNameNotInConstrain\u0060, \u0060findBySpeedAtMost\u0060, \u0060findBySpeedLessThan\u0060, \u0060findBySpeedLessThanConstrain\u0060, \u0060findBySpeedLessThanEquals\u0060, \u0060findBySpeedNotBetween\u0060, \u0060findFirst2TrainNamesOrderedByName\u0060, \u0060findFirst2TrainNamesOrderedByName\u0060, \u0060findFirst2Trains\u0060, \u0060findFirst3Trains\u0060, \u0060findFirst3TrainsOrderedByCapacity\u0060, \u0060findFirst3TrainsOrderedByCapacity\u0060, \u0060findFirst4TrainsOrderedByName\u0060, \u0060findFirst4TrainsOrderedByName\u0060, \u0060findFirstTrain\u0060, \u0060findFirstTrainOrderedBySpeed\u0060, \u0060findFirstTrainOrderedBySpeed\u0060, \u0060findTrain\u0060, and 20 more. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 60 declarations carry 50 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 50 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":"data-tck/src/main/java/io/micronaut/data/tck/repositories/TrainRepository.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3594fc02012586ebc0dc2051bd88c87228068829549e32a99706183b55d5115e"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Catalog (25 abstract methods): \u0060Catalog\u0060 declares 25 abstract methods: \u0060add\u0060, \u0060addMultiple\u0060, \u0060allSortedByNameAsc\u0060, \u0060allSortedByNameAscIgnoreCase\u0060, \u0060allSortedByNameDesc\u0060, \u0060allSortedByNameDescIgnoreCase\u0060, \u0060countByPriceGreaterThanEqual\u0060, \u0060customSave\u0060, \u0060deleteById\u0060, \u0060deleteByProductNumLike\u0060, \u0060findAll\u0060, \u0060findByNameLengthAndPriceBelow\u0060, \u0060findByNameLengthAndPriceBelowNameAsc\u0060, \u0060findByNameLengthAndPriceBelowNameDesc\u0060, \u0060findByNameLike\u0060, \u0060findByPriceNotNullAndPriceLessThanEqual\u0060, \u0060findByPriceNull\u0060, \u0060findByProductNumBetween\u0060, \u0060findByProductNumLike\u0060, \u0060get\u0060, \u0060modify\u0060, \u0060modifyMultiple\u0060, \u0060remove\u0060, \u0060removeMultiple\u0060, \u0060withTaxBetween\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. 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":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/jakarta_data/persistence/Catalog.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e185d934254716473be8c44427b71b96dd7501db258f581fd8e150a97ea833"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AsciiCharacters (23 abstract methods): \u0060AsciiCharacters\u0060 declares 23 abstract methods: \u0060all\u0060, \u0060alphabetic\u0060, \u0060countByHexadecimalNotNull\u0060, \u0060existsByThisCharacter\u0060, \u0060find\u0060, \u0060find\u0060, \u0060findAll\u0060, \u0060findByHexadecimalContainsAndIsControlNot\u0060, \u0060findByHexadecimalIgnoreCase\u0060, \u0060findByHexadecimalIgnoreCaseBetweenAndHexadecimalNotIn\u0060, \u0060findByIdBetween\u0060, \u0060findByIsControlTrueAndNumericValueBetween\u0060, \u0060findByNumericValue\u0060, \u0060findByNumericValueBetween\u0060, \u0060findByNumericValueLessThanEqualAndNumericValueGreaterThanEqual\u0060, \u0060findFirst3ByNumericValueGreaterThanEqualAndHexadecimalEndsWith\u0060, \u0060findFirstByHexadecimalStartsWithAndIsControlOrderByIdAsc\u0060, \u0060getABCDFO\u0060, \u0060hex\u0060, \u0060jklOr\u0060, \u0060reverseAlphabetic\u0060, \u0060saveAll\u0060, \u0060twentyFour\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 23 declarations carry 22 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 22 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":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/jakarta_data/read/only/AsciiCharacters.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa64ee16b35a5cf1b1177de243f5a66166b2f98160bc72d1bf1e01bb477e6b41"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BookRepository (23 abstract methods): \u0060BookRepository\u0060 declares 23 abstract methods: \u0060delete\u0060, \u0060deleteAll\u0060, \u0060deleteByTitleLike\u0060, \u0060find\u0060, \u0060findByPagesGreaterThan\u0060, \u0060findByPagesGreaterThan\u0060, \u0060findByPagesGreaterThanOrTitleLike\u0060, \u0060findByTitle\u0060, \u0060findByTitleLike\u0060, \u0060findNativeBooks\u0060, \u0060findOne\u0060, \u0060findTitleByPagesGreaterThan\u0060, \u0060findTop3ByTitleLike\u0060, \u0060getByTitle\u0060, \u0060list\u0060, \u0060listBooks\u0060, \u0060listOrderByTitle\u0060, \u0060listOrderByTitleDesc\u0060, \u0060persist\u0060, \u0060persist\u0060, \u0060retrieveByTitle\u0060, \u0060update\u0060, \u0060updateByTitle\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 23 declarations carry 21 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 21 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":"benchmarks/benchmark-micronaut-data-jpa/src/main/java/example/BookRepository.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8898115b1055737bd98ed5b72dcc0f88e689e56c7446dcaa6d8fffa74a56c1"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AsyncBookRepository (28 abstract methods): \u0060AsyncBookRepository\u0060 declares 28 abstract methods: \u0060countDistinctTitleByPagesGreaterThan\u0060, \u0060countTitleByPagesGreaterThan\u0060, \u0060deleteByTitleStartingWith\u0060, \u0060existsByAuthor\u0060, \u0060findAvgPagesByAuthor\u0060, \u0060findByAuthor\u0060, \u0060findByAuthorIsNotNull\u0060, \u0060findByAuthorIsNull\u0060, \u0060findByPagesGreaterThan\u0060, \u0060findByPagesGreaterThanEquals\u0060, \u0060findByPagesLessThan\u0060, \u0060findByPagesLessThanEquals\u0060, \u0060findByPublicationYearAfter\u0060, \u0060findByPublicationYearBefore\u0060, \u0060findByPublicationYearBetween\u0060, \u0060findByTitleContains\u0060, \u0060findByTitleEndingWith\u0060, \u0060findByTitleIn\u0060, \u0060findByTitleLike\u0060, \u0060findByTitleStartingWith\u0060, \u0060findDistinctTitleByPagesGreaterThan\u0060, \u0060findMaxPagesByAuthor\u0060, \u0060findMinPagesByAuthor\u0060, \u0060findSumPagesByAuthor\u0060, \u0060insert\u0060, \u0060insertBooks\u0060, \u0060update\u0060, \u0060updateByTitleStartingWith\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. 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":"doc-examples/coherence-example-java/src/main/java/io/micronaut/coherence/data/repositories/AsyncBookRepository.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef0b46e4c7d51108730c00c7006e6f70e74a1070a385dc9ba0871923dd281fa"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BookRepository (28 abstract methods): \u0060BookRepository\u0060 declares 28 abstract methods: \u0060countDistinctTitleByPagesGreaterThan\u0060, \u0060countTitleByPagesGreaterThan\u0060, \u0060deleteByTitleStartingWith\u0060, \u0060existsByAuthor\u0060, \u0060findAvgPagesByAuthor\u0060, \u0060findByAuthor\u0060, \u0060findByAuthorIsNotNull\u0060, \u0060findByAuthorIsNull\u0060, \u0060findByPagesGreaterThan\u0060, \u0060findByPagesGreaterThanEquals\u0060, \u0060findByPagesLessThan\u0060, \u0060findByPagesLessThanEquals\u0060, \u0060findByPublicationYearAfter\u0060, \u0060findByPublicationYearBefore\u0060, \u0060findByPublicationYearBetween\u0060, \u0060findByTitleContains\u0060, \u0060findByTitleEndingWith\u0060, \u0060findByTitleIn\u0060, \u0060findByTitleLike\u0060, \u0060findByTitleStartingWith\u0060, \u0060findDistinctTitleByPagesGreaterThan\u0060, \u0060findMaxPagesByAuthor\u0060, \u0060findMinPagesByAuthor\u0060, \u0060findSumPagesByAuthor\u0060, \u0060insert\u0060, \u0060insertBooks\u0060, \u0060update\u0060, \u0060updateByTitleStartingWith\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. 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":"doc-examples/coherence-example-java/src/main/java/io/micronaut/coherence/data/repositories/BookRepository.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"67758786b0f4e22e4561c08a88925a8e5f44fa7ba17e772003280d1a5b6c68c2"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BookRepository (33 abstract methods): \u0060BookRepository\u0060 declares 33 abstract methods: \u0060delete\u0060, \u0060deleteAll\u0060, \u0060deleteByTitleLike\u0060, \u0060deleteMany\u0060, \u0060deleteOne\u0060, \u0060find\u0060, \u0060findByPagesGreaterThan\u0060, \u0060findByPagesGreaterThan\u0060, \u0060findByPagesGreaterThanOrTitleLike\u0060, \u0060findByTitle\u0060, \u0060findByTitleLike\u0060, \u0060findNativeBooks\u0060, \u0060findOne\u0060, \u0060findTitleByPagesGreaterThan\u0060, \u0060findTop3ByTitleLike\u0060, \u0060getByTitle\u0060, \u0060insertCustomExp\u0060, \u0060insertMany\u0060, \u0060insertOne\u0060, \u0060list\u0060, \u0060listAll\u0060, \u0060listBooks\u0060, \u0060listOrderByTitle\u0060, \u0060listOrderByTitleDesc\u0060, \u0060persist\u0060, \u0060retrieveByTitle\u0060, \u0060save\u0060, \u0060update\u0060, \u0060update\u0060, \u0060updateByTitle\u0060, \u0060updateMany\u0060, \u0060updateOne\u0060, \u0060updatePages\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 33 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":"doc-examples/hibernate-example-java/src/main/java/example/BookRepository.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7c21db1b00e8ff4df81fe7ed76be064db48f53657c1afd7486b518a6fd6e9d"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BookRepository (30 abstract methods): \u0060BookRepository\u0060 declares 30 abstract methods: \u0060calculateSum\u0060, \u0060delete\u0060, \u0060deleteAll\u0060, \u0060deleteByTitleLike\u0060, \u0060find\u0060, \u0060find\u0060, \u0060findBooks\u0060, \u0060findByPagesBetween\u0060, \u0060findByPagesGreaterThan\u0060, \u0060findByPagesGreaterThan\u0060, \u0060findByPagesGreaterThanOrTitleLike\u0060, \u0060findByTitle\u0060, \u0060findByTitleLike\u0060, \u0060findByTitleStartingWith\u0060, \u0060findOne\u0060, \u0060findTitleByPagesGreaterThan\u0060, \u0060findTop3ByTitleLike\u0060, \u0060getByTitle\u0060, \u0060insertCustomExp\u0060, \u0060list\u0060, \u0060listBooks\u0060, \u0060listOrderByTitle\u0060, \u0060listOrderByTitleDesc\u0060, \u0060persist\u0060, \u0060persist\u0060, \u0060retrieveByTitle\u0060, \u0060searchBooksByTitle\u0060, \u0060update\u0060, \u0060update\u0060, \u0060updateByTitle\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 30 declarations carry 26 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 26 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":"doc-examples/jdbc-example-java/src/main/java/example/BookRepository.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30832c6623e640c1cb375062a1ab44a735ff8bb387ff0028459f75c73bdce1d"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BookRepository (24 abstract methods): \u0060BookRepository\u0060 declares 24 abstract methods: \u0060delete\u0060, \u0060deleteAll\u0060, \u0060deleteByTitleLike\u0060, \u0060find\u0060, \u0060findBooks\u0060, \u0060findByPagesGreaterThan\u0060, \u0060findByPagesGreaterThan\u0060, \u0060findByPagesGreaterThanOrTitleLike\u0060, \u0060findByTitle\u0060, \u0060findByTitleLike\u0060, \u0060findOne\u0060, \u0060findTitleByPagesGreaterThan\u0060, \u0060findTop3ByTitleLike\u0060, \u0060getByTitle\u0060, \u0060list\u0060, \u0060listBooks\u0060, \u0060listOrderByTitle\u0060, \u0060listOrderByTitleDesc\u0060, \u0060persist\u0060, \u0060persist\u0060, \u0060retrieveByTitle\u0060, \u0060update\u0060, \u0060update\u0060, \u0060updateByTitle\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 24 declarations carry 21 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 21 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":"doc-examples/jdbc-example-records-java/src/main/java/example/BookRepository.java"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8b6efa1584a65857877d58b5c1efdf3840e68e5a44a06871ba2319c2fe5bf9"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: FamilyRepository (21 abstract methods): \u0060FamilyRepository\u0060 declares 21 abstract methods: \u0060findById\u0060, \u0060updateRegistered\u0060, \u0060updateAddress\u0060, \u0060updateLastName\u0060, \u0060queryById\u0060, \u0060deleteByLastName\u0060, \u0060deleteById\u0060, \u0060deleteByRegistered\u0060, \u0060existsByIdAndRegistered\u0060, \u0060countByRegistered\u0060, \u0060lastOrderedLastName\u0060, \u0060lastOrderedRegisteredDate\u0060, \u0060findByAddressStateAndAddressCityOrderByAddressCity\u0060, \u0060updateByAddressCounty\u0060, \u0060findByChildrenPetsType\u0060, \u0060findChildrenByChildrenPetsGivenName\u0060, \u0060findByIdIn\u0060, \u0060findByIdNotIn\u0060, \u0060findByLastNameLike\u0060, \u0060findByTagsArrayContains\u0060, \u0060childrenArrayContainsGender\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. 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":"doc-examples/azure-cosmos-example-kotlin/src/main/kotlin/example/FamilyRepository.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4232dfd73a334e9b10dddbe89a4c73b325b72d50b5e5ecb2d20002c445bc8d5f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BookRepository (30 abstract methods): \u0060BookRepository\u0060 declares 30 abstract methods: \u0060findByTitle\u0060, \u0060getByTitle\u0060, \u0060retrieveByTitle\u0060, \u0060find\u0060, \u0060findByPagesGreaterThan\u0060, \u0060findByPagesGreaterThanOrTitleLike\u0060, \u0060findByTitleLike\u0060, \u0060list\u0060, \u0060findTitleByPagesGreaterThan\u0060, \u0060findTop3ByTitleLike\u0060, \u0060listOrderByTitle\u0060, \u0060listOrderByTitleDesc\u0060, \u0060listBooks\u0060, \u0060save\u0060, \u0060insert\u0060, \u0060insertOne\u0060, \u0060insertMany\u0060, \u0060persist\u0060, \u0060update\u0060, \u0060updateByTitle\u0060, \u0060updatePages\u0060, \u0060updateOne\u0060, \u0060updateMany\u0060, \u0060deleteAll\u0060, \u0060deleteOne\u0060, \u0060deleteMany\u0060, \u0060delete\u0060, \u0060deleteByTitleLike\u0060, \u0060findOne\u0060, \u0060findNativeBooks\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. 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":"doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/BookRepository.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c831d1274776fe4ffada8c8bb13693e4530762482fbb6d099c721fa230f91d"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BookRepository (31 abstract methods): \u0060BookRepository\u0060 declares 31 abstract methods: \u0060findByTitle\u0060, \u0060getByTitle\u0060, \u0060retrieveByTitle\u0060, \u0060find\u0060, \u0060findByPagesGreaterThan\u0060, \u0060findByPagesGreaterThanOrTitleLike\u0060, \u0060findByTitleLike\u0060, \u0060list\u0060, \u0060findTitleByPagesGreaterThan\u0060, \u0060findTop3ByTitleLike\u0060, \u0060listOrderByTitle\u0060, \u0060listOrderByTitleDesc\u0060, \u0060listBooks\u0060, \u0060save\u0060, \u0060insert\u0060, \u0060insertOne\u0060, \u0060insertMany\u0060, \u0060persist\u0060, \u0060update\u0060, \u0060updateByTitle\u0060, \u0060updatePages\u0060, \u0060updateOne\u0060, \u0060updateMany\u0060, \u0060deleteAll\u0060, \u0060deleteOne\u0060, \u0060deleteMany\u0060, \u0060delete\u0060, \u0060deleteByTitleLike\u0060, \u0060findOne\u0060, \u0060findNativeBooks\u0060, \u0060listAll\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. 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":"doc-examples/hibernate-example-kotlin/src/main/kotlin/example/BookRepository.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d89b2a1cea3db615433378d7d1660948b10d5f79c248523814527404a304df"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BookRepository (25 abstract methods): \u0060BookRepository\u0060 declares 25 abstract methods: \u0060findByTitle\u0060, \u0060getByTitle\u0060, \u0060retrieveByTitle\u0060, \u0060find\u0060, \u0060findByPagesGreaterThan\u0060, \u0060findByPagesGreaterThanOrTitleLike\u0060, \u0060findByTitleLike\u0060, \u0060list\u0060, \u0060findByPagesBetween\u0060, \u0060findByTitleStartingWith\u0060, \u0060findTitleByPagesGreaterThan\u0060, \u0060findTop3ByTitleLike\u0060, \u0060listOrderByTitle\u0060, \u0060listOrderByTitleDesc\u0060, \u0060listBooks\u0060, \u0060persist\u0060, \u0060update\u0060, \u0060updateByTitle\u0060, \u0060deleteAll\u0060, \u0060delete\u0060, \u0060deleteByTitleLike\u0060, \u0060findOne\u0060, \u0060findBooks\u0060, \u0060calculateSum\u0060, \u0060searchBooksByTitle\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. 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":"doc-examples/jdbc-example-kotlin/src/main/kotlin/example/BookRepository.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3153575bfa6d58bc2552307f46e68e6959d31c9c72799c67227c0a63fed3aede"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BookRepository (23 abstract methods): \u0060BookRepository\u0060 declares 23 abstract methods: \u0060findByTitle\u0060, \u0060getByTitle\u0060, \u0060retrieveByTitle\u0060, \u0060find\u0060, \u0060findByPagesGreaterThan\u0060, \u0060findByPagesGreaterThanOrTitleRegex\u0060, \u0060findByTitleRegex\u0060, \u0060list\u0060, \u0060findTitleByPagesGreaterThan\u0060, \u0060findTop3ByTitleRegex\u0060, \u0060listOrderByTitle\u0060, \u0060listOrderByTitleDesc\u0060, \u0060persist\u0060, \u0060update\u0060, \u0060updateByTitle\u0060, \u0060deleteAll\u0060, \u0060delete\u0060, \u0060deleteByTitleRegex\u0060, \u0060findOne\u0060, \u0060customFind\u0060, \u0060customAggregate\u0060, \u0060customUpdate\u0060, \u0060customDelete\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. 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":"doc-examples/mongo-example-kotlin-ksp/src/main/kotlin/example/BookRepository.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2427843eb8cf99b88c7ecbb54f2be0c618f310b50315b62133530ae5df41f264"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BookRepository (24 abstract methods): \u0060BookRepository\u0060 declares 24 abstract methods: \u0060findByTitle\u0060, \u0060getByTitle\u0060, \u0060retrieveByTitle\u0060, \u0060find\u0060, \u0060findByPagesGreaterThan\u0060, \u0060findByPagesGreaterThanOrTitleRegex\u0060, \u0060findByTitleRegex\u0060, \u0060list\u0060, \u0060findTitleByPagesGreaterThan\u0060, \u0060findTop3ByTitleRegex\u0060, \u0060listOrderByTitle\u0060, \u0060listOrderByTitleDesc\u0060, \u0060persist\u0060, \u0060update\u0060, \u0060updateByTitle\u0060, \u0060deleteAll\u0060, \u0060delete\u0060, \u0060deleteByTitleRegex\u0060, \u0060findOne\u0060, \u0060customFind\u0060, \u0060customAggregate\u0060, \u0060customUpdate\u0060, \u0060customDelete\u0060, \u0060incrementPagesAfter\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. 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":"doc-examples/mongo-example-kotlin/src/main/kotlin/example/BookRepository.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f451381e7a25d50a7e2163129aae2c1bdcc88d1b7692b6937ec86524a69266a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BookRepository (19 abstract methods): \u0060BookRepository\u0060 declares 19 abstract methods: \u0060findByTitle\u0060, \u0060getByTitle\u0060, \u0060retrieveByTitle\u0060, \u0060find\u0060, \u0060findByPagesGreaterThan\u0060, \u0060findByPagesGreaterThanOrTitleRegex\u0060, \u0060findByTitleRegex\u0060, \u0060list\u0060, \u0060findTitleByPagesGreaterThan\u0060, \u0060findTop3ByTitleRegex\u0060, \u0060listOrderByTitle\u0060, \u0060listOrderByTitleDesc\u0060, \u0060persist\u0060, \u0060update\u0060, \u0060updateByTitle\u0060, \u0060deleteAll\u0060, \u0060delete\u0060, \u0060deleteByTitleRegex\u0060, \u0060findOne\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. 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":"doc-examples/mongo-reactive-example-kotlin/src/main/kotlin/example/BookRepository.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b21de74c8416886586196ec8ec98385de0a9c3615782488aef321b3bc3ae548"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BookRepository (17 abstract methods): \u0060BookRepository\u0060 declares 17 abstract methods: \u0060findById\u0060, \u0060findAll\u0060, \u0060findTitleById\u0060, \u0060save\u0060, \u0060saveAll\u0060, \u0060customFindOne\u0060, \u0060findOne\u0060, \u0060calculateSum\u0060, \u0060saveReturning\u0060, \u0060saveReturningMany\u0060, \u0060saveReturningManyAsList\u0060, \u0060updateReturning\u0060, \u0060updateReturningMany\u0060, \u0060updateReturningManyAsList\u0060, \u0060deleteReturning\u0060, \u0060deleteReturningMany\u0060, \u0060deleteReturningManyAsList\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. 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":"doc-examples/r2dbc-example-kotlin/src/main/kotlin/example/BookRepository.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"910ebe042d7b79c34141137674b6c9dfd41f875103102c7308a6688e701eb34f"}},{"ruleId":"DM10","level":"warning","message":{"text":"One operation mutates 2 aggregates: OneToManyJoinColumnTest.testOneToManySaveAndLoad: \u0060OneToManyJoinColumnTest.testOneToManySaveAndLoad\u0060 saves \u0060EmployeeRepository\u0060, \u0060EmployeeGroupRepository\u0060 in a single operation. Each is its own consistency boundary, so committing them together makes the second\u0027s invariants depend on the first\u0027s transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated \u2014 into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/one2many/OneToManyJoinColumnTest.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82b408685321fce4c13fa1626cca2e2de2ae5e287940da2f28d5f3c6197423b"}},{"ruleId":"DM10","level":"warning","message":{"text":"One operation mutates 2 aggregates: MultipleDataSourceTest.testMultipleDataSources: \u0060MultipleDataSourceTest.testMultipleDataSources\u0060 saves \u0060SQLitePersonRepository\u0060, \u0060OtherPersonRepository\u0060 in a single operation. Each is its own consistency boundary, so committing them together makes the second\u0027s invariants depend on the first\u0027s transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated \u2014 into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/MultipleDataSourceTest.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2aa99e2d9d9a9074254ec72c942c0f30ff4d6d27b661a47575e40680a517eb"}},{"ruleId":"DM10","level":"warning","message":{"text":"One operation mutates 2 aggregates: SQLiteCompositePrimaryKeyTest.testCrudWithCompositeId: \u0060SQLiteCompositePrimaryKeyTest.testCrudWithCompositeId\u0060 saves \u0060Project\u0060, \u0060ProjectId\u0060 in a single operation. Each is its own consistency boundary, so committing them together makes the second\u0027s invariants depend on the first\u0027s transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated \u2014 into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteCompositePrimaryKeyTest.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f213af4328c1f07e055b2d75ede4668ccc03bf06c9decf1cb7d6f1957f11b7"}},{"ruleId":"DM10","level":"warning","message":{"text":"One operation mutates 2 aggregates: SQLiteJSONTest.testSaveUpdateIterable: \u0060SQLiteJSONTest.testSaveUpdateIterable\u0060 saves \u0060JsonEntity\u0060, \u0060List\u0060 in a single operation. Each is its own consistency boundary, so committing them together makes the second\u0027s invariants depend on the first\u0027s transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated \u2014 into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteJSONTest.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4c62ae27256d02568c5ce61872cce579cfdec2bff618b2726e74dca0ee3d4b"}},{"ruleId":"DM10","level":"warning","message":{"text":"One operation mutates 2 aggregates: SQLiteValidationTest.testSaveValidObjects: \u0060SQLiteValidationTest.testSaveValidObjects\u0060 saves \u0060SQLiteMealRepository\u0060, \u0060SQLiteFoodRepository\u0060 in a single operation. Each is its own consistency boundary, so committing them together makes the second\u0027s invariants depend on the first\u0027s transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated \u2014 into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteValidationTest.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c079f0dc7e4b1e003e105e6fe3669d9d119caa737772fdf3d093d911625bc928"}},{"ruleId":"DM10","level":"warning","message":{"text":"One operation mutates 2 aggregates: SQLiteValidationTest.testUpdateInvalidObjects: \u0060SQLiteValidationTest.testUpdateInvalidObjects\u0060 saves \u0060Meal\u0060, \u0060var\u0060 in a single operation. Each is its own consistency boundary, so committing them together makes the second\u0027s invariants depend on the first\u0027s transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated \u2014 into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteValidationTest.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8162c2d96aeff11270204e1fd7b6b8cd9bb282e62879f10229f20d27b17c3f93"}},{"ruleId":"DM10","level":"warning","message":{"text":"One operation mutates 2 aggregates: InitController.init: \u0060InitController.init\u0060 saves \u0060Owner\u0060, \u0060Pet\u0060 in a single operation. Each is its own consistency boundary, so committing them together makes the second\u0027s invariants depend on the first\u0027s transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated \u2014 into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jooq-r2dbc-postgres/src/main/java/example/InitController.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e718986a67e32db3b7eb76ef5bd695b758cee2e8156bd245f7ad385cbce5925"}},{"ruleId":"DM10","level":"warning","message":{"text":"One operation mutates 2 aggregates: PessimisticLockingSpec.findMethodsForUpdate: \u0060PessimisticLockingSpec.findMethodsForUpdate\u0060 saves \u0060manufacturerRepository\u0060, \u0060productLockingRepository\u0060 in a single operation. Each is its own consistency boundary, so committing them together makes the second\u0027s invariants depend on the first\u0027s transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated \u2014 into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-python/src/test/python/example/PessimisticLockingSpec.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc0dd42aff126c39de40f004262e3021a0857223f0d3408c48d691e6475ebe2"}},{"ruleId":"DM10","level":"warning","message":{"text":"One operation mutates 3 aggregates: SaleRepositorySpec.testReadWriteCustomType: \u0060SaleRepositorySpec.testReadWriteCustomType\u0060 saves \u0060manufacturerRepository\u0060, \u0060productRepository\u0060, \u0060saleRepository\u0060 in a single operation. Each is its own consistency boundary, so committing them together makes the second\u0027s invariants depend on the first\u0027s transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated \u2014 into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-python/src/test/python/example/SaleRepositorySpec.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9d4daaea9997008cd3ddfa2ed12b368c63592d6f94fe5b6e8e17e7617154ab"}},{"ruleId":"DM10","level":"warning","message":{"text":"One operation mutates 3 aggregates: SaleRepositorySpec.testReadWriteCustomType: \u0060SaleRepositorySpec.testReadWriteCustomType\u0060 saves \u0060manufacturerRepository\u0060, \u0060productRepository\u0060, \u0060saleRepository\u0060 in a single operation. Each is its own consistency boundary, so committing them together makes the second\u0027s invariants depend on the first\u0027s transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated \u2014 into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/mongo-example-python/src/test/python/example/SaleRepositorySpec.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef979f54ed18314666b0e924fa3425dffa3d7c07f5001bf1cec441921172dfd"}},{"ruleId":"DM10","level":"warning","message":{"text":"One operation mutates 2 aggregates: BookControllerTest.setupData: \u0060BookControllerTest.setupData\u0060 saves \u0060authorRepository\u0060, \u0060bookRepository\u0060 in a single operation. Each is its own consistency boundary, so committing them together makes the second\u0027s invariants depend on the first\u0027s transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated \u2014 into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/r2dbc-example-python/src/test/python/example/BookControllerTest.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f196c94b407f09d2836fb5a4bb98e46b87d742eb8e7923d8d7d48258f9248ad9"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Author: \u0060Author\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Author\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/Author.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"67477f16ede9e938b5cec906b2c5b4353f1968dbb27eb3727172e420ec73af6d"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Book: \u0060Book\u0060\u0027s public constructor takes \u0060title\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Book\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/Book.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f4a757c60085c27bbe885b38f3bb7e1959fab7c7ae0bc10ecb970c09665752"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Child: \u0060Child\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Child\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/Child.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb864057bbbbf1101598efda754479563569bc6ae7e4144150d074c9363309f"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Genre: \u0060Genre\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Genre\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/Genre.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77df2b936c58ffaac9913e86c0e8d2fc1d515a5ca7fe98a40e367c6ce3578c2"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Student: \u0060Student\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Student\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/Student.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db7029e791e6ca2feb78ee9d0fefb9e0c11bd96ab802e10ec4f4aa81cc40efc"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Book: \u0060Book\u0060\u0027s public constructor takes \u0060title\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Book\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin/src/main/kotlin/example/Book.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca4607c01a97d2dc209b02cffeca95dfd8296e7b683569f456aedb6e52086e9"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Child: \u0060Child\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Child\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin/src/main/kotlin/example/Child.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9238c419572a8cae96d007e7ae8062765d2bf9577a502520b4786eaef1dab741"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Student: \u0060Student\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Student\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin/src/main/kotlin/example/Student.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c913a912438d73770104c887a53c3001b7ffdf4b1842e86c034d4cc9ae033a18"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: User: \u0060User\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060User\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin/src/main/kotlin/example/User.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"395f485bd9c373b4ed7bf3dfc7951b6ca85979de8478870521d995411a5b816c"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Book: \u0060Book\u0060\u0027s public constructor takes \u0060title\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Book\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-reactive-example-kotlin/src/main/kotlin/example/Book.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3630f0a0caa6d42a153d855f23b970cb343b6e53a2ec2be62dcb3519d0299d97"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Student: \u0060Student\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Student\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-reactive-example-kotlin/src/main/kotlin/example/Student.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"30505cd5c0f713c9a56da1e0539b397f40c62c30c85c01b707062b32d1166301"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Book: \u0060Book\u0060\u0027s public constructor takes \u0060title\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Book\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-kotlin/src/main/kotlin/example/Book.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fee5d0a010c048bd32339ce6291cf6e5f1cadc1057759e869824efc61a2843"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Person: \u0060Person\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Person\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-kotlin/src/main/kotlin/example/Person.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdcf10c1be265d9729fdd95e09d6941b8dde68d5459782668bfef89e4554991"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Project: \u0060Project\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Project\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-kotlin/src/main/kotlin/example/Project.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a422db0d93f8ab3bf28be77452b6a98371e002164fe9f87c7e589b9b6c9e5d14"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Review: \u0060Review\u0060\u0027s public constructor takes \u0060reviewer\u0060, \u0060content\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Review\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-kotlin/src/main/kotlin/example/Review.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35844e3395862e5566d22797a7093266a79f3c9e923b8fb6ea879afb8a50888"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Book: \u0060Book\u0060\u0027s public constructor takes \u0060title\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Book\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-jakarta-data-example-kotlin/src/main/kotlin/example/Book.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53af8f16982164659c57790727f1103644a5a54b6eec312fc4e5fd2d362334e"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Child: \u0060Child\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Child\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/entities/Child.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5aca21c0bd54082730d29bdb2f2933a752eb5c1f93a7bcd140cc269dae4e214"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ClientCategory: \u0060ClientCategory\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ClientCategory\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/entities/ClientCategory.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb951532371305cdc8de2ee1e29bce39ea3c6722d06471e4d9317f185f87c1aa"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Company: \u0060Company\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Company\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/entities/Company.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb0fd9c674e19392512f7c430ce4eba9f971987395166ccf583f49df9791477"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: EmployeeFieldAccess: \u0060EmployeeFieldAccess\u0060\u0027s public constructor takes \u0060name\u0060, \u0060salary\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060EmployeeFieldAccess\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/entities/EmployeeFieldAccess.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20ad617dd24180cfe8f7b64e60a39cc6b243bb4679427715f88c119423b9850"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: EmployeeMixedAccess: \u0060EmployeeMixedAccess\u0060\u0027s public constructor takes \u0060name\u0060, \u0060salary\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060EmployeeMixedAccess\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/entities/EmployeeMixedAccess.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf0ab2f6714f7ebfce7670c258c24ff4bb84de3cbd05ff4e39a5d794ca04088"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: EmployeePropertyAccess: \u0060EmployeePropertyAccess\u0060\u0027s public constructor takes \u0060name\u0060, \u0060salary\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060EmployeePropertyAccess\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/entities/EmployeePropertyAccess.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"de383c4af4783465bd0d2a884d3f42a382651705d8a9d55b7f0eb880ba336e04"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ExampleEntity: \u0060ExampleEntity\u0060\u0027s public constructor takes \u0060uppercaseColumn\u0060, \u0060lowercaseColumn\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ExampleEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/entities/ExampleEntity.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb5c5ff5a60dc1794731ef2cc9faa95b3c3248986edf247b15c7a0384041178"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Face: \u0060Face\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Face\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/entities/Face.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5164278020db15c71c90b242649f06fe2fcbdf26854d77d26e19c168dc2338f7"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Order: \u0060Order\u0060\u0027s public constructor takes \u0060customer\u0060, \u0060weight\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Order\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/entities/Order.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e302c2c4ae27ca5ad7f0c013e6eb269847598402323c8bd8e1f7bce0e20de257"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Product: \u0060Product\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Product\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/entities/Product.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"001aaf675ddc2f1381e9836a98c8a05deb3ed35a4c14522ec5ea32310ce69e38"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Shipment: \u0060Shipment\u0060\u0027s public constructor takes \u0060field\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Shipment\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/entities/Shipment.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ffa572fee1c88c7f33d6efd9e94c1ce84c310722d9ff70118b8d3ad3bb9842"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ShipmentWithIndex: \u0060ShipmentWithIndex\u0060\u0027s public constructor takes \u0060field\u0060, \u0060taxCode\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ShipmentWithIndex\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/entities/ShipmentWithIndex.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"51765a4f65fb62c3beb245dff7e25fd769ba0f1665f04f7f6183c1bdb23bd540"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Student: \u0060Student\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Student\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/entities/Student.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6e47d668735f68026fab672a2b94da22807457097ff7e723c8a841e2ed66d0"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Train: \u0060Train\u0060\u0027s public constructor takes \u0060name\u0060, \u0060model\u0060, \u0060capacity\u0060, \u0060speed\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Train\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/entities/Train.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aeb22bff530d9de1544e57e4dd99ed7887a4f069df880998eee8c89bad509de"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: TrainManufacturer: \u0060TrainManufacturer\u0060\u0027s public constructor takes \u0060name\u0060, \u0060country\u0060, \u0060foundedYear\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060TrainManufacturer\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/entities/TrainManufacturer.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df91b389a765cd283d6d11f4c9b627ee71bcf31dc4416b0b1a7ffb610170b35"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Project: \u0060Project\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Project\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/jdbc/entities/Project.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"065355623879e0c7432d28c3645aba44ef227d72d3f12388eed1e0e306747394"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Book: \u0060Book\u0060\u0027s public constructor takes \u0060title\u0060, \u0060pages\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Book\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmarks/benchmark-micronaut-data-jdbc/src/main/java/example/Book.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"addc49cafd055ab32b696c1c4098b8f3dca90dd04950ef8f28a4e8a0c09fe664"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Book: \u0060Book\u0060\u0027s public constructor takes \u0060title\u0060, \u0060pages\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Book\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmarks/benchmark-micronaut-data-jpa/src/main/java/example/Book.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba367cb35d92ac48c48f8094088f28f865bcb7dd1dac2c312c099addd839a70"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Product: \u0060Product\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Product\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmarks/benchmark-micronaut-data-jpa/src/main/java/example/Product.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3697b8c3773d8f2f0a4e2e098a0c4804aa50457ff9c4ac35aa67187910088c49"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Book: \u0060Book\u0060\u0027s public constructor takes \u0060title\u0060, \u0060pages\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Book\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmarks/benchmark-spring-data/src/main/java/example/Book.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd3266ed6a5e2d1ae0c0f0f613b7919861e2b3a9a66f8eee267696acfddd075"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Product: \u0060Product\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Product\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmarks/benchmark-spring-data/src/main/java/example/Product.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be5f048694de384f833761f5b5eff2ec6fe4f8f63958eb36f5516bc0d1d0422"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Book: \u0060Book\u0060\u0027s public constructor takes \u0060title\u0060, \u0060pages\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Book\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-java/src/main/java/example/Book.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"087084fb23d2279fd223b25a325a5171d2c0cd460e65a427318c6775926a1f47"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Product: \u0060Product\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Product\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-java/src/main/java/example/Product.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff4b5c4dad23d1a6cbac92f4ffb3965a6f3bfbeb888c33d22018c0f114c1ff2"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Book: \u0060Book\u0060\u0027s public constructor takes \u0060title\u0060, \u0060pages\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Book\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-multitenancy-discriminator-example-java/src/main/java/example/Book.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e540784c97519c97e3ba9554548fbe348168f25178b647fdddb4177cefc0ea"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Book: \u0060Book\u0060\u0027s public constructor takes \u0060title\u0060, \u0060pages\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Book\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-reactive-example-java/src/main/java/example/Book.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0479726850ce30af7651dafe297ca86e5e97da3678dd0de978c5e346a1195df8"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Course: \u0060Course\u0060\u0027s public constructor takes \u0060title\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Course\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-reactive-example-java/src/main/java/example/Course.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"be431981dfcd3ad301ba995983442a414ffb19406e27a4af4c7b195b6fc04325"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Product: \u0060Product\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Product\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-reactive-example-java/src/main/java/example/Product.java"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c2554652ded9f5dfaa75d2c8ff6b8a7390187b70fadbcd96851a1f1290d326"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Student: \u0060Student\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Student\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-reactive-example-java/src/main/java/example/Student.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce4bac022875cf1aee1bde261e67ddc5f6c88059a6472b240906375c16dccd1"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Book: \u0060Book\u0060\u0027s public constructor takes \u0060title\u0060, \u0060pages\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Book\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-spring-tx-example-java/src/main/java/example/Book.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e491b07f41ff8e374fafe456d95142e6e129453eec1625f7fb3723e2067ef21c"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Book: \u0060Book\u0060\u0027s public constructor takes \u0060title\u0060, \u0060pages\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Book\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-sync-and-reactive-example-java/src/main/java/example/Book.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e448bb3f6374488b3874c0a8b2a915221c56b70259588e1b4722b1b6a8753ec"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Book: \u0060Book\u0060\u0027s public constructor takes \u0060title\u0060, \u0060pages\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Book\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-and-r2dbc-example-java/src/main/java/example/Book.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8759c0177df7def92fa4783c1b2973e443ec6f290a545459d3e4d7e4f55e851a"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Book: \u0060Book\u0060\u0027s public constructor takes \u0060title\u0060, \u0060pages\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Book\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-java/src/main/java/example/Book.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"df99049430f2bc20114a064d96383be4e96ad985efcabdf4d5cc7ccedbffdd73"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Manufacturer: \u0060Manufacturer\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Manufacturer\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-java/src/main/java/example/Manufacturer.java"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf569c71327f404919317129cd535fa6802fc0820d3fa374ebf52aac4d6834f"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Person: \u0060Person\u0060\u0027s public constructor takes \u0060name\u0060, \u0060age\u0060, \u0060longName\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Person\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-java/src/main/java/example/Person.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"147a6a9e32f95d4415f4032fa3de780c241e9b031d804571a88f265fbef3e3e3"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Product: \u0060Product\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Product\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-java/src/main/java/example/Product.java"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f19df81c5e50e0a508d9c6d8975b33595b4509967c48e02056a6145e737d1ef"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Project: \u0060Project\u0060\u0027s public constructor takes \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Project\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-java/src/main/java/example/Project.java"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aed38ee00154392634baa2a0b75c01d44ce8993861513d1b50f45ad818c5ed6"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Review: \u0060Review\u0060\u0027s public constructor takes \u0060reviewer\u0060, \u0060content\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Review\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-java/src/main/java/example/Review.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b5d8d07f578d264a1f6d87768b417bdd831ff7c93673c5236516de5f9f3f78"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Book: \u0060Book\u0060\u0027s public constructor takes \u0060title\u0060, \u0060pages\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Book\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-jakarta-data-example-java/src/main/java/example/Book.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f6d25bc2beb7c2311db385e31e3045a2b8022f6f2aacac3b27bef0fafd2c69"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Book: \u0060Book\u0060\u0027s public constructor takes \u0060title\u0060, \u0060pages\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Book\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-spring-tx-example-java/src/main/java/example/Book.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3d462f6b38d340421e90e0d6b595144b4909a1c86deb388b4b40ee258bf893"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Author: \u0060Author\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/Author.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a946858e046e5d7c2c83072b2bc166f753065b37e9400676880cc218f057edb9"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Book: \u0060Book\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/Book.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"00baf5b2bc203c8f9c968368e1d5d317d5b6ddf7d7840a57b343a059c177676f"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Child: \u0060Child\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/Child.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1991f6a9eba3885dc9371835f8e6223b1123b179295e9cbf79f1f7fa332f3e4f"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Genre: \u0060Genre\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/Genre.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38730e0a1393f4c75a704fb83f195b7860f05ba99e09d391f62f7dc059a331a"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Student: \u0060Student\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/Student.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b082eca52ce0634c36291ea8749d3e7d4678d8dbccf1595c7437568fb73912"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Book: \u0060Book\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin/src/main/kotlin/example/Book.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8748ec24444c403ba6747ae3974b7ab34c9103d79d548cfd1a394d8300212e"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Child: \u0060Child\u0060 is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin/src/main/kotlin/example/Child.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a9b12727bad64898a37f874bfa6f9a882d3342d24c6050ad42b3c4cae7304e"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Student: \u0060Student\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin/src/main/kotlin/example/Student.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96b66485f8c275e478228f9ec7c307dc5c501d96dca8e8790d7fb8d98d83d8b"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: User: \u0060User\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin/src/main/kotlin/example/User.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"655f9a18e932f37928d9f225f7b2f5f55128d1cf25a3c51c066a284eaed3064a"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Book: \u0060Book\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-reactive-example-kotlin/src/main/kotlin/example/Book.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab148f788c3176c5e6579c6b03dbda9348901b8a03244148f075ce3bc285585a"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Student: \u0060Student\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-reactive-example-kotlin/src/main/kotlin/example/Student.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c436100b92075649e7089ba6b1f8e1dbc1a37a007819e7b5835f037d5ee6e27"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Book: \u0060Book\u0060 is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-kotlin/src/main/kotlin/example/Book.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a6a6127637c37d98be9f14ee69f4d6580ed0ee009c8967d364fbd8d79e7f0b"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Person: \u0060Person\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-kotlin/src/main/kotlin/example/Person.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0708370d0b52cbbfb4efce9c13c810141928f31600703ddc336eedbf678a5b2"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Project: \u0060Project\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-kotlin/src/main/kotlin/example/Project.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"58916d31459dea8041b8040d7d81492ea5c63a0e81c2447a79ecac934a4ef3e1"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Review: \u0060Review\u0060 is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-kotlin/src/main/kotlin/example/Review.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"128ecb81b3874143f65bd8419fb3c8a1aaeb400c423b6589dc6b26269363f2df"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Book: \u0060Book\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-jakarta-data-example-kotlin/src/main/kotlin/example/Book.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f71297543fd85b1106f8d1311a87fa50f63b9cdb054782edf451892464eadf8"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Order: \u0060Order\u0060 is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/entities/Order.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1dee0504e3dbe723535a91ddd2004d841586ef0e19b23ce9c536da4bd36719"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Project: \u0060Project\u0060 is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-java/src/main/java/example/Project.java"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1fe1efde472638a26c835bfc36f9f4fe15fa509dc6ac971b4887c3a17ac05f"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Review: \u0060Review\u0060 is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-java/src/main/java/example/Review.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a381ec55b1b16895ca569e06fa78fbfe53693c180a77e0125d336e9fce7c3478"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: Book: \u0060Book\u0060 exposes publicly writable state (id, title, pages)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/Book.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e173c4317c6e109c340527c4399e90eeef897b042b67cb75cf31f0a31f594b9"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: Student: \u0060Student\u0060 exposes publicly writable state (id)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin-ksp/src/main/kotlin/example/Student.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"88299e54ec368a3c7f12777243b0af7d2f0c1127cee15e203519a7326ad044f1"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: Book: \u0060Book\u0060 exposes publicly writable state (id, title, pages)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin/src/main/kotlin/example/Book.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a42ebcca301bb293a7ba770a09c6e001aabf533e92109441d3cb12752dd32a"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: Student: \u0060Student\u0060 exposes publicly writable state (id)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin/src/main/kotlin/example/Student.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"188e73d2c923f21b6d6da2464f156a7d65be7f719e37dfa4d716f7c56ad94451"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: User: \u0060User\u0060 exposes publicly writable state (id, name, enabled)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-example-kotlin/src/main/kotlin/example/User.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebfdd80fa2315cbd0d492442505171dcdd4b55cce0f67c43ec459aef4ed9ce1"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: Book: \u0060Book\u0060 exposes publicly writable state (id, title, pages)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-reactive-example-kotlin/src/main/kotlin/example/Book.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93eee3d0d1c108d576e0a77176949c435cea77fc6e3a07010aebbb2babe0e31"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: Student: \u0060Student\u0060 exposes publicly writable state (id, name)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-reactive-example-kotlin/src/main/kotlin/example/Student.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f8d20d5b71fe901a5884511f453e2b34fa5d2048459c25eec50bbb204b047a"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: Person: \u0060Person\u0060 exposes publicly writable state (id, name, age)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-kotlin/src/main/kotlin/example/Person.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0af60df36e3365d8a594f10c42fe39955199b837c7a6ef5879b9cf71b817290"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: StudentRepository \u2192 Student: \u0060StudentRepository\u0060 is a repository over \u0060Student\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Student\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/hibernate-reactive-example-kotlin/src/main/kotlin/example/StudentRepository.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"81631ab3a1df3c3a6b6bfcc23c822623de8db9cd73ac7eb1d844ae0e217daffc"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: AuthorRepository \u2192 Author: \u0060AuthorRepository\u0060 is a repository over \u0060Author\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Author\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-kotlin/src/main/kotlin/example/AuthorRepository.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d5accdcba0ca3cccc12592f0e6f6304f6ca83fc0a3d3a32f693d8e2e849a8e"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: UserRepository \u2192 User: \u0060UserRepository\u0060 is a repository over \u0060User\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060User\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/jdbc-example-kotlin/src/main/kotlin/example/UserRepository.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5152a1f58f7de558c5bfe2caa7e5df0ef57147f6134411305820bafc86e44624"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: AccountRepository \u2192 Account: \u0060AccountRepository\u0060 is a repository over \u0060Account\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Account\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/AccountRepository.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6646ee8afab198a6c5238d14ef354d0d159c6ab80f1199058075e7ce5ac51a1f"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: AuthorRepository \u2192 Author: \u0060AuthorRepository\u0060 is a repository over \u0060Author\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Author\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/AuthorRepository.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7cf51057157871dab83dcca1b9cc33c412de8683d4e20980d99d78d7a704b6"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: CarRepository \u2192 Car: \u0060CarRepository\u0060 is a repository over \u0060Car\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Car\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/CarRepository.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3fbc595a21c0a4ed3f435fd0648d266a26ffccdb69f977f3e977a693ad1953"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: CategoryRepository \u2192 Category: \u0060CategoryRepository\u0060 is a repository over \u0060Category\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Category\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/CategoryRepository.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cd2edad1bf616db5e22d037816939dc4f42c42e1ad27092c1d7d61f22194b7"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: ChapterRepository \u2192 Chapter: \u0060ChapterRepository\u0060 is a repository over \u0060Chapter\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Chapter\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/ChapterRepository.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e3e27dbaea1db3e462787dc7640a1cba7d61379cd0111371bf249c890da8aa"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: ChildRepository \u2192 Child: \u0060ChildRepository\u0060 is a repository over \u0060Child\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Child\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/ChildRepository.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4892bee7bc038acea16463cdc3d761b88c01ef38f68486a0f6d67209d6a3192e"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: ClientCategoryRepository \u2192 ClientCategory: \u0060ClientCategoryRepository\u0060 is a repository over \u0060ClientCategory\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060ClientCategory\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/ClientCategoryRepository.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"857be7fd619ce6e4fa75d3c4549fe5a32d0a4c90321d79290b539b8bd5d99cf4"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: ClientRepository \u2192 Client: \u0060ClientRepository\u0060 is a repository over \u0060Client\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Client\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/ClientRepository.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17cd265c92978ae46813585a222ec27e35a7091928ef8d636d22762cdd49025"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: CompanyRepository \u2192 Company: \u0060CompanyRepository\u0060 is a repository over \u0060Company\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Company\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/CompanyRepository.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c8da0782a3d7f9883892a3c751c81c6b030c7cee511ef14b97130992625f5c"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: EmbeddedOwnerRepository \u2192 EmbeddedOwner: \u0060EmbeddedOwnerRepository\u0060 is a repository over \u0060EmbeddedOwner\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060EmbeddedOwner\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/EmbeddedOwnerRepository.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb87f74711770125594784e0fdcb400f30b7b6bac9b6ebee188296043951c1f6"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: EmployeeFieldAccessRepository \u2192 EmployeeFieldAccess: \u0060EmployeeFieldAccessRepository\u0060 is a repository over \u0060EmployeeFieldAccess\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060EmployeeFieldAccess\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/EmployeeFieldAccessRepository.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15b65c146ef750016c9cf4b028b0803689180fd570d56288a911a8956c836b8"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: EmployeeMixedAccessEmbeddedIdRepository \u2192 EmployeeMixedAccessEmbeddedId: \u0060EmployeeMixedAccessEmbeddedIdRepository\u0060 is a repository over \u0060EmployeeMixedAccessEmbeddedId\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060EmployeeMixedAccessEmbeddedId\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/EmployeeMixedAccessEmbeddedIdRepository.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d3c2c8682fd6ab89f171dc80fc71645825a65166f148731c1393f8befdccb5"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: EmployeeMixedAccessRepository \u2192 EmployeeMixedAccess: \u0060EmployeeMixedAccessRepository\u0060 is a repository over \u0060EmployeeMixedAccess\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060EmployeeMixedAccess\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/EmployeeMixedAccessRepository.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfd958d4bb65437f6c58149811cb6a7989f5c0450bec855ceda2345310ebf42"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: EmployeePropertyAccessRepository \u2192 EmployeePropertyAccess: \u0060EmployeePropertyAccessRepository\u0060 is a repository over \u0060EmployeePropertyAccess\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060EmployeePropertyAccess\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/EmployeePropertyAccessRepository.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe817a71cd7d0c4ce13ba77253e41e5cd9c3ca30f2077db5c56ac6419b75026"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: EntityWithIdClassRepository \u2192 EntityWithIdClass: \u0060EntityWithIdClassRepository\u0060 is a repository over \u0060EntityWithIdClass\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060EntityWithIdClass\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/EntityWithIdClassRepository.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c9e60990935ff14fe7202783385762fb14c7c2562337cc330309127a924593"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: ExampleEntityRepository \u2192 ExampleEntity: \u0060ExampleEntityRepository\u0060 is a repository over \u0060ExampleEntity\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060ExampleEntity\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/ExampleEntityRepository.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b398228f8f1970aaee5ffb1b7f603aae079ad5ed437b6646634595bd942370ca"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: FaceRepository \u2192 Face: \u0060FaceRepository\u0060 is a repository over \u0060Face\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Face\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/FaceRepository.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b276db7e4b672ea6b19fe7aba4570a2fbebf9ffe81861ad074d1ddaadee3f315"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: GenreRepository \u2192 Genre: \u0060GenreRepository\u0060 is a repository over \u0060Genre\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Genre\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/GenreRepository.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d9e5365097c5f82eb0894d9d0b08c5e11e573173c2580fd4dab5e1fd520727"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: NoseRepository \u2192 Nose: \u0060NoseRepository\u0060 is a repository over \u0060Nose\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Nose\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/NoseRepository.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e137c9a99281f17c1b401b58281990b66afcffebaaf469f8730108d03cc1ccc3"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: OrderRepository \u2192 Order: \u0060OrderRepository\u0060 is a repository over \u0060Order\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Order\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/OrderRepository.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9714413889850f1c1f17971c4286181afb2349cff408051e18a04e08f79fbf"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: PageRepository \u2192 Page: \u0060PageRepository\u0060 is a repository over \u0060Page\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Page\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/PageRepository.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"de31e77e1bd205e3039ccb604128bfc148923a880d7c3301ef7d4fa1e800af04"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: PersonAsyncRepository \u2192 Person: \u0060PersonAsyncRepository\u0060 is a repository over \u0060Person\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Person\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/PersonAsyncRepository.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a036cb4ba2cf71d70b61012fb057082b6d588f72e2a0eb0f704182160067f882"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: ProjectRepository \u2192 Project: \u0060ProjectRepository\u0060 is a repository over \u0060Project\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Project\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/ProjectRepository.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a739f1406a1fe83da48408937c375a69665f6d70e04a089b72a630375339823e"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: PublisherRepository \u2192 Publisher: \u0060PublisherRepository\u0060 is a repository over \u0060Publisher\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Publisher\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/PublisherRepository.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf39554268a3fc25b600d7f0e540d4f16df6f2a4e7093e00d1aa9c512850309"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: PurchaseOrderRepository \u2192 PurchaseOrder: \u0060PurchaseOrderRepository\u0060 is a repository over \u0060PurchaseOrder\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060PurchaseOrder\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/PurchaseOrderRepository.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8410b1ccd4c57be025651f96baf656852f1fe9883d1e6e8ee1a03b5fe9828a"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: ShelfRepository \u2192 Shelf: \u0060ShelfRepository\u0060 is a repository over \u0060Shelf\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Shelf\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/ShelfRepository.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6269791bf045dd26859af3c837616f6fb8e624205a7a9e389d440a7e4ca7f240"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: StudentReactiveRepository \u2192 Student: \u0060StudentReactiveRepository\u0060 is a repository over \u0060Student\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Student\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/StudentReactiveRepository.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0e43ac50287d2d989088cca15775f00a3038fcf1f010a3e36a6a0bee544930"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: TrainRepository \u2192 Train: \u0060TrainRepository\u0060 is a repository over \u0060Train\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Train\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/repositories/TrainRepository.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7fadddff61bf24161e6bb47e59822c870e88408f39eab5cd80224cd7d06782"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: Boxes \u2192 Box: \u0060Boxes\u0060 is a repository over \u0060Box\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Box\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/jakarta_data/entity/Boxes.java"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf5c5099070cb609a6dda6eabbe5e8e29fd03b38db638d82fa2d986dc17ece2"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: Catalog \u2192 CatalogProduct: \u0060Catalog\u0060 is a repository over \u0060CatalogProduct\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060CatalogProduct\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/jakarta_data/persistence/Catalog.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"17bfdfdd4ca5fdeb16cad926a386b29afd8f4106a6947d15dc3800093dfc3be2"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: AsciiCharacters \u2192 AsciiCharacter: \u0060AsciiCharacters\u0060 is a repository over \u0060AsciiCharacter\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060AsciiCharacter\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/jakarta_data/read/only/AsciiCharacters.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a86a373e39e6dc89a6ad8fb8141fe79e5d6390c9d4ee868750c808f13eeef79"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: NaturalNumbers \u2192 NaturalNumber: \u0060NaturalNumbers\u0060 is a repository over \u0060NaturalNumber\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060NaturalNumber\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/jakarta_data/read/only/NaturalNumbers.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a5b162beb13fa4e97b56c6c1891f53dd35c5c6e4edc22def87666036ebda02"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: FooRepo \u2192 Foo: \u0060FooRepo\u0060 is a repository over \u0060Foo\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Foo\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteEmbedded2Test.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c5f82a6055e4133d60f924083f3e4b0373f7cd2db597b478a6da820becddec"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: ItemGroupRepository \u2192 ItemGroup: \u0060ItemGroupRepository\u0060 is a repository over \u0060ItemGroup\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060ItemGroup\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteEmbeddedIdTest.java"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52b09174db3424e606686f579bdac831a99bf60dbcc0303a35554b1677ce90b"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: JpaEnumEntityRepository \u2192 JpaEnumEntity: \u0060JpaEnumEntityRepository\u0060 is a repository over \u0060JpaEnumEntity\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060JpaEnumEntity\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteEnumsMappingTest.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee75f04e4628a11083a09932b494ca40ebb201eab871fd9ba94c2409d396bf3f"}},{"ruleId":"DM7","level":"warning","message":{"text":"Repository for a non-root entity: ShipmentRepository \u2192 Shipment: \u0060ShipmentRepository\u0060 is a repository over \u0060Shipment\u0060, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT \u2014 loading/saving a child entity independently lets callers bypass the root\u0027s invariants. Access \u0060Shipment\u0060 through its owning aggregate instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/ShipmentRepository.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98893a8232c811119ad10b605f8f8bf7eb45dcabaa1ab11f5ddd518ce091c7e"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getJoinedFields\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb925a794e7801c7424cc2e6249cbd5c507a3489c248e668679bca80337996fb"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/coherence-example-java/src/test/java/io/micronaut/coherence/data/GeneratedAsyncStatementsTest.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3686d132f36a3a5b64b6ca524ae6e5fe000199f3b423e55df53ccf5745e0bf"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc-examples/mongo-jackson-example-java/src/test/java/example/Tests.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a308c515a30d894103b1755d6ee1b5fe354a46a60ec0c4b0948b1a4d87d61ef"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/AbstractManualSchemaTest.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd60aab2c422e11bb9c9c60e7f105f44b4f2eae34fff0b9d5d44abe171e47c0"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteArraysTest.java"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e565420c5d9aa2f50be45f638f82a60090686d97a697bded28db7a9f7db8ebac"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteJSONTest.java"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"53df2990af346fd2dab1a4bfe6cc988a6942918a16681269d7f93015c69c3994"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteJakartaDataTest.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1caf61ce4a84907637acff3801537d628aca6bf344fdc5b7d01c709bfa70fd5"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteJakartaDataTest.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a91299ec0e3f20977f54b259eb214429d5684ab0295c0215d18c88bb15b1cc6"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SQLiteManualSchemaTest.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc74577971902356834e97ced573e5af702be84805b146a1cb767146484d6d4"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SqliteSchemaValidationTest.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d063df653ee3aa036cdc1e2a7058f12e3d509c8061517a517ea1b9d1b655aa"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/SqliteSchemaValidationTest.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a784d56df486c18f06a431d616066b1198a7f2b9ed9893b988b9fb5b9b4a0e24"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/assignedid/AssignedUuidManyToManyPersistTest.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0ee9b7c0a3e15d11d5ff2b250e152a8efe2c313a637b617ad56fb412ea9c82"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/composite/CompositeTest.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea3aa653d83ad2f9c274f70f80a70e7b5a381aafc22088a2cab0e9724f100d0"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/jakarta_data/entity/EntityTests.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6179ca808ca8130f6116e4e8163957a13674d0656334624a316876c1bca9e726"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/jakarta_data/entity/EntityTests.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10e9d5d100bc607122e3abdf3fd007bfc65f38b5daf67e45f27fb653e5d1e0d"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/jakarta_data/entity/EntityTests.java"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cbe3da451373d08ea105a2f53a5a4a4f72da860bdaf3892e179899cef19020"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/jakarta_data/persistence/PersistenceEntityTests.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"932b81ff94ff5ab0200f46ad63d4e313d14c06625a52931470cd0a63b5bb516c"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/jakarta_data/persistence/PersistenceEntityTests.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbca88f194d4ca51e3e1ebcdeaeeecb80cab31d22ffe637cd57745a230a7d04f"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/jakarta_data/persistence/PersistenceEntityTests.java"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdaeb2cbd1dcc0269e3045240782cfa42b2bf515a38c1818a11a50f16036b04"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/jakarta_data/persistence/PersistenceEntityTests.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0235a1581a1ede6bb73b26d1a437b7b3fba329a0bbc3901306b1b29fc76bad"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test-suite-data-jdbc-sqlite/src/test/java/io/micronaut/data/jdbc/sqlite/one2many/OneToManyHierarchicalTest.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a62d65eca8d7255ac4963445c9a429bba29c05d787c17bcc799f7e0279ae6ab"}},{"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":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 24/56 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060doc-examples/azure-cosmos-example-java\u0060, \u0060doc-examples/azure-cosmos-example-kotlin\u0060, \u0060doc-examples/hibernate-multitenancy-discriminator-example-java\u0060, \u0060doc-examples/hibernate-reactive-example-java\u0060, \u0060doc-examples/hibernate-reactive-example-kotlin\u0060 and 27 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (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 10 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":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/gradle.yml"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"PF1","level":"note","message":{"text":"Benchmarks don\u0027t track allocations: A JMH/Jetpack Benchmark suite exists but nothing turns on its allocation measurement \u2014 allocations (the main way hot code pressures a garbage collector or allocator) aren\u0027t being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmarks/benchmark-spring-data-mongodb/src/jmh/java/example/SimpleQuery.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb845af5429e104321d2c22469b17999386d07a5e251d142c863ea87553dc31"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Character.isLetterOrDigit(c) \u0026\u0026 c != \u0027_\u0027\u0060 appears character-identically in 2 files \u2014 data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaeb317a843409a036a8d2068c664cd1d5d3585af28c1bf024926ee52c3b2b0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!TypeUtils.doesReturnVoid(methodElement) \u0026\u0026 !TypeUtils.doesMethodProducesANumber(methodElement) \u0026\u0026 !producesAnEntity\u0060 appears character-identically in 2 files \u2014 data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/SaveMethodMatcher.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/UpsertMethodMatcher.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/SaveMethodMatcher.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"299f195b06687545b8c83ff5218079cd73eb16bc2ead0672a8453907e374eca9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!argument.isVoid() \u0026\u0026 argument.getType() != Void.class\u0060 appears character-identically in 2 files \u2014 data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/AbstractCountOrEntityPublisherInterceptor.java, data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/AbstractPublisherInterceptor.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/AbstractCountOrEntityPublisherInterceptor.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b134bf35d3cd4ba2f53b75a3e1a8cb9165ed2f9b8689988d1ad0e401093a6f1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!hasId \u0026\u0026 (cascadeType == Relation.Cascade.PERSIST || cascadeType == Relation.Cascade.UPDATE) \u0026\u0026 (association != null \u0026\u0026 SqlQueryBuilder.isF\u2026\u0060 appears character-identically in 2 files \u2014 data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/ReactiveCascadeOperations.java, data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/SyncCascadeOperations.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/ReactiveCascadeOperations.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"36896bd7cf36316e67b9ad3b8d3eb0bd407fbe4b50da66c7f55b638389bf02a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!page.hasTotalSize() \u0026\u0026 preparedQuery.getPageable().requestTotal()\u0060 appears character-identically in 3 files \u2014 data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultAbstractFindPageInterceptor.java, data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultFindCursoredPageAsyncInterceptor.java, data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultFindCursoredPageReactiveInterceptor.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultAbstractFindPageInterceptor.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ca903ed652c74f3990711b38df6a5caea32d0e73bcbeb78007642062a6460e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!rootEntity.hasIdentity() \u0026\u0026 !rootEntity.hasCompositeIdentity()\u0060 appears character-identically in 3 files \u2014 data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/DeleteMethodMatcher.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/SaveMethodMatcher.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/UpsertMethodMatcher.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/DeleteMethodMatcher.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40d9ff7b6cf75b7cb1a51494a1cb6143a60fa14e1df23ef2be36b7abd15a024"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(cascadeType == Relation.Cascade.PERSIST) \u0026\u0026 shouldPersistChildOnPersist(childPersistentEntity, child)\u0060 appears character-identically in 2 files \u2014 data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/ReactiveCascadeOperations.java, data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/SyncCascadeOperations.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/ReactiveCascadeOperations.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07e0433595d34e47f76531d4c96db85901ac8f8c852f015ccafe4a473fb1218"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Objects.equals(country, tableId.country) \u0026\u0026 Objects.equals(city, tableId.city)\u0060 appears character-identically in 2 files \u2014 data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/ShipmentId.java, data-tck/src/main/java/io/micronaut/data/tck/entities/ShipmentId.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/ShipmentId.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a3694d198567ea8680e3f785621795e3dd7e19391b87430e823b21ebaa37c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Objects.equals(shipmentId, table.shipmentId) \u0026\u0026 Objects.equals(field, table.field)\u0060 appears character-identically in 2 files \u2014 data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/Shipment.java, data-tck/src/main/java/io/micronaut/data/tck/entities/Shipment.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-tck/src/main/java/io/micronaut/data/document/tck/entities/Shipment.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a93c6834c9b58abec82eb43d3da0e46cb24c5270e56c40db6663ca522ab4184"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060StringUtils.isEmpty(conflictProperty) || StringUtils.isEmpty(conflictProperty.trim())\u0060 appears character-identically in 2 files \u2014 data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlUpsertQueryBuilder.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/UpsertMethodMatcher.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlUpsertQueryBuilder.java"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"913bcbe8b9778bd76d990417bda5980f308dd63dda7594367fb123b74ea43506"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TypeUtils.isIterableOfEntity(p.getGenericType()) || TypeUtils.isEntity(p.getGenericType())\u0060 appears character-identically in 2 files \u2014 data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/SaveMethodMatcher.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/UpsertMethodMatcher.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/SaveMethodMatcher.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec97d0c22b0d6ae57dfd470342ac2c9a1f6a278541e393610347568d70c6fd70"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060annotationMetadata.hasAnnotation(JsonAnyGetter.class) || annotationMetadata.hasAnnotation(JsonAnySetter.class)\u0060 appears character-identically in 2 files \u2014 data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java, data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"00128bef72b291861c5cf834fb89e6127876fbf97541d4568489ac62765ab20e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060assocEntity != null \u0026\u0026 assocEntity.getIdentityProperties().contains(property)\u0060 appears character-identically in 2 files \u2014 data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java, data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilderUtils.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebfcf2ce3c56da4aa8f268d3674bc47cc0908d9ac1d8580dfc767c490d99643"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060association != null \u0026\u0026 SqlQueryBuilder.isForeignKeyWithJoinTable(association)\u0060 appears character-identically in 3 files \u2014 data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java, data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/ReactiveCascadeOperations.java, data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/SyncCascadeOperations.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractCascadeOperations.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"474b54878e470cb96da4f5f132ac218639b11ae20a7fd7901fce14a3c4148770"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060association.getKind() != Relation.Kind.EMBEDDED \u0026\u0026 foreignAssociation == null\u0060 appears character-identically in 2 files \u2014 data-model/src/main/java/io/micronaut/data/model/naming/NamingStrategy.java, data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlSchemaUtils.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/naming/NamingStrategy.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c545f417e6a5f499ddccc83928f495a497259919824635d4b84bbe2f45c396"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060association.getKind() == Relation.Kind.MANY_TO_MANY || association.isForeignKey() \u0026\u0026 !inverseSide.isPresent()\u0060 appears character-identically in 2 files \u2014 data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java, data-mongodb/src/main/java/io/micronaut/data/mongodb/init/AbstractMongoCollectionsCreator.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/MongoQueryBuilder.java"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b70e672515df936f781decb29b1286b6e1345297e724e13ccff61e4000602b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c == \u0027\u0022\u0027 \u0026\u0026 (i \u002B 1 \u003E= query.length() || query.charAt(i \u002B 1) != \u0027\u0022\u0027)\u0060 appears character-identically in 2 files \u2014 data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23a0ca0a313498bfedaaba97ecc93427ea863bca21251ca583185b8ccc752e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c == \u0027\u0022\u0027 \u0026\u0026 i \u002B 1 \u003C query.length() \u0026\u0026 query.charAt(i \u002B 1) == \u0027\u0022\u0027\u0060 appears character-identically in 2 files \u2014 data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bc184c3d7163a31cd639b9c68bce6815b4ca1030837694a205a0f6f17a3850"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c == \u0027\\\u0027\u0027 \u0026\u0026 (i \u002B 1 \u003E= query.length() || query.charAt(i \u002B 1) != \u0027\\\u0027\u0027)\u0060 appears character-identically in 2 files \u2014 data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95220b89d6d1813b9b81cfd01084915280285ccd253cb932be3a00450206641"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c == \u0027\\\u0027\u0027 \u0026\u0026 i \u002B 1 \u003C query.length() \u0026\u0026 query.charAt(i \u002B 1) == \u0027\\\u0027\u0027\u0060 appears character-identically in 2 files \u2014 data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b3219281c27448c8813b685aa8d7bca0d39336ea83a451a277382e4107518e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060codec != null \u0026\u0026 CodecUtils.shouldUseCodec(codec)\u0060 appears character-identically in 2 files \u2014 data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataDecoderContext.java, data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataEncoderContext.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataDecoderContext.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d682fd4f5fdcdea1148b014ebc7a5f77dc6974e51285f3993965cfb012d507"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060configuration.getSchemaGenerateNames() != null \u0026\u0026 !configuration.getSchemaGenerateNames().isEmpty()\u0060 appears character-identically in 2 files \u2014 data-jdbc/src/main/java/io/micronaut/data/jdbc/config/SchemaGenerator.java, data-r2dbc/src/main/java/io/micronaut/data/r2dbc/config/R2dbcSchemaGenerator.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/config/SchemaGenerator.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9a61e78d5edeaaabd6300fd4c42121b6add2a24d772835947901d1729afa3b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context.isSuspend() \u0026\u0026 !returnType.getType().getName().equals(\u0022kotlinx.coroutines.flow.Flow\u0022)\u0060 appears character-identically in 2 files \u2014 data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/AbstractAsyncInterceptor2.java, data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/AbstractAsyncSpecificationInterceptor.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/AbstractAsyncInterceptor2.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc611ca634f583ce33f54b07b86480c0a09e2a1f13dcb9aa995484ab15e2146"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060converters == null || converters.isEmpty()\u0060 appears character-identically in 2 files \u2014 data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java, data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/VectorParameterBinder.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3a5608b33409de273a1d2daf8373a345af54ca92122b292e122da80e1dd36e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060csValueArgument.isVoid() || csValueArgument.getType() == Void.class || csValueArgument.isVoid()\u0060 appears character-identically in 2 files \u2014 data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/AbstractConvertCompletionStageInterceptor.java, data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/AbstractCountConvertCompletionStageInterceptor.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/AbstractConvertCompletionStageInterceptor.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78690e59bf3118f017e8479ee14301f5d87cd416618d18d17efac287d80fb99"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentOperation != null \u0026\u0026 currentOperation != entityOperation\u0060 appears character-identically in 3 files \u2014 data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultSaveAllInterceptor.java, data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultSaveAllAsyncInterceptor.java, data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultSaveAllReactiveInterceptor.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultSaveAllInterceptor.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b82255d1a3119d34d6583747001c7f4e84bde226a5f109b41636938400d0e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data == null || data.isEmpty() || data.equals(NULL_VALUE)\u0060 appears character-identically in 2 files \u2014 data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/OracleJdbcJsonColumnMapper.java, data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/OracleR2dbcJsonColumnMapper.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/mapper/OracleJdbcJsonColumnMapper.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e012464eb4b31e0738b36e382648273786a22844bc48393687de64421a6213"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dataType == DataType.JSON \u0026\u0026 jsonColumnReader != null\u0060 appears character-identically in 2 files \u2014 data-runtime/src/main/java/io/micronaut/data/runtime/mapper/DTOMapper.java, data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/DTOMapper.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4cd1268c7a825d414971a5d413a452e2bbfb249cb6b1088205738dd980e1f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060declaredReturnType.isArray() || Iterable.class.isAssignableFrom(declaredReturnType)\u0060 appears character-identically in 2 files \u2014 data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java, data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultReactiveMongoRepositoryOperations.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/operations/DefaultMongoRepositoryOperations.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac563d73aa8daf5abc0454c94605aae5323f26223c893222aa958032ae295bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060deleteEntity.isEmpty() \u0026\u0026 deleteEntities.isEmpty()\u0060 appears character-identically in 4 files \u2014 data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultDeleteAllInterceptor.java, data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultDeleteAllReturningInterceptor.java, data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/DefaultDeleteAllAsyncInterceptor.java, data-runtime/src/main/java/io/micronaut/data/runtime/intercept/reactive/DefaultDeleteAllReactiveInterceptor.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/DefaultDeleteAllInterceptor.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8659f047571b57ce69e2073cab18bd5491f94dda5e34e86a8f60ec4e4161c45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dialect == Dialect.ORACLE || dialect == Dialect.SQL_SERVER\u0060 appears character-identically in 2 files \u2014 data-model/src/main/java/io/micronaut/data/model/schema/sql/SqlColumnMapping.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/UpsertMethodMatcher.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/schema/sql/SqlColumnMapping.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"55363f4c9274604d26d7c2faa1bbc8f85da2dde3e07171756e70e9353c2bc39e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060element.isPrivate() || element.isStatic()\u0060 appears character-identically in 2 files \u2014 data-processor/src/main/java/io/micronaut/data/processor/visitors/ChangeListenerVisitor.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/EntityEventVisitor.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/ChangeListenerVisitor.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9805cdfa7efb0802883bf9c0568a5bd2af568407d37b2edb3ce1d272f49128"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entityParameter == null \u0026\u0026 entitiesParameter == null\u0060 appears character-identically in 3 files \u2014 data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/DeleteMethodMatcher.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/SaveMethodMatcher.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/UpsertMethodMatcher.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/DeleteMethodMatcher.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d5fff7ce8091151c07af2f1ec0c4b58e6c4ed504f3af98134c37e6536b7d12"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entityRoot != null \u0026\u0026 !entityRoot.getJavaType().equals(runtimePersistentEntity.getIntrospection().getBeanType())\u0060 appears character-identically in 3 files \u2014 data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntityCriteriaDelete.java, data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntityCriteriaInsert.java, data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntityCriteriaUpdate.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/criteria/RuntimePersistentEntityCriteriaDelete.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d68a04ab4e9d515e172ce25104d2d0b01fb8f2d1e4d3d52791cca3329f08f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errorCode == 1 || errorCode == 1062 || errorCode == 23505 || errorCode == 2601 || errorCode == 2627\u0060 appears character-identically in 2 files \u2014 data-jdbc/src/main/java/io/micronaut/data/jdbc/exceptions/JdbcExceptionUtils.java, data-r2dbc/src/main/java/io/micronaut/data/r2dbc/exceptions/R2dbcExceptionUtils.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/exceptions/JdbcExceptionUtils.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0210ecc9dea23bc78963e6bd35c5163af9339ddcda2f516504b0775a58ca0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060eventListener != null \u0026\u0026 persistentEntity.hasPostLoadEventListeners()\u0060 appears character-identically in 2 files \u2014 data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/JsonQueryResultMapper.java, data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/SqlResultEntityTypeMapper.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/mapper/sql/JsonQueryResultMapper.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1f51f9d3b7c839492f5397b902930e84c626e060b4d7a8201c7f55e7df748e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060exception instanceof EntityExistsException || exception instanceof DataIntegrityViolationException\u0060 appears character-identically in 2 files \u2014 data-jdbc/src/main/java/io/micronaut/data/jdbc/exceptions/jakarta/data/JdbcJakartaDataExceptionConverter.java, data-r2dbc/src/main/java/io/micronaut/data/r2dbc/exceptions/jakarta/data/R2dbcJakartaDataExceptionConverter.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/exceptions/jakarta/data/JdbcJakartaDataExceptionConverter.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"de97feaa31aaa3d476f6684933945c11462a34de9951a9df4a5ade6722526039"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060exception instanceof StaleStateException || exception instanceof OptimisticLockException\u0060 appears character-identically in 3 files \u2014 data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/jakarta/data/HibernateJakartaDataDeleteExceptionConverter.java, data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/jakarta/data/HibernateJakartaDataPersistExceptionConverter.java, data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/jakarta/data/HibernateJakartaDataUpdateExceptionConverter.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/jakarta/data/HibernateJakartaDataDeleteExceptionConverter.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"162a889776f5e9723ddec3ff1c6470ad151e967526672baa02fc1ad18fd7ae94"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existingType.isAssignableFrom(candidateType) || candidateType.isAssignableFrom(existingType)\u0060 appears character-identically in 2 files \u2014 data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java, data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/VectorParameterBinder.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d4f66d17219a5bacc50d14cedc5690667e22cd9ae6ff9b4d5587251fa728f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasGeneratedId \u0026\u0026 (!isUpsertOperation(storedQuery) || storedQuery.getAnnotationMetadata().isTrue(DataMethod.NAME, DataMethod.META_MEMBER_REA\u2026\u0060 appears character-identically in 2 files \u2014 data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java, data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"936db03a5c0c77019db52bb99b6f1167e98dddcf7f6d31119214ce9969ae8669"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasId \u0026\u0026 (cascadeType == Relation.Cascade.UPDATE)\u0060 appears character-identically in 2 files \u2014 data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/ReactiveCascadeOperations.java, data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/SyncCascadeOperations.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/ReactiveCascadeOperations.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c5c32079a5121e62efa19a2afa2953f8735ee067484ad38dbf3a602202f164"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060insert \u0026\u0026 persistentEntity.hasIdentity() \u0026\u0026 persistentEntity.getIdentity().isGenerated()\u0060 appears character-identically in 4 files \u2014 data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntitiesOperations.java, data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntityOperations.java, data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractSyncEntitiesOperations.java, data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractSyncEntityOperations.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/AbstractReactiveEntitiesOperations.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9496350f59c5dfe3290a9310e1bb87de35d72ba75bbfc417dd6f03587c15076"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isUpsertOperation(storedQuery) \u0026\u0026 CollectionUtils.isNotEmpty(storedQuery.getOutParameterBindings())\u0060 appears character-identically in 2 files \u2014 data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java, data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/operations/DefaultJdbcRepositoryOperations.java"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6270e58b551c1f3fbb33d8ff3a8615ebc989d59cd5ec7820974cc85a815b27"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060kind == Relation.Kind.ONE_TO_MANY || kind == Relation.Kind.MANY_TO_MANY\u0060 appears character-identically in 3 files \u2014 data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/MappedCodec.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/GeneratedETagUtils.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/QueryCriteriaMethodMatch.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/MappedCodec.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1177b20430360c110101b2e74d2569c61a9176cb3e8ab82f497e34c156413fcd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060length == other.length \u0026\u0026 Arrays.equals(indices, other.indices) \u0026\u0026 Arrays.equals(values, other.values)\u0060 appears character-identically in 3 files \u2014 data-model/src/main/java/io/micronaut/data/model/vector/SparseByteVector.java, data-model/src/main/java/io/micronaut/data/model/vector/SparseDoubleVector.java, data-model/src/main/java/io/micronaut/data/model/vector/SparseFloatVector.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/vector/SparseByteVector.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36d2e605f2c134e704d7aa11b0b509f3005b2e514b5f19489a4bf5cfbc123ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060matchContext.isTypeInRole(genericReturnType, TypeRole.PAGE) || matchContext.isTypeInRole(genericReturnType, TypeRole.CURSORED_PAGE)\u0060 appears character-identically in 2 files \u2014 data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/QueryCriteriaMethodMatch.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/JakartaDataQueryMethodMatcher.java"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8aab11f370cf5515397687bac1c6dbba54d9f45a7fd903ccb350ecd7f545040"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized.contains(\u0022unique index\u0022) || normalized.contains(\u0022unique constraint\u0022) || normalized.contains(\u0022primary key violation\u0022) || normalize\u2026\u0060 appears character-identically in 3 files \u2014 data-jdbc/src/main/java/io/micronaut/data/jdbc/exceptions/JdbcExceptionUtils.java, data-r2dbc/src/main/java/io/micronaut/data/r2dbc/exceptions/R2dbcExceptionUtils.java, data-runtime/src/main/java/io/micronaut/data/runtime/intercept/AbstractQueryInterceptor.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/exceptions/JdbcExceptionUtils.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f062de22764227f2c714af9c32c0563ea3d34c254dc0358edfb43f4e4167513"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060persistentEntity != null || operationType == DataMethod.OperationType.INSERT\u0060 appears character-identically in 2 files \u2014 data-document-processor/src/main/java/io/micronaut/data/document/processor/matchers/MongoRawQueryMethodMatcher.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/RawQueryMethodMatcher.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-processor/src/main/java/io/micronaut/data/document/processor/matchers/MongoRawQueryMethodMatcher.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea9b6174fa905880204ee0ec4e1f6e3c9dc0cd244fb5535f4d7d17896c15b4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060predicate != null || annotationMetadata.hasStereotype(WhereSpecifications.class) || queryState.getEntity().getAnnotationMetadata().hasStereo\u2026\u0060 appears character-identically in 2 files \u2014 data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/CosmosSqlQueryBuilder.java, data-model/src/main/java/io/micronaut/data/model/query/builder/sql/AbstractSqlLikeQueryBuilder.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-model/src/main/java/io/micronaut/data/document/model/query/builder/CosmosSqlQueryBuilder.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"2237666dc24d1a48fd12a366446489040a20e61f689af82960de19a7514b9e9c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060propertyPath.getProperty().isOptional() || propertyPath.getAssociations().stream().anyMatch(PersistentProperty::isOptional)\u0060 appears character-identically in 2 files \u2014 data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/QueryCriteriaMethodMatch.java, data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/AbstractPreparedQueryCriteriaRepositoryOperations.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/QueryCriteriaMethodMatch.java"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7d3e926d9d9ca67bb289f44aede4f8b21332bd57122c6ef6e3db62878d96fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060restrictions.length == 1 \u0026\u0026 (restrictions[0] instanceof ConjunctionPredicate || restrictions[0] instanceof DisjunctionPredicate)\u0060 appears character-identically in 2 files \u2014 data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractPersistentEntityCriteriaDelete.java, data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractPersistentEntityCriteriaUpdate.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/jpa/criteria/impl/AbstractPersistentEntityCriteriaDelete.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd83b538d2f5d15c76d596c5b55bf8a09204f206be0e0ce3209a19fbb7fe30a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.isDto() \u0026\u0026 !result.isRuntimeDtoConversion()\u0060 appears character-identically in 2 files \u2014 data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java, data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/UpdateCriteriaMethodMatch.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/DeleteCriteriaMethodMatch.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3299a67ee729d77133332cfeacb01cf87a8ebae73c28cd4c87cd091a558fdb71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sqlState != null \u0026\u0026 sqlState.startsWith(INTEGRITY_VIOLATION_SQL_STATE_PREFIX)\u0060 appears character-identically in 2 files \u2014 data-jdbc/src/main/java/io/micronaut/data/jdbc/exceptions/JdbcExceptionUtils.java, data-r2dbc/src/main/java/io/micronaut/data/r2dbc/exceptions/R2dbcExceptionUtils.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-jdbc/src/main/java/io/micronaut/data/jdbc/exceptions/JdbcExceptionUtils.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8a917de968d72a264c0f1aeaf9b8e61e56425b41ce7c67c17755c213a20dc2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060supportedType.isAssignableFrom(vectorType) \u0026\u0026 (mostSpecific == null || mostSpecific.isAssignableFrom(supportedType))\u0060 appears character-identically in 2 files \u2014 data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java, data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/VectorParameterBinder.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/model/runtime/convert/vector/impl/AbstractVectorAttributeConverter.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b227705b836888e0791f7dcd1d5633d6ee21ce9712566fa9bbfce16697bf43a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.mongoDataConfiguration.isIgnoreJsonViews() || parent.hasView(views)\u0060 appears character-identically in 2 files \u2014 data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataDecoderContext.java, data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataEncoderContext.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-mongodb/src/main/java/io/micronaut/data/mongodb/serde/DataDecoderContext.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"8216468da043b46b3cd60c864748eb8a11ef1b7a33f16aeee9dcb2562bfd9bda"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type == Object.class || type == Void.class || type == void.class\u0060 appears character-identically in 2 files \u2014 data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/AbstractAsyncInterceptor.java, data-runtime/src/main/java/io/micronaut/data/runtime/intercept/criteria/async/AbstractAsyncSpecificationInterceptor.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/intercept/async/AbstractAsyncInterceptor.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6374c9f23a948d100885b0e86adbf194b9566fa0841f1b21d6e8f6904fdfb7e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value == null || value.getClass().equals(String.class)\u0060 appears character-identically in 2 files \u2014 data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/AbstractSqlRepositoryOperations.java, data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/SqlJsonColumnMapperProvider.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-runtime/src/main/java/io/micronaut/data/runtime/operations/internal/sql/AbstractSqlRepositoryOperations.java"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0047f353ca7b70e8dd4ba15d2ebe5bfd209db41d25eb402c13e1e050771326"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/services/ConnectionBookService.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5383330e8f2fdc70360318cef4f4ffe16a12a41db4fb9409fb374097ada565"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/services/ConnectionBookService.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14372d1fde85438ab4f463c6fd592d53962c00cb561a63d668f909dc6293976"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/services/TxBookService.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe955e9cccdd43fadec50040a0ba3e027c733f5171656d189a7a12a6a3304ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/services/TxBookService.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4fed8c0bded4f03cb75657d8a4392f61b0f2ac131052538f7b9fb93fd66595"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/services/TxBookService.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a92910a359809afb5f93d432a8695db20ab50e3395955d8c580050eb47c97f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tck/src/main/java/io/micronaut/data/tck/services/TxBookService.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"297e781d9adf957365b406bc7e6510c8b785ef3a5a0bfcc6ce6d26af3b7d8138"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/AbstractR2dbcResultReader.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1351657ac47f303d17ac0d714d5245167c3eb040735e7d1156985c7a398a71b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/mapper/ColumnNameR2dbcResultReader.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1126878efaf122dedf456cc1966b4e890ed7a8eeedf9a52e284f140eab9de584"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/OracleRawQueryReturningSupport.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1758d441b5ee82c1fb7560930361964de7000285687a0cd3dd48358fdcccf28"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/Projections.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b8b381d124504d455ec06341b8068b596074f3175d78603335d205b6f0ba63"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/Restrictions.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17394d66fef86ed86f057cb4978813c6bbddc7f74d7c4276927ff61470770b0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/Restrictions.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a65606e2b35712d1c2234e58eb6154ac0c7338c0ddb6a813a097dfe89df087"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-processor/src/main/java/io/micronaut/data/processor/visitors/finders/criteria/QueryCriteriaMethodMatch.java"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbcd88132049c9d6ec6192da0080f169b80f7e37f2a48c592101b10d1bfe122"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c801d188e51d309b46ef082dc407d6e3ef570518469b88e09391563323b233"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-hibernate-jpa/src/main/java/io/micronaut/data/hibernate/operations/HibernateJpaOperations.java"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1aef639528b7f81cb9d6072c0e389f21545894a7b7e64543d8e7cc690ace440"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-tck/src/main/java/io/micronaut/data/document/tck/services/TxBookService.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fcaeab04fdde3e4b93c8e55162e24b5dcc6be86ff1b71ecea26d1e7e8b031a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-tck/src/main/java/io/micronaut/data/document/tck/services/TxBookService.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e8f8c61990fb3d94f9a09bfc6e28b3fe12782b6a2ca06302e0d90ab01292dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-document-tck/src/main/java/io/micronaut/data/document/tck/services/TxBookService.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f875665d66a537f4493d3b911e167267d2bdfe9d8cd515d7193693214a956ae4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 393 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tx/src/main/java/io/micronaut/transaction/support/AbstractReactorTransactionOperations.java"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9aa9ac26243268f0f7a37939b07ac2b3c691df9427d2779829a6b9bce22c192"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 412 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tx/src/main/java/io/micronaut/transaction/support/AbstractReactorTransactionOperations.java"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"781716931f6b22f1dfbfb96bcf41022b3d309fc01cbbade4044782aa7a0e4bb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 421 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tx/src/main/java/io/micronaut/transaction/support/AbstractReactorTransactionOperations.java"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f24a996bdb6cf4882f0ca2503387a5b4d1bc37ad7d098e87e5c490e51b7d1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 435 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-tx/src/main/java/io/micronaut/transaction/support/AbstractReactorTransactionOperations.java"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f35012a9f91c03de7f1644d77ae70fee6980559fe44c0da0c9d9d6c80e0448"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 421 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"c305393f553d536245aaa729e4a7605238b93830f39665526594f35ffed49b9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 428 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-r2dbc/src/main/java/io/micronaut/data/r2dbc/operations/DefaultR2dbcRepositoryOperations.java"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e27924c865883932a2adf00023a48e06e3cfe854be96ef6831d51add9da193e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 499 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"904fcf9727e871d54349ffb9f73c8a82ee179f79249b0e754f012d5a16f15cd2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 559 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbad30101f14b4b58c79a42293c6859c7ea459b4505dd5cd8c6171632516ad16"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 49/207 of this repository\u0027s Java package directories are under a non-null default: a \u0060package-info.java\u0060 declaring \u0060@NullMarked\u0060 (JSpecify) or \u0060@NonNullApi\u0060, \u0060@ParametersAreNonnullByDefault\u0060, \u0060@NonNullByDefault\u0060, \u0060@DefaultQualifier(NonNull.class)\u0060; a \u0060module-info.java\u0060 declaring \u0060@NullMarked\u0060; every type in it \u0060@NullMarked\u0060; or a build that runs NullAway with the package in \u0060AnnotatedPackages\u0060, or the Checker Framework\u0027s \u0060NullnessChecker\u0060. Elsewhere every reference admits null and no checker warns on the dereference that throws a \u0060NullPointerException\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"419201f6fc7ba243aef2cfb154378641588a8190e6269cea04a7b48c3d343bd5"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"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":16,"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."]}]}