{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"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":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"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":"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":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"AbstractASTComparisonNode.compare (cyclomatic 50): AbstractASTComparisonNode.compare has cyclomatic complexity 50 (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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/ast/ASTComparisonNode.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fb46a44e1dcb95252b36decd106355f6be8b82678ecacd8323a033dc733a24"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMathFunctionResolver.calculate (cyclomatic 45): DefaultMathFunctionResolver.calculate has cyclomatic complexity 45 (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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/function/DefaultMathFunctionResolver.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b60e67e5fa229b329480ab69f6cf8214b0c2a267ad078c97bc809f4103861b"}},{"ruleId":"D1","level":"warning","message":{"text":"GlobPatterns.toRegexPattern (cyclomatic 40): GlobPatterns.toRegexPattern 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":"corant-shared/src/main/java/org/corant/shared/util/PathMatcher.java"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd6ffe87658b242bdcd080c8bf6bdcbfbcb60478c84df6ac696fa6b36e6bc3e"}},{"ruleId":"D1","level":"warning","message":{"text":"GlobPatterns.toRegexPattern (cyclomatic 40): GlobPatterns.toRegexPattern 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":"corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/GlobPatterns.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5592b1355c4635d064aea83649f1d040b94d781c0a5b5d7b70ef251d51f737c1"}},{"ruleId":"D1","level":"warning","message":{"text":"SimpleRequired.shouldVeto (cyclomatic 33): SimpleRequired.shouldVeto 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":"corant-shared/src/main/java/org/corant/shared/service/SimpleRequired.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fff10c4d94fdc8f9ece8a275e1266395ca7b9539686503cb163a8267c044ea8"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryParseHandler.handleScript (cyclomatic 28): QueryParseHandler.handleScript has cyclomatic complexity 28 (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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb92529fa39da0582c7b1fef7002a741759543feb9592518fa3173cf54c8ba5"}},{"ruleId":"D1","level":"warning","message":{"text":"Classes.isAssignable (cyclomatic 27): Classes.isAssignable 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":"corant-shared/src/main/java/org/corant/shared/util/Classes.java"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa7d6691f5f330fedbcf7e7c9879efe307a85f5c29c69bc4be82aff17bdb8cd"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractInterceptor.getInterceptorAnnotation (cyclomatic 27): AbstractInterceptor.getInterceptorAnnotation 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":"corant-context/src/main/java/org/corant/context/AbstractInterceptor.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1667cdd7f25e1609e60457cff5268e9de09574f3dd3b3a495f0d0cd9e55e444d"}},{"ruleId":"D1","level":"warning","message":{"text":"Bsons.toSimpleBsonValue (cyclomatic 26): Bsons.toSimpleBsonValue has cyclomatic complexity 26 (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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/bson/Bsons.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c9b576ccb18ba5991302a6a90f45af4ab7b8a6cfec1a33555960c292fdd57a"}},{"ruleId":"D1","level":"warning","message":{"text":"Conversion.convertType (cyclomatic 25): Conversion.convertType has cyclomatic complexity 25 (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":"corant-shared/src/main/java/org/corant/shared/conversion/Conversion.java"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"284d4a6fe525d7674836b670b4937cb74039adf6f41c6715ce0eb8bf439e020b"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryMappingService.doInitialize (cyclomatic 25): QueryMappingService.doInitialize has cyclomatic complexity 25 (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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/QueryMappingService.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad4124a3d518e2f57a802e41c53828175034be0ab86efe6f93fb64baa89a5d9"}},{"ruleId":"D1","level":"warning","message":{"text":"CorantConfigConversion.convert (cyclomatic 25): CorantConfigConversion.convert has cyclomatic complexity 25 (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":"corant-config/src/main/java/org/corant/config/CorantConfigConversion.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d94759369ec704a0350dfb5cbaac71773b7e5618ceb56be14019489e0f073d"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryMapping.selfValidate (cyclomatic 24): QueryMapping.selfValidate 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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryMapping.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"56346efe33ef7582dc444679367c7c6825cba34e78943fdd1028f4cc951bfd97"}},{"ruleId":"D1","level":"warning","message":{"text":"PersistencePropertiesParser.doParse (cyclomatic 24): PersistencePropertiesParser.doParse 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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/metadata/PersistencePropertiesParser.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"560f7fa0e21f2e5317040f8d4e530d4e74d26f2e9a2d30e7314d57338d383700"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoClientConfig.of (cyclomatic 23): MongoClientConfig.of has cyclomatic complexity 23 (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":"corant-modules/corant-modules-mongodb/src/main/java/org/corant/modules/mongodb/MongoClientConfig.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5642caf02f98ef44711e53734696e87b91c405882946bb345a1b8df6ac91a666"}},{"ruleId":"D1","level":"warning","message":{"text":"Conversion.convertTuple (cyclomatic 21): Conversion.convertTuple 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":"corant-shared/src/main/java/org/corant/shared/conversion/Conversion.java"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"166e0c1121dc8da503ecbf2107d8cdcc74666f593c2ccaf4125b0b704532be07"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentDispositions.parse (cyclomatic 21): ContentDispositions.parse 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":"corant-shared/src/main/java/org/corant/shared/util/ContentDispositions.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb3981d3371b08606f018c0d4fa8fb2a4b391f6a46549cf454cf5316237278c"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminEventSelector.test (cyclomatic 21): AdminEventSelector.test has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-keycloak/corant-modules-keycloak-event/src/main/java/org/corant/modules/keycloak/event/selector/AdminEventSelector.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"033d37470454630fe9c10b7184581a1a146af4b6f655b888d1566877b7f165ba"}},{"ruleId":"D1","level":"warning","message":{"text":"Types.resolve (cyclomatic 20): Types.resolve 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":"corant-shared/src/main/java/org/corant/shared/util/Types.java"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4770ccf02b17fa8b9a09f339a8e9fe9bc72d186a95af3be2359def9fa9a27d6"}},{"ruleId":"D1","level":"warning","message":{"text":"StringZonedDateTimeConverter.doConvert (cyclomatic 19): StringZonedDateTimeConverter.doConvert 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":"corant-shared/src/main/java/org/corant/shared/conversion/converter/StringZonedDateTimeConverter.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"abecc6ff3e12bf3f7799212b2c79dbe730b414201d0bb8e1e7c8ff2fe76984d6"}},{"ruleId":"D1","level":"warning","message":{"text":"Classes.getComponentClass (cyclomatic 19): Classes.getComponentClass 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":"corant-shared/src/main/java/org/corant/shared/util/Classes.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"703dcba8e7fa29f8c5e1e5e3a8d4c43a2b425364a6b072497a929e8c6dd441f1"}},{"ruleId":"D1","level":"warning","message":{"text":"ResultMapReduceHintHandler.resolveReduceField (cyclomatic 19): ResultMapReduceHintHandler.resolveReduceField 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultMapReduceHintHandler.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d8a9330cf878dcb2f4f0659aae19b53d21918509d8320765c5c68cd6ea04bb"}},{"ruleId":"D1","level":"warning","message":{"text":"Maps.iterateMapValue (cyclomatic 18): Maps.iterateMapValue 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":"corant-shared/src/main/java/org/corant/shared/util/Maps.java"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44ce65b1a3d960284505280a86f3dc4dae015662e50f1286ad6f20bb612b4fc"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlHelper.getPrepared (cyclomatic 18): SqlHelper.getPrepared 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/SqlHelper.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a626afae3a21d4718ade4616cfeb083b81249d2c48e5c8fbec9d7b5e4b337885"}},{"ruleId":"D1","level":"warning","message":{"text":"MgQueryTemplate.query (cyclomatic 18): MgQueryTemplate.query 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":"corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/MgQueryTemplate.java"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fa7f175db458cef28985d454d8ec6984a72a797f432d171b49471cbe04f647"}},{"ruleId":"D1","level":"warning","message":{"text":"PersistenceXmlParser.doParse (cyclomatic 18): PersistenceXmlParser.doParse 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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/metadata/PersistenceXmlParser.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9aee13724221824b433d540c451e52d51322d80c6155e3353e4bc2380a18c7"}},{"ruleId":"D1","level":"warning","message":{"text":"StringDateConverter.doConvert (cyclomatic 17): StringDateConverter.doConvert 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":"corant-shared/src/main/java/org/corant/shared/conversion/converter/StringDateConverter.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"19034722b940e0c56f06a70352451b5f7ed1267acb532e8a1252fe52e21358c5"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultFetchQueryHandler.resolveFetchQueryCriteria (cyclomatic 17): DefaultFetchQueryHandler.resolveFetchQueryCriteria 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/DefaultFetchQueryHandler.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"08952d5bc0d5b28680933bc0e4b344f46926a1351194e6ae42ec596eaed4b282"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryParseHandler.handleFetchQuery (cyclomatic 17): QueryParseHandler.handleFetchQuery 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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0a7e994ec452948005ab7627e891d312377f5a65dd030d015e9574bd0f1b27"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryParseHandler.startElement (cyclomatic 17): QueryParseHandler.startElement 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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"317d374caf71a855f860821e5b72033d1ea6a9c51366afba022953dba22fa4cf"}},{"ruleId":"D1","level":"warning","message":{"text":"SimpleMessageReceiver.initialize (cyclomatic 17): SimpleMessageReceiver.initialize 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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d90955628295dd3fd6bc914e22cb8119d3b5ab0592e485a91f6cb0c9aeafcc9"}},{"ruleId":"D1","level":"warning","message":{"text":"DriverManagerDataSource.\u003Cinit\u003E (cyclomatic 17): DriverManagerDataSource.\u003Cinit\u003E 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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/DriverManagerDataSource.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce17027a6bff8707698a7741d73a5664b7cb8c8036dcb4f5bbe80666156f1a15"}},{"ruleId":"D1","level":"warning","message":{"text":"JDBCTemplate.processSqlAndParams (cyclomatic 17): JDBCTemplate.processSqlAndParams 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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b7038f2c9ea89d42a71099fb75534274be579b3594f1bbf1f8107d5bf6f0a4"}},{"ruleId":"D1","level":"warning","message":{"text":"StringInstantConverter.doConvert (cyclomatic 16): StringInstantConverter.doConvert 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":"corant-shared/src/main/java/org/corant/shared/conversion/converter/StringInstantConverter.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6ab87488f8fbbdd3b354fde84107308093cf1dc7bfaa8c26c8696f5c7dbc2b"}},{"ruleId":"D1","level":"warning","message":{"text":"StringLocalDateTimeConverter.doConvert (cyclomatic 16): StringLocalDateTimeConverter.doConvert 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":"corant-shared/src/main/java/org/corant/shared/conversion/converter/StringLocalDateTimeConverter.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd41454bf9386ad5134531e4b5fbcc86d8d1fdc2f0a0ff60e0f3edd6feafbd1"}},{"ruleId":"D1","level":"warning","message":{"text":"Empties.isEmpty (cyclomatic 16): Empties.isEmpty 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":"corant-shared/src/main/java/org/corant/shared/util/Empties.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7ca481695bbf51cc87a34a63db90390fe25509db326417ac839bd0c2127ec3"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonExpressionScriptProcessor.resolveInjectProjector (cyclomatic 16): JsonExpressionScriptProcessor.resolveInjectProjector 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/jsonexpression/JsonExpressionScriptProcessor.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d311d606600f9533a1bb7650f5eb038db625ee5e0efc2c4eecd5d47919a3f62a"}},{"ruleId":"D1","level":"warning","message":{"text":"Jsons.fromJsonNode (cyclomatic 16): Jsons.fromJsonNode has cyclomatic complexity 16 (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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/Jsons.java"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f54a3f6d1d1f249de2031f0cf7f47319f4e0d455ae80553ed760ddc25a8aa29"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMathFunctionResolver.calculate (cognitive 109): DefaultMathFunctionResolver.calculate has cognitive complexity 109 (threshold 15). Drivers by points: loops 21 (86 pts), match/switch 4 (13 pts), if/else 8 (9 pts), boolean chains 1 (nesting depth added 75). 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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/function/DefaultMathFunctionResolver.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a859677128300a2f831374823b763ea601fd8c33e726572d3c277cdb3e6850d4"}},{"ruleId":"D2","level":"warning","message":{"text":"GlobPatterns.toRegexPattern (cognitive 97): GlobPatterns.toRegexPattern has cognitive complexity 97 (threshold 15). Drivers by points: if/else 31 (85 pts), boolean chains 6, loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 57). 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":"corant-shared/src/main/java/org/corant/shared/util/PathMatcher.java"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"7952df7f9e4be24b06aee61e1d1849f67498a3b5e1d4423f126b4c7aa2667b8d"}},{"ruleId":"D2","level":"warning","message":{"text":"GlobPatterns.toRegexPattern (cognitive 97): GlobPatterns.toRegexPattern has cognitive complexity 97 (threshold 15). Drivers by points: if/else 31 (85 pts), boolean chains 6, loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 57). 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":"corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/GlobPatterns.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af7f7f671809e68f30d30be1ffefa65a45af0f57a6898b7406ebd96d4d682a1"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistenceXmlParser.doParse (cognitive 88): PersistenceXmlParser.doParse has cognitive complexity 88 (threshold 15). Drivers by points: if/else 16 (74 pts), loops 2 (14 pts) (nesting depth added 70). 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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/metadata/PersistenceXmlParser.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6aebf5bb5038443178dcb838c94759f70ccccafd61c08ff9b8e6d0283f66f9"}},{"ruleId":"D2","level":"warning","message":{"text":"Types.resolve (cognitive 77): Types.resolve has cognitive complexity 77 (threshold 15). Drivers by points: if/else 15 (54 pts), ternaries 3 (15 pts), loops 2 (7 pts), boolean chains 1 (nesting depth added 56). 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":"corant-shared/src/main/java/org/corant/shared/util/Types.java"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"121b4f12e2b4914af8a2e3f0bca8eed71a1e0fa00cdd500796dd4c9bbe10c96e"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultFetchQueryHandler.resolveFetchQueryCriteria (cognitive 70): DefaultFetchQueryHandler.resolveFetchQueryCriteria has cognitive complexity 70 (threshold 15). Drivers by points: if/else 15 (42 pts), loops 3 (17 pts), error handling 1 (6 pts), ternaries 1 (5 pts) (nesting depth added 50). 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/DefaultFetchQueryHandler.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd9e90bc3d791d68012befeddd5a976a21a223c1f8b5c7775e2a6b5688be063"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentDispositions.parse (cognitive 68): ContentDispositions.parse has cognitive complexity 68 (threshold 15). Drivers by points: if/else 15 (33 pts), error handling 3 (27 pts), boolean chains 4, ternaries 1 (3 pts), loops 1 (nesting depth added 44). 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":"corant-shared/src/main/java/org/corant/shared/util/ContentDispositions.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4826dfd24919dcbbbb022eeb92869949fef8c472c42f1ae4735b92be1d081e4"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryParseHandler.handleScript (cognitive 68): QueryParseHandler.handleScript has cognitive complexity 68 (threshold 15). Drivers by points: if/else 20 (52 pts), ternaries 2 (7 pts), boolean chains 6, loops 1 (3 pts) (nesting depth added 39). 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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce422cfe8edf16a10305019dcea54f9f7c68b20e0185989296838ccbe9d913d"}},{"ruleId":"D2","level":"warning","message":{"text":"ResultMapReduceHintHandler.resolveReduceField (cognitive 59): ResultMapReduceHintHandler.resolveReduceField has cognitive complexity 59 (threshold 15). Drivers by points: if/else 10 (37 pts), loops 3 (13 pts), ternaries 3 (6 pts), boolean chains 3 (nesting depth added 40). 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultMapReduceHintHandler.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c459e96ee0f1e7e55041c3ad130dfcdcc1e21ce009c987d9f6fa12e7f85e60"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryParseHandler.handleFetchQuery (cognitive 56): QueryParseHandler.handleFetchQuery has cognitive complexity 56 (threshold 15). Drivers by points: ternaries 3 (35 pts), if/else 13 (18 pts), loops 1 (3 pts) (nesting depth added 39). 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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c1deab26a44f564d98f31281561d7a63960c615fb32fcb8a4b7896c1d29451"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractInterceptor.getInterceptorAnnotation (cognitive 54): AbstractInterceptor.getInterceptorAnnotation has cognitive complexity 54 (threshold 15). Drivers by points: if/else 15 (36 pts), loops 4 (11 pts), boolean chains 7 (nesting depth added 28). 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":"corant-context/src/main/java/org/corant/context/AbstractInterceptor.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ad7b0679b582afbec7a7616328a323ed86b84cdc0963f04dcab50fae359afe"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractASTComparisonNode.compare (cognitive 53): AbstractASTComparisonNode.compare has cognitive complexity 53 (threshold 15). Drivers by points: if/else 26 (29 pts), boolean chains 24 (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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/ast/ASTComparisonNode.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bed7a1ea103a184c27184640eb0c07c38a52aa97448d7870b0461a53527248"}},{"ruleId":"D2","level":"warning","message":{"text":"Empties.isEmpty (cognitive 50): Empties.isEmpty has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (35 pts), error handling 1 (13 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":"corant-shared/src/main/java/org/corant/shared/util/Empties.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"be199d438f3bbad6a68839e959e038d95f37cae70d0cf5c7db60ce30d9004707"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractScriptProcessor.resolveAll (cognitive 49): AbstractScriptProcessor.resolveAll has cognitive complexity 49 (threshold 15). Drivers by points: if/else 5 (20 pts), error handling 3 (17 pts), loops 3 (9 pts), boolean chains 3 (nesting depth added 35). 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/ScriptProcessor.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a5fa4ab0b6ca88e097fcea28eb5a9a9d3b51dfccf96c2ec5a617e612c89ab4"}},{"ruleId":"D2","level":"warning","message":{"text":"Classes.getComponentClass (cognitive 47): Classes.getComponentClass has cognitive complexity 47 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 4 (15 pts), boolean chains 3 (nesting depth added 28). 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":"corant-shared/src/main/java/org/corant/shared/util/Classes.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d612ff8a637527623702fd332ed343d224b60a4a3bd63ab03c37f50b919252"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonExpressionScriptProcessor.createInjectFuns (cognitive 46): JsonExpressionScriptProcessor.createInjectFuns has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (34 pts), loops 3 (7 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 28). 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/jsonexpression/JsonExpressionScriptProcessor.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"433bc3df66c1f6e453b806d7fbac4bef371fad01d9cd1e0a066e1f70271b0b1c"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryParseHandler.handleQuery (cognitive 46): QueryParseHandler.handleQuery has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 3 (28 pts), if/else 11 (15 pts), loops 1 (3 pts) (nesting depth added 31). 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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c6ac624f8870f869aee74168937db874c83d17763524af69681008e384d33f"}},{"ruleId":"D2","level":"warning","message":{"text":"Conversion.convertTuple (cognitive 44): Conversion.convertTuple has cognitive complexity 44 (threshold 15). Drivers by points: if/else 16 (40 pts), boolean chains 4 (nesting depth added 24). 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":"corant-shared/src/main/java/org/corant/shared/conversion/Conversion.java"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef38528d5cbba0f3dd4aaed70093ccd17b6ccfdc99233016054b01ab00950f39"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryMappingService.doInitialize (cognitive 44): QueryMappingService.doInitialize has cognitive complexity 44 (threshold 15). Drivers by points: if/else 16 (28 pts), loops 4 (11 pts), boolean chains 5 (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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/QueryMappingService.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4ea1934fadf761305a7cc9db9b8d9b82a93259d22ac93811085537053cac0d"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryParseHandler.startElement (cognitive 44): QueryParseHandler.startElement has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (43 pts), boolean chains 1 (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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bce4acfd9ed4c3fdd5277af74e7444ddb973f3593108537855fe9a11b6c741a"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlHelper.getPrepared (cognitive 43): SqlHelper.getPrepared has cognitive complexity 43 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 3 (14 pts), boolean chains 6 (nesting depth added 24). 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/SqlHelper.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67a5368944e991638a59f11e6fc4b8e7d88821b01ba732921974551658d148e"}},{"ruleId":"D2","level":"warning","message":{"text":"Maps.iterateMapValue (cognitive 42): Maps.iterateMapValue has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 3 (12 pts), boolean chains 3, ternaries 1 (3 pts) (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":"corant-shared/src/main/java/org/corant/shared/util/Maps.java"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93d74152aa8b368c95091ee84a052cb4fce40d2509d5aeae6fd0e6002655bc3"}},{"ruleId":"D2","level":"warning","message":{"text":"JDBCTemplate.processSqlAndParams (cognitive 42): JDBCTemplate.processSqlAndParams has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 3 (14 pts), boolean chains 5 (nesting depth added 24). 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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3941edaba5353f256ebce95e009e33946433183b65611804301fd7e3ebb841"}},{"ruleId":"D2","level":"warning","message":{"text":"CorantConfigConversion.convert (cognitive 42): CorantConfigConversion.convert has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (21 pts), ternaries 1 (10 pts), boolean chains 7, error handling 2 (4 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":"corant-config/src/main/java/org/corant/config/CorantConfigConversion.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9708de41aaa1dc65c7b8cd70a5378b0242ce2e417553de01983dde22e41d4d57"}},{"ruleId":"D2","level":"warning","message":{"text":"Classes.isAssignable (cognitive 41): Classes.isAssignable has cognitive complexity 41 (threshold 15). Drivers by points: if/else 18 (33 pts), boolean chains 8 (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":"corant-shared/src/main/java/org/corant/shared/util/Classes.java"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cbb2746beeb9205a6e1c0bb12f53db8ee4c7b916fd3c9000bbf15ea00a1d8b"}},{"ruleId":"D2","level":"warning","message":{"text":"Conversion.convertType (cognitive 40): Conversion.convertType has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 7, error handling 2 (4 pts), loops 1 (4 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":"corant-shared/src/main/java/org/corant/shared/conversion/Conversion.java"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9295c89e8a92c3b914660a95cd13bbc3e51d2ed2b73137c09a1600d892df62e"}},{"ruleId":"D2","level":"warning","message":{"text":"WildcardMatcher.test (cognitive 40): WildcardMatcher.test has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (36 pts), loops 2 (3 pts), boolean chains 1 (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":"corant-shared/src/main/java/org/corant/shared/util/Strings.java"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3945745b85b2cd52396a08982c2c3d69bc6a81d8ee830e36ca0e4717867cdc6"}},{"ruleId":"D2","level":"warning","message":{"text":"StringZonedDateTimeConverter.doConvert (cognitive 39): StringZonedDateTimeConverter.doConvert has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (38 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":"corant-shared/src/main/java/org/corant/shared/conversion/converter/StringZonedDateTimeConverter.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f89610db96fc3a6b791d8dca345dc000960e2eae16e77d4b365ec2234ba4efc"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectEnumConverterFactory.convert (cognitive 38): ObjectEnumConverterFactory.convert has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (33 pts), loops 1 (5 pts) (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":"corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/ObjectEnumConverterFactory.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7985bc67b1d3f88a5f7e4a79dd4c51ec1774e58547f0e012854f11b49e559799"}},{"ruleId":"D2","level":"warning","message":{"text":"MapTemporalConverterFactory.convertLocalDateTime (cognitive 37): MapTemporalConverterFactory.convertLocalDateTime has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 4 (19 pts), if/else 8 (14 pts), boolean chains 4 (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":"corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/MapTemporalConverterFactory.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fa99b57d1c0c4f10a7da2e1da8defc4e8f92486f478aaccac4c2921741f126"}},{"ruleId":"D2","level":"warning","message":{"text":"Maps.implantMapValue (cognitive 37): Maps.implantMapValue has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 2 (11 pts), boolean chains 1 (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":"corant-shared/src/main/java/org/corant/shared/util/Maps.java"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc82393dc1ec78af3151d92cb504019286dbf2bb032f9c3f7d2059b418d896a"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlStatements.canBeOptimized (cognitive 37): SqlStatements.canBeOptimized has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (27 pts), loops 2 (8 pts), boolean chains 2 (nesting depth added 24). 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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/SqlStatements.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ed708219abbb504a13eb2be49722d93856c836eb1c33b4207d3fae37cb251c"}},{"ruleId":"D2","level":"warning","message":{"text":"Conversion.convertMap (cognitive 36): Conversion.convertMap has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (9 pts), ternaries 2 (9 pts) (nesting depth added 24). 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":"corant-shared/src/main/java/org/corant/shared/conversion/Conversion.java"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"5995ab4f9219a07f5cff296406a89cd9d328959c66b0923d323d265c6be3f5bc"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleRequired.shouldVeto (cognitive 36): SimpleRequired.shouldVeto has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 6, ternaries 2 (6 pts), match/switch 2 (5 pts), 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":"corant-shared/src/main/java/org/corant/shared/service/SimpleRequired.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bf5e8b88abbd3e746a2f60ef89df985c8ee27354670ead90e9c9c27b9cf922"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLServer2005Dialect.locateQueryInCTEStatement (cognitive 36): SQLServer2005Dialect.locateQueryInCTEStatement has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (29 pts), boolean chains 6, loops 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":"corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/SQLServer2005Dialect.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a75fcadd102f4bfd288555780bd982ff9c06e125b4734afd863cb899c1fd15"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleMessageReceiver.initialize (cognitive 36): SimpleMessageReceiver.initialize has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (22 pts), error handling 5 (12 pts), ternaries 1 (2 pts) (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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d334010c581751119f101dad5f351396f0d94476d40e40a0cfe2cafc20410b2"}},{"ruleId":"D2","level":"warning","message":{"text":"ExperimentalConverters.loop (cognitive 35): ExperimentalConverters.loop has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 4 (11 pts), boolean chains 2 (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":"corant-shared/src/main/java/org/corant/shared/conversion/ExperimentalConverters.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94f2ed1a3b11f824e8b86108ab60ad3070c330ec3c5a938714967f371ee6b5e"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonExpressionScriptProcessor.resolveInjectProjector (cognitive 35): JsonExpressionScriptProcessor.resolveInjectProjector has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 1 (6 pts), boolean chains 4, ternaries 1 (4 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/jsonexpression/JsonExpressionScriptProcessor.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eccf3e60d6c95d34e6f6387a92b347c88f61d029961ad6683d262537f87248b"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultSizeOfFunctionResolver.resolve (cognitive 34): DefaultSizeOfFunctionResolver.resolve has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (23 pts), error handling 1 (9 pts), boolean chains 2 (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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/function/DefaultSizeOfFunctionResolver.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcc651d41aceb692bd5124099a6a676389cabf71a4eb362e985d948e60d8e3f"}},{"ruleId":"D2","level":"warning","message":{"text":"DriverManagerDataSource.\u003Cinit\u003E (cognitive 34): DriverManagerDataSource.\u003Cinit\u003E has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (20 pts), error handling 4 (12 pts), loops 1 (2 pts) (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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/DriverManagerDataSource.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc051d5cf0e523d2d3cc06930363ccaa2cad31b61f7379d96876a03946102ee"}},{"ruleId":"D2","level":"warning","message":{"text":"Maps.convertCollection (cognitive 33): Maps.convertCollection has cognitive complexity 33 (threshold 15). Drivers by points: loops 5 (25 pts), if/else 7, boolean chains 1 (nesting depth added 20). 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":"corant-shared/src/main/java/org/corant/shared/util/Maps.java"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"45887a53f2d187537b357ab79ab111a4563f64234df029012765848e1197313f"}},{"ruleId":"D2","level":"warning","message":{"text":"ResultFieldConvertHintHandler.convertMapValue (cognitive 33): ResultFieldConvertHintHandler.convertMapValue has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 3 (10 pts), boolean chains 1 (nesting depth added 20). 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultFieldConvertHintHandler.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8050da5b07389c25533e14535c48c0bda3fb492fbfe64cd7d069494545121797"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryParseHandler.handleFetchQueryParameter (cognitive 33): QueryParseHandler.handleFetchQueryParameter has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (30 pts), loops 1 (3 pts) (nesting depth added 18). 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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"7367992aee76ce6ed23ba9d21f60898a061714cc89c7320ca39223a41f450cb9"}},{"ruleId":"D2","level":"warning","message":{"text":"WXPay.microPayWithPos (cognitive 33): WXPay.microPayWithPos has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (27 pts), error handling 1 (3 pts), boolean chains 2, loops 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":"corant-modules/corant-modules-cloud/corant-modules-cloud-tencent/src/main/java/com/github/wxpay/sdk/WXPay.java"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"0008a597c34f584bda9e93a95f50673c7596e4a376310af7bd1f642decc5eb5b"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectoryWatcher.run (cognitive 32): DirectoryWatcher.run has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (20 pts), error handling 3 (8 pts), loops 2 (3 pts), boolean chains 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":"corant-shared/src/main/java/org/corant/shared/resource/watch/DirectoryWatcher.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb00abbe6db5f43afb4310a10ab673015d6b84b6f5521c66db86d9ddd6fb29b"}},{"ruleId":"D2","level":"warning","message":{"text":"Types.equals (cognitive 32): Types.equals has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (29 pts), boolean chains 3 (nesting depth added 18). 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":"corant-shared/src/main/java/org/corant/shared/util/Types.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fba1006b531833fe5fa3177733fa8b0c99275d35c093525b25d055ee9ebfe5"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractTemplateMethodModelEx.isSimpleTypeObject (cognitive 32): AbstractTemplateMethodModelEx.isSimpleTypeObject has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 2 (6 pts), boolean chains 4 (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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/freemarker/AbstractTemplateMethodModelEx.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf75e18ed15e074179943fb33ae4b784b725377586f47514492746b1e7ac7d0c"}},{"ruleId":"D2","level":"warning","message":{"text":"MixedZhEnNGramTokenFilter.incrementToken (cognitive 32): MixedZhEnNGramTokenFilter.incrementToken has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (19 pts), ternaries 2 (10 pts), boolean chains 2, loops 1 (nesting depth added 18). 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":"corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/MixedZhEnNGramTokenFilter.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cc1a37a9e69781aeaaa06891dfb97e0f5212b1e1cfb6c18617522c917e9f3b"}},{"ruleId":"D2","level":"warning","message":{"text":"StringInstantConverter.doConvert (cognitive 31): StringInstantConverter.doConvert has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (30 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":"corant-shared/src/main/java/org/corant/shared/conversion/converter/StringInstantConverter.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1380f775842f349a36a722e20c50a612a2ec30882fbeb3737097103e2540861c"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassPathResourceLoader.getClassPathEntries (cognitive 31): ClassPathResourceLoader.getClassPathEntries has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 4 (8 pts), error handling 2 (5 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":"corant-shared/src/main/java/org/corant/shared/resource/ClassPathResourceLoader.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a214b7a825806507da67bc2a9507fbf6517391affccc2e586fa0568cd8c89cf"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractTemplateMethodModelEx.extractParamValue (cognitive 31): AbstractTemplateMethodModelEx.extractParamValue has cognitive complexity 31 (threshold 15). Drivers by points: loops 2 (15 pts), if/else 8, ternaries 1 (8 pts) (nesting depth added 20). 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/freemarker/AbstractTemplateMethodModelEx.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5247ceaf0b3cb85c7218c5834ca025f62a0f6999756f50126d46322c91408a34"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCasQueryExecutor.paging (cognitive 31): DefaultCasQueryExecutor.paging has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (10 pts), error handling 1 (2 pts), boolean chains 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":"corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/DefaultCasQueryExecutor.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ebf155aba8573a808e444e3233b828c93034591c23826a30351f712e385865"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleParser.parseJsonArrayNode (cognitive 31): SimpleParser.parseJsonArrayNode has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 20). 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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/SimpleParser.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"781a33b3a6bbb16e1cdb2e48b5e3c4ccbd1270f9f80f59de973ab3cfda4ada94"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMessageReplier.reply (cognitive 31): DefaultMessageReplier.reply has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (17 pts), ternaries 3 (11 pts), loops 1 (3 pts) (nesting depth added 20). 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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReplier.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c46edf29422f89c24912f98731c423503892e6b55feff8601156d9cdd62d6f"}},{"ruleId":"D2","level":"warning","message":{"text":"StringLocalDateTimeConverter.doConvert (cognitive 30): StringLocalDateTimeConverter.doConvert has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 2 (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":"corant-shared/src/main/java/org/corant/shared/conversion/converter/StringLocalDateTimeConverter.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c4b562781bf162647f34ed931530c9db69d4034c19a301dbb2d0ac2a068899"}},{"ruleId":"D2","level":"warning","message":{"text":"SynchronousRetryer.doExecute (cognitive 30): SynchronousRetryer.doExecute has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (16 pts), error handling 4 (13 pts), loops 1 (nesting depth added 20). 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":"corant-shared/src/main/java/org/corant/shared/retry/SynchronousRetryer.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"140b73399fdfcc90b94614df198f829d19098a2eabed43d5fffa48b095743410"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractTypedJPARepository.onPostConstruct (cognitive 30): AbstractTypedJPARepository.onPostConstruct has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (21 pts), loops 2 (8 pts), boolean chains 1 (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":"corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/repository/AbstractTypedJPARepository.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c44919f32d4b6228d35e4c593d1d9e5aa852d50ae4d5bbfddd06dc0701c30f"}},{"ruleId":"D2","level":"warning","message":{"text":"AsynchronousRetryTask.run (cognitive 29): AsynchronousRetryTask.run has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (22 pts), error handling 3 (7 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":"corant-shared/src/main/java/org/corant/shared/retry/AsynchronousRetryer.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ad7e57c25bb2c6bbc1cf155997219972b191e05a48ed9c824f8e95e1283fe2"}},{"ruleId":"D2","level":"warning","message":{"text":"Strings.split (cognitive 29): Strings.split has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 2, ternaries 2, 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":"corant-shared/src/main/java/org/corant/shared/util/Strings.java"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85e6d7c5adfeb312bd86cc2650a9228725a743ab380e6ad921e2beb7dad3416"}},{"ruleId":"D2","level":"warning","message":{"text":"MgTemplateMethodModelEx.exec (cognitive 28): MgTemplateMethodModelEx.exec has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (26 pts), error handling 1 (2 pts) (nesting depth added 15). 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":"corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/MgTemplateMethodModelEx.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c259dc3eeba7d561458ce4e36d496e082e12479fd71a3048b02b5636796bba1a"}},{"ruleId":"D2","level":"warning","message":{"text":"Bsons.toSimpleBsonValue (cognitive 27): Bsons.toSimpleBsonValue has cognitive complexity 27 (threshold 15). Drivers by points: if/else 20, error handling 2 (3 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 2). 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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/bson/Bsons.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f636376c8a27c77cff1152b055dbfed9f1142dd1acd989914f12990ffab8648"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistencePropertiesParser.doParse (cognitive 27): PersistencePropertiesParser.doParse has cognitive complexity 27 (threshold 15). Drivers by points: if/else 20 (23 pts), boolean chains 3, ternaries 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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/metadata/PersistencePropertiesParser.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4302e452ebce6fc9626b7f78d1cbe19026271afa4550331d54a75aad392335f"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtendedBiBinding.changed (cognitive 27): ExtendedBiBinding.changed has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (19 pts), error handling 2 (7 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":"corant-modules/corant-modules-javafx/corant-modules-javafx-cdi/src/main/java/org/corant/modules/javafx/cdi/ExtendedBiBinding.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccdf61d2dd5c1a15ef5449f260e5f33d1fc54d56c756462ced52a91bd7d83d3"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlStatements.reviseCountSqlFromItem (cognitive 27): SqlStatements.reviseCountSqlFromItem has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 16). 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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/SqlStatements.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e744ad250a8f0f69058f127e9a5740308c8c386ff019487a8235da377355f9e"}},{"ruleId":"D2","level":"warning","message":{"text":"CorantDeclarativeScheduler.onPostCorantReadyEvent (cognitive 26): CorantDeclarativeScheduler.onPostCorantReadyEvent has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (23 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":"corant-modules/corant-modules-quartz/corant-modules-quartz-embeddable/src/main/java/org/corant/modules/quartz/embeddable/CorantDeclarativeScheduler.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9db509e1e935f37b97f71493a3508732afd032f0ef61c7aba3c1ebfc97776a4"}},{"ruleId":"D2","level":"warning","message":{"text":"MultipartFormDataExtractor.getFieldsMatrix (cognitive 26): MultipartFormDataExtractor.getFieldsMatrix has cognitive complexity 26 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 4 (10 pts), error handling 1 (5 pts) (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":"corant-modules/corant-modules-jaxrs/corant-modules-jaxrs-resteasy/src/main/java/org/corant/modules/jaxrs/resteasy/ResteasyResource.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"954fe2b1b5492adbbd0aa9344b15d11ff3ba3906325f70de0b0562d899f0e5cf"}},{"ruleId":"D2","level":"warning","message":{"text":"FileUtils.updateUserDefinedAttributes (cognitive 25): FileUtils.updateUserDefinedAttributes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (7 pts), boolean chains 1 (nesting depth added 15). 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":"corant-shared/src/main/java/org/corant/shared/util/FileUtils.java"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b688c82f79a7379ddfa269671e8259cf4ee0af8dcdc3281167b42d49b63a94"}},{"ruleId":"D2","level":"warning","message":{"text":"Primitives.wrapArray (cognitive 25): Primitives.wrapArray has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 1 (11 pts) (nesting depth added 13). 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":"corant-shared/src/main/java/org/corant/shared/util/Primitives.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb982e4d3a32b8dddaafaa203f146643f8d79b05cfa933c0a1a5dd297434c6f"}},{"ruleId":"D2","level":"warning","message":{"text":"Strings.segment (cognitive 25): Strings.segment has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 2, loops 1, ternaries 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":"corant-shared/src/main/java/org/corant/shared/util/Strings.java"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"539b76f4d2dce57682b0a46583202742759f6d8888c1740734ff15d444169d33"}},{"ruleId":"D2","level":"warning","message":{"text":"CSVBufferedReader.readCSVLine (cognitive 25): CSVBufferedReader.readCSVLine has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (21 pts), ternaries 1 (3 pts), loops 1 (nesting depth added 16). 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":"corant-shared/src/main/java/org/corant/shared/util/Texts.java"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"450b719a4d8da299d752f159737a5aaa2b419b9948fc96aada90d050144750a7"}},{"ruleId":"D2","level":"warning","message":{"text":"EsTemplateMethodModelEx.exec (cognitive 25): EsTemplateMethodModelEx.exec has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (23 pts), error handling 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":"corant-modules/corant-modules-query/corant-modules-query-elastic/src/main/java/org/corant/modules/query/elastic/EsTemplateMethodModelEx.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a77bf955fce6149f09bfe32c64ff308ff8cd90ff55052acc9620639d3eb2a0"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryParseHandler.endElement (cognitive 25): QueryParseHandler.endElement has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (24 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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"37916dbcc86978412ff756dedff61991f830afc6a7b6484d3eb5281b6bec64b9"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoClientConfig.of (cognitive 25): MongoClientConfig.of has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (18 pts), loops 3 (4 pts), boolean chains 2, ternaries 1 (nesting depth added 2). 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":"corant-modules/corant-modules-mongodb/src/main/java/org/corant/modules/mongodb/MongoClientConfig.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdaccd02afac902aa485a14226e44899b7c9646d9e273e243a19be04902b4de"}},{"ruleId":"D2","level":"warning","message":{"text":"PojoInjector.\u003Cinit\u003E (cognitive 25): PojoInjector.\u003Cinit\u003E has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (7 pts), boolean chains 2 (nesting depth added 15). 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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/TupleObjectConverterFactory.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"7707264a90b6f1b7db2b05b737ef1e7879e852a4ad1c4ed0b995aafb628c8725"}},{"ruleId":"D2","level":"warning","message":{"text":"Annotations.findAnnotation (cognitive 24): Annotations.findAnnotation has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 1 (4 pts), boolean chains 2 (nesting depth added 15). 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":"corant-shared/src/main/java/org/corant/shared/util/Annotations.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"42696241f5110875a94b6528a08cd90add08d2d9b39621aae190b5ba42cfe028"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlHelper.generateIgnoreRanges (cognitive 24): SqlHelper.generateIgnoreRanges has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 2, loops 1 (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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/SqlHelper.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3455d1426f1014ceeee8e8727153d8cfd7ba946c617ec74d1d8490b328f5115"}},{"ruleId":"D2","level":"warning","message":{"text":"ResultFieldConvertHintHandler.handle (cognitive 24): ResultFieldConvertHintHandler.handle has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3 (10 pts), boolean chains 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultFieldConvertHintHandler.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7e35960fbd242922f6ba19c5146eedb82ac97f4340f50802c70b6ebae9381e"}},{"ruleId":"D2","level":"warning","message":{"text":"ResultMapReduceHintHandler.resolveHint (cognitive 24): ResultMapReduceHintHandler.resolveHint has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 2 (6 pts), loops 2 (4 pts), error handling 1 (2 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultMapReduceHintHandler.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0dc6d2c9840fd772fcbb7b77b6c24685a880efcbc43a557c65ab03e179cc885"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryMapping.selfValidate (cognitive 24): QueryMapping.selfValidate has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19, boolean chains 5. 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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryMapping.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b95491f5ff821cd81dec82442e22083b14c97b73c7c35f51f79b33dfab5c81"}},{"ruleId":"D2","level":"warning","message":{"text":"HungLogger.run (cognitive 24): HungLogger.run has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (7 pts), boolean chains 2, error handling 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":"corant-context/src/main/java/org/corant/context/concurrent/executor/ExecutorServiceManager.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"0662524ebdf0b6d1a09b30d1948778a06b7ba94dba042e2118473a0a15209c1d"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcurrentExtension.validate (cognitive 24): ConcurrentExtension.validate has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 15). 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":"corant-context/src/main/java/org/corant/context/concurrent/ConcurrentExtension.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29fd7b8f19b93fa40e6260e2eb74410e23c54dd54f4c785112c3c4374794de6"}},{"ruleId":"D2","level":"warning","message":{"text":"StringDateConverter.doConvert (cognitive 23): StringDateConverter.doConvert has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 3, ternaries 2 (3 pts) (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":"corant-shared/src/main/java/org/corant/shared/conversion/converter/StringDateConverter.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a30608414f2a15e587c2a88ca485ce3a77ef6897f59ba800355fae7fe61f64"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractDomainJDBCDriver.prepare (cognitive 23): AbstractDomainJDBCDriver.prepare has cognitive complexity 23 (threshold 15). Drivers by points: error handling 4 (14 pts), if/else 4 (9 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":"corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"225c51b5e9adb3331870b2e7223e2d7229ba2004b26420dfecbf11027607c4e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtemisJMSExtension.buildConnectionFactory (cognitive 23): ArtemisJMSExtension.buildConnectionFactory has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (16 pts), loops 1 (3 pts), error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 7). 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":"corant-modules/corant-modules-jms/corant-modules-jms-artemis/src/main/java/org/corant/modules/jms/artemis/ArtemisJMSExtension.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1287a456dc31665c2d045ca91f63ce486f484366d001051f2dae54beab1fcfa"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlStatements.reviseCountSqlSelectBody (cognitive 23): SqlStatements.reviseCountSqlSelectBody has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 1 (5 pts), boolean chains 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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/SqlStatements.java"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"856f2e576eb1caa466bc0e5c327ee6772017821c08c41137d077360c5de0a6d6"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectRunner.perform (cognitive 23): DirectRunner.perform has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (6 pts), boolean chains 2 (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":"corant-kernel/src/main/java/org/corant/kernel/boot/DirectRunner.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d80ed4e779a7fc6950c68411855bbfd4123783a9e18976c27e67ec571087ce"}},{"ruleId":"D2","level":"warning","message":{"text":"CorantConfigSources.of (cognitive 23): CorantConfigSources.of has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (5 pts), boolean chains 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":"corant-config/src/main/java/org/corant/config/CorantConfigSources.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e74942fa1b24a1468f43f1a6e71db204ae48b2b11a9cef5d8ec3539549e210"}},{"ruleId":"D2","level":"warning","message":{"text":"StringLocalDateConverter.doConvert (cognitive 22): StringLocalDateConverter.doConvert has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (22 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":"corant-shared/src/main/java/org/corant/shared/conversion/converter/StringLocalDateConverter.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcce30405bd404eb489d1d312f9741d3ae962d2bef8a790f7634af32c034aab2"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigValueTemplateMethodModelEx.exec (cognitive 22): ConfigValueTemplateMethodModelEx.exec has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (22 pts) (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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/freemarker/DynamicTemplateMethodModelEx.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"080ba19586a2834968c3919cf5a31be54b85c2dd9af9ef70ced436030fe5fbd1"}},{"ruleId":"D2","level":"warning","message":{"text":"Bsons.extended (cognitive 22): Bsons.extended has cognitive complexity 22 (threshold 15). Drivers by points: loops 3 (15 pts), if/else 6 (7 pts) (nesting depth added 13). 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":"corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/converter/Bsons.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f052537542af8613415eb5dc1e0dfcb1c804485cd12c90518a112775776753"}},{"ruleId":"D2","level":"warning","message":{"text":"ASTNodeType.decideType (cognitive 22): ASTNodeType.decideType has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (5 pts), boolean chains 3 (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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/ast/ASTNodeType.java"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"063f0767af0353fee74919a35b1086b7f2313a408cbb3974a7a060f7bfe3ce8b"}},{"ruleId":"D2","level":"warning","message":{"text":"NamingContext.lookup (cognitive 22): NamingContext.lookup has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 2 (8 pts), boolean chains 2 (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":"corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df680ac681c9784d4878f41fbf9d116a8087814e9ae28ebb986f0aa7f57d2a3"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMessageReceiver.initialize (cognitive 22): DefaultMessageReceiver.initialize has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 2 (5 pts), ternaries 1 (2 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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bb9759ed37710360e39418e9ff69bb7f01bdf39913ec77a74b8d21cd53c09a"}},{"ruleId":"D2","level":"warning","message":{"text":"ResteasyResource.parseFormFields (cognitive 22): ResteasyResource.parseFormFields has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (4 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":"corant-modules/corant-modules-jaxrs/corant-modules-jaxrs-resteasy/src/main/java/org/corant/modules/jaxrs/resteasy/ResteasyResource.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f45ac16304efe14118cffefd658fd4af1e7a0de736ac0f42033a287dcb4218"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractJPAUnitOfWork.register (cognitive 22): AbstractJPAUnitOfWork.register has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 1 (4 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":"corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/unitwork/AbstractJPAUnitOfWork.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"726f18518fcd260dd594c742d7ae25c4bbd28cd17a20ab6be44e5cac7e6f1a20"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentDispositions.tokenize (cognitive 21): ContentDispositions.tokenize has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (5 pts), 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":"corant-shared/src/main/java/org/corant/shared/util/ContentDispositions.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3f8a053415f3ad329a6ba31876bf8a1493e7f8c52a5332bc474c259e40c395"}},{"ruleId":"D2","level":"warning","message":{"text":"FileUtils.extractJarFile (cognitive 21): FileUtils.extractJarFile has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 3, loops 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":"corant-shared/src/main/java/org/corant/shared/util/FileUtils.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"61890bd4b195853b07eb7e9fae1953df85840304bca64707fb7f7fd1373d1ec3"}},{"ruleId":"D2","level":"warning","message":{"text":"Lists.distinct (cognitive 21): Lists.distinct has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (7 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":"corant-shared/src/main/java/org/corant/shared/util/Lists.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26c6b8861d591a6cca6c0c61e1fe065592a6935e363ebfa2e7307b3d2cf03ca"}},{"ruleId":"D2","level":"warning","message":{"text":"Strings.split (cognitive 21): Strings.split has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), ternaries 2, 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":"corant-shared/src/main/java/org/corant/shared/util/Strings.java"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0449ce66b4b79038cf018f757031358527e74fc06ce19474b3990b44affbbc9"}},{"ruleId":"D2","level":"warning","message":{"text":"ResultAggregationHintHandler.resolveHint (cognitive 21): ResultAggregationHintHandler.resolveHint has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (4 pts), error handling 1 (2 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultAggregationHintHandler.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e643d056300dbbcce4f42a021615a8749611e27ac20d98358371553fe6ce98"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractDomainJDBCDriver.write_state (cognitive 21): AbstractDomainJDBCDriver.write_state has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), error handling 1 (3 pts), boolean chains 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":"corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee14531f795e382822a64ddea70f4788e7ea0567b9ef0cdcd0377088e11df33b"}},{"ruleId":"D2","level":"warning","message":{"text":"NarayanaRecoveryManagerService.initialize (cognitive 21): NarayanaRecoveryManagerService.initialize has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 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":"corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/NarayanaRecoveryManagerService.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c223c607528574e47a71f0bb327344e5af953780559aa2844ce1ee41266d6088"}},{"ruleId":"D2","level":"warning","message":{"text":"XEnNGramTokenFilter.incrementToken (cognitive 21): XEnNGramTokenFilter.incrementToken has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 1 (4 pts), boolean chains 2, 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":"corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/XEnNGramTokenFilter.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fff2e6fbab64b64e02fb040401d17fd59bff74dcdd30043385dbfc39c479dfb"}},{"ruleId":"D2","level":"warning","message":{"text":"ResolverUtils.genFieldMapping (cognitive 21): ResolverUtils.genFieldMapping has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 2 (5 pts), boolean chains 3 (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":"corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/metadata/resolver/ResolverUtils.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a976e89e6ce3721beba54843360c5cac3348b7a89364dc283b289259f9c2f3a"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyInvocationHandler.invoke (cognitive 21): ProxyInvocationHandler.invoke has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 6 (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":"corant-context/src/main/java/org/corant/context/proxy/ProxyInvocationHandler.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cded43ae7d8f1f57d8bfea985bd9ca26049fb10efae8cb46bf004b248c56dc61"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigSourceLoader.load (cognitive 21): ConfigSourceLoader.load has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, error handling 1 (2 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":"corant-config/src/main/java/org/corant/config/source/ConfigSourceLoader.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"529db3c06835dedce0bba61c6af9011ac54ccdaf7c47f03fb0c6f238a7c955c0"}},{"ruleId":"D2","level":"warning","message":{"text":"MapTemporalConverterFactory.convertLocalTime (cognitive 20): MapTemporalConverterFactory.convertLocalTime has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 1 (5 pts), boolean chains 2 (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":"corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/MapTemporalConverterFactory.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d05a8fd83ff1101844dcc5f071c38b58218ab7d30812423964d43f19905d491"}},{"ruleId":"D2","level":"warning","message":{"text":"Classes.traverseAllInterfaces (cognitive 20): Classes.traverseAllInterfaces has cognitive complexity 20 (threshold 15). Drivers by points: loops 3 (9 pts), if/else 3 (8 pts), ternaries 1 (2 pts), boolean chains 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":"corant-shared/src/main/java/org/corant/shared/util/Classes.java"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"072942932dadf228e08a996b1ebb07a362ce6f42ee98d72e8f01cac490b97f0a"}},{"ruleId":"D2","level":"warning","message":{"text":"Texts.readCSVFields (cognitive 20): Texts.readCSVFields has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 4 (15 pts), if/else 2 (3 pts), loops 1 (2 pts) (nesting depth added 13). 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":"corant-shared/src/main/java/org/corant/shared/util/Texts.java"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"11dcc2240f12e984011537d52760f4e0de77225c95a2b675663061ef4872eb2e"}},{"ruleId":"D2","level":"warning","message":{"text":"Projector.apply (cognitive 20): Projector.apply has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 4 (9 pts) (nesting depth added 12). 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/jsonexpression/JsonExpressionScriptProcessor.java"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64991795b91711d083246fdc3bcef333f8426bfd5dd923202d19a9a9fbdeca8"}},{"ruleId":"D2","level":"warning","message":{"text":"MpJWTAuthenticationFilter.filter (cognitive 20): MpJWTAuthenticationFilter.filter has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), error handling 1 (3 pts) (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":"corant-modules/corant-modules-microprofile/corant-modules-microprofile-jwt/src/main/java/org/corant/modules/microprofile/jwt/jaxrs/MpJWTAuthenticationFilter.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6482f7c299486dd8c13c8cefa17d37cedabfcf72f8397d58815956ea1adfefa2"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractJWTSecurityContextManager.convert (cognitive 20): AbstractJWTSecurityContextManager.convert has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 1 (6 pts), loops 1 (4 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":"corant-modules/corant-modules-microprofile/corant-modules-microprofile-jwt/src/main/java/org/corant/modules/microprofile/jwt/AbstractJWTSecurityContextManager.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d04579b5902f5d3f6f72ca46f9a3548a0a9dcf312a27f1d3f81cbd4e1780f00"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminEventSelector.test (cognitive 20): AdminEventSelector.test has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, if/else 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-keycloak/corant-modules-keycloak-event/src/main/java/org/corant/modules/keycloak/event/selector/AdminEventSelector.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fdbc4aa419d471e5c2e6af274a41caa2e1ef919d6ab00a31cfab8dc1f5b5cd"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultAggregateLifecycleManager.handle (cognitive 20): DefaultAggregateLifecycleManager.handle has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (19 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":"corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/model/DefaultAggregateLifecycleManager.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79505ae25cb4e2be9f18854b00802f5d0440d1d1e97ca1f03f7a79a94070599"}},{"ruleId":"D2","level":"warning","message":{"text":"Converters.lookup (cognitive 19): Converters.lookup has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (19 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":"corant-shared/src/main/java/org/corant/shared/conversion/Converters.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8082042da2a46722306a32dbd86a25484cdba852a27dd4c635c426dc16a216e6"}},{"ruleId":"D2","level":"warning","message":{"text":"Lists.appendIfAbsent (cognitive 19): Lists.appendIfAbsent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, loops 2 (3 pts), error handling 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":"corant-shared/src/main/java/org/corant/shared/util/Lists.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e06784bec3b7237aa5a4ea542aa51a522addb3032b864dd516139e5fb9cb26"}},{"ruleId":"D2","level":"warning","message":{"text":"PathMatcher.decidePathMatcher (cognitive 19): PathMatcher.decidePathMatcher has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 1 (3 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":"corant-shared/src/main/java/org/corant/shared/util/PathMatcher.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d62e9a8926e40c01a1ca70e49ae178de50edff58bcdffbe6f34f81ccf8eb3c0"}},{"ruleId":"D2","level":"warning","message":{"text":"Strings.partition (cognitive 19): Strings.partition has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, loops 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":"corant-shared/src/main/java/org/corant/shared/util/Strings.java"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"b211a60fde442c8f29c26e0eeee1436e00378c0b7232f7b9959495b44b94253e"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractNamedQueryService.parallelFetch (cognitive 19): AbstractNamedQueryService.parallelFetch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (5 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/AbstractNamedQueryService.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc55dbae58cfa6ca4a0e6c8e240898ffbc98c5187445afa266f9106dbb105443"}},{"ruleId":"D2","level":"warning","message":{"text":"Annotations.findAnnotation (cognitive 18): Annotations.findAnnotation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (6 pts), boolean chains 4, error handling 1 (3 pts), ternaries 1 (3 pts), loops 1 (2 pts) (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":"corant-shared/src/main/java/org/corant/shared/util/Annotations.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4b71cf2a88a3d6267a781fb6ede819052bb1a81546ba4df7a762a1ed944149"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryParseHandler.handleQueryHintParameter (cognitive 18): QueryParseHandler.handleQueryHintParameter has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (3 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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1096447691dfc0ffe4e9270564a385d55277979a3d14a7c6b427999b0d9101"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractDomainJDBCDriver.currentState (cognitive 18): AbstractDomainJDBCDriver.currentState has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 1 (2 pts), boolean chains 1, error handling 1, loops 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":"corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e68c90cdafe1f81c316389dbebb153b20cbc4e3591d18d616e11f2eb411a3a"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultObjectFunctionResolver.invokeMethod (cognitive 18): DefaultObjectFunctionResolver.invokeMethod has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 2 (6 pts), if/else 4 (5 pts), loops 2 (4 pts), error handling 1 (2 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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/function/DefaultObjectFunctionResolver.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a923fbb7b76c6d4eb9287867e30104044f0b159bec4408cbf59a65316e349e"}},{"ruleId":"D2","level":"warning","message":{"text":"NamingContext.bind (cognitive 18): NamingContext.bind has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 1 (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":"corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ac14a2d21df5e1dd1057938b3ce546b912a47a6aa2a5aeb33bb9774d81f36e"}},{"ruleId":"D2","level":"warning","message":{"text":"Trie.addChild (cognitive 18): Trie.addChild has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 1 (3 pts), match/switch 1 (2 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":"corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/structure/Trie.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d820480a49dc6b89a5899f7b082b8621cc53bd4c013a43b056f90734d0b7ca2"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultAggregateAssistant.enqueueMessages (cognitive 18): DefaultAggregateAssistant.enqueueMessages has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 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":"corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/model/DefaultAggregateAssistant.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34eeedc2eb87e6aed47b06421e4705cca6e733dfb6bfdb90f0600ad7f10c7a5"}},{"ruleId":"D2","level":"warning","message":{"text":"Corant.shutdown (cognitive 18): Corant.shutdown has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 1 (2 pts), boolean chains 1, 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":"corant-kernel/src/main/java/org/corant/Corant.java"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0c5b2b35c2c76760f7712cf75212a98f2f741bfe340660d81173284f52f65f"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandHandlerResolver.resolve (cognitive 18): CommandHandlerResolver.resolve has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), 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":"corant-context/src/main/java/org/corant/context/command/CommandHandlerResolver.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5fa1ad54112663e6f7d023eb39fe362fbf1fe05f32d9900e89e56037b96dca"}},{"ruleId":"D2","level":"warning","message":{"text":"ConverterHunt.searchMatchedClass (cognitive 17): ConverterHunt.searchMatchedClass has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (3 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":"corant-shared/src/main/java/org/corant/shared/conversion/ExperimentalConverters.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4dbc8192069464e689a45a21c43b5ddc72e2784dbd4bf8df0469c6ebe7fb7c0"}},{"ruleId":"D2","level":"warning","message":{"text":"ResultScriptMapperHintHandler.handle (cognitive 17): ResultScriptMapperHintHandler.handle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultScriptMapperHintHandler.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7dadc8bd9041709043dba742d02210e13cb5d24720b2aed3e1fc23259c4f98"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultFetchQueryHandler.handleFetchedResults (cognitive 17): DefaultFetchQueryHandler.handleFetchedResults has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (6 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/DefaultFetchQueryHandler.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"86564514d6c05fae7d4f4ddb99752a21bef1470fbc8567defe041f832aa2f4cc"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultFetchQueryHandler.resolveFetchQueryCriteriaValue (cognitive 17): DefaultFetchQueryHandler.resolveFetchQueryCriteriaValue 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/DefaultFetchQueryHandler.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0aad72dc17ac89e0b3b96adab54e58d694f37f31600f47e311e8b3aa150e7d"}},{"ruleId":"D2","level":"warning","message":{"text":"MgQueryTemplate.query (cognitive 17): MgQueryTemplate.query has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17. 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":"corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/MgQueryTemplate.java"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcc9a58ee6125cbc9dbbc68c924660644804036dfd2bcfaba017cf5b29da061"}},{"ruleId":"D2","level":"warning","message":{"text":"StringBsonRegexConverter.doConvert (cognitive 17): StringBsonRegexConverter.doConvert has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 1 (3 pts) (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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/bson/converter/StringBsonRegexConverter.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf65bd112799cf67fc68fe8989f70ab582e1a3c868fd4c95fde81c3676faf981"}},{"ruleId":"D2","level":"warning","message":{"text":"AggregateReference.resolveType (cognitive 17): AggregateReference.resolveType has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 pts), boolean chains 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":"corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/model/AggregateReference.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6b7c19964846b22c4d256e22fdaec4d732884908e8d12ad6336a8372576a7f"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractJTAJPAUnitOfWork.fanoutEvolutions (cognitive 17): AbstractJTAJPAUnitOfWork.fanoutEvolutions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, loops 1 (2 pts) (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":"corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/unitwork/AbstractJTAJPAUnitOfWork.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9fe1e6b41f124409e30e9a61125494bf4a056de139ef5801d252883cf5f95c"}},{"ruleId":"D2","level":"warning","message":{"text":"JarLauncher.cleanWorkDir (cognitive 17): JarLauncher.cleanWorkDir has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 1 (4 pts), boolean chains 2 (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":"corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/bin/JarLauncher.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c6338662c15ffb7b315f331236c91fc9c23635dffbafd0c5f29d81d828dc86"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandExtension.resolveCommandType (cognitive 17): CommandExtension.resolveCommandType has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 pts), boolean chains 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":"corant-context/src/main/java/org/corant/context/command/CommandExtension.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"668972920c5821e096e0e00d67363adcced2b0d8da5c634051dc6871388f7bad"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigExtensionx.onProcessObserverMethod (cognitive 17): ConfigExtensionx.onProcessObserverMethod has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (6 pts), boolean chains 2 (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":"corant-config/src/main/java/org/corant/config/cdi/ConfigExtensionx.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2adf05293b286f558afd01ea09b785df9196b964443577b5929b1b2afdc90fd"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLServer2005Dialect.advanceOverCTEInnerQuery (cognitive 16): SQLServer2005Dialect.advanceOverCTEInnerQuery has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, 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":"corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/SQLServer2005Dialect.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8905b304a2663a204e0d91b8afefe9b39e5b0558cb785691c6bed5f02a43f9"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractNamedQueryService.serialFetch (cognitive 16): AbstractNamedQueryService.serialFetch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/AbstractNamedQueryService.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"8633899eba6f86e3f36c21c6a00a6929a34d7f9e148755ff06da320b5accf164"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMgNamedQuerier.init (cognitive 16): DefaultMgNamedQuerier.init has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 1, error handling 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":"corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/DefaultMgNamedQuerier.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd000bc73339f5f90525127c4ab7d5199111a6973255d82ce87a14cb395ca0d4"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonNumberNumberConverterFactory.create (cognitive 16): JsonNumberNumberConverterFactory.create has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, error handling 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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/converter/JsonNumberNumberConverterFactory.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9d08627a6bb348573c997c549e297a02f057c2a70d39f42b4afb909046b14d"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleParser.createASTNodeFromJsonValue (cognitive 16): SimpleParser.createASTNodeFromJsonValue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15 (16 pts) (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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/SimpleParser.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e29b2d0d8f6875e28784966f4d9e64e35225c1127183b939f66f809f320fbb9"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistenceXmlParser.doParse (cognitive 16): PersistenceXmlParser.doParse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (14 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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/metadata/PersistenceXmlParser.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8ac8d838695f82b4dd8b358fc5dbe18e06a16e172d97783735f97a7cdb57ce"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageReceivingMetaData.equals (cognitive 16): MessageReceivingMetaData.equals has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (16 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/MessageReceivingMetaData.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f0697b8e63718569e7025d3f7ad19a25cf9bf7ea579c6c0833316858267b65"}},{"ruleId":"D2","level":"warning","message":{"text":"WrappedMessage.mergeToQueue (cognitive 16): WrappedMessage.mergeToQueue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 1 (2 pts), ternaries 1 (2 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":"corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/unitwork/WrappedMessage.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd594b0fd1c7c45a1f82f54ba5e400801d21a97d39c22c35047fadf94ac867b"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandExtension.arrange (cognitive 16): CommandExtension.arrange has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 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":"corant-context/src/main/java/org/corant/context/command/CommandExtension.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7888b7aceff453b005e226a805e0d6631af981768b74b3fd2c479c80946579"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextInstaller.install (cognitive 16): ContextInstaller.install has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 2, ternaries 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":"corant-context/src/main/java/org/corant/context/Contexts.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6407b8e214821962edb831388ae24a3367a9917f6808d83a6d4086166b831b4"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigExtensionx.onProcessBean (cognitive 16): ConfigExtensionx.onProcessBean has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (6 pts), boolean chains 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":"corant-config/src/main/java/org/corant/config/cdi/ConfigExtensionx.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"216fb7d8524b1a65cfa3373ea1cc547979252e38e9cba130eae5ded4bbb22546"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Chars.foldToAscii: MethodTooLong \u2014 foldToAscii runs 1921 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1821 over it, 19.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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16ece2fca4a3221d7fa46f1c8baf0275b9093a131d47ac25ebcf544053109ce"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Chars: ClassTooLong \u2014 2033 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 1633 over it, 5.08\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"caee5d839fc893c9781db1cecfd91927a0cf159ae6f9bfaf7aa2b1e8b65968e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: util/Chars.java: FileTooLong \u2014 2037 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: Chars (26-2261). The bar is 500 significant lines; this is 1537 over it, 4.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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fe5ccc69941744f70f034598f3dfbda9f9743268625ada2337ae433e67d1a8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Maps: TooManyMethods \u2014 99 methods. The bar is 30 methods; this is 69 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":"corant-shared/src/main/java/org/corant/shared/util/Maps.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6f72af57c3cca28e8b7b276b3768a42719e47e314955f839c2d3d9100b84b1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Conversions: TooManyMethods \u2014 84 methods. The bar is 30 methods; this is 54 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":"corant-shared/src/main/java/org/corant/shared/util/Conversions.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4910db3eb09bb996208577ac226b56d7cd248ac99801daa578b603742f701769"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JDBCTemplate: TooManyMethods \u2014 82 methods. The bar is 30 methods; this is 52 over it, 2.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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4b148fabb0dd0110af4c856e681a9fa3e7de278e71cd0d204d0c935d416293"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Systems: TooManyMethods \u2014 75 methods. The bar is 30 methods; this is 45 over it, 2.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":"corant-shared/src/main/java/org/corant/shared/util/Systems.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac4ec5c257186e8d712ff4929f54fc82e7a75f5dc1455fa0e9aa29ee68f17e8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PersistenceUnitInfoMetaData: TooManyMethods \u2014 66 methods. The bar is 30 methods; this is 36 over it, 2.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/metadata/PersistenceUnitInfoMetaData.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"74682ddd8415d847fef126188d0d9d2892e0cc5b30022fcfb5e4db14dd137a72"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Strings: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 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":"corant-shared/src/main/java/org/corant/shared/util/Strings.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"da58507d13b084f2cc0b6bf42c0a579fe01643a1612374080a230e16bb595da1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MgQueryTemplate: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\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":"corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/MgQueryTemplate.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f6988bf4b28f2585c6bcfbe876ab181541ca52aa0c5e205fdd4de5154790c3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExtendedEntityManager: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/ExtendedEntityManager.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c171fa8dbf9b179c5331b36098574e0ff8a55b94d4b6f3ea76ad1d3fabd3ffe9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: XConnection: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\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":"corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/accessor/DomainJDBCAccess.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa8050ed10cee85c7c1ab265b71983ce3c8a09a89f518f7c5478ba70ec6067a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WrappedConnection: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/WrappedConnection.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6c164d36cd6f1d87814fb55c0541c6950cac68ca84679f2792b260c190bfbd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Strings: ClassTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 400 significant lines; this is 247 over it, 1.62\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":"corant-shared/src/main/java/org/corant/shared/util/Strings.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a00561875f691dda76d680d864f29445a36eb211566e9fb57020c6b7dcee49"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Texts: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.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":"corant-shared/src/main/java/org/corant/shared/util/Texts.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c183e48af27a856afc9cb0093d93296fbde777020944a0dd198c531e393c30a0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExtendedJMSContext: 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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/context/ExtendedJMSContext.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42628233f614c8db693bc93eae01c366cde2620c41e3da054ef0df069a5173e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Query: 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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/Query.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d851c63e433e18d3b516180b072bf1ec6aa23e0a2cd0807c7eee4cd68a21e3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Mutable: ClassTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 174 over it, 1.44\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":"corant-shared/src/main/java/org/corant/shared/ubiquity/Mutable.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6a94cee848a034c703a33ac05d9466c33605b55ffa52e01a7904fe7a38a401"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SqlQueryTemplate: 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":"corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/SqlQueryTemplate.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f625f3ba4f0d06dfc9a2c49be1bd57db7a69fa9a8741e7b0cd767114288802"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Preconditions: 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":"corant-shared/src/main/java/org/corant/shared/util/Preconditions.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"14699d7a687cd079a5c13543778c210db5d0cc34543a2ccc67ff49aa7136bc73"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JDBCTemplate: ClassTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded), 82 methods. The bar is 400 significant lines; this is 158 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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"24961d362086cbcb382300ebf1f109049200962741737d2de89389690e214549"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Corant: 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":"corant-kernel/src/main/java/org/corant/Corant.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f7b3fdbb4ea406142177d1d5570f7d0c9761856a1dc95ce3248a3309503daa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: util/Strings.java: FileTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: Strings (47-1777). The bar is 500 significant lines; this is 172 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":"corant-shared/src/main/java/org/corant/shared/util/Strings.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"683db001ad6ad8ba58183a5112f39f4336c74716e6937de6d4f3e3b6832cc586"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NamingContext: 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":"corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8cc104059250634d81f1256283ba645bad857dca527ba6e2d1f6456369a667"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Texts: ClassTooLong \u2014 499 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 400 significant lines; this is 99 over it, 1.25\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":"corant-shared/src/main/java/org/corant/shared/util/Texts.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bf5fb038163cdc46aabd3d72a30b132a95e3f9521c763181217cdbcca7717a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WXPay: 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":"corant-modules/corant-modules-cloud/corant-modules-cloud-tencent/src/main/java/com/github/wxpay/sdk/WXPay.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f1219b0fe3fe851e921f9a0927b7dcafc224196a30c321f2bbb2a6e9666e22"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MessageReceivingSession: 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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/MessageReceivingSession.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d55e06628a125fbac2bc48fc67c56f615acee6b31f2937eb486e7945ebb1a42"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Randoms: 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":"corant-shared/src/main/java/org/corant/shared/util/Randoms.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a4acdd8a9ac347f04857c9f3c566e6c9073f0729617fa17030e697ed190010"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Maps: ClassTooLong \u2014 489 significant lines (blank, comment-only and punctuation-only lines excluded), 99 methods. The bar is 400 significant lines; this is 89 over it, 1.22\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":"corant-shared/src/main/java/org/corant/shared/util/Maps.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa22a0ed7955a5e16fc8ec621ec1313a2231352d65bf310c037fe6152c557f4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Assertions: 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":"corant-shared/src/main/java/org/corant/shared/util/Assertions.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d86d4a4d44990773c8e3fd350995fff0c2155c6c94fa39c40176ffce0e139f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shared/JDBCTemplate.java: FileTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: JDBCTemplate (59-960). The bar is 500 significant lines; this is 95 over it, 1.19\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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c032f653120ae4c55e948ad69d5e544c5f521ce61822d8d1d57378d18bdeda04"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ubiquity/Mutable.java: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Mutable (38-1040). The bar is 500 significant lines; this is 90 over it, 1.18\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":"corant-shared/src/main/java/org/corant/shared/ubiquity/Mutable.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cab87eefaeeda3b14f2688476e6e2b0412f6b54c71c720874ad781e3a61ca8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CorantWXNotifyXMLVO: 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":"corant-modules/corant-modules-cloud/corant-modules-cloud-tencent/src/main/java/com/github/wxpay/sdk/CorantWXNotifyXMLVO.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a4ed4c49f0d305db684efac0b905bf4941fe03f7cb17faf1d056eba298c56e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: util/Texts.java: FileTooLong \u2014 551 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: Texts (74-1129). The bar is 500 significant lines; this is 51 over it, 1.10\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":"corant-shared/src/main/java/org/corant/shared/util/Texts.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72d3f7eb5adef969569d113f59983f1f9fa91c92dfdab74a0c47549c10d1c10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: util/Maps.java: FileTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: Maps (76-1626). The bar is 500 significant lines; this is 43 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":"corant-shared/src/main/java/org/corant/shared/util/Maps.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be9f5b7c76e05a821d5a8e8fe346fb9d3e6e1151bf9a5674f66985698e2c26a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultMathFunctionResolver.calculate: MethodTooLong \u2014 calculate runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/function/DefaultMathFunctionResolver.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7396fd51b1e3b9786367044c5906271e1321b7993efbd0b1acc25e212811cafd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlobPatterns.toRegexPattern: MethodTooLong \u2014 toRegexPattern 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":"corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/GlobPatterns.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6885fff294c18c6fa12c14c3422164c24e6a39bea01521d17aa9ca8c556f9546"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JPAQueries: ClassTooLong \u2014 419 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 19 over it, 1.05\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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAQueries.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf09950224a32beb3859ea93e780f8c9e09482fbe84eb490e7e24eb6876c1d9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Beans: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 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":"corant-context/src/main/java/org/corant/context/Beans.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f2b3b2a958a461e783d9097e99be12cd7311aac8452a3d46a15c13464f33ac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ManagedExecutorConfig: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 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":"corant-context/src/main/java/org/corant/context/concurrent/ManagedExecutorConfig.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ab63d39f13eb0553864dace6081cc9440de8af76afd039a08ce8927ea72f86"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UndertowWebServerConfig: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 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":"corant-modules/corant-modules-webserver/corant-modules-webserver-undertow/src/main/java/org/corant/modules/webserver/undertow/UndertowWebServerConfig.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3667f1e98b7f933bb5d7c2bb5490ee8f96e5aeb73ae56e55c0db044d76c761e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/filter/XSSJSEscapeContentHandler.java:29-102 | corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/filter/XSSURIEscapeContentHandler.java:29-116 \u2014 These two members are one piece of code written twice and then edited apart: 74 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":"corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/filter/XSSJSEscapeContentHandler.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb0a3d8ae7d5cd500d2b2587b81a4d99580df0f51a04180a2f9ced2c751a99d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java:149-166 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java:177-194 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngineService.java:150-167 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngineService.java:179-196 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngines.java:157-174 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngines.java:206-223 | corant-modules/corant-modules-lang/corant-modules-lang-kotlin/src/main/java/org/corant/modules/lang/kotlin/KotlinScriptEngineService.java:50-67 | corant-modules/corant-modules-lang/corant-modules-lang-kotlin/src/main/java/org/corant/modules/lang/kotlin/KotlinScriptEngineService.java:75-92 | corant-modules/corant-modules-lang/corant-modules-lang-kotlin/src/main/java/org/corant/modules/lang/kotlin/KotlinScriptEngines.java:47-64 | corant-modules/corant-modules-lang/corant-modules-lang-kotlin/src/main/java/org/corant/modules/lang/kotlin/KotlinScriptEngines.java:70-87 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1c6514e115ef45a213264ff83de487a31d40f661163c6b2233ac766c54a6a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:135-179 | corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:188-256 | corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:264-290 | corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:312-353 | corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:357-394 | corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:397-424 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0092ae7e2f19207add9f751c30dcf4cfe9fc4f81178b86d2f4342439566a047"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/DB2Dialect.java:53-64 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/H2Dialect.java:35-45 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/HSQLDialect.java:49-60 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/MySQLDialect.java:98-107 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/PostgreSQLDialect.java:51-61 \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":"corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/DB2Dialect.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"25803e184563c65b13cb759a313eadd2c9430d6841a0e378225c4af0253591b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultAggregationHintHandler.java:113-129 | corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultBeanMapperHintHandler.java:108-128 | corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultFieldConvertHintHandler.java:148-177 | corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultMapReduceHintHandler.java:148-170 | corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultScriptMapperHintHandler.java:98-122 \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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultAggregationHintHandler.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4f9e3d199c87a3c1aecfce699eae04b758fd4729e734eb203b963d8d637a7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/AbstractJpqlNamedQueryService.java:60-72 | corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/AbstractJpqlNamedQueryService.java:115-142 | corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/AbstractJpqlNamedQueryService.java:146-168 | corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/AbstractJpqlNamedQueryService.java:172-206 | corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/AbstractJpqlNamedQueryService.java:210-231 \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":"corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/AbstractJpqlNamedQueryService.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a05ff2867f4d188827f9e53bd24780ffec0f284255ac2c286015b184fd3caf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/BlockDistance.java:36-50 | corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/ChebychevDistance.java:39-53 | corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/CosineDistance.java:36-52 | corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/CustomizedDistance.java:31-47 | corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/SquaredEuclideanDistance.java:36-51 \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":"corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/BlockDistance.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2318d4d46d2b7ff8e4595b4544eabe4373a8412c731eec8a3ba12caeb9c5465"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/converter/JsonNumberNumberConverterFactory.java:39-69 | corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/ByteArrayPrimitiveConverterFactory.java:46-75 | corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/ObjectEnumConverterFactory.java:83-97 | corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/PrimitiveByteArrayConverterFactory.java:37-63 \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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/converter/JsonNumberNumberConverterFactory.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"732336c8df88c86e326bbbcd64bfa3a4e272583d8a7105254907c10c1f3c5b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/cdi/CasNamedQueryServiceManager.java:71-80 | corant-modules/corant-modules-query/corant-modules-query-elastic/src/main/java/org/corant/modules/query/elastic/cdi/EsNamedQueryServiceManager.java:69-78 | corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/cdi/JpqlNamedQueryServiceManager.java:67-75 | corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/cdi/MgNamedQueryServiceManager.java:71-80 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/cdi/CasNamedQueryServiceManager.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c342ac03c0f06b1b6a0b26926a852b648a2a35f90bdef190cadf06c984808e2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/AbstractMgNamedQueryService.java:363-381 | corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/AbstractMgNamedQueryService.java:384-418 | corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/AbstractMgNamedQueryService.java:420-442 | corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/AbstractMgNamedQueryService.java:444-504 \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":"corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/AbstractMgNamedQueryService.java"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"734e87af54d8f20cdb5d122202e92640a518a431036eb814cbcfd5d1e2ca3de3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java:276-297 | corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java:299-321 | corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java:323-356 | corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java:400-430 \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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63c99c9496c95b49ad4e7c6ae3ff769600dea35e46ba6dac8d155a3a509d96e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (117 lines \u00D7 2): corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/GlobPatterns.java:122-238 | corant-shared/src/main/java/org/corant/shared/util/PathMatcher.java:499-615 \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 \u0060corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/GlobPatterns.java:122\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":"corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/GlobPatterns.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed0ce546f07c4ee0ab7d4d878f3a5ff4b3d0284d1b7d6dddf889b034712de4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/MixedZhEnNGramTokenFilter.java:123-160 | corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/XEnNGramTokenFilter.java:110-147 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/MixedZhEnNGramTokenFilter.java\u0060 and \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/XEnNGramTokenFilter.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 58 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 \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/MixedZhEnNGramTokenFilter.java:123\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/MixedZhEnNGramTokenFilter.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2d2ca49b5bac2dcc7b99b5781376d298a2347aa6257ec85d6572f8f7fcb159"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 3): corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/filter/XSSHTMLEscapeContentHandler.java:30-54 | corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/filter/XSSJSEscapeContentHandler.java:30-55 | corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/filter/XSSURIEscapeContentHandler.java:30-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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/filter/XSSHTMLEscapeContentHandler.java:30\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":"corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/filter/XSSHTMLEscapeContentHandler.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c45f690d9ac87d617a0037989b1cecf1d786934e791c2bfcdf7b9440fd132fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java:424-447 | corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/SqlHelper.java:131-154 \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 \u0060corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java:424\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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"afddb7d785d8e904e379ded6a1152e33a73c056ac0d13629f52c86746cfedd2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): corant-shared/src/main/java/org/corant/shared/util/Chars.java:233-255 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:777-799 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:990-1012 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1303-1325 \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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5309eb52dd58195200938ab27ab8c1ff8c877b099467e3f6b378134fb1b02ed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java:124-146 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngineService.java:125-147 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngines.java:125-147 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java\u0060 and \u0060corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngineService.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 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":"corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f49e152eb6319af59e194f4f6e7f70670e0c9fb5c2c3e5d283c7d3f97627da0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java:147-169 | corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java:175-197 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java\u0060 and \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 121 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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01fcdcc8a874c6f4e433b708e537be1246e71eb31e498a93ad6f3b607c3250c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 23): corant-shared/src/main/java/org/corant/shared/util/Chars.java:122-143 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:238-259 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:269-290 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:308-329 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:388-409 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:501-522 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:537-558 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:594-615 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:672-693 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:714-735 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:782-803 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:817-838 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:902-923 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:995-1016 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1060-1081 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1105-1126 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1161-1182 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1250-1271 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1308-1329 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1347-1368 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1402-1423 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1441-1462 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1837-1858 \u2014 all 23 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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:122\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d022ec35e12fdb41150bb2dd78ecc63d1373dca9ca03acfb21c8b17d559a67ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): corant-shared/src/main/java/org/corant/shared/util/Chars.java:324-345 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:947-968 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1177-1198 \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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:324\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe173407140e09517d4ad21f2776d621834932c3c361fecec1a233963d195bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java:79-100 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngineService.java:80-101 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngines.java:80-101 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java\u0060 and \u0060corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngineService.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 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 \u0060corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java: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":"corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe66e750f9cb7d62e4d934b764ca59f59ca922bd74aa867841dc853644e0beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): corant-shared/src/main/java/org/corant/shared/util/Chars.java:243-263 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:645-665 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:787-807 \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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:243\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"365301753aee236fa68c7b2589eb7a98b4465be9e057a049c8b1646b1729034c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/filter/XSSHTMLEscapeContentHandler.java:48-68 | corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/filter/XSSJSEscapeContentHandler.java:82-102 | corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/filter/XSSURIEscapeContentHandler.java:96-116 \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 \u0060corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/filter/XSSHTMLEscapeContentHandler.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":"corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/filter/XSSHTMLEscapeContentHandler.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91aa5487c8d9c24926365ecf7a9187c67e1346e690a26c55e7109b950c9237c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/util/Chars.java:177-197 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:210-230 \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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:177\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4cf8c291f3d85891a052ad48b37f3b7f2eaa4d9c707def67697c2bee6c9712"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPQLHelper.java:54-74 | corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/SqlHelper.java:333-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 \u0060corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPQLHelper.java:54\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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPQLHelper.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd4a4760860d1dc0c54898ba7dc4771c447760013e2cad0ec57143baaf1eb53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 15): corant-shared/src/main/java/org/corant/shared/util/Chars.java:133-152 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:365-384 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:399-418 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:580-599 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:605-624 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:704-723 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:725-744 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:828-847 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:867-886 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:913-932 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1050-1069 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1071-1090 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1116-1135 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1224-1243 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1261-1280 \u2014 all 15 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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"726e7781d25e94b0f1c17dbb22bead4f2ef222421653061f0869e52471d5f647"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 24): corant-shared/src/main/java/org/corant/shared/util/Chars.java:116-134 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:159-177 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:302-320 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:322-340 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:382-400 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:425-443 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:495-513 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:550-568 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:588-606 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:614-632 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:708-726 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:731-749 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:811-829 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:833-851 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:896-914 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:945-963 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1054-1072 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1078-1096 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1121-1139 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1175-1193 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1244-1262 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1281-1299 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1414-1432 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1455-1473 \u2014 all 24 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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:116\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd183adbcfe270a36edbfa0be076a41067b6ee8a6213de81f5f6489860aca5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 20): corant-shared/src/main/java/org/corant/shared/util/Chars.java:132-150 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:318-336 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:364-382 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:398-416 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:492-510 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:547-565 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:579-597 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:604-622 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:703-721 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:724-742 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:827-845 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:866-884 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:912-930 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1049-1067 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1070-1088 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1115-1133 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1171-1189 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1223-1241 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1260-1278 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1451-1469 \u2014 all 20 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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2884b0ad3fb0b55c63fd7b8cc9613b1ba71889e32de07f77675adc9543403e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 15): corant-shared/src/main/java/org/corant/shared/util/Chars.java:117-135 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:303-321 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:323-341 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:383-401 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:496-514 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:589-607 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:709-727 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:812-830 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:897-915 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:946-964 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1055-1073 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1156-1174 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1176-1194 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1245-1263 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1397-1415 \u2014 all 15 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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:117\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b59be0819a41f622223a7a120dc3dfa6af7183f4b70d0109bb2631ed33a5bbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java:232-250 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/StreamableQueryRunner.java:125-143 \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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1a6f1af450b51b3a1af3971d60a93c029852c478987d6945674515efdde20d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:266-284 | corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:399-417 \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 \u0060corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:266\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":"corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0986bdf6836e3fef3e81422c9b0f7d8913e9996ab1e398b16348f601c824d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java:117-135 | corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java:140-158 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java\u0060 and \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 121 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 \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java:117\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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b2b6bf5f8cb4ede8c92d2e3c3b0e7d7410f877160adfb47114b9a2f8666438"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableListDeserializer.java:109-127 | corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableSetDeserializer.java:109-127 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableListDeserializer.java\u0060 and \u0060corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableSetDeserializer.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 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":"corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableListDeserializer.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d88c9d64a3b3a8dc7fbb0decd5cb7af0c504e33c787189e5c73bcdd902c93b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 14): corant-shared/src/main/java/org/corant/shared/util/Chars.java:161-178 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:281-298 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:427-444 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:513-530 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:552-569 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:616-633 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:684-701 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:733-750 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:835-852 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1080-1097 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1123-1140 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1283-1300 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1416-1433 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1457-1474 \u2014 all 14 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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e4a409a6bbd06845e66b9dc0159c6e4eebdddce9953e6b752bdeaad04f623f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 9): corant-shared/src/main/java/org/corant/shared/util/Chars.java:300-317 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:364-381 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:492-509 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:579-596 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:703-720 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:809-826 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:866-883 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1049-1066 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1223-1240 \u2014 all 9 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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"735024317d6b85c4435db960260d5be3d42759b582745ca63015dfaf796dde23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): corant-shared/src/main/java/org/corant/shared/util/Chars.java:450-467 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1478-1495 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1855-1872 \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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:450\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1908613f5caec1ceb638c98d95b94e1858e7ea9c53890affd90046bca177416"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/util/Chars.java:1019-1036 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1471-1488 \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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0237dc0f332e60ae02e046b80d84abf53af44ad2b3a1808c0b5e5f5cbed09f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 13): corant-shared/src/main/java/org/corant/shared/util/Chars.java:299-315 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:363-379 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:491-507 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:578-594 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:702-718 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:808-824 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:865-881 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1048-1064 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1098-1114 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1153-1169 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1222-1238 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1394-1410 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1434-1450 \u2014 all 13 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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0d56be0d47e4c5119c0e845f4af2372e8654131d8244ed5f70d8bed4c7b120"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 11): corant-shared/src/main/java/org/corant/shared/util/Chars.java:231-247 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:487-503 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:574-590 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:775-791 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:861-877 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:988-1004 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1044-1060 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1149-1165 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1218-1234 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1301-1317 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1339-1355 \u2014 all 11 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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"179099ce847d8389a17bc53dfa4eefa52a38157904bd8a9c0498100651c15b45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): corant-shared/src/main/java/org/corant/shared/util/Chars.java:642-658 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1023-1039 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1475-1491 \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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea51379b8919a8ffcc884e15c52175ea14e335db77cad3ce3a62db4d8e9c88d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): corant-modules/corant-modules-mongodb/src/main/java/org/corant/modules/mongodb/Mongos.java:148-164 | corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/MongoDatabases.java:33-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. 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":"corant-modules/corant-modules-mongodb/src/main/java/org/corant/modules/mongodb/Mongos.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"505005b703fc4f78ec02f5065d0d4e4f12d74a11b44fc536651bffe1bb7eb29e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAQueries.java:552-568 | corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAQueryBuilder.java:130-146 \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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAQueries.java"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"139869fde0f8f0b83efffc60677c2ffbb094571db240bd48c463e5b62d5e8ecd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableListDeserializer.java:131-147 | corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableSetDeserializer.java:131-147 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableListDeserializer.java\u0060 and \u0060corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableSetDeserializer.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 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":"corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableListDeserializer.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e3dc9e00969bbaadd1d581878dc4b16fff7a131ea6dc51d72fa7f5ab44d9ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedExecutorService.java:90-106 | corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedScheduledExecutorService.java:72-88 \u2014 before extracting anything, compare \u0060corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedExecutorService.java\u0060 and \u0060corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedScheduledExecutorService.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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":"corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedExecutorService.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c90a95ec1af99f72c51ba9404ddd3eade7d9d7cad6601c160264e56ea25363"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 16): corant-shared/src/main/java/org/corant/shared/util/Chars.java:163-178 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:283-298 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:429-444 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:515-530 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:554-569 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:618-633 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:686-701 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:735-750 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:837-852 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1007-1022 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1082-1097 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1125-1140 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1285-1300 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1359-1374 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1418-1433 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1459-1474 \u2014 all 16 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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:163\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d238030660f1dbd4b61a75810460cc6668dbd6e61edf7f8144d3997265133ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 15): corant-shared/src/main/java/org/corant/shared/util/Chars.java:559-574 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:623-638 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:740-755 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:842-857 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1130-1145 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1324-1339 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1486-1501 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1505-1520 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1524-1539 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1543-1558 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1562-1577 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1581-1596 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1600-1615 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1619-1634 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1638-1653 \u2014 all 15 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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:559\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd967b6d95cd88484311c69c6f489f6df39a0838a186929079c49689d3c2414"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java:151-166 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngineService.java:152-167 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngines.java:159-174 | corant-modules/corant-modules-lang/corant-modules-lang-kotlin/src/main/java/org/corant/modules/lang/kotlin/KotlinScriptEngineService.java:52-67 | corant-modules/corant-modules-lang/corant-modules-lang-kotlin/src/main/java/org/corant/modules/lang/kotlin/KotlinScriptEngines.java:49-64 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java\u0060 and \u0060corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngineService.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 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 \u0060corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java:151\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":"corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"7511f37d580e4ea272c50800848074c4fab071b9669069763e74d9e7620d38a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java:179-194 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngineService.java:181-196 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngines.java:208-223 | corant-modules/corant-modules-lang/corant-modules-lang-kotlin/src/main/java/org/corant/modules/lang/kotlin/KotlinScriptEngineService.java:77-92 | corant-modules/corant-modules-lang/corant-modules-lang-kotlin/src/main/java/org/corant/modules/lang/kotlin/KotlinScriptEngines.java:72-87 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java\u0060 and \u0060corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngineService.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 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 \u0060corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java:179\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":"corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c18fca48be8d279f01a0472c5fc603bccc0aad4c58279c6c7574589ffd0af0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/crypto/Keys.java:179-194 | corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/crypto/Keys.java:202-216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/crypto/Keys.java:179\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/crypto/Keys.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae0e5ce2d84ed9891f0ebf23bd20bd0dfe9b386dcfb4df99393b2bae76f693e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/SQLServer2005Dialect.java:225-239 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/SQLServer2005Dialect.java:243-258 \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 \u0060corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/SQLServer2005Dialect.java:225\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":"corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/SQLServer2005Dialect.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"da01457e3147b56a786073077f6161ec94aca5c1b9ddedf6f76fa2dac6b00177"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/DomainDataSourceStore.java:40-55 | corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/DomainJDBCStore.java:40-55 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/DomainDataSourceStore.java\u0060 and \u0060corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/DomainJDBCStore.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. 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 \u0060corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/DomainDataSourceStore.java:40\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":"corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/DomainDataSourceStore.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e338a2864d2cfff97e4d563c666975858967a034478cd1cdc1f4d2c2846088"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAQueries.java:533-548 | corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAQueryBuilder.java:107-122 \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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAQueries.java"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a70ff4fd35500d856ac27496b48381bf532fa85a59e42434611aeed7379756"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java:137-152 | corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java:354-369 \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 \u0060corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java:137\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":"corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c161d9012ee58361fbcf3d34c75e3df00d003353f136d0cd0eb5860aa86f0e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/model/SimpleDateRange.java:53-68 | corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/model/SimpleFloatRange.java:69-84 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/model/SimpleDateRange.java\u0060 and \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/model/SimpleFloatRange.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 \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/model/SimpleDateRange.java:53\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":"corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/model/SimpleDateRange.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"36efb48cac122224a3909f86717f1a08fefc7027fe4689fcd56d70f622023f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 20): corant-shared/src/main/java/org/corant/shared/util/Chars.java:165-179 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:250-264 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:285-299 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:431-445 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:517-531 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:556-570 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:620-634 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:652-666 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:688-702 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:737-751 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:794-808 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:839-853 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1009-1023 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1084-1098 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1127-1141 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1287-1301 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1321-1335 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1361-1375 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1420-1434 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1461-1475 \u2014 all 20 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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:165\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb9dd2a8c941b4cc0e62be228452c22e99e94ef60660994c07f38b47a795809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 16): corant-shared/src/main/java/org/corant/shared/util/Chars.java:167-181 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:558-572 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:622-636 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:739-753 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:841-855 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1129-1143 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1323-1337 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1485-1499 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1504-1518 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1523-1537 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1542-1556 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1561-1575 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1580-1594 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1599-1613 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1618-1632 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1637-1651 \u2014 all 16 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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:167\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f65fd42cb0a4eb65c45bb5a20be28166f1df639834ba6e0728370f2cb93fda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 13): corant-shared/src/main/java/org/corant/shared/util/Chars.java:256-270 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:291-305 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:437-451 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:523-537 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:658-672 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:694-708 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:800-814 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1015-1029 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1090-1104 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1367-1381 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1386-1400 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1426-1440 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1467-1481 \u2014 all 13 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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:256\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c70d4530641241c57d583ecfedc8b812a7b4bba11b769ba85e25d2e89beaf10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 10): corant-shared/src/main/java/org/corant/shared/util/Chars.java:455-469 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1483-1497 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1502-1516 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1521-1535 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1540-1554 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1559-1573 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1578-1592 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1597-1611 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1616-1630 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1635-1649 \u2014 all 10 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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"d198ac4c45516a2b78ab3ec6d855e27e500dec7338a38c623b0076d78a677610"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): corant-shared/src/main/java/org/corant/shared/util/Chars.java:1941-1955 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1958-1972 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1986-2000 \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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d153710a1c11c3199aaedb854824509f42e2eafa9bbec7e22b77d33ac0bc8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/util/Chars.java:170-184 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1882-1896 \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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:170\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8daabc50ec83a5d7f7d79efaa8300c33dbc026e0d5ae7216480aa377a215f2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/util/Chars.java:1868-1882 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1918-1932 \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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:1868\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ea2f46ac19c92dac0092f020e1cc0272fbaf99a20d36fafb07829c5d62fa91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java:449-463 | corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/SqlHelper.java:156-170 \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 \u0060corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java:449\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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95e795ff15380dbcb354ba86e81aef411f0017bb23e3335689e5133a8cde982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/QueryMappingService.java:139-153 | corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/QueryMappingService.java:268-282 \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 \u0060corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/QueryMappingService.java:139\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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/QueryMappingService.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8e64e65453e6b73785ce8c76a038fed9099c73bd69698e6bf818dbb6ae81f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/SimpleParser.java:186-200 | corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/SimpleParser.java:219-233 \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 \u0060corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/SimpleParser.java:186\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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/SimpleParser.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d367dfbaa122ad575933e47c1ad995e60ec1c34e5ec4856054972a6b319db8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java:243-257 | corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java:295-308 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java\u0060 and \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 121 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 \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java:243\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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f597609df15fba26e34fcd45c56a4a5677fb6f2c68cd32519545b36d72a5714e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java:279-293 | corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java:332-346 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java\u0060 and \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 121 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 \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java:332\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, \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java:329\u0060 calls \u0060checkCancelled\u0060 and \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java:278\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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e41b5bc6ff8660dc367f1f0118f7f140bc0193878d608b94f87c079406a08a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/MixedZhEnNGramTokenFilter.java:101-115 | corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/XEnNGramTokenFilter.java:93-107 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/MixedZhEnNGramTokenFilter.java\u0060 and \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/XEnNGramTokenFilter.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 58 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 \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/MixedZhEnNGramTokenFilter.java:101\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 after the matched lines, \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/MixedZhEnNGramTokenFilter.java:116\u0060 calls \u0060isZhTerm\u0060 and \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/XEnNGramTokenFilter.java:108\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":"corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/MixedZhEnNGramTokenFilter.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d81151542bef816cca4887a5fb9193ea5a4953d51f592a2a01878baf4f11028"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 18): corant-shared/src/main/java/org/corant/shared/util/Chars.java:260-273 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:295-308 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:441-454 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:527-540 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:662-675 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:698-711 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:804-817 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1094-1107 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1390-1403 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1430-1443 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1497-1510 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1516-1529 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1535-1548 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1554-1567 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1573-1586 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1592-1605 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1611-1624 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1630-1643 \u2014 all 18 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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"543b6b98eb2453bf8a0c80aa5e815756f1e0686429f56cd495078db2d46ad5b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 16): corant-shared/src/main/java/org/corant/shared/util/Chars.java:254-267 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:289-302 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:435-448 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:459-472 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:521-534 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:656-669 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:692-705 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:798-811 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1013-1026 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1034-1047 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1088-1101 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1291-1304 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1365-1378 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1384-1397 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1424-1437 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1465-1478 \u2014 all 16 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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:254\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3019b6962a112eb6cc7b4d375388fc65a1aef0063e51d66dcb91cf4e6d2fd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 10): corant-shared/src/main/java/org/corant/shared/util/Chars.java:1667-1680 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1683-1696 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1699-1712 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1715-1728 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1731-1744 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1747-1760 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1763-1776 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1779-1792 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1795-1808 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1811-1824 \u2014 all 10 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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaae0719b673e6bebdcb81fada65b8d4ef32848b5a22522f8ad1490f5af81a37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): corant-shared/src/main/java/org/corant/shared/util/Chars.java:175-188 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:208-221 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:353-366 \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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afe5d8dd8f9981f5204e09fa08ab23dada964bd856b5372d84bf4bb747dc909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): corant-shared/src/main/java/org/corant/shared/util/Chars.java:188-201 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:221-234 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:964-977 \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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"447be6bce9e0c43b001a43fef9b1162c0c021301f997db62b62608c31b753a9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): corant-config/src/main/java/org/corant/config/CorantConfigConversion.java:182-195 | corant-shared/src/main/java/org/corant/shared/conversion/Conversion.java:591-603 \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 \u0060corant-config/src/main/java/org/corant/config/CorantConfigConversion.java:182\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":"corant-config/src/main/java/org/corant/config/CorantConfigConversion.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4e0e53b0bd794eada9ba9c9b195d977237ca84f0c644255c951177a361aa74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/util/Chars.java:639-652 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1887-1900 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6442340df2bb6b23e87bec5fd95e72f83e5f0526671e14b1a9da48e9fc80aa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/GlobPatterns.java:107-120 | corant-shared/src/main/java/org/corant/shared/util/PathMatcher.java:484-497 \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 \u0060corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/GlobPatterns.java:107\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":"corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/GlobPatterns.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf6666a61a331b1b4e2e94c5c3d1bef020eccde7079ca47d54614183437ee9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/util/Texts.java:403-416 | corant-shared/src/main/java/org/corant/shared/util/Texts.java:426-439 \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":"corant-shared/src/main/java/org/corant/shared/util/Texts.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3020b7f77ce66b537fac6cc8c1d565887f6431a7447b5eafbd64439627e866e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/CasTemplateMethodModelEx.java:67-80 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/SqlTemplateMethodModelEx.java:67-80 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/CasTemplateMethodModelEx.java\u0060 and \u0060corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/SqlTemplateMethodModelEx.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/CasTemplateMethodModelEx.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. 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":"corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/CasTemplateMethodModelEx.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1118d1abc9c824370bbb51bf2f84c7c336979879a66238d7bf01f3775e4335"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): corant-modules/corant-modules-datasource/corant-modules-datasource-agroal/src/main/java/org/corant/modules/datasource/agroal/patch/MyNarayanaTransactionIntegration.java:158-171 | corant-modules/corant-modules-jta/corant-modules-jta-shared/src/main/java/org/corant/modules/jta/shared/TransactionIntegrator.java:230-241 \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":"corant-modules/corant-modules-datasource/corant-modules-datasource-agroal/src/main/java/org/corant/modules/datasource/agroal/patch/MyNarayanaTransactionIntegration.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfab0d1331779c16396e6f45bdc388e67eb02169672abec1f44ea028052208f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java:211-224 | corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java:257-270 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java\u0060 and \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 121 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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd3ba7f2f69f562ca41ea9d44d73f8c7438e60411bba30f1b0c45e8297578b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java:301-314 | corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java:354-367 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java\u0060 and \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 121 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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bb9f257f3df935978ef4c97cd6b7695b07c74460fa32571eb33f9cfaff080e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): corant-context/src/main/java/org/corant/context/proxy/ProxyUtils.java:103-116 | corant-context/src/main/java/org/corant/context/proxy/ProxyUtils.java:147-160 \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 \u0060corant-context/src/main/java/org/corant/context/proxy/ProxyUtils.java:103\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":"corant-context/src/main/java/org/corant/context/proxy/ProxyUtils.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"093ba699f0f46a5eb61d66c54d8dceb165413ed8a93181b52a9bee9220b92ba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): corant-shared/src/main/java/org/corant/shared/util/Chars.java:1019-1031 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1471-1483 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1649-1661 \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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"861eadce14068ecd031f5a45d6f29cd6883b018ba44a234dafc1430b36662789"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/resource/ThresholdingOutputStream.java:489-501 | corant-shared/src/main/java/org/corant/shared/resource/ThresholdingOutputStream.java:623-635 \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 \u0060corant-shared/src/main/java/org/corant/shared/resource/ThresholdingOutputStream.java:489\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":"corant-shared/src/main/java/org/corant/shared/resource/ThresholdingOutputStream.java"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ce1c2ad2c261f35e448fe562a0eacda20781d6152f5dd2e8abfd36c6b42b5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): corant-modules/corant-modules-servlet/src/main/java/org/corant/modules/servlet/HttpRanges.java:165-177 | corant-shared/src/main/java/org/corant/shared/ubiquity/Tuple.java:561-573 \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 \u0060corant-modules/corant-modules-servlet/src/main/java/org/corant/modules/servlet/HttpRanges.java:165\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":"corant-modules/corant-modules-servlet/src/main/java/org/corant/modules/servlet/HttpRanges.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c318476bcd564be7b1fb998c1372b98e907ff5f1c0f39d660d2a0b6849cf7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/crypto/Keys.java:140-152 | corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/crypto/Keys.java:160-171 \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 \u0060corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/crypto/Keys.java:140\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/crypto/Keys.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d43d337d9b028af0130c5fba55b358a01440247586bfe55adea54dfd2746c23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableListDeserializer.java:67-79 | corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableSetDeserializer.java:67-79 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableListDeserializer.java\u0060 and \u0060corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableSetDeserializer.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 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":"corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableListDeserializer.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b467ebe1202dda7035721e65084a9b0cef6497fd9ca7ae67f9fe8a1858ed95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/model/SimpleDateRange.java:87-99 | corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/model/SimpleFloatRange.java:103-115 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/model/SimpleDateRange.java\u0060 and \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/model/SimpleFloatRange.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. 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":"corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/model/SimpleDateRange.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0642de8bd4342cf15789f6d6ff0802c26fd967d742c03e9cfac8e741c8f65bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): corant-modules/corant-modules-aicv/corant-modules-aicv-yolo/src/main/java/org/corant/modules/aicv/yolo/Mats.java:55-67 | corant-modules/corant-modules-aicv/corant-modules-aicv-yolo/src/main/java/org/corant/modules/aicv/yolo/Mats.java:72-84 \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 \u0060corant-modules/corant-modules-aicv/corant-modules-aicv-yolo/src/main/java/org/corant/modules/aicv/yolo/Mats.java:55\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060floats\u0060 to \u0060FloatArrayList\u0060 in one and \u0060List\u003CFloat\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":"corant-modules/corant-modules-aicv/corant-modules-aicv-yolo/src/main/java/org/corant/modules/aicv/yolo/Mats.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bc770afea556caccb86c978accc7d9de44e3cc5e472fff18fa4bc7f11b14dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedExecutorService.java:74-86 | corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedScheduledExecutorService.java:56-68 \u2014 before extracting anything, compare \u0060corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedExecutorService.java\u0060 and \u0060corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedScheduledExecutorService.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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":"corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedExecutorService.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"20264351c2747e6316a5365be0a0d43df6d0083e742872896d5dcef03c0c5938"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 18): corant-shared/src/main/java/org/corant/shared/util/Chars.java:199-210 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:470-481 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:566-577 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:630-641 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:755-766 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:853-864 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1137-1148 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1196-1207 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1331-1342 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1493-1504 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1512-1523 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1531-1542 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1550-1561 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1569-1580 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1588-1599 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1607-1618 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1626-1637 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1645-1656 \u2014 all 18 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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"94acf3280b7cdf817bbf5b51612166041c1a04df9b7173f88075f76d404f4540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 12): corant-shared/src/main/java/org/corant/shared/util/Chars.java:343-354 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:970-981 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1673-1684 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1689-1700 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1705-1716 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1721-1732 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1737-1748 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1753-1764 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1769-1780 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1785-1796 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1801-1812 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1817-1828 \u2014 all 12 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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"9972be1d396713015aebaf9b841653db30fb6a358247ab76a495dde3d91d0cf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 9): corant-shared/src/main/java/org/corant/shared/util/Chars.java:205-216 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:350-361 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:572-583 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:636-647 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:859-870 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1042-1053 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1202-1213 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1299-1310 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1337-1348 \u2014 all 9 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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:205\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3841680aae5fc20d74215ac007df7b03a478dcd413a9da738b3b493f2d0b4b1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): corant-shared/src/main/java/org/corant/shared/util/Chars.java:194-205 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:227-238 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:961-972 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:980-991 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1191-1202 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee032ab5ca446a511e9955e09f0de3482deb281349d80edfb206874b563baec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultFieldConvertHintHandler.java:157-168 | corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultScriptMapperHintHandler.java:105-116 \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 \u0060corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultFieldConvertHintHandler.java:157\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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultFieldConvertHintHandler.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb97f530d6f5dca3fffa02e4be8cfc4c6a8402652014dfa371deeb94bae56a4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java:224-235 | corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java:254-265 \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 \u0060corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java:224\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":"corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"067e4a49a66861e54037f5ef1911cabb176128c990895ffc8abb238bf9674f4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/marshaller/MapMessageMarshaller.java:63-74 | corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/marshaller/MapMessageMarshaller.java:80-90 \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 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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/marshaller/MapMessageMarshaller.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0135caeeb56f637f54b007f7ed59efaba467abb76ab54ed3f1f7e0573e4bd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java:259-270 | corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java:310-320 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java\u0060 and \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 121 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 \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"330c02b9c07f7e2e8549491367f30855ee39a2665ac95b570e449543ea70bb7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): corant-modules/corant-modules-jms/corant-modules-jms-api/src/main/java/org/corant/modules/jms/metadata/MessageReplyMetaData.java:80-91 | corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/MessageReceivingMetaData.java:164-175 \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 \u0060corant-modules/corant-modules-jms/corant-modules-jms-api/src/main/java/org/corant/modules/jms/metadata/MessageReplyMetaData.java:80\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":"corant-modules/corant-modules-jms/corant-modules-jms-api/src/main/java/org/corant/modules/jms/metadata/MessageReplyMetaData.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b465bc70c80141a6972a768e58fec431a1958790c3f62aa5844f5861185571"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 21): corant-shared/src/main/java/org/corant/shared/util/Chars.java:201-211 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:346-356 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:472-482 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:568-578 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:632-642 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:757-767 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:855-865 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1139-1149 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1198-1208 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1333-1343 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1660-1670 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1676-1686 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1692-1702 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1708-1718 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1724-1734 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1740-1750 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1756-1766 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1772-1782 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1788-1798 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1804-1814 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1820-1830 \u2014 all 21 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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:201\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"886b98e6c4de0350f761599b34573a53029a901d0c962706dedba3350d25d021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 14): corant-shared/src/main/java/org/corant/shared/util/Chars.java:193-203 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:226-236 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:342-352 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:969-979 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1672-1682 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1688-1698 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1704-1714 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1720-1730 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1736-1746 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1752-1762 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1768-1778 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1784-1794 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1800-1810 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1816-1826 \u2014 all 14 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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"920e9a4c7f8d4ddffd938afafbef23d4f75561a16c659e74ceb81c674cf90576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 13): corant-shared/src/main/java/org/corant/shared/util/Chars.java:204-214 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:349-359 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:466-476 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:480-490 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:571-581 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:635-645 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:760-770 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:858-868 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1041-1051 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1142-1152 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1201-1211 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1298-1308 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1336-1346 \u2014 all 13 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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8859a4a43a695daf39525f50b207fee4b94063803f4b6e1cef7d6a9fb8e1fff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 13): corant-shared/src/main/java/org/corant/shared/util/Chars.java:345-355 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:972-982 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1659-1669 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1675-1685 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1691-1701 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1707-1717 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1723-1733 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1739-1749 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1755-1765 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1771-1781 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1787-1797 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1803-1813 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1819-1829 \u2014 all 13 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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:345\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1bd4ad5b91dd33d0b78c186a058178e294142d4d779801115a2bc9f9cf41f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 11): corant-shared/src/main/java/org/corant/shared/util/Chars.java:186-196 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:219-229 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:484-494 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:747-757 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:764-774 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:849-859 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:985-995 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1146-1156 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1215-1225 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1933-1943 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1978-1988 \u2014 all 11 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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ae24feeba965e57419532d9b356ec67d56072d8edbfe3a630a2100d432d485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 10): corant-shared/src/main/java/org/corant/shared/util/Chars.java:973-983 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1495-1505 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1514-1524 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1533-1543 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1552-1562 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1571-1581 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1590-1600 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1609-1619 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1628-1638 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1647-1657 \u2014 all 10 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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:973\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"9772de4e858a6a83033929969c0a44fd76c293135a4177cc254ea2773ddc4445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): corant-shared/src/main/java/org/corant/shared/util/Chars.java:183-193 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:196-206 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:216-226 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:982-992 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1193-1203 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1212-1222 \u2014 all 6 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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:183\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"3527529d1709ee4e29967b0ca019e178a59712cc20b3d2013a33833e47851a38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/converter/JsonNumberNumberConverterFactory.java:60-69 | corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/ByteArrayPrimitiveConverterFactory.java:65-75 | corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/ObjectEnumConverterFactory.java:88-97 | corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/PrimitiveByteArrayConverterFactory.java:54-63 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/converter/JsonNumberNumberConverterFactory.java:60\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: the declarations holding them bind \u0060defaultValue\u0060 to \u0060Object\u0060 in one and \u0060byte[]\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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/converter/JsonNumberNumberConverterFactory.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdf1aec26313fdad07e5b2fd6f521a74c23eca397efbe6d0d46e14d0a466f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): corant-config/src/main/java/org/corant/config/CorantConfigExpander.java:99-109 | corant-shared/src/main/java/org/corant/shared/ubiquity/StringTemplate.java:161-171 \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 \u0060corant-config/src/main/java/org/corant/config/CorantConfigExpander.java:99\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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 \u0060provider\u0060 to \u0060CorantConfigRawValueProvider\u0060 in one and \u0060Function\u003CString, Object\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":"corant-config/src/main/java/org/corant/config/CorantConfigExpander.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e392665b3cae28c8eac6d36b88e676b7442d0b614e5865b1b22765f03b375a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/util/Fields.java:152-162 | corant-shared/src/main/java/org/corant/shared/util/Fields.java:170-180 \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 \u0060corant-shared/src/main/java/org/corant/shared/util/Fields.java:152\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":"corant-shared/src/main/java/org/corant/shared/util/Fields.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"53da9097bee8cbda30e3bb5a429fc7c27552aa0c8c1764c085c2d38869bb176b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/AbstractCasNamedQueryService.java:78-87 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/AbstractSqlNamedQueryService.java:115-125 \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 \u0060corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/AbstractCasNamedQueryService.java:78\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/AbstractCasNamedQueryService.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98bf81af91548f6dd8b1403ac28d8293adc1675e48ba9e749eb5baf65584803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): corant-config/src/main/java/org/corant/config/expression/ConfigELProcessor.java:132-142 | corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java:540-550 \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 \u0060corant-config/src/main/java/org/corant/config/expression/ConfigELProcessor.java:132\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":"corant-config/src/main/java/org/corant/config/expression/ConfigELProcessor.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"735a9a66254435cbe5df55a6df69c44c823eeab233cb432a656743a6bc5b21b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/DomainDataSourceStore.java:58-68 | corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/DomainJDBCStore.java:59-69 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/DomainDataSourceStore.java\u0060 and \u0060corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/DomainJDBCStore.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. 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 \u0060corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/DomainDataSourceStore.java:58\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":"corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/DomainDataSourceStore.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"649ec655c5ec0b2c29735fe5ca9b0e757b448f43c778fd3473c2b994fa8170f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAQueries.java:658-668 | corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAQueries.java:979-989 \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 \u0060corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAQueries.java:658\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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAQueries.java"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ac02fa8c8399f7f4228be4a5dda86be95ea33608cfed4c3f1ddb6fbd60e908"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/SqlStatements.java:109-119 | corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/SqlStatements.java:153-163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/SqlStatements.java:153\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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/SqlStatements.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8592fd82dc7069ab22a16089e2933f2f3ed2a88e364bb8fc1d05fa68e2ac7415"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/JarPackager.java:86-95 | corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/JarPackager.java:100-110 \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":"corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/JarPackager.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2ae514abb88a4e58af728660a471f814e091cbd229c536ea1d2b8dc484c4e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): corant-context/src/main/java/org/corant/context/Beans.java:299-309 | corant-context/src/main/java/org/corant/context/Beans.java:595-605 \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":"corant-context/src/main/java/org/corant/context/Beans.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52bac3096e799e33f5f4c9d63af41caf048737d8ec42070d622d93c3aac5e08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): corant-config/src/main/java/org/corant/config/Configs.java:245-255 | corant-config/src/main/java/org/corant/config/Configs.java:294-304 \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 \u0060corant-config/src/main/java/org/corant/config/Configs.java:245\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":"corant-config/src/main/java/org/corant/config/Configs.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0807b18cd99920dc2c215e33c47c80012c6a8bded2374e44c0ffbd9afe5674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 23): corant-shared/src/main/java/org/corant/shared/util/Chars.java:203-212 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:348-357 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:465-474 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:570-579 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:634-643 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:759-768 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:857-866 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1040-1049 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1141-1150 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1200-1209 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1297-1306 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1335-1344 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1662-1671 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1678-1687 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1694-1703 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1710-1719 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1726-1735 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1742-1751 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1758-1767 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1774-1783 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1790-1799 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1806-1815 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1822-1831 \u2014 all 23 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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1a453e989ab3bf635767f04858a9d404d9c5d12d8290bc60a263241a6e2991"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 11): corant-shared/src/main/java/org/corant/shared/util/Chars.java:185-194 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:198-207 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:218-227 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:469-478 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:483-492 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:750-759 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:852-861 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:984-993 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1145-1154 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1195-1204 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1214-1223 \u2014 all 11 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. 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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"1557ec6e853e3e42ebf74670ce6c53f23cca6e00f4742871b2d93bacfac000fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 9): corant-shared/src/main/java/org/corant/shared/util/Chars.java:184-193 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:197-206 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:217-226 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:749-758 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:766-775 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:851-860 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:983-992 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1194-1203 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:1213-1222 \u2014 all 9 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 \u0060corant-shared/src/main/java/org/corant/shared/util/Chars.java:184\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":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"77aa2cef8d1ce040620cf8b48b1529d335082eb6635f6b517f65243e671a9be7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/IntArrayTemporalConverterFactory.java:82-91 | corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/ListTemporalConverterFactory.java:85-94 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/IntArrayTemporalConverterFactory.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51303e7678393ba44893875326906c6e0402fac06de8b9280e209d3afde2dfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/util/FileUtils.java:399-408 | corant-shared/src/main/java/org/corant/shared/util/FileUtils.java:516-525 \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":"corant-shared/src/main/java/org/corant/shared/util/FileUtils.java"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ebd04d36dc8fb43c264c42ed6e020db86a549ea5fe89973470e22f0ea1fd15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/util/Strings.java:1171-1180 | corant-shared/src/main/java/org/corant/shared/util/Strings.java:1271-1280 \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":"corant-shared/src/main/java/org/corant/shared/util/Strings.java"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42b68d868cd754893360bac7815767a5bd9e2b2835687156cd1eecd25eb506f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): corant-modules/corant-modules-webserver/corant-modules-webserver-jetty/src/main/java/org/corant/modules/webserver/jetty/JettyWebServer.java:60-69 | corant-modules/corant-modules-webserver/corant-modules-webserver-undertow/src/main/java/org/corant/modules/webserver/undertow/UndertowWebServer.java:123-132 \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 \u0060corant-modules/corant-modules-webserver/corant-modules-webserver-jetty/src/main/java/org/corant/modules/webserver/jetty/JettyWebServer.java:60\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-webserver/corant-modules-webserver-jetty/src/main/java/org/corant/modules/webserver/jetty/JettyWebServer.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1a348315339ade2e790b7ef549f542ec1b215af9ff810dbe9bc7bf8be18b7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): corant-modules/corant-modules-webserver/corant-modules-webserver-shared/src/main/java/org/corant/modules/webserver/shared/AbstractWebServer.java:182-190 | corant-modules/corant-modules-webserver/corant-modules-webserver-shared/src/main/java/org/corant/modules/webserver/shared/AbstractWebServer.java:217-226 \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 \u0060corant-modules/corant-modules-webserver/corant-modules-webserver-shared/src/main/java/org/corant/modules/webserver/shared/AbstractWebServer.java:182\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":"corant-modules/corant-modules-webserver/corant-modules-webserver-shared/src/main/java/org/corant/modules/webserver/shared/AbstractWebServer.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbcdf29e0e2e4e0598ec78ba45b0e02b6c8def5a4572c0fe18bb47472ded8b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:321-330 | corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:365-374 \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 \u0060corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.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":"corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"115702b466abb42590d817ceb5c506211fb584b4ea1a0e442f85d5196945f99b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAQueries.java:168-177 | corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAQueries.java:273-282 \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 \u0060corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAQueries.java:168\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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAQueries.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3165ebf4600e429134b14ecdc225e44e608f8bad4005c9597428f8f1025c33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/MessageReceivingConnections.java:89-98 | corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/MessageReceivingConnections.java:101-110 \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 \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/MessageReceivingConnections.java:89\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/MessageReceivingConnections.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6394d71ac40e43494da56ef6ef6c712bc16ecddbdeebacc591aa31d4d6b59082"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/metadata/resolver/ResolverUtils.java:84-93 | corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/metadata/resolver/ResolverUtils.java:145-154 \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 \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/metadata/resolver/ResolverUtils.java:84\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060ann\u0060 to \u0060EsBoolean\u0060 in one and \u0060EsIp\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":"corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/metadata/resolver/ResolverUtils.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2be3d0f3cea4bfcef6e5beb7cd341175f84917ca9555e9519ec17481e1ebe6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/service/AbstractElasticDocumentService.java:93-102 | corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/service/AbstractElasticDocumentService.java:119-128 \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 \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/service/AbstractElasticDocumentService.java:93\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/service/AbstractElasticDocumentService.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db7a5d0c6c94aed1b1516be8e7419a35faa0cb45627aa545d94ebeefdbca28b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/model/Aggregates.java:135-144 | corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/model/Aggregates.java:148-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 \u0060corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/model/Aggregates.java:135\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060params\u0060 to \u0060Map\u003CObject, Object\u003E\u0060 in one and \u0060Object...\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":"corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/model/Aggregates.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29fa360ecb7094907dc1509506386f3af55657f1942c863d2ba8369e43ee70f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/DistPackager.java:171-180 | corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/DistPackager.java:212-221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/DistPackager.java:181\u0060 calls \u0060getMojo\u0060, \u0060isWithJvmOpts\u0060, \u0060add\u0060 and \u0060corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/DistPackager.java:222\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":"corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/DistPackager.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79c066ba888d62182b4b7d2d84518355dfe4ecf2fb3cf269c1077ab9026b606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 10): corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java:150-158 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java:178-186 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngineService.java:151-159 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngineService.java:180-188 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngines.java:158-166 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngines.java:207-215 | corant-modules/corant-modules-lang/corant-modules-lang-kotlin/src/main/java/org/corant/modules/lang/kotlin/KotlinScriptEngineService.java:51-59 | corant-modules/corant-modules-lang/corant-modules-lang-kotlin/src/main/java/org/corant/modules/lang/kotlin/KotlinScriptEngineService.java:76-84 | corant-modules/corant-modules-lang/corant-modules-lang-kotlin/src/main/java/org/corant/modules/lang/kotlin/KotlinScriptEngines.java:48-56 | corant-modules/corant-modules-lang/corant-modules-lang-kotlin/src/main/java/org/corant/modules/lang/kotlin/KotlinScriptEngines.java:71-79 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java\u0060 and \u0060corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/NashornScriptEngineService.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 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 \u0060corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java:150\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":"corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"272f3d75c15d8dd31608af255d5489305ac2890d828b03410f391f6ede85407b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/CasTemplateMethodModelEx.java:50-58 | corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/MgTemplateMethodModelEx.java:58-66 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/SqlTemplateMethodModelEx.java:50-58 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/CasTemplateMethodModelEx.java\u0060 and \u0060corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/SqlTemplateMethodModelEx.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/CasTemplateMethodModelEx.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":"corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/CasTemplateMethodModelEx.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d1948a63a1490ba03512ccb112b2b6ba1ab0c26e49408ae195b369a2677898"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): corant-modules/corant-modules-bundle/src/main/java/org/corant/modules/bundle/LocaleUtils.java:51-59 | corant-shared/src/main/java/org/corant/shared/conversion/converter/StringLocaleConverter.java:72-79 \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 \u0060corant-modules/corant-modules-bundle/src/main/java/org/corant/modules/bundle/LocaleUtils.java:51\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":"corant-modules/corant-modules-bundle/src/main/java/org/corant/modules/bundle/LocaleUtils.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b322ceb42816ccd90d3f25925484925f5d2e3b41a7d4d10423a738755a903b9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/MixedZhEnNGramTokenFilter.java:183-191 | corant-shared/src/main/java/org/corant/shared/util/Chars.java:2165-2173 \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":"corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/MixedZhEnNGramTokenFilter.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9451cb1ad5630b972d46adafa74f6f7c2ed5fecc9bb13fe37083a56547a0dacc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/util/Compressors.java:165-173 | corant-shared/src/main/java/org/corant/shared/util/FileUtils.java:248-256 \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 \u0060corant-shared/src/main/java/org/corant/shared/util/Compressors.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-shared/src/main/java/org/corant/shared/util/Compressors.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb60210cb5b942078d04d9f18e4f81bd952badf1769829a2d5dc8a3f3fe1f69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/crypto/cipher/AsymmetricCipherProvider.java:69-77 | corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/crypto/cipher/AsymmetricCipherProvider.java:92-100 \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 \u0060corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/crypto/cipher/AsymmetricCipherProvider.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":"corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/crypto/cipher/AsymmetricCipherProvider.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc82758273435cc90f8177abb56420cb7922263f8a023cf3d2ec5e1ba379a00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/AbstractCompilableScriptProcessor.java:89-97 | corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/AbstractCompilableScriptProcessor.java:116-124 \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 \u0060corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/AbstractCompilableScriptProcessor.java:89\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, \u0060corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/AbstractCompilableScriptProcessor.java:126\u0060 calls \u0060put\u0060 and \u0060corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/AbstractCompilableScriptProcessor.java:98\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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/AbstractCompilableScriptProcessor.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ca57a71e9f97a0e14a0a87f176183390856ddd2f938eb3e0d1af80635daccf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/MgQueryTemplate.java:115-123 | corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/MgQueryTemplate.java:500-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/MgQueryTemplate.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d65d86191b694ff0440290816b757b99110c8b2cfdaaf7d80bd27614f2782e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20139 lines \u00D7 5): corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/AbstractJpqlNamedQueryService.java:61-63 | corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/AbstractJpqlNamedQueryService.java:118-126 | corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/AbstractJpqlNamedQueryService.java:147-149 | corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/AbstractJpqlNamedQueryService.java:175-183 | corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/AbstractJpqlNamedQueryService.java:211-213 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/AbstractJpqlNamedQueryService.java:118\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/AbstractJpqlNamedQueryService.java:215\u0060 calls \u0060resolveSelectSize\u0060 and \u0060corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/AbstractJpqlNamedQueryService.java:65\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":"corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/AbstractJpqlNamedQueryService.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"105109b7da2221c53b6cd349d13d4eabd51cf7b8e80cc4ef41d5bfd301af5f06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): corant-modules/corant-modules-microprofile/corant-modules-microprofile-jwt/src/main/java/org/corant/modules/microprofile/jwt/jaxrs/MpJWTAuthenticationFilter.java:83-91 | corant-modules/corant-modules-microprofile/corant-modules-microprofile-jwt/src/main/java/org/corant/modules/microprofile/jwt/jaxrs/MpJWTHttpAuthenticationMechanism.java:81-88 \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 \u0060corant-modules/corant-modules-microprofile/corant-modules-microprofile-jwt/src/main/java/org/corant/modules/microprofile/jwt/jaxrs/MpJWTAuthenticationFilter.java:83\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":"corant-modules/corant-modules-microprofile/corant-modules-microprofile-jwt/src/main/java/org/corant/modules/microprofile/jwt/jaxrs/MpJWTAuthenticationFilter.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d266731964e1f56e2aa6791e13b59bdd9b757d05c50c5807361b8c38f3a1c426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): corant-modules/corant-modules-mail/src/main/java/org/corant/modules/mail/DefaultMailSender.java:64-72 | corant-modules/corant-modules-mail/src/main/java/org/corant/modules/mail/DefaultMailSender.java:82-90 \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":"corant-modules/corant-modules-mail/src/main/java/org/corant/modules/mail/DefaultMailSender.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc31272845d329ae3c86da1c75c3ab67ed2c8d451ffa2ea64a2e9f0ec4fa9231"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:194-202 | corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:320-328 \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 \u0060corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.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, \u0060corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:329\u0060 calls \u0060setInt\u0060 and \u0060corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:203\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":"corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"652f18c740717b63027531c0c33e0c5c16a8a079ad2f8d50e675efe6609c7be0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/Jsons.java:174-182 | corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/Jsons.java:208-216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/Jsons.java:174\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060type\u0060 to \u0060TypeLiteral\u003CT\u003E\u0060 in one and \u0060TypeReference\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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/Jsons.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"9377328507b6d9995acef9dac6662c2fd308b6c31d62d988a2e3902d118d0955"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/SqlStatements.java:422-430 | corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/SqlStatements.java:442-450 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/SqlStatements.java:422\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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/SqlStatements.java"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"123593a23e4c18e17ece0b159452954e97a368c692a18662c98017694d4c82d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): corant-context/src/main/java/org/corant/context/concurrent/ConcurrentExtension.java:151-158 | corant-context/src/main/java/org/corant/context/concurrent/ConcurrentExtension.java:185-193 \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 \u0060corant-context/src/main/java/org/corant/context/concurrent/ConcurrentExtension.java:151\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-context/src/main/java/org/corant/context/concurrent/ConcurrentExtension.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6105bdc33bc36422b87bcff202803b23317fc99a2ce7f9cb8a6b6d95a2b6a495"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): corant-context/src/main/java/org/corant/context/concurrent/ConcurrentExtension.java:167-174 | corant-context/src/main/java/org/corant/context/concurrent/ConcurrentExtension.java:203-211 \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 \u0060corant-context/src/main/java/org/corant/context/concurrent/ConcurrentExtension.java:167\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-context/src/main/java/org/corant/context/concurrent/ConcurrentExtension.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a89d980aaa1dd394b53262021c37dcf060e3932dfe400f8bc4df421f644860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 5): corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultAggregationHintHandler.java:119-126 | corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultBeanMapperHintHandler.java:113-119 | corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultFieldConvertHintHandler.java:159-166 | corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultMapReduceHintHandler.java:157-164 | corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultScriptMapperHintHandler.java:107-114 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultAggregationHintHandler.java:119\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultAggregationHintHandler.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd81fefbea2ceabf6f599cd63eccb9cba86dc27e84e72ecc9aa5ecbf0269460"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:143-151 | corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:196-203 | corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:271-278 | corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:404-411 \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 \u0060corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java:143\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":"corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/AbstractDomainJDBCDriver.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc2f0cb7dbbc608fb4a3d4876bc31ffe2da493da219151b3d4c55d858fcfc53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java:143-150 | corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java:225-232 | corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java:255-262 | corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java:360-367 \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 \u0060corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java:143\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":"corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5b5643c1c77405d6205be819f3e50ca77127306eba422c56299f6acce60eb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/CasTemplateMethodModelEx.java:63-70 | corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/JpqlTemplateMethodModelEx.java:40-47 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/SqlTemplateMethodModelEx.java:63-70 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/CasTemplateMethodModelEx.java\u0060 and \u0060corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/SqlTemplateMethodModelEx.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/CasTemplateMethodModelEx.java:63\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/CasTemplateMethodModelEx.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"435223259f03b7882ef0fd260820a8d9185dfe19663b05bc150a68ee63f70f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/AbstractDataSourceExtension.java:72-79 | corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/ElasticExtension.java:117-124 | corant-modules/corant-modules-jms/corant-modules-jms-artemis/src/main/java/org/corant/modules/jms/artemis/ArtemisJMSExtension.java:111-118 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/AbstractDataSourceExtension.java:72\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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/AbstractDataSourceExtension.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e1a1c5f3247b8f9113ad82caa974bcd65d1850dd1a048ddc248bf07e344b11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedExecutorService.java:45-54 | corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedExecutorService.java:62-70 | corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedScheduledExecutorService.java:45-52 \u2014 before extracting anything, compare \u0060corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedExecutorService.java\u0060 and \u0060corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedScheduledExecutorService.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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 \u0060corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedExecutorService.java:45\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":"corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedExecutorService.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"216b674786908949f7ebc919c885aca91bd90bc9222b067dad61f55977716d8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/util/Maps.java:1491-1498 | corant-shared/src/main/java/org/corant/shared/util/Maps.java:1501-1508 \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 \u0060corant-shared/src/main/java/org/corant/shared/util/Maps.java:1491\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":"corant-shared/src/main/java/org/corant/shared/util/Maps.java"},"region":{"startLine":1491}}}],"partialFingerprints":{"codehealthFindingId/v1":"d774823d15f498f406171ef4dfa2ccf1f905db057fd7a351e9ce3c2bb3158195"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/util/StopWatch.java:158-165 | corant-shared/src/main/java/org/corant/shared/util/StopWatch.java:174-181 \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 \u0060corant-shared/src/main/java/org/corant/shared/util/StopWatch.java:158\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 \u0060consumer\u0060 to \u0060BiConsumer\u003CTaskInfo, StopWatch\u003E\u0060 in one and \u0060Consumer\u003CTaskInfo\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":"corant-shared/src/main/java/org/corant/shared/util/StopWatch.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"366ff27e953eebe7152074b997766254c3780c376d0d2bcdabfa1cece0acc91c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/util/Strings.java:786-793 | corant-shared/src/main/java/org/corant/shared/util/Strings.java:1351-1358 \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":"corant-shared/src/main/java/org/corant/shared/util/Strings.java"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"84978c5fbdb105a809645bba389f5e4453c4553adbfae3dd5e0101b18e6cd454"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/SQLServer2008Dialect.java:37-43 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/SQLServer2012Dialect.java:113-120 \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 \u0060corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/SQLServer2008Dialect.java:37\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/SQLServer2008Dialect.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ab786d16fd7fecfeea737820b3bf5f910ac1a5dbbfa794531ca7c4e18667a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/AbstractNamedQueryService.java:147-154 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/AbstractSqlNamedQueryService.java:76-83 \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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/AbstractNamedQueryService.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"759e6ecdf7a56b4a932c2012409dca82a180ad7e50b99537b98a7f8f4d54348f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/MgQueryTemplate.java:317-324 | corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/MgQueryTemplate.java:338-345 \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":"corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/MgQueryTemplate.java"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf98a1fe02c3456e2f50440551c0c86173e00d950f023c5a51b2b204646b27f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/AbstractCasNamedQueryService.java:67-74 | corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/AbstractCasNamedQueryService.java:104-111 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/AbstractCasNamedQueryService.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f897a7e10e066ea3d8f7dbd4f883e953b375681464a0f51785197aa8c376b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): corant-modules/corant-modules-mail/src/main/java/org/corant/modules/mail/DefaultMailSender.java:89-96 | corant-modules/corant-modules-mail/src/main/java/org/corant/modules/mail/MailSenderTemplate.java:48-55 \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 \u0060corant-modules/corant-modules-mail/src/main/java/org/corant/modules/mail/DefaultMailSender.java:89\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-mail/src/main/java/org/corant/modules/mail/DefaultMailSender.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49e82f7d22a2628c72611f772a5f78e4a630825c4c774647b5ac2d0642fd8fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): corant-modules/corant-modules-jcache/corant-modules-jcache-caffeine/src/main/java/org/corant/modules/jcache/caffeine/CaffeineJCacheExtension.java:69-76 | corant-modules/corant-modules-jcache/corant-modules-jcache-redisson/src/main/java/org/corant/modules/jcache/redisson/RedissonJCacheExtension.java:34-41 \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":"corant-modules/corant-modules-jcache/corant-modules-jcache-caffeine/src/main/java/org/corant/modules/jcache/caffeine/CaffeineJCacheExtension.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"049e50e51f177a8de11a90d85864cbc287b1ae544f8a68c0ef12baf72f11839a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): corant-modules/corant-modules-jaxrs/corant-modules-jaxrs-shared/src/main/java/org/corant/modules/jaxrs/shared/JaxrsExtension.java:71-78 | corant-modules/corant-modules-jaxrs/corant-modules-jaxrs-shared/src/main/java/org/corant/modules/jaxrs/shared/JaxrsExtension.java:88-95 \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 \u0060corant-modules/corant-modules-jaxrs/corant-modules-jaxrs-shared/src/main/java/org/corant/modules/jaxrs/shared/JaxrsExtension.java:71\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":"corant-modules/corant-modules-jaxrs/corant-modules-jaxrs-shared/src/main/java/org/corant/modules/jaxrs/shared/JaxrsExtension.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"454c8be7b2ec9836993fb94322a7dfc5df3c2ad3d06d222d32c0e7757eeaf4aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/unitwork/JTARLJPAUnitOfWork.java:84-91 | corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/unitwork/JTAXAJPAUnitOfWork.java:49-56 \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 \u0060corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/unitwork/JTARLJPAUnitOfWork.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":"corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/unitwork/JTARLJPAUnitOfWork.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf427089f189fbcdcff2d30d9bac61d611b3a6b2e456cc3da9565ecefcfba44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 4): corant-context/src/main/java/org/corant/context/concurrent/ConcurrentExtension.java:154-159 | corant-context/src/main/java/org/corant/context/concurrent/ConcurrentExtension.java:170-175 | corant-context/src/main/java/org/corant/context/concurrent/ConcurrentExtension.java:188-194 | corant-context/src/main/java/org/corant/context/concurrent/ConcurrentExtension.java:206-212 \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 \u0060corant-context/src/main/java/org/corant/context/concurrent/ConcurrentExtension.java:154\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":"corant-context/src/main/java/org/corant/context/concurrent/ConcurrentExtension.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5366a87d1c06f6964a3deecf8eb3cdf7262c4ac180fa2e1f7cf40fba226bbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 5): corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/DB2Dialect.java:58-64 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/H2Dialect.java:39-45 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/HSQLDialect.java:50-53 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/MySQLDialect.java:99-101 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/PostgreSQLDialect.java:55-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 all 5 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/DB2Dialect.java:58\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/DB2Dialect.java:55\u0060 calls \u0060shallowIndexOfPattern\u0060, \u0060indexOf\u0060 and \u0060corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/HSQLDialect.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":"corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/DB2Dialect.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3bb9ece78aa53f13e39bedc5ad112c5199c80af1ebe81e60b01ab3b67a4219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java:145-151 | corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java:362-368 | corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java:468-474 \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 \u0060corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java:145\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":"corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4c82fd88fadf478fbb06b0a22d9530650bd2b30f51e57407c0d356234adc6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 5): corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/BlockDistance.java:37-43 | corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/ChebychevDistance.java:44-47 | corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/CosineDistance.java:41-44 | corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/CustomizedDistance.java:34-40 | corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/SquaredEuclideanDistance.java:37-43 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/BlockDistance.java\u0060 and \u0060corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/SquaredEuclideanDistance.java\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/BlockDistance.java:37\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/BlockDistance.java:43\u0060 calls \u0060getValue\u0060 and \u0060corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/ChebychevDistance.java:47\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":"corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/BlockDistance.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c46ee48c077ef22d9b26b43f7211f6f7f01d207d9b7fff16f3edbc4caeabe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): corant-context/src/main/java/org/corant/context/command/CommandExtension.java:139-145 | corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/model/AggregateReference.java:100-106 | corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/repository/AbstractTypedJPARepository.java:135-141 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-context/src/main/java/org/corant/context/command/CommandExtension.java:139\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":"corant-context/src/main/java/org/corant/context/command/CommandExtension.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5dcf624de06b2c87d794ba6e7c46f547d34bd450103afd049daed1282d90a25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): corant-modules/corant-modules-cloud/corant-modules-cloud-tencent/src/main/java/com/github/wxpay/sdk/WXPayRequest.java:127-133 | corant-modules/corant-modules-cloud/corant-modules-cloud-tencent/src/main/java/com/github/wxpay/sdk/WXPayRequest.java:135-141 | corant-modules/corant-modules-cloud/corant-modules-cloud-tencent/src/main/java/com/github/wxpay/sdk/WXPayRequest.java:143-149 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-cloud/corant-modules-cloud-tencent/src/main/java/com/github/wxpay/sdk/WXPayRequest.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"19292a307b038a3eacdd2dd7266259f493d4749b968646f17cbdfaae81eefb94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/exception/GeneralRuntimeExceptionWrapper.java:82-88 | corant-shared/src/main/java/org/corant/shared/exception/GeneralRuntimeExceptionWrapper.java:94-100 \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":"corant-shared/src/main/java/org/corant/shared/exception/GeneralRuntimeExceptionWrapper.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e82e8069675fd8fcb625955215498086a3b5783eef14a3a0fafc3a10cc6c96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): corant-modules/corant-modules-security/corant-modules-security-api/src/main/java/org/corant/modules/security/AuthenticationData.java:34-40 | corant-modules/corant-modules-security/corant-modules-security-api/src/main/java/org/corant/modules/security/Subject.java:53-59 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-security/corant-modules-security-api/src/main/java/org/corant/modules/security/AuthenticationData.java\u0060 and \u0060corant-modules/corant-modules-security/corant-modules-security-api/src/main/java/org/corant/modules/security/Subject.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 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-security/corant-modules-security-api/src/main/java/org/corant/modules/security/AuthenticationData.java:34\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060corant-modules/corant-modules-security/corant-modules-security-api/src/main/java/org/corant/modules/security/Subject.java:61\u0060 calls \u0060getPrincipal\u0060 and \u0060corant-modules/corant-modules-security/corant-modules-security-api/src/main/java/org/corant/modules/security/AuthenticationData.java:42\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":"corant-modules/corant-modules-security/corant-modules-security-api/src/main/java/org/corant/modules/security/AuthenticationData.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a50e902a49e0b69def5d2f5587400f40ff74449887206107ea55912cc1f75f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): corant-modules/corant-modules-security/corant-modules-security-api/src/main/java/org/corant/modules/security/AuthenticationData.java:45-51 | corant-modules/corant-modules-security/corant-modules-security-api/src/main/java/org/corant/modules/security/Subject.java:66-72 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-security/corant-modules-security-api/src/main/java/org/corant/modules/security/AuthenticationData.java\u0060 and \u0060corant-modules/corant-modules-security/corant-modules-security-api/src/main/java/org/corant/modules/security/Subject.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 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-security/corant-modules-security-api/src/main/java/org/corant/modules/security/AuthenticationData.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060corant-modules/corant-modules-security/corant-modules-security-api/src/main/java/org/corant/modules/security/Subject.java:61\u0060 calls \u0060getPrincipal\u0060 and \u0060corant-modules/corant-modules-security/corant-modules-security-api/src/main/java/org/corant/modules/security/AuthenticationData.java:40\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":"corant-modules/corant-modules-security/corant-modules-security-api/src/main/java/org/corant/modules/security/AuthenticationData.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"42dedd3b8fd311d2ab92136edd95c9f248e05d82923f61bc683c8a2fb834c9db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/AbstractSqlNamedQueryService.java:104-110 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/AbstractSqlNamedQueryService.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/AbstractSqlNamedQueryService.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce88139a92d5a9c8f5022cfd9368787bd2ea8cd6948118f7de5ab18f073287e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/Decimal128Utils.java:53-59 | corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/Decimal128Utils.java:94-100 \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 \u0060corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/Decimal128Utils.java:53\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":"corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/Decimal128Utils.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e292fd25ba710b3184e428592b07ac3663d05c7fcb092de07fb2d20935492e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java:304-310 | corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java:405-410 \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 \u0060corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java:410\u0060 calls \u0060setValue\u0060, \u0060equalsIgnoreCase\u0060, \u0060isNotBlank\u0060 and \u0060corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java:310\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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"d826904138da035d4404db8cc6f06a3d05f211d60a00508904f7f9920d62bc28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/send/MessageSenderTemplate.java:157-162 | corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/send/MessageSenderTemplate.java:241-247 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/send/MessageSenderTemplate.java:157\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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/send/MessageSenderTemplate.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"4205d8d2ce8db9fdb022ae3155baa6f5a2e3cd23ba7f63049e9b64ddc026f386"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/metadata/resolver/AbstractElasticIndexingResolver.java:313-319 | corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/metadata/resolver/AbstractElasticIndexingResolver.java:357-363 \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 \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/metadata/resolver/AbstractElasticIndexingResolver.java:313\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":"corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/metadata/resolver/AbstractElasticIndexingResolver.java"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f598662aa04586f7cf10050dcdf6271d48146fd69ba42c357a88942f2d27056"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java:806-812 | corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java:874-880 \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 \u0060corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java:806\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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30d0776a4c718fcbf1d4f7a8cd6134ab2c442fc1dd8876f571bb332f6f49d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 4): corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/cdi/CasNamedQueryServiceManager.java:72-77 | corant-modules/corant-modules-query/corant-modules-query-elastic/src/main/java/org/corant/modules/query/elastic/cdi/EsNamedQueryServiceManager.java:70-75 | corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/cdi/JpqlNamedQueryServiceManager.java:68-72 | corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/cdi/MgNamedQueryServiceManager.java:72-77 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/cdi/CasNamedQueryServiceManager.java:72\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/cdi/CasNamedQueryServiceManager.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e978ddbd7466e9c5001faa06336199e9ff1b3b94aa75afdbe3407764a0a5fee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java:279-284 | corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java:302-307 | corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java:326-331 | corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java:403-408 \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 \u0060corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java:279\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, \u0060corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java:410\u0060 calls \u0060setValue\u0060, \u0060equalsIgnoreCase\u0060, \u0060isNotBlank\u0060 and \u0060corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java:286\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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryParseHandler.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"16faea41c095a39cfecbe669c440b0ef0319b3b31041c90fd9786f40a37178d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/metadata/resolver/ResolverUtils.java:86-91 | corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/metadata/resolver/ResolverUtils.java:147-152 | corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/metadata/resolver/ResolverUtils.java:204-209 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060ann\u0060 to \u0060EsBoolean\u0060 in one and \u0060EsIp\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":"corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/metadata/resolver/ResolverUtils.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f7b3d48fb5efe9b740c243969f836f97990dbc45c169bdc1556caf02fb46f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/conversion/converter/NumberLocalDateTimeConverter.java:66-71 | corant-shared/src/main/java/org/corant/shared/conversion/converter/NumberZonedDateTimeConverter.java:67-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-shared/src/main/java/org/corant/shared/conversion/converter/NumberLocalDateTimeConverter.java:66\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-shared/src/main/java/org/corant/shared/conversion/converter/NumberLocalDateTimeConverter.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a34ada525f08fc219b9abde6bd1a1dd3b0685c0c0ba798d506d336bf355615"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/H2Dialect.java:62-67 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/MySQLDialect.java:90-95 \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 \u0060corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/H2Dialect.java:62\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":"corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/dialect/H2Dialect.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee791901b1927e386431aa9c8f2e34ed0d6b4eba9cf862d3b7e506c246a4f13e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/freemarker/AbstractTemplateMethodModelEx.java:107-112 | corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/freemarker/AbstractTemplateMethodModelEx.java:116-121 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/freemarker/AbstractTemplateMethodModelEx.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8c6bd5537773917252b4e7038ca6855be87401a6938a1145a489b985fb8ac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/metadata/PersistencePropertiesParser.java:74-79 | corant-modules/corant-modules-mongodb/src/main/java/org/corant/modules/mongodb/MongoClientConfig.java:161-166 \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 \u0060corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/metadata/PersistencePropertiesParser.java:74\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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/metadata/PersistencePropertiesParser.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9804d56e8ed84b579df941c4517380336a96d51ecc617c0b9cfd62c42acfe672"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): corant-modules/corant-modules-cloud/corant-modules-cloud-tencent/src/main/java/com/github/wxpay/sdk/WXPayUtil.java:171-176 | corant-modules/corant-modules-cloud/corant-modules-cloud-tencent/src/main/java/com/github/wxpay/sdk/WXPayUtil.java:271-276 \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 \u0060corant-modules/corant-modules-cloud/corant-modules-cloud-tencent/src/main/java/com/github/wxpay/sdk/WXPayUtil.java:171\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":"corant-modules/corant-modules-cloud/corant-modules-cloud-tencent/src/main/java/com/github/wxpay/sdk/WXPayUtil.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12d56fb143edf75a7e810fcd5024bcdcaafdc026871c7fb146e29723573cd2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/DistPackager.java:95-100 | corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/JarPackager.java:77-82 \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":"corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/DistPackager.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fa2ed4d2d755644474b5248fbb81b486c690e29c11d48e1da8f70fb6625148"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/AbstractMgNamedQueryService.java:370-374 | corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/AbstractMgNamedQueryService.java:390-394 | corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/AbstractMgNamedQueryService.java:435-439 | corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/AbstractMgNamedQueryService.java:489-493 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/AbstractMgNamedQueryService.java"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ac92b5fbd35526a2c581f52e9b93c2c63c44f76614a03c98a3fbe34c026bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/MapTemporalConverterFactory.java:80-83 | corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/MapTemporalConverterFactory.java:88-92 | corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/MapTemporalConverterFactory.java:96-100 \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 \u0060corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/MapTemporalConverterFactory.java:80\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/MapTemporalConverterFactory.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34cd81482f136b48e334ccfbe823e4f94952d54411cac8a4cad4f8dd05f4d3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/util/Lists.java:63-67 | corant-shared/src/main/java/org/corant/shared/util/Lists.java:102-106 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-shared/src/main/java/org/corant/shared/util/Lists.java:63\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":"corant-shared/src/main/java/org/corant/shared/util/Lists.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c515eee56caecd6d2caa177280a05838b81009312aaf5346337e643510ceac20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/util/Maps.java:1155-1159 | corant-shared/src/main/java/org/corant/shared/util/Maps.java:1170-1174 \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":"corant-shared/src/main/java/org/corant/shared/util/Maps.java"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba300b555b6e1e018c114e86c6c667ab7ab8d292d0a236d19c87cdcf0cf98db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/util/Primitives.java:201-205 | corant-shared/src/main/java/org/corant/shared/util/Primitives.java:320-324 \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 \u0060corant-shared/src/main/java/org/corant/shared/util/Primitives.java:201\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":"corant-shared/src/main/java/org/corant/shared/util/Primitives.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"63283a1e819bbc5a2121364eb8ed6da50c30c96339323b16285111a49f7f7a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/MgQueryTemplate.java:218-222 | corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/MgQueryTemplate.java:235-239 \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":"corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/MgQueryTemplate.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0f609bf4cc619d8eb6c22ccbcb9e8478933efce5246055bd1b5b0212293bd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): corant-kernel/src/main/java/org/corant/kernel/event/PostContainerReadyEvent.java:39-48 | corant-kernel/src/main/java/org/corant/kernel/event/PostCorantReadyAsyncEvent.java:37-46 | corant-kernel/src/main/java/org/corant/kernel/event/PostCorantReadyEvent.java:37-46 \u2014 before extracting anything, compare \u0060corant-kernel/src/main/java/org/corant/kernel/event/PostContainerReadyEvent.java\u0060 and \u0060corant-kernel/src/main/java/org/corant/kernel/event/PostCorantReadyAsyncEvent.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":"corant-kernel/src/main/java/org/corant/kernel/event/PostContainerReadyEvent.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd8078b5ffc94c72ca3e268c688904f98d3a952805d025cd55f552a3b09509b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 6): corant-modules/corant-modules-bundle/src/main/java/org/corant/modules/bundle/NoSuchBundleException.java:28-45 | corant-modules/corant-modules-bundle/src/main/java/org/corant/modules/bundle/NoSuchMessageException.java:28-45 | corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/ElasticException.java:34-70 | corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/ParseException.java:28-45 | corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/QueryRuntimeException.java:31-67 | corant-shared/src/main/java/org/corant/shared/conversion/ConversionException.java:28-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-bundle/src/main/java/org/corant/modules/bundle/NoSuchBundleException.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a741ff97f767c64c25d666f5fef3097fecc1b294130eabc6144083b0de6aec23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): corant-modules/corant-modules-jpa/corant-modules-jpa-hibernate-orm/src/main/java/org/corant/modules/jpa/hibernate/orm/HibernateMySQL8Dialect.java:29-42 | corant-modules/corant-modules-jpa/corant-modules-jpa-hibernate-orm/src/main/java/org/corant/modules/jpa/hibernate/orm/HibernateMySQLDialect.java:29-42 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-jpa/corant-modules-jpa-hibernate-orm/src/main/java/org/corant/modules/jpa/hibernate/orm/HibernateMySQL8Dialect.java\u0060 and \u0060corant-modules/corant-modules-jpa/corant-modules-jpa-hibernate-orm/src/main/java/org/corant/modules/jpa/hibernate/orm/HibernateMySQLDialect.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. 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":"corant-modules/corant-modules-jpa/corant-modules-jpa-hibernate-orm/src/main/java/org/corant/modules/jpa/hibernate/orm/HibernateMySQL8Dialect.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0176491333930ba27a473050d7aae92a1c2fb61d2690d66c6900e7090beecb81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/DomainMSSqlDriver.java:1-45 | corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/DomainOracleDriver.java:1-52 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/DomainMSSqlDriver.java\u0060 and \u0060corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/DomainOracleDriver.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 \u0060corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/DomainMSSqlDriver.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":"corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/objectstore/driver/DomainMSSqlDriver.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7e590914e240d030d103e522c54dc2e4983587613b4dea71125e0f25b4b438"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/DefaultCasNamedQuerier.java:46-60 | corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/DefaultJpqlNamedQuerier.java:46-60 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/DefaultCasNamedQuerier.java\u0060 and \u0060corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/DefaultJpqlNamedQuerier.java\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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/DefaultCasNamedQuerier.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/DefaultCasNamedQuerier.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"43364bef36d9841b1bdcdb8865cc92a1734ae3685b9896a505175f71c31800b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/crypto/jose/algorithm/ContentEncryptionAlgorithm.java:40-66 | corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/crypto/jose/algorithm/KeyManagementAlgorithm.java:54-80 \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 \u0060corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/crypto/jose/algorithm/ContentEncryptionAlgorithm.java:40\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":"corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/crypto/jose/algorithm/ContentEncryptionAlgorithm.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a074d43c51e5e0f10fab38d56aa94b90647fde88a0751b0756a362bdd534e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): corant-modules/corant-modules-servlet/src/main/java/org/corant/modules/servlet/HttpRanges.java:180-185 | corant-shared/src/main/java/org/corant/shared/ubiquity/Tuple.java:584-589 \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":"corant-modules/corant-modules-servlet/src/main/java/org/corant/modules/servlet/HttpRanges.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"13431c2e1b5e8ae4c5443cbfb8ffa902fc2798e10f4d6c82e61890462629bbee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): corant-modules/corant-modules-servlet/src/main/java/org/corant/modules/servlet/metadata/WebFilterMetaData.java:137-143 | corant-modules/corant-modules-servlet/src/main/java/org/corant/modules/servlet/metadata/WebServletMetaData.java:127-133 \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":"corant-modules/corant-modules-servlet/src/main/java/org/corant/modules/servlet/metadata/WebFilterMetaData.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0b2be615fe8e33e62e7ef736b353959c2e9a06750d7e73c1f653aac1ee8f81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/filter/SecuredContentFilter.java:66-71 | corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/filter/SecuredHeaderFilter.java:68-73 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/filter/SecuredContentFilter.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f40d678bffc54f3338480d9d0c930ac2f07c632b35a011246844478cd72fb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/SimplePermission.java:45-51 | corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/SimpleRole.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 both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/SimplePermission.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"677e5f3ff9693c4c283278a18621e7f87673d06b9893379d0335050c8850881b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/QueryStatistics.java:120-124 | corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/FetchQuery.java:175-179 | corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/QueryHint.java:123-127 | corant-modules/corant-modules-security/corant-modules-security-api/src/main/java/org/corant/modules/security/Token.java:72-76 \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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/QueryStatistics.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b743c9d3fa05ef890e1adfefd17359b41908a3e538a68423097008ad0916e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/DefaultCasNamedQuerierResolver.java:109-114 | corant-modules/corant-modules-query/corant-modules-query-elastic/src/main/java/org/corant/modules/query/elastic/DefaultEsNamedQuerierResolver.java:78-83 | corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/DefaultJpqlNamedQuerierResolver.java:95-100 | corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/DefaultMgNamedQuerierResolver.java:78-83 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/DefaultSqlNamedQuerierResolver.java:113-118 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-query/corant-modules-query-elastic/src/main/java/org/corant/modules/query/elastic/DefaultEsNamedQuerierResolver.java\u0060 and \u0060corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/DefaultMgNamedQuerierResolver.java\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/DefaultCasNamedQuerierResolver.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af10c97df3cdd7f6505841023aeaf9da59733e93257547d5bd82c96a9577785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/DefaultCasNamedQuerierResolver.java:62-70 | corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/DefaultJpqlNamedQuerierResolver.java:54-62 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/DefaultSqlNamedQuerierResolver.java:70-78 \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":"corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/DefaultCasNamedQuerierResolver.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24a11fb4d540cdaebba92970263a0f25c66edaa9cea9bffcea90a39bbcafcdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/AbstractMgNamedQueryService.java:320-328 | corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/AbstractNamedQueryService.java:197-205 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/SqlQueryTemplate.java:702-710 \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":"corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/AbstractMgNamedQueryService.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da58a71d12165e60737f5283927c6b46a0f7c200d82ff288702e4d919086957"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java:952-958 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/StreamableQueryRunner.java:103-109 \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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/JDBCTemplate.java"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97a2f8ce9448dfc5d7dd85b17e9d850a35e0c7c8200a2a686b4211855b6d950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/javascript/JavaScriptProcessor.java:52-61 | corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/kotlin/KotlinScriptProcessor.java:52-61 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/javascript/JavaScriptProcessor.java\u0060 and \u0060corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/kotlin/KotlinScriptProcessor.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/javascript/JavaScriptProcessor.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"701bbe48e1ab310e2ef09d1e12b1b2b60010339a076aa39a8fa9c11517f19b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/EvaluationContext.java:66-71 | corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/jsonexpression/JsonExpressionScriptProcessor.java:392-396 \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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/EvaluationContext.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8d4a10322cfbbec0077e8418a50063b1c3c068c22e6d7c8833e270cfca7a55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): corant-modules/corant-modules-microprofile/corant-modules-microprofile-jwt/src/main/java/org/corant/modules/microprofile/jwt/jaxrs/MpJWTAuthenticationFilter.java:122-128 | corant-modules/corant-modules-microprofile/corant-modules-microprofile-jwt/src/main/java/org/corant/modules/microprofile/jwt/jaxrs/MpJWTHttpAuthenticationMechanism.java:112-118 \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":"corant-modules/corant-modules-microprofile/corant-modules-microprofile-jwt/src/main/java/org/corant/modules/microprofile/jwt/jaxrs/MpJWTAuthenticationFilter.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4105c247a7aac99b9f32ff5fd38822f3ec9e5424f6baf44371e1bb02d49ab336"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): corant-context/src/main/java/org/corant/context/proxy/ContextualMethodHandler.java:148-153 | corant-modules/corant-modules-microprofile/corant-modules-microprofile-jwt/src/main/java/org/corant/modules/microprofile/jwt/jaxrs/MpJWTAuthorizationFilterRegistrar.java:204-209 \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":"corant-context/src/main/java/org/corant/context/proxy/ContextualMethodHandler.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91bc59ec845ad7db0826c6278f90e201f471927b5a294bcf2b13d9fc485ba46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java:169-174 | corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngines.java:16-21 \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":"corant-modules/corant-modules-lang/corant-modules-lang-javascript/src/main/java/org/corant/modules/lang/javascript/GraalJSScriptEngineService.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad457e9c8e17b991d34db27e2ae76c888d9c677ad879ab5f41a05471891af7a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java:226-234 | corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java:278-286 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java\u0060 and \u0060corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 121 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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88842a912d3a9cdc6bc2b289bd954a562086461550594c5dc1b25d5bfe20063"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): corant-modules/corant-modules-jms/corant-modules-jms-api/src/main/java/org/corant/modules/jms/send/MessageSender.java:33-39 | corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/send/DefaultMessageSender.java:81-87 \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 \u0060corant-modules/corant-modules-jms/corant-modules-jms-api/src/main/java/org/corant/modules/jms/send/MessageSender.java:33\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":"corant-modules/corant-modules-jms/corant-modules-jms-api/src/main/java/org/corant/modules/jms/send/MessageSender.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"40390417dca9430d956e21bfbbcbd2d10116f8bca22bb5de16637e049ca34d43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableListDeserializer.java:82-90 | corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableSetDeserializer.java:82-90 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableListDeserializer.java\u0060 and \u0060corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableSetDeserializer.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 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":"corant-modules/corant-modules-javafx/corant-modules-javafx-jackson/src/main/java/org/corant/modules/javafx/jackson/databind/FXObservableListDeserializer.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae4bdd9348f871fd796005ff583e1e372e6af8526848187559cc8e983ff55cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/DistPackager.java:74-80 | corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/JarPackager.java:56-62 \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":"corant-devops/corant-devops-maven/corant-devops-maven-plugin/src/main/java/org/corant/devops/maven/plugin/packaging/DistPackager.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0167c4dc5e85244b9faeffae67b1db4f5be481884265d4ecf5314cf5f15e29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): corant-modules/corant-modules-cloud/corant-modules-cloud-alibaba/src/main/java/org/corant/modules/cloud/alibaba/oss/OSSStorageService.java:168-173 | corant-modules/corant-modules-jaxrs/corant-modules-jaxrs-resteasy/src/main/java/org/corant/modules/jaxrs/resteasy/ResteasyResource.java:195-200 | corant-shared/src/main/java/org/corant/shared/resource/ByteArrayResource.java:81-86 | corant-shared/src/main/java/org/corant/shared/resource/InputStreamResource.java:111-116 | corant-shared/src/main/java/org/corant/shared/resource/PathResource.java:115-120 | corant-shared/src/main/java/org/corant/shared/resource/TemporaryResource.java:126-131 | corant-shared/src/main/java/org/corant/shared/resource/URLResource.java:135-140 | corant-shared/src/main/java/org/corant/shared/resource/WritableResource.java:48-53 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 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 8 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-shared/src/main/java/org/corant/shared/resource/WritableResource.java:48\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060corant-shared/src/main/java/org/corant/shared/resource/ByteArrayResource.java:88\u0060 calls \u0060withLocation\u0060, \u0060ByteArrayResource\u0060 and \u0060corant-modules/corant-modules-cloud/corant-modules-cloud-alibaba/src/main/java/org/corant/modules/cloud/alibaba/oss/OSSStorageService.java:174\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":"corant-modules/corant-modules-cloud/corant-modules-cloud-alibaba/src/main/java/org/corant/modules/cloud/alibaba/oss/OSSStorageService.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"824df21ee597764fb5ed70759779946bd9872e7d2d7ef8f2374c73103739b6a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): corant-context/src/main/java/org/corant/context/security/SecurityContext.java:98-103 | corant-shared/src/main/java/org/corant/shared/resource/Resource.java:153-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-context/src/main/java/org/corant/context/security/SecurityContext.java:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-context/src/main/java/org/corant/context/security/SecurityContext.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea396a4ed7b92a9fc5aecd2ea0390ed2de66b96e99b06548c5159e273f367f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): corant-shared/src/main/java/org/corant/shared/util/Lists.java:262-267 | corant-shared/src/main/java/org/corant/shared/util/Maps.java:1139-1144 | corant-shared/src/main/java/org/corant/shared/util/Sets.java:97-102 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060objects\u0060 to \u0060E...\u0060 in one and \u0060Object...\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":"corant-shared/src/main/java/org/corant/shared/util/Lists.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31fa908fc8b60bed410ad1286ead543d172fd61a68807fbf4d7b27079c29ea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): corant-modules/corant-modules-rpc/corant-modules-rpc-feign/src/main/java/org/corant/modules/rpc/feign/FeignExtension.java:44-49 | corant-modules/corant-modules-websocket/src/main/java/org/corant/modules/websocket/WebSocketExtension.java:37-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-modules/corant-modules-rpc/corant-modules-rpc-feign/src/main/java/org/corant/modules/rpc/feign/FeignExtension.java:44\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":"corant-modules/corant-modules-rpc/corant-modules-rpc-feign/src/main/java/org/corant/modules/rpc/feign/FeignExtension.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2228d861444444f6c6f0ba90c2b553031a3778dafcf93cb14cb6fff7ebc1e348"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/IdentifiablePermission.java:31-36 | corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/IdentifiableRole.java:31-36 \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 \u0060corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/IdentifiablePermission.java:31\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":"corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/IdentifiablePermission.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b635277d74510685007f1197ea91faadf36c8b7cc07fdcc143fa4a6fe4f664f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/SimplePermissions.java:53-59 | corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/SimpleRoles.java:53-58 \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":"corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/SimplePermissions.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1753cd4e68c059b26ff035e825a308e2c86ec80161f9e3b86a8d994943884f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/SimplePermissions.java:45-51 | corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/SimpleRoles.java:46-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":"corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/SimplePermissions.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6337887fdccd209e6d7bb9aaadbe4e81cbf5d15115fc0a4042f93ae9de1fb904"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/cdi/CasNamedQueryServiceManager.java:95-104 | corant-modules/corant-modules-query/corant-modules-query-elastic/src/main/java/org/corant/modules/query/elastic/cdi/EsNamedQueryServiceManager.java:93-102 | corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/cdi/JpqlNamedQueryServiceManager.java:90-99 | corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/cdi/MgNamedQueryServiceManager.java:95-104 | corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/cdi/SqlNamedQueryServiceManager.java:132-141 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. 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":"corant-modules/corant-modules-query/corant-modules-query-cassandra/src/main/java/org/corant/modules/query/cassandra/cdi/CasNamedQueryServiceManager.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e971c7f1072252662a07acbf8fe91fdbe5cc81b03a7e43e21f8a747bee3d52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): corant-modules/corant-modules-microprofile/corant-modules-microprofile-jwt/src/main/java/org/corant/modules/microprofile/jwt/MpJWTAuthenticator.java:59-65 | corant-modules/corant-modules-microprofile/corant-modules-microprofile-jwt/src/main/java/org/corant/modules/microprofile/jwt/MpJWTAuthorizer.java:56-62 \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":"corant-modules/corant-modules-microprofile/corant-modules-microprofile-jwt/src/main/java/org/corant/modules/microprofile/jwt/MpJWTAuthenticator.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3c8eba1e96e1fc1860103297bb4991e417652e9c1a6cb7602c6dee4c2fdb5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): corant-modules/corant-modules-json/src/main/java/org/corant/modules/bson/codec/URIStringCodec.java:33-41 | corant-modules/corant-modules-json/src/main/java/org/corant/modules/bson/codec/URLStringCodec.java:33-42 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/bson/codec/URIStringCodec.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"04629ff83399d669abc6f2854c2effe1a4745dfa6a6ca063d4c2c5e705f683bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): corant-modules/corant-modules-jpa/corant-modules-jpa-hibernate-ogm/src/main/java/org/corant/modules/jpa/hibernate/ogm/type/LocalDateGridTypeDescriptor.java:31-39 | corant-modules/corant-modules-jpa/corant-modules-jpa-hibernate-ogm/src/main/java/org/corant/modules/jpa/hibernate/ogm/type/LocalDateTimeGridTypeDescriptor.java:32-40 | corant-modules/corant-modules-jpa/corant-modules-jpa-hibernate-ogm/src/main/java/org/corant/modules/jpa/hibernate/ogm/type/ZonedDateTimeGridTypeDescriptor.java:32-40 \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":"corant-modules/corant-modules-jpa/corant-modules-jpa-hibernate-ogm/src/main/java/org/corant/modules/jpa/hibernate/ogm/type/LocalDateGridTypeDescriptor.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b764138706ed2d2b1f52d73c57fc1d1e675bcac20911d4033fee3e16d64c7b2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): corant-config/src/main/java/org/corant/config/CorantConfig.java:180-189 | corant-config/src/main/java/org/corant/config/CorantConfigSource.java:77-85 \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":"corant-config/src/main/java/org/corant/config/CorantConfig.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85bc90b26bcfc7b15eed4844f4e835f8bdb0415be31f7f291d19c86d043c57b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/ByteArrayPrimitiveConverterFactory.java:86-90 | corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/PrimitiveByteArrayConverterFactory.java:69-73 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/ByteArrayPrimitiveConverterFactory.java:86\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-shared/src/main/java/org/corant/shared/conversion/converter/factory/ByteArrayPrimitiveConverterFactory.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ba34d3046ff19b454f3ec2070843daebd8a8250ac0dfffc36953137a5d305b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): corant-shared/src/main/java/org/corant/shared/util/Launches.java:62-66 | corant-shared/src/main/java/org/corant/shared/util/Launches.java:155-159 \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":"corant-shared/src/main/java/org/corant/shared/util/Launches.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"78cd4f6769d8f025457615803e73e63e921e53ba26898d57f68b96578bb3bc7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/AbstractMgNamedQueryService.java:186-192 | corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/AbstractMgNamedQueryService.java:235-241 \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 \u0060corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/AbstractMgNamedQueryService.java:186\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":"corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/AbstractMgNamedQueryService.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98b401965a0cf6631e1f93b4a1a13ec2c7dddffc5b0424043b799bb05d7d363"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): corant-modules/corant-modules-query/corant-modules-query-elastic/src/main/java/org/corant/modules/query/elastic/AbstractEsNamedQueryService.java:115-119 | corant-modules/corant-modules-query/corant-modules-query-elastic/src/main/java/org/corant/modules/query/elastic/AbstractEsNamedQueryService.java:136-140 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-query/corant-modules-query-elastic/src/main/java/org/corant/modules/query/elastic/AbstractEsNamedQueryService.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a84cc599dd61b0811e77db21c45cdbb331b9a1539ce0a2ef8fec16ac2d7640"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): corant-modules/corant-modules-mvc/src/main/java/org/corant/modules/mvc/FreemarkerServletProiver.java:37-43 | corant-modules/corant-modules-mvc/src/main/java/org/corant/modules/mvc/FreemarkerServletProiver.java:51-57 \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 \u0060corant-modules/corant-modules-mvc/src/main/java/org/corant/modules/mvc/FreemarkerServletProiver.java:37\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":"corant-modules/corant-modules-mvc/src/main/java/org/corant/modules/mvc/FreemarkerServletProiver.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d990c1a9b446d7f80fd277a1eb78c99e3e876484195b269a4e620e147839bd82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAQueries.java:652-656 | corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAQueries.java:969-973 \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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAQueries.java"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"f561132e0f38cabe04c7a6e7a4abcdb9dd04c7619a171c28245992234a684e62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAService.java:95-100 | corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAService.java:164-169 \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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAService.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a21e5d3f2753234849e740f8f85a6f01ccd588ecf38c23386fd6ca3df3e8cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/MixedZhEnNGramTokenFilter.java:170-174 | corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/XEnNGramTokenFilter.java:157-161 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/MixedZhEnNGramTokenFilter.java\u0060 and \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/XEnNGramTokenFilter.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 58 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":"corant-modules/corant-modules-elastic/corant-modules-elastic-plugin/src/main/java/org/elasticsearch/index/analysis/MixedZhEnNGramTokenFilter.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c463d4c91e248cd08c3563466f78edbb660f087dcc914a30039360edfb9a63f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/metadata/resolver/ResolverUtils.java:170-175 | corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/metadata/resolver/ResolverUtils.java:262-267 \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 \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/metadata/resolver/ResolverUtils.java:170\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 \u0060ann\u0060 to \u0060EsKeyword\u0060 in one and \u0060EsText\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":"corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/metadata/resolver/ResolverUtils.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3938db5a4d5941b616b0c12c489e6d21144c74b0c80c05db324fbf6ec7dbdae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/model/SimpleDateRange.java:80-84 | corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/model/SimpleFloatRange.java:96-100 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/model/SimpleDateRange.java\u0060 and \u0060corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/model/SimpleFloatRange.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. 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":"corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/model/SimpleDateRange.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5b9a4ff1359e6c4abe691507796137f5803cff687fc4d0ad7de4932835be9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/BlockDistance.java:54-59 | corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/SquaredEuclideanDistance.java:55-60 \u2014 before extracting anything, compare \u0060corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/BlockDistance.java\u0060 and \u0060corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/SquaredEuclideanDistance.java\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/BlockDistance.java:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-dsa/src/main/java/org/corant/modules/dsa/cluster/distance/BlockDistance.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1bfed16d5a7e2901558d207ccf7e63786c675bc00a6144e6c487d8b6dc1f71"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFunc: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, 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":"corant-modules/corant-modules-json/src/test/java/org/corant/modules/json/expression/predicate/JsonExpressionTest.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9bc06eea6688a5b049bd4a44741407cbac7bf3d69ae7cd243e93fb87f9f39d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test: No conventional assertion call was detected, and 9 of 10 tests in \u0060corant-modules-security-shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-security/corant-modules-security-shared/src/test/java/org/corant/modules/security/shared/crypto/HMACProviderTest.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"decd6a401ba7f697860137696fa1bd8166bc13878fb19a274d2b208af04e4bde"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test: No conventional assertion call was detected, and 9 of 10 tests in \u0060corant-modules-security-shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-security/corant-modules-security-shared/src/test/java/org/corant/modules/security/shared/crypto/HashProviderTest.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c1537e3fd8c541cc531500fa7dc844b7602001f227fb5d932ab06f6e9fce0f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testASymmetric: No conventional assertion call was detected, and 9 of 10 tests in \u0060corant-modules-security-shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-security/corant-modules-security-shared/src/test/java/org/corant/modules/security/shared/crypto/JCACipherProviderTest.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddb77d4f84787817322bdeb0201f55da678eeac344013f92f950125cf9de1a0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSymmetric: No conventional assertion call was detected, and 9 of 10 tests in \u0060corant-modules-security-shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-security/corant-modules-security-shared/src/test/java/org/corant/modules/security/shared/crypto/JCACipherProviderTest.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd754769cdd8a71e2f339338b5da8df47bd0e198ab70b217514513bf80e93dee"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testEncryptAndDecrypt: No conventional assertion call was detected, and 9 of 10 tests in \u0060corant-modules-security-shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-security/corant-modules-security-shared/src/test/java/org/corant/modules/security/shared/crypto/JoseProviderTest.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"deefb403853704d7e9ea6bd03d21633b5aaf9e7b8e293ec1c7b55945ad4cde00"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSignAndParse: No conventional assertion call was detected, and 9 of 10 tests in \u0060corant-modules-security-shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-security/corant-modules-security-shared/src/test/java/org/corant/modules/security/shared/crypto/JoseProviderTest.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4f3ac2b94ce5e67ed29486db00f45af5d8f79b20f90435a0c1bfcec5f0ebf6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testSignEncryptAndDecrypt: No conventional assertion call was detected, and 9 of 10 tests in \u0060corant-modules-security-shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-security/corant-modules-security-shared/src/test/java/org/corant/modules/security/shared/crypto/JoseProviderTest.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82a07703c1214a36a8b731cae0f89d81f931672ed6c2caf96f11415b7e45ca9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test: No conventional assertion call was detected, and 9 of 10 tests in \u0060corant-modules-security-shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-security/corant-modules-security-shared/src/test/java/org/corant/modules/security/shared/crypto/PBKFD2ProviderTest.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6a4197ac701e99ee7027a8ba912ebb67e137073003b0b717dc09bf25f85834"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test: No conventional assertion call was detected, and 9 of 10 tests in \u0060corant-modules-security-shared\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-modules/corant-modules-security/corant-modules-security-shared/src/test/java/org/corant/modules/security/shared/crypto/SignatureProviderTest.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c38c062814fb75340fe0f707778998eb32915a36e7d08bd590fc3a42d08465d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTraverseAllSuperClasses: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, 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":"corant-shared/src/test/java/org/corant/shared/util/ClassesTest.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8acea3c589a00c8f9a65822329c0b02475936e69a6620375c4e48132eb6332"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO consider the bridge method \u0022change\u0022 visibility of base class\u0027s methods ?? \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":"corant-config/src/main/java/org/corant/config/PropertyInjector.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28312b29ebcd688ab1cab4b668fd08af6bd91269220e1201fa007ade1622462"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO consider the bridge method \u0022change\u0022 visibility of base class\u0027s methods ?? \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":"corant-context/src/main/java/org/corant/context/proxy/ProxyUtils.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"69659c4bf1013c76ad6e2e57ac3453eb7debd733e2e626c39a48399bf38171eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO consider the bridge method \u0022change\u0022 visibility of base class\u0027s methods ?? \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":"corant-context/src/main/java/org/corant/context/proxy/ProxyInvocationHandler.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbce091e6b435ebc8ccf92c305d1b987c2a3c9e545230d0c923dbaa958d4afc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO MP 2.0 \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":"corant-config/src/main/java/org/corant/config/CorantConfigValue.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"236d746df0e945b84adf4edba56232402469dc1c7babb2c9ed6db407c96c1663"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO MP 2.0 \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":"corant-config/src/main/java/org/corant/config/CorantConfigValue.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8205224f1dc186496bc2dffbeff65923d3bbdfe48a4fd2c6a59c585b8eae71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO MP 2.0 \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":"corant-config/src/main/java/org/corant/config/CorantConfigValue.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"348789d389d903e15b597b77ea2d1ef8d171d7294f98ce24bbbdca2720e3f6f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO MP 2.0 \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":"corant-config/src/main/java/org/corant/config/CorantConfigValue.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca98103e8756a62e5322815c7b36c16bad78776e42098e72e65187e9f60c0237"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO MP 2.0 \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":"corant-config/src/main/java/org/corant/config/CorantConfigValue.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c86629783d45fb122eca0468871e41c05604eea91e17bc7d4a60d540beebd1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO MP 2.0 \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":"corant-config/src/main/java/org/corant/config/CorantConfigConversion.java"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f57c4e4d288974495927121baa47b27012168004883d296a19e9265174a797"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO MP 2.0 \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":"corant-config/src/main/java/org/corant/config/CorantConfig.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c154c81eccf50bf18df4140e17d08f0461bf3fab2c555b18e527117863ab5950"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO MP 2.0 \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":"corant-config/src/main/java/org/corant/config/CorantConfig.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"159fd425be7bbc796d8f96f830b16d66e61846afc331f166b5994fefd0e0a5c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO MP 2.0 \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":"corant-config/src/main/java/org/corant/config/CorantConfig.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9781d19cda835bfbe91088e7a46cad9a8c5c472f1d4cfa13f83983d2a27a38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO MP 2.0 \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":"corant-config/src/main/java/org/corant/config/CorantConfig.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a2ea1fae27f943153f40431b4d160b32608abc60039744972c96ba5424f991"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME whether to wrap each call? \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":"corant-config/src/main/java/org/corant/config/CorantConfigSource.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdab577245281ca2bacbcd2cbabcc81dd52ccd55a87a0550a30fdebcf1ee5f16"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Use AST? \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":"corant-config/src/main/java/org/corant/config/CorantConfigExpander.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"652fc068ba3eed0ae56a0af38b600f54973a50b2eeb49225665f07fc004e0cbe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Use AST? \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":"corant-shared/src/main/java/org/corant/shared/ubiquity/StringTemplate.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b37b95d16f5d4efc1ef3a966cbb10343c0593bad2fc68794695f2b1fbfbe3c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME 6.1. Built-in Converters \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":"corant-config/src/main/java/org/corant/config/CorantConfigConversion.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c329fdc3a3c419d48a0c338899e35d8589ac79f6a5ae3e252d1393d093055e66"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME EMPTY? \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":"corant-config/src/main/java/org/corant/config/Configs.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"68199cbc90d617ed9572d30b38d8156a851afa682be982cbd7d64cd02d0da400"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME EMPTY? \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":"corant-config/src/main/java/org/corant/config/Configs.java"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d39e4b9e4992d18ffe38a35ed9cdfba5c254c57afd3d3a89db79b2ba8a746d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME trim ?? \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":"corant-config/src/main/java/org/corant/config/cdi/ConfigProducer.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"64775e9bc936acfbccbd1472f3cffa490379d1e9fe65f4a26bb1ba4182a83e52"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Is it necessary? \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":"corant-config/src/main/java/org/corant/config/cdi/ConfigExtension20.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee1c9eb315986ce5d0b8362acb9ea4ac82392d8a537c0b74a18cf55e26e8589"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Is it necessary? \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":"corant-config/src/main/java/org/corant/config/cdi/ConfigExtension.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a4ff4a3902e5b3ea85755687730711d4338678c943939dbec075ce3bf5df8d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FIXME validate config \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":"corant-config/src/main/java/org/corant/config/cdi/ConfigExtension20.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e564f2499f31f537b04c430dbe6f4317443faf6661766fd8b7e71fa0ca926cd0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FIXME validate config \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":"corant-config/src/main/java/org/corant/config/cdi/ConfigExtension.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5006cccb151022a63058277dbaab5a0fff26fe47dcb8ba1ffa0f04ccb960bd"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME NO_DFLT_VALUE \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":"corant-config/src/main/java/org/corant/config/declarative/DeclarativePattern.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"49601b23be411d93e30d754d94a0bd8f81b03b639a01e25423f30c4b64cfe0e5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment repeated across 19 files: The identical FixmeComment appears in 19 files (22 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 22 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022// FIXME\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-config/src/main/java/org/corant/config/declarative/DeclarativePattern.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85b1f71af12eb6e5ba0fd057c26204941c9c4f363784c8d0061d90ba17dea2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FIXME since we are using CDI, so the command handler bean may have qualifiers \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":"corant-context/src/main/java/org/corant/context/command/CommandExtension.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"181912c4892332530388fc8a159389e0f06a88d9654397422de30d78050a559f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FIXME, since the ManagedScheduledExecutorService extends ManagedExecutorService \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":"corant-context/src/main/java/org/corant/context/concurrent/ConcurrentExtension.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e834897ab5732a1bf0257cc1c732c28266d6acc74f5436c4c83244e377d223b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME use context service interface \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":"corant-context/src/main/java/org/corant/context/concurrent/ConcurrentExtension.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40122e4ddf99e2e5885625f14ece712ce5c810d9adf1524c5332e668331f899"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME check transaction manager CDI scope, now we assume it\u0027s application scope \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":"corant-context/src/main/java/org/corant/context/concurrent/ConcurrentExtension.java"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"1646adf0e84203f7ba5fdd13a83f0d3f7645aa21a2cb7e7f30655bfb25210a36"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME serialize the runnable task? \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":"corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedScheduledExecutorService.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01b93ec9521532a930fdb96b1f929bc2d2d767d89affb6d0597919cd8437577"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME serialize the runnable task? \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":"corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedExecutorService.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"138bc1deedfebb18773a410c5b831517c8e8e6364a61793209671b1ce9c6a486"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated constructor stub \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":"corant-context/src/main/java/org/corant/context/concurrent/executor/DefaultManagedExecutorService.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4363080d2ddb78d624c88302dc2c70a97d970b781b66d623401998fee83de4c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME the concurrency-ri doesn\u0027t handle additional information when executing task. \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":"corant-context/src/main/java/org/corant/context/concurrent/provider/ContextSetupProviderImpl.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5d632e8d70a4a448ba93af87d77fd5040d484e57b26210c33b6e0c46c80c4a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME the concurrency-ri doesn\u0027t handle additional information when executing task. \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":"corant-context/src/main/java/org/corant/context/concurrent/provider/ContextSetupProviderImpl.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f1c0fac2701867599ed956026e584f704fd472373d95189563e12f6f8370cb"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME immutable \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":"corant-context/src/main/java/org/corant/context/qualifier/TypeArgument.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ccb345f1f88c0777aa48cdca90d51a10e7862cc16f407920ccf7b68436a87fc"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX Is it possible to use configuration? \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":"corant-context/src/main/java/org/corant/context/qualifier/Qualifiers.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a05cbcfa584d69c92ee2be0c0294f6996680a42f30cfe726a024b28ece921b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME whether to wrap each call \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":"corant-context/src/main/java/org/corant/context/qualifier/Qualifiers.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"709233da0eee60315778a9c7e44647bc14865f266feacc1b9d13cac18b8a16fc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME whether to wrap each call \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":"corant-context/src/main/java/org/corant/context/qualifier/Qualifiers.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcecbd8526bffcdf24b1c1ca28be05a43c8663dd8a42d564c7bdd9705a13ce2"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME whether to wrap each call \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":"corant-context/src/main/java/org/corant/context/qualifier/Qualifiers.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"148a8a9b4040b7a09ddc46927160e28bca51c566aa1194fd6687f35642fb965d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME toString()?? \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":"corant-context/src/main/java/org/corant/context/required/StartupExtension.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fe1ecc31ba53fcce7e9820027658f6f229197121bbc3926592c3a66fb5a88c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME openJDK weak reference \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":"corant-kernel/src/main/java/org/corant/kernel/logging/LoggerFactory.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44c0c28ae2623f4d88f1c15382d44b4fe799c866238ed82908878101c4fa764"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME unmodifiable pass javac \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":"corant-modules/corant-modules-bundle/src/main/java/org/corant/modules/bundle/PropertyEnumerationSource.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eed3b1a4cf0e1871191d1ac93f27dca8aba79c5fa3d37e0e50e7be2975d539b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO validate \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":"corant-modules/corant-modules-bundle/src/main/java/org/corant/modules/bundle/PropertyEnumerationSource.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f51cf3c77b3e072501b0f59b5964466096f55498173f4681a8bc6be3ace464f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Use another ways to avoid the holder invalid or dirty \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":"corant-modules/corant-modules-bundle/src/main/java/org/corant/modules/bundle/DefaultMessageResolver.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcba8fbaaff326d2c0b5a4287b7608925aa16dd60fff47ccaaf12cc12d12a07a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Do we need to append category prefix to message keys? \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":"corant-modules/corant-modules-bundle/src/main/java/org/corant/modules/bundle/DefaultExceptionMessageResolver.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f7f5d1cb49955acfe706e74d64159c26b97ae8be22882ab971628c2774470e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME use another ways. \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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/AbstractDataSourceExtension.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5998b8d471e3f2ad2c15e2328a96be48d494185ed218c4137a6727b8d4a1edc8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME use another ways. \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":"corant-modules/corant-modules-mongodb/src/main/java/org/corant/modules/mongodb/MongoClientExtension.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"453e6188fc17592251cb5de9d695d769848ac83426e024639f7fb15bddb68ba3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME should we need to config the return CallableStatement like PreparedStatement. \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":"corant-modules/corant-modules-datasource/corant-modules-datasource-shared/src/main/java/org/corant/modules/datasource/shared/util/DbUtilQueryRunner.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c48905f47c82a54398bf0d6c2687f00db1df9e343cee51a7dceae2849ccd28b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME TODO CHECK THE REPO NAMES AND EMF NAMES \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":"corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/repository/AbstractJPARepository.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0631bf5ba3e652c8373b233a1693e338efb28cd4b95a10f55f5fa89dd88cf2"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Is it right to do so? \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":"corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/unitwork/JTARLJPAUnitOfWork.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0006674270a8d06af85280825984fc202b1752a05464c91b355c98637563d13"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Is it right to do so? \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":"corant-modules/corant-modules-ddd/corant-modules-ddd-shared/src/main/java/org/corant/modules/ddd/shared/unitwork/JTARLJPAUnitOfWork.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"944e3d441412c4f6a96c1bd143031b12c22a0491b11f38b20968df911c4662f1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME proxy error on TransportClient \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":"corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/ElasticExtension.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"45090ce97039b863efc83946f94b12fb81069bf9862d03dd26ee50e4a51891fc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Unable to generate proxy \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":"corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/service/ElasticTransportClientService.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"214f12b3896e42ec3b8691cee572afd4b4054d03e4849355871effd10cfebc1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \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":"corant-modules/corant-modules-elastic/corant-modules-elastic-data/src/main/java/org/corant/modules/elastic/data/service/AbstractElasticDocumentService.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"974605bec71244603280cac5855e0159ef813dfee58550b258dcc1a80a9213bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \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":"corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/DefaultNarayanaConfigurator.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1534c3c63fded43a5b185d929e634a56b9e92b24345104897602f0efc6e65dbf"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // @Transactional // FIXME use JTA XA, the flyway migration schema history will be rollback \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":"corant-modules/corant-modules-flyway/src/main/java/org/corant/modules/flyway/FlywayMigrator.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5281203d7b78bbc8b757a6c0f79751c646eebfca3f714f79ba689997bd50827"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO implement support of store_by_reference \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":"corant-modules/corant-modules-jcache/corant-modules-jcache-redisson/src/main/java/org/corant/modules/jcache/redisson/RedissonJCachingProvider.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60fa5deb182196bea7859a7e24d2b0a7300cea5ee91f381a42f9377f4cb65f3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Will be deprecated in next iteration \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":"corant-modules/corant-modules-jcache/corant-modules-jcache-shared/src/main/java/org/corant/modules/jcache/shared/JCacheExtension.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d424f781094ff136198e9a60877cd965589f61431c31549b108eac3ea1358f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME JNDI \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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/AbstractJMSExtension.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"154f8909684e55a705c0da35369a77c23af80640f4592514336dd1cdbf204f06"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME JNDI \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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/AbstractJMSExtension.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"502edb527afeee56d0531a8949bc06eb283d3090b6b5005ac2768bdf1f90c7f1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME If the task is closed while waiting for the connection to be established, an \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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/SimpleMessageReceiver.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a400caa4dea63e14555d8a995fabbb85507a0c69d727c2c06bda941cd48e9a6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME If the task is closed while waiting for the connection to be established, an \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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceiver.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"73577ee8db6f5be910d4995f562535d25f87f54050c48ea7d419a00feef8211a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME check receive and reply recursion \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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/MessageReceivingExecutor.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2488c9ea603818ebd44e61dfb9459ec545ea4c3ccc0e3ce941c97fdb22db8725"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME use original message or no? \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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReplier.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a07ea4d78d035bba93ce43b37b96df47e36f390abe84151cbc5b03a8a79aaa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO To be improved, when entering BROKEN mode, should exit from the executor. \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":"corant-modules/corant-modules-jms/corant-modules-jms-shared/src/main/java/org/corant/modules/jms/shared/receive/DefaultMessageReceivingTask.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38761864d9dc088fc995a58f82d03a8c4bce5a6d807fce6c97698cdac954c07"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO check if object is cdi managed bean than check its scope, \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":"corant-modules/corant-modules-jndi/src/main/java/org/corant/modules/jndi/NamingContext.java"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b9a0e0e5cda3eb85421ee51d3a0bf59b759190f2f6a461016e33e5a3614d63"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // Noop FIXME \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":"corant-modules/corant-modules-jpa/corant-modules-jpa-hibernate-ogm/src/main/java/org/corant/modules/jpa/hibernate/ogm/HibernateOgmSessionTimeService.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8685a83fe8e8952a479976dc7b006dc75e1393d5e7ffd95e3375aefda778721"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FIXME \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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAService.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d877d4134611797ff466a64f7e91db556133b1b8c0e11032955c57a48aabcca8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FIXME \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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/spi/ResultHintHandler.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6462d265cade6d26a698ecbbd432ece775964a6864b1c6dcdc9bf1328fa42b5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FIXME \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":"corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/converter/Bsons.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2caeb1052ce88a433bee8e30e405e1510eccb6931090afbde12ce293a39f9cd0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FIXME \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":"corant-modules/corant-modules-webserver/corant-modules-webserver-jetty/src/main/java/org/corant/modules/webserver/jetty/JettyWebServer.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b342407e1086ad44e81c16558127272275450d166fbfb6abe0cb1b2a76640fe0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FIXME \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":"corant-modules/corant-modules-webserver/corant-modules-webserver-jetty/src/main/java/org/corant/modules/webserver/jetty/JettyWebServer.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c780719841a9be3305e971408c50504e53ef183a1897fd20d5845be73bf5822a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FIXME \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":"corant-modules/corant-modules-webserver/corant-modules-webserver-jetty/src/main/java/org/corant/modules/webserver/jetty/JettyWebServer.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"50327abff1a42f038955d5d1456eaf88511979856d2a1c9897af3a5855bee743"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FIXME \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":"corant-modules/corant-modules-webserver/corant-modules-webserver-jetty/src/main/java/org/corant/modules/webserver/jetty/JettyWebServer.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfe2f12c137628918a9e0bb3f38c5f0656f9d8afc176c89b276fbb4e355ec5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FIXME \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":"corant-modules/corant-modules-webserver/corant-modules-webserver-jetty/src/main/java/org/corant/modules/webserver/jetty/JettyWebServer.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5978bc6a43464a2c992f1e5987f7ed3b5d906ef40681c3786a4b0596e8ec6359"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FIXME \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":"corant-modules/corant-modules-webserver/corant-modules-webserver-undertow/src/main/java/org/corant/modules/webserver/undertow/UndertowWebServer.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"3883967f70fe250ca882402ad1b47e92c519e5e70dbafdfcec0807cbf5ecd659"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FIXME validate config check data source 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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAExtension.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"222aafa4f38f3a2190c15292d1f7396dc32b0b93ce671cf71b5785057af86440"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME use provider validation \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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/JPAExtension.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fac2d83218a177eb9722dacf7ec1c14781ea7a8b1994cbba1642174e3d9b34"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME close? \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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/cdi/JPAInjectionServices.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"50301e80561f233cf5a6dd0edbc45ae82b9b04abe16669a28ffb40622ce1a91a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME close? \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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/cdi/JPAInjectionServices.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9420d34c63011adc495560e5e0ad1ae3aff0833accd3a9fb39c99778fb76b2f7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // validate(document); FIXME \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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/metadata/PersistenceXmlParser.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62a4ad714b0fc30d1904bf890f63593be56b204d7f4fd7881e6fcde1991ad19"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME hibernate only \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":"corant-modules/corant-modules-jpa/corant-modules-jpa-shared/src/main/java/org/corant/modules/jpa/shared/metadata/PersistencePropertiesParser.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddce887a15434bddad57ae503c2f6eda37f2357353ed18676a22d0fcda0428ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Hasn\u0027t started yet \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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/package-info.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"67eaaeafe7cd5ba82e3d7ae7259049223a1504d6804bfcf35682c5b62db0aab8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Hasn\u0027t started yet \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":"corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/package-info.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0dff54da9f780679853e3f34fd91d7f702a25c1c76d6806582c5e5c131aaae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Hasn\u0027t started yet \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":"corant-modules/corant-modules-redis/src/main/java/org/corant/modules/redis/package-info.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbb95cc11e7b3f4648980ac0344b40173005b8961213dae87b3f0000cbe471c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME should we allow object value node \u0026 computer node use together?? \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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/SimpleParser.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6281001d32cc2502c65f1ae3e035866e1e1c835394e5630e022e5627a07ca540"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME is array? \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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/ast/ASTObjectNode.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba5b80070cc3c8ad8784088e1ce743e29fc8924deeb915dfc141bacd920703e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME wrap? \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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/ast/ASTComparisonNode.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8b7b2ed2f2a8445a45b315576317580f3cb0eca751d00abb3a5c7e03a838da"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME wrap? \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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/ast/ASTComparisonNode.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda279788866c3c830973c65d2f76e26873f53a10220c05368fcd51937be21b9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //// FIXME Currently treated parameter type as java.lang.Object if parameter is null \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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/function/DefaultObjectFunctionResolver.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"730526d133004cac3304d26eebc1c407432e7b59ece535df8a90ea0ae0f9af21"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Unfinished yet~ \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":"corant-modules/corant-modules-json/src/main/java/org/corant/modules/json/expression/function/DefaultDateFunctionResolver.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"360f6d8848092cd38565339168be3ded2901476f26bb6af9b02179c057794e75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FIXME NOTE: initialization sequence \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":"corant-modules/corant-modules-jta/corant-modules-jta-narayana/src/main/java/org/corant/modules/jta/narayana/NarayanaExtension.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0dfa11a7b6d1ec29a3aa1a116509a944fdbfbf5606a411554e15704659c514"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO Have not finished yet \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":"corant-modules/corant-modules-jta/corant-modules-jta-xadisk/src/main/java/org/corant/modules/jta/xadisk/package-info.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"70176dfe7130c4fc17188537751979a078e57bbca6e8a6a6c9588681d51c94cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Do not add CDI beans unless @LoginConfig (or other trigger) is configured \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":"corant-modules/corant-modules-microprofile/corant-modules-microprofile-jwt/src/main/java/org/corant/modules/microprofile/jwt/cdi/MpSmallRyeJWTAuthCDIExtension.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcc81bf88e450e67d6824a846a51059a829bb36c0f96f3eb471bdce86486623"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FilterRegistration.class.getSimpleName()); FIXME version upgrade \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":"corant-modules/corant-modules-microprofile/corant-modules-microprofile-lra/src/main/java/org/corant/modules/microprofile/lra/LRAExtension.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6b9b52e3d85631ead876d43b2aa7b4ec253f1b1a67cde9d730fa28b83d030c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FIXME uncompleted \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":"corant-modules/corant-modules-quartz/corant-modules-quartz-embeddable/src/main/java/org/corant/modules/quartz/embeddable/cron/CronExpParser.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"168e5687fb044eeaae441ac7698455ab3d61fde96b5c3e10f613cf913721c3a5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME temporary \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":"corant-modules/corant-modules-query/corant-modules-query-api/src/main/java/org/corant/modules/query/mapping/Query.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"048ef1624283f0fd60adbf27ccbaa7b56d0235a4b9580bc0044d2b89033aacd0"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME throw exception or 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":"corant-modules/corant-modules-query/corant-modules-query-elastic/src/main/java/org/corant/modules/query/elastic/EsTemplateMethodModelEx.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c53bab8e7a57fcef684f1f0bcfcd051d467cd2a5a74960013d2c6ada65976a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME decide script engine \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":"corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/DefaultJpqlNamedQuerierResolver.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ded4767e837df51c5a76191d49a3a4fc23ae4de8f5087e1c385ba5cdfd5abd"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME decide script engine \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":"corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/DefaultSqlNamedQuerierResolver.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"637dcc4b926fbcba8af94535ef23529e6fe664cab27df83e4ab9651314e45414"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME close \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":"corant-modules/corant-modules-query/corant-modules-query-jpql/src/main/java/org/corant/modules/query/jpql/AbstractJpqlNamedQueryService.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"da289bc53efc1fb3010716f327e39879d0664fa39b34cd20a9fa7dbdbb994020"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Do we need to automatically close the mongodb client here \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":"corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/MongoDatabases.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a48c5d9787a722075cb448e93ebea6330f4f5e81b0e0c40d8dad7667795063"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME the internal increment values \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":"corant-modules/corant-modules-query/corant-modules-query-mongodb/src/main/java/org/corant/modules/query/mongodb/converter/Bsons.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b447cf9466aad68dcac0dd420269bbfee651ae6c85c7c44d312b592797a23ef9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME CIRCULAR NO CHECK!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! bingo \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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/QueryMappingService.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a26f322ea205a547dca47265a381a71a7a07510baecd0961a92203a18482d7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME still has not figured out \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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/QueryMappingService.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b8efb870788fc9cbc825dc8852545c9a1575c1853cf9e7267323481e179843"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // DynamicTemplateMethodModelExSql sqlTmm = new DynamicTemplateMethodModelExSql(); FIXME \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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/QueryDeveloperKits.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a5be83801fc2aa68bd35950f70f4f9fbaaae68d4168e7aa1bae68f7efe0351"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // e.setVariable(sqlTmm.getType(), sqlTmm); FIXME \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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/QueryDeveloperKits.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab08a4ac4f2917493a06c5d52696206bbbf8bb066bd92373eb762873012d7f0f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // e.setVariable(jsonTmm.getType(), jsonTmm); FIXME \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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/QueryDeveloperKits.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"729249a08c4bd395098b2883b284248291a1e0c252e48e6b6195b799aafb094f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO check whether the declarative query service fit the query define \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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/cdi/QueryExtension.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7656a30336d5f1d793094dbfbc38d391853e728a3205909d00fe14c8f39fa9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // Some database allow prepare statement use place holder FIXME \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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/SqlHelper.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d938e1d91ea68c8300f64e867688490cc0cf71853d43e4441ce71200bb4cdb8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME map class \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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/AbstractDynamicQuerier.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"025bb221e165768dfadb9e5712498723aa0ab79e21450424fbdc01829ad84b86"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Resolve TemplateHashModel \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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/freemarker/AbstractTemplateMethodModelEx.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1843ee7bd439e189739b4bcb5e8d437fedbf2e716a841f232fbefb06f720297e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME TODO the script was cached in thread local \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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/javascript/JavaScriptProcessor.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12354e99863f9507e2e57331fa04ea576a8902d74e4f95115a7de51a02941c7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME TODO the script was cached in thread local \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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/dynamic/kotlin/KotlinScriptProcessor.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fda84c75aa67f7fde66b62260347ca3745e4b50c37ae5fd184d10b00f820771"}},{"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":"corant-modules/corant-modules-query/corant-modules-query-shared/src/main/java/org/corant/modules/query/shared/spi/ResultBeanMapperHintHandler.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa78ba55ccefc0f291eb5467d90b8578aac8a91c8f60f9d0ab88ed9b7ed5064"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME use one connection for one method stack \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":"corant-modules/corant-modules-query/corant-modules-query-sql/src/main/java/org/corant/modules/query/sql/AbstractSqlNamedQueryService.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f360eeaee8cff1d39030ad3a340f99b0aa351b74fe20be1704e620b6e79026"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO unfinish \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":"corant-modules/corant-modules-rpc/corant-modules-rpc-feign/src/main/java/org/corant/modules/rpc/feign/FeignClientBean.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"908392efa66040dde633f1622a94cd5da8121d02f37b0e30187df777988ea532"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO unfinish \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":"corant-modules/corant-modules-rpc/corant-modules-rpc-feign/src/main/java/org/corant/modules/rpc/feign/FeignClientBean.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"752fe72913311d230bd7b392a584e58e4cacf5626b307e6c12492ebf77647689"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Calling an overridable method during in a constructor may result in the use of \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":"corant-modules/corant-modules-security/corant-modules-security-shared/src/main/java/org/corant/modules/security/shared/crypto/digest/AbstractPBKDF2Provider.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c468cf875286299c5ab10a00ea5dfa4145d3276582ffb4f4710708a25ca445a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO use jandex to find out web meta data \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":"corant-modules/corant-modules-servlet/src/main/java/org/corant/modules/servlet/WebExtension.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfb7682c18e0701b3a717a54873c1f5f77afea695a2bd9b476af4d4c5f57f85"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo how to handle \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":"corant-modules/corant-modules-vertx/corant-modules-vertx-jaxrs/src/main/java/org/corant/modules/vertx/jaxrs/ResteasyJaxrsVerticle.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa388ae816b68d5b2453421f2a031c1a45fe93daea9aa5aaee33fd819126fa58"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME initialize parameter \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":"corant-shared/src/main/java/org/corant/shared/conversion/Converters.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa21c1dbcf2fee99e307bf748c10ff64c6bc3fd8a3c7f84a7c73770b21f6b27d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME consider other ways \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":"corant-shared/src/main/java/org/corant/shared/conversion/ConverterRegistry.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a9dbd1fdbfb76c083959f63d2b2c49bd7c473b14d8ccb4dabed59cffce4abe"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME consider other ways \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":"corant-shared/src/main/java/org/corant/shared/conversion/ConverterRegistry.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdbb1e327907a9dbe4451be06470889b3f5fd91a108043653b50c99dd5d109a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME ONLY SUPPORT US \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":"corant-shared/src/main/java/org/corant/shared/conversion/converter/StringDateConverter.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe33916a4d563a4e3eaebfec7149a03b27f07faab503f5b156b10b7d66978f8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME supports OctalDigits \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":"corant-shared/src/main/java/org/corant/shared/conversion/converter/AbstractNumberConverter.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5ea068dacbc0c18ed600cac88eba5308ca19f5a5adbb93a77058e7bcd9acb6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME get version from /META-INF/MANIFEST.MF \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":"corant-shared/src/main/java/org/corant/shared/normal/Defaults.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33b8ee99300e8aea653bc0c318c0bbf86a8f641e212eb22aae5f5c5ceeadd1e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME URI hq \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":"corant-shared/src/main/java/org/corant/shared/resource/URLResource.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"748eb92b87ced7a4eff7b9a8f02b04164132467e5d2b80ea639a6382c5c86c0e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME Ignored error status of call \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":"corant-shared/src/main/java/org/corant/shared/resource/LimitedStream.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a78df68e379304fc9d3eaec17fe65a48a37bc87138f420fbd1dd8fab64244ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: save a .clone() call \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":"corant-shared/src/main/java/org/corant/shared/util/Types.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2740d8cda256e314c9a94a1bdf0e9903a3b54a96b731c54805aa1870d73ab212"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test subclasses of Properties! \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":"corant-shared/src/main/java/org/corant/shared/util/Types.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f832ea38cf1eb1aec6fa262f24cc6235cafbfbc698f67f3bf0065446d6bd4ec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: strip wildcards? \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":"corant-shared/src/main/java/org/corant/shared/util/Types.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"23de372712f2f6af113e02610a364b68409cfdc6d19ff2883244aa5c014d586e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME context propagation \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":"corant-shared/src/main/java/org/corant/shared/util/Threads.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94ab464316c0dd86a32e19c9c215c3788a124b8f32248bde296939e85450c57"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no installation or build instructions: The README states JDK 11\u002B is required but does not give Maven build instructions or a setup guide for the project. Add a short \u0027Getting started\u0027 section covering how to run the project with Maven, specifying JDK version and any prerequisites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa6bfcd5c6ae231d1b8ee99bced50b832d1f61cde9da6cbb533467b879a57db"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no usage examples: The architecture outline lists Corant projects but there is no usage example showing how to create or run a JAX-RS component. Add a \u0027Getting started\u0027 section that walks through creating and running an application, referencing the corant-boms project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1355eb4e127a4bc9236772ce1c46f09510aa9286e7a06d1e47f308229df19049"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"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":"ddc49ef52c93f5d89390c80bf8f0444bb97743496eeea781d1b7fcf904a3ea48"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"565cb0a25235d1502010c8d34a025c6ae5aeb826c7d5e305b97bb45399050c67"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9517cc4ae56162be6ef5c2593f4757b2854c319ee602e4c89f34f65769f92a5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fdd80ff4efa055538dc59aafc5e380459b7d05030fbc7ee936f19fa678b3e896"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"693249723480b7d3690fbc9002e4acaa2fd5c4f5277d52948268b51530c89d1e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3bfe1342b2b2ff7ec30198c5be7e878786f57df0b5165ac1d200ed7af2efb121"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8f1206e704a6c6e0a4e469480bfcb997007068d6bc715e841be32ce3febb528"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1b966c70d2e5f6ab697ac6d268d54938c60e802d8ea58ea6ff9cb7e10a35f70"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b045f06583c9b465f808666ab807bb301b75e163408a0670ffe050a381f461f6"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d525abdbb2395a4cf79dda9093f05be007c5a85f6b512d3e8bf6dd927343b191"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"865c1256b0af6cac7fabd52ec1703a6840a81e82c2cc09619e5e78e47af02756"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"616b737b7edfc492c0f95957a7674b531f8c9dfa21ac18b72b273e96686b0c29"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0e25c98241ad4d6e148b963d360d575fdb4be10d223cdca51fc8ba65e77b701"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b4b4dc384bf97dadfc0cf20db5a7afe7aca67889c03fab4fc58ea536237e313b"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"167ffed78a6cf800e71eecbdcb553de541aebfda7391e760d0cd919010536b3f"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87c36c22295eb25a74183d2b0829467b1fee9b4c9c54cbcadc3c9f74ef267ea3"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a07ea385f3c33eb66d794cc1a532171603bb59f2427fc2089054115b28998296"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d4e050aa39e933ef59b07c491a4a9afc925c66058d3a8c05703890ec59737508"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5fca7eb1e7298a2615267821615aa5eeb20eb440796556617864883b1b1c5ded"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bcb429cfee2fe3d1a2f97658626d73a2b773c5df9dbf94893e4e634d8ff568e5"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0af1081c144e15621ad4d661eb9e580b29a3b807e22d8e90390ff0ac1d5e4146"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"3070c1d4c8d231bfea7d1b1a91ffca1bb4250b91b480c0da1cb0608d939d3b84"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"9cdf3892853976e7eefa0cd3acbcee95a06174e1711360d500ca264dea566127"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 639 of 639 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 639 separate risks. Counted over 639 of the 1388 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-shared/src/main/java/org/corant/shared/util/Chars.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"859e98d1336a48d46f2be60aeec99a5cfbf56422cfec207e767f3130db610a8c"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-shared/src/main/java/org/corant/shared/util/Maps.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5768b674ad45cf88f636db00e4ff36f33fc63de7154bc5e3e1b0fd10deddb92e"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-shared/src/main/java/org/corant/shared/util/Strings.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae7d2927ac438e81137b6fe89ce3022ec96ce84175d98f170c4b0b581f03fdd"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Lists.java \u2194 Sets.java: \u0060corant-shared/src/main/java/org/corant/shared/util/Lists.java\u0060 and \u0060corant-shared/src/main/java/org/corant/shared/util/Sets.java\u0060 change together 71% of the time (10 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060f6862f22\u0060 No message; \u00603a8d3e45\u0060 No message; \u00606e598e22\u0060 No message \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corant-shared/src/main/java/org/corant/shared/util/Lists.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54d198479ce7dc36e5157633f6a1cb128bdedff610bc5ecb33bb5b009d1c327"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d068c977b62d9a977df1bb6f53e8b00b586c3abee955f91d715f92b8e019d624"}},{"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":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"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":"M4","level":"note","message":{"text":"README/code drift: README advertises Docker containerisation, but no Dockerfile/compose file exists \u2014 searched for: \u0060dockerfile\u0060, \u0060docker-compose\u0060, \u0060compose.yaml\u0060, \u0060compose.yml\u0060. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README\u0027s own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read \u2014 a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d116e696b89ee5b5606de54018788ae795afe8387ffcf59a3c5f5c024f4aec80"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README advertises a microservices architecture, but the repo is a single project with no service manifests \u2014 searched for: \u0060microservice\u0060, \u0060service-mesh\u0060, \u0060istio\u0060. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README\u0027s own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read \u2014 a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9e4db04085cb806caef5067b2ba9c011d311ec1976733a1fa6d8b09ed6b80b3a"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"CWE-1104","shortDescription":{"text":"CWE-1104"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"CWE-1329","shortDescription":{"text":"CWE-1329"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.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-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.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-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"CWE-295","shortDescription":{"text":"CWE-295"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"CWE-328","shortDescription":{"text":"CWE-328"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"CWE-502","shortDescription":{"text":"CWE-502"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"CWE-522","shortDescription":{"text":"CWE-522"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"CWE-532","shortDescription":{"text":"CWE-532"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"CWE-611","shortDescription":{"text":"CWE-611"},"helpUri":"https://cwe.mitre.org/data/definitions/611.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":29,"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."]}]}