{"$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":"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":"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":"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":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"NumberIndexConverter.query (cyclomatic 31): NumberIndexConverter.query has cyclomatic complexity 31 (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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea14ebefb2578094a48045e414c939772d56a2a0ae71c111e113ed4b702a75c6"}},{"ruleId":"D1","level":"warning","message":{"text":"NumberIndexConverter.query (cyclomatic 31): NumberIndexConverter.query has cyclomatic complexity 31 (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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3349cf6f85d15e605dac0ff3fcc320ee37204b191caa764d56e8f5336876d0b4"}},{"ruleId":"D1","level":"warning","message":{"text":"VariableDefinition.getValue (cyclomatic 31): VariableDefinition.getValue has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/VariableDefinition.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8707ca2442b0f73ae16e080aa074e2d8593da322a0b670e1fa9d5f19aaf3688c"}},{"ruleId":"D1","level":"warning","message":{"text":"NumberConverter.readValueFrom (cyclomatic 31): NumberConverter.readValueFrom has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/NumberConverter.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"de25d92c0e48cd28b1b6c7f0e593f3aa7e4334aef177582da636b2079d96bda8"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertyFormatAdapter.process (cyclomatic 28): PropertyFormatAdapter.process 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":"jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d889b6052dcf2e97e4b6337ada4d5d604bd6fe2e036e333d676c1cd4d8e9682"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertyFormatAdapter.process (cyclomatic 28): PropertyFormatAdapter.process 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":"jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"26094d3cd9adf4ae974e6dad23f3e41f9985693ac2cdafa1df3d64145d025c66"}},{"ruleId":"D1","level":"warning","message":{"text":"LunisolarExpression.getPreviousDateTime (cyclomatic 27): LunisolarExpression.getPreviousDateTime 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc3e2d44d53d5f3785b301a13b437c54d905ee4c0c1d993396a16c54252cdfb"}},{"ruleId":"D1","level":"warning","message":{"text":"NumberConverter.writeValueTo (cyclomatic 26): NumberConverter.writeValueTo has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/NumberConverter.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f81889eeff4842553c81973ba52df942b525ceb58bc14f4911cf10718d7a82a"}},{"ruleId":"D1","level":"warning","message":{"text":"LunisolarExpression.getNextDateTime (cyclomatic 25): LunisolarExpression.getNextDateTime 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1962a4dd0333de7f78ef03c69345e8a82ceb9dd84fa859bced19aecd8e77c64"}},{"ruleId":"D1","level":"warning","message":{"text":"CsvUtility.readValue (cyclomatic 24): CsvUtility.readValue has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2af989bb20584c63f78a120ae30c45891f6d70046948ad125bee6cbf17388b"}},{"ruleId":"D1","level":"warning","message":{"text":"CsvUtility.writeValue (cyclomatic 24): CsvUtility.writeValue has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c1afe6e8a0dd54ef347b5a4404ea0c4e03883decb84648ae342ea4d469bfc5"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassDefinition.instanceOf (cyclomatic 24): ClassDefinition.instanceOf has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/specification/ClassDefinition.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68524b71a3e6d6417de3c5c6d057aae06be922a9639c049a3b97bc3fa2a5637"}},{"ruleId":"D1","level":"warning","message":{"text":"MigrationReadTask.call (cyclomatic 22): MigrationReadTask.call has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eefe5c8572234ce20f69401e1ad0cb1a830be1b307e5d4b3780582c1592ad52"}},{"ruleId":"D1","level":"warning","message":{"text":"BerkeleyManager.queryIdentities (cyclomatic 22): BerkeleyManager.queryIdentities has cyclomatic complexity 22 (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. This shape REPEATS in the file: one other method here (BerkeleyManager.queryInstances) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1261760c9fe5b9ae913734b285f3aeb35c9075bba4e57747c6ba8d6c1af392b3"}},{"ruleId":"D1","level":"warning","message":{"text":"BerkeleyManager.queryInstances (cyclomatic 22): BerkeleyManager.queryInstances has cyclomatic complexity 22 (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. This shape REPEATS in the file: one other method here (BerkeleyManager.queryIdentities) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3fc41608d23281c9f216e43b763a2fac2476968ddb0eac3d41bf8ce073f04d"}},{"ruleId":"D1","level":"warning","message":{"text":"MigrationReadTask.call (cyclomatic 22): MigrationReadTask.call has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"523f3d3c9ec99591c6d6eaedcbde49ccbc9a4792ea41ccd7fc50f8280bfd2db2"}},{"ruleId":"D1","level":"warning","message":{"text":"BerkeleyManager.queryIdentities (cyclomatic 22): BerkeleyManager.queryIdentities has cyclomatic complexity 22 (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. This shape REPEATS in the file: one other method here (BerkeleyManager.queryInstances) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36e9093a00adb283577e849de44a667c9f0d30cd968330d0e04098caf673bd9"}},{"ruleId":"D1","level":"warning","message":{"text":"BerkeleyManager.queryInstances (cyclomatic 22): BerkeleyManager.queryInstances has cyclomatic complexity 22 (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. This shape REPEATS in the file: one other method here (BerkeleyManager.queryIdentities) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fa6885217c334bbafa827c4e51d1abdead309c35e502c5083312465bf79742"}},{"ruleId":"D1","level":"warning","message":{"text":"LunarExpression.getNextDateTime (cyclomatic 21): LunarExpression.getNextDateTime 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e453ad4d65583a70b03a22ef75ceb1a41fde8d4d56745b7a953d62915faee51"}},{"ruleId":"D1","level":"warning","message":{"text":"LunarExpression.getPreviousDateTime (cyclomatic 21): LunarExpression.getPreviousDateTime 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"c864c41542dd7f8eb51516abea3cb53a05ba6a356a8285c1ced335e5b1bc56b2"}},{"ruleId":"D1","level":"warning","message":{"text":"SolarExpression.getNextDateTime (cyclomatic 21): SolarExpression.getNextDateTime 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c41bee6bf1532aa67a798cdad8f01958b8181aa0e6834e9a28b5b99d82708d"}},{"ruleId":"D1","level":"warning","message":{"text":"SolarExpression.getPreviousDateTime (cyclomatic 21): SolarExpression.getPreviousDateTime 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"34970db572c0ddd620326f764d2b010b161cb415ddff396850102523835247b8"}},{"ruleId":"D1","level":"warning","message":{"text":"PersistenceElement.modify (cyclomatic 20): PersistenceElement.modify 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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PersistenceElement.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dffa8c46521d34f13ba538e7db53070a1f64d76720cf197930ec1853a7612a0"}},{"ruleId":"D1","level":"warning","message":{"text":"ArrayIndexConverter.convert (cyclomatic 19): ArrayIndexConverter.convert 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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e799d2c0c11414cbeccea70f4a022a0651f11aaecedabfda4826043732fa35"}},{"ruleId":"D1","level":"warning","message":{"text":"ArrayIndexConverter.convert (cyclomatic 19): ArrayIndexConverter.convert 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2462376def52e80c26449e3cf652191b69bbc8e3d0f0740773e94ea08062828d"}},{"ruleId":"D1","level":"warning","message":{"text":"OutputDefinition.instanceOf (cyclomatic 19): OutputDefinition.instanceOf 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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/OutputDefinition.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7396510aae66cff8f89f692d4c51f7ddff5bd633a40a5f8f55d218a5a959403"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassMatcher.match (cyclomatic 19): ClassMatcher.match 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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/specification/ClassMatcher.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a894b3c1078942e7c045029be03fa755abc8468524c25c8ad392c74e884e172e"}},{"ruleId":"D1","level":"warning","message":{"text":"InputDefinition.instanceOf (cyclomatic 18): InputDefinition.instanceOf 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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/InputDefinition.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a259e8e353118db07eae68150d94bd51702874054c52815316ae9d9f1e90a25"}},{"ruleId":"D1","level":"warning","message":{"text":"SolarExpression.getDays (cyclomatic 18): SolarExpression.getDays 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55aa4d2da3aee9b9725666925e7a7773ee5af89b4a0c723a9a7a86894b7fc6f"}},{"ruleId":"D1","level":"warning","message":{"text":"NumberUtility.convert (cyclomatic 18): NumberUtility.convert 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/NumberUtility.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba109b0a0ad894fef55ae598b35f209d339d942665438e9bc95d5a7e37fa4dbc"}},{"ruleId":"D1","level":"warning","message":{"text":"NumberUtility.convert (cyclomatic 18): NumberUtility.convert 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/NumberUtility.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c801db5ea6ad9a833a6146ba1587016269774858991741e83ffef505c5ee662d"}},{"ruleId":"D1","level":"warning","message":{"text":"NumberConverter.readValueFrom (cyclomatic 18): NumberConverter.readValueFrom 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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/NumberConverter.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f158d70715d66768b7a19ecf2c9664168ac775fd9ad80077a12b1c2c73880756"}},{"ruleId":"D1","level":"warning","message":{"text":"FileMemorandum.checkOut (cyclomatic 16): FileMemorandum.checkOut 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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e01e9708078e8f60f0932568a03df0b26b0f63880688d094ac9ff5962441dc"}},{"ruleId":"D1","level":"warning","message":{"text":"FileMemorandum.clean (cyclomatic 16): FileMemorandum.clean 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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbd03543a264f53c9f8437aa1c4570c5e33319957a3a4c0ee861f67e59126c1"}},{"ruleId":"D1","level":"warning","message":{"text":"FileMemorandum.checkOut (cyclomatic 16): FileMemorandum.checkOut 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d18540bfe08df68e1f6aeb1fe4276433726acbdf3229fe65972f286c151ae0e"}},{"ruleId":"D1","level":"warning","message":{"text":"FileMemorandum.clean (cyclomatic 16): FileMemorandum.clean 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad6bbbfe057da3cc76342232e79727561f8ea2dcd2a0b58c106878a003c42ec"}},{"ruleId":"D1","level":"warning","message":{"text":"XlsxProcessor.endElement (cyclomatic 16): XlsxProcessor.endElement has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5456b47802726715fbe06e38bb0b49a1d4928fad3d8d2b479eee8ec03942a9"}},{"ruleId":"D1","level":"warning","message":{"text":"XlsxProcessor.endElement (cyclomatic 16): XlsxProcessor.endElement has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3470177033e06391e7b0d125ea2acf9e8dbcc2e0a0e551873f8a0af9ceb50d"}},{"ruleId":"D1","level":"warning","message":{"text":"XlsxProcessor.endElement (cyclomatic 16): XlsxProcessor.endElement has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"6704949a63de890ede53636316b6176c1f4452cc0d6ff237fb642ad6191ee06a"}},{"ruleId":"D1","level":"warning","message":{"text":"CommunicationXmlParser.parseInternal (cyclomatic 16): CommunicationXmlParser.parseInternal has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5cd1902a97d2484a9cde67255199462afb86e46e882a6f1b345a123dd0d2cd"}},{"ruleId":"D1","level":"warning","message":{"text":"NumberConverter.writeValueTo (cyclomatic 16): NumberConverter.writeValueTo 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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/NumberConverter.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbdb261a0617a2cdad3f87f7fb100bab95a08a08f0511d2fbd8abee227a7bd5"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertyFormatAdapter.process (cognitive 128): PropertyFormatAdapter.process has cognitive complexity 128 (threshold 15). Drivers by points: if/else 29 (105 pts), loops 3 (18 pts), ternaries 1 (5 pts) (nesting depth added 95). 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":"jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c18cb90bbd5f38ee1ef0f5a74ebdd895e329e3307f177b23394483f7124a6a8"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertyFormatAdapter.process (cognitive 128): PropertyFormatAdapter.process has cognitive complexity 128 (threshold 15). Drivers by points: if/else 29 (105 pts), loops 3 (18 pts), ternaries 1 (5 pts) (nesting depth added 95). 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":"jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c29b211558d58a275416890cd113edfcaaa460ccc9f1b885b04aa02fd147f9"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassDefinition.instanceOf (cognitive 85): ClassDefinition.instanceOf has cognitive complexity 85 (threshold 15). Drivers by points: if/else 17 (67 pts), loops 4 (15 pts), boolean chains 3 (nesting depth added 61). 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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/specification/ClassDefinition.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee1c8db2eca8c99a17d24f2b3c788f07454c6ab17703bd2cb1206d0b19e4333"}},{"ruleId":"D2","level":"warning","message":{"text":"NumberConverter.readValueFrom (cognitive 84): NumberConverter.readValueFrom has cognitive complexity 84 (threshold 15). Drivers by points: ternaries 8 (41 pts), if/else 17 (35 pts), boolean chains 8 (nesting depth added 51). 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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/NumberConverter.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1b3e51b0c77bd71da3d94421e165c67b0637ba71172965b8fba22b39681306"}},{"ruleId":"D2","level":"warning","message":{"text":"VariableDefinition.getValue (cognitive 79): VariableDefinition.getValue has cognitive complexity 79 (threshold 15). Drivers by points: if/else 31 (61 pts), error handling 5 (15 pts), boolean chains 2, match/switch 1 (nesting depth added 40). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/VariableDefinition.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb945400485f08483a79a29cf1b1f1f7234854404ce21bdb23120afba986bfe"}},{"ruleId":"D2","level":"warning","message":{"text":"NumberConverter.writeValueTo (cognitive 72): NumberConverter.writeValueTo has cognitive complexity 72 (threshold 15). Drivers by points: if/else 29 (66 pts), boolean chains 6 (nesting depth added 37). 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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/NumberConverter.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8a1facb87efeb313b3aaa06da734593b506d21b422187f702ba0d421ed5757"}},{"ruleId":"D2","level":"warning","message":{"text":"LunisolarExpression.getPreviousDateTime (cognitive 58): LunisolarExpression.getPreviousDateTime has cognitive complexity 58 (threshold 15). Drivers by points: if/else 23 (52 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 30). 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"b338811c0ad3298856aa460e2cd067206deff4f775a5bca41fc00ea1fa06deab"}},{"ruleId":"D2","level":"warning","message":{"text":"NumberIndexConverter.query (cognitive 49): NumberIndexConverter.query has cognitive complexity 49 (threshold 15). Drivers by points: if/else 25 (31 pts), loops 4 (17 pts), match/switch 1 (nesting depth added 19). 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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f4c7993f9eda0a267cfdad6c1a4ab46676b93dd63b579eb623c77ed5b86d07"}},{"ruleId":"D2","level":"warning","message":{"text":"NumberIndexConverter.query (cognitive 49): NumberIndexConverter.query has cognitive complexity 49 (threshold 15). Drivers by points: if/else 25 (31 pts), loops 4 (17 pts), match/switch 1 (nesting depth added 19). 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b69ef9eb8dcc64305bc595fce3c181a84911b566c45a6bca40a880f1a755be5"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassMatcher.match (cognitive 49): ClassMatcher.match has cognitive complexity 49 (threshold 15). Drivers by points: if/else 14 (38 pts), loops 3 (10 pts), boolean chains 1 (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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/specification/ClassMatcher.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"205392f50c127431989e1e125843ecfd9348ac13fd9ea90c68526a0a0cc531d3"}},{"ruleId":"D2","level":"warning","message":{"text":"LunisolarExpression.getNextDateTime (cognitive 48): LunisolarExpression.getNextDateTime has cognitive complexity 48 (threshold 15). Drivers by points: if/else 21 (42 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"d301c260b342f2892bca04aceaf22862544da970641e5707495b94b93ddbdc70"}},{"ruleId":"D2","level":"warning","message":{"text":"CsvUtility.readValue (cognitive 47): CsvUtility.readValue has cognitive complexity 47 (threshold 15). Drivers by points: if/else 23 (39 pts), loops 3 (6 pts), boolean chains 1, error handling 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f4065706ad0acf865552d1a96df9281ba078274ed9ce060e6bb92003c4f81b"}},{"ruleId":"D2","level":"warning","message":{"text":"CsvUtility.writeValue (cognitive 47): CsvUtility.writeValue has cognitive complexity 47 (threshold 15). Drivers by points: if/else 23 (39 pts), loops 3 (6 pts), boolean chains 1, error handling 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"516baf52f9d66d84e00361775a37cb1d0c7876595ff849abfb49cc6813c0e6f0"}},{"ruleId":"D2","level":"warning","message":{"text":"NumberConverter.writeNumber (cognitive 44): NumberConverter.writeNumber has cognitive complexity 44 (threshold 15). Drivers by points: if/else 8 (19 pts), ternaries 2 (13 pts), loops 2 (12 pts) (nesting depth added 32). 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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/NumberConverter.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1de5c8c8f9e05de8bce0e049288a2c017f6c3d39d5d1391687002d70763ff99"}},{"ruleId":"D2","level":"warning","message":{"text":"LunarExpression.getPreviousDateTime (cognitive 42): LunarExpression.getPreviousDateTime has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (38 pts), loops 2 (3 pts), ternaries 1 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edbce78f15d4bbb3a93eda78507b8c4596de03a03e5718fb8d0409ad06e7fc9"}},{"ruleId":"D2","level":"warning","message":{"text":"SolarExpression.getPreviousDateTime (cognitive 42): SolarExpression.getPreviousDateTime has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (38 pts), loops 2 (3 pts), ternaries 1 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"4707f71a4a318d11165a08cdb9af9a65e70f499c279e9a593f11f7210b9052b1"}},{"ruleId":"D2","level":"warning","message":{"text":"SolarExpression.getDays (cognitive 41): SolarExpression.getDays has cognitive complexity 41 (threshold 15). Drivers by points: if/else 7 (21 pts), ternaries 2 (9 pts), loops 2 (7 pts), boolean chains 3, match/switch 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d71b88417315461cc631c523023b67e78be2f81e2977cfdb76db0a0498c67d2"}},{"ruleId":"D2","level":"warning","message":{"text":"SensitivityQueue.poll (cognitive 40): SensitivityQueue.poll has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (35 pts), ternaries 1 (4 pts), loops 1 (nesting depth added 26). 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/SensitivityQueue.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7313aa6dd2662173ad606e294bce2926a400d32922e7bbd7252716010c5a897"}},{"ruleId":"D2","level":"warning","message":{"text":"LunarExpression.getNextDateTime (cognitive 39): LunarExpression.getNextDateTime has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (35 pts), loops 2 (3 pts), ternaries 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07aeb5f5463c0046723001b529f1cae68e2a5ac14ca6e455121ebedc5a95254"}},{"ruleId":"D2","level":"warning","message":{"text":"SolarExpression.getNextDateTime (cognitive 39): SolarExpression.getNextDateTime has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (35 pts), loops 2 (3 pts), ternaries 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff59c40864ca4059b1aaf0c66a9975a2a0d38fcd605d7395d5cd279328c08708"}},{"ruleId":"D2","level":"warning","message":{"text":"SolarExpression.setWeeks (cognitive 38): SolarExpression.setWeeks has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (33 pts), loops 2 (5 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"17966e6a8f278ef2023bc3cf394fc6b6e59a7000bd44342061e8e08bb1ce6b73"}},{"ruleId":"D2","level":"warning","message":{"text":"BerkeleyManager.queryIdentities (cognitive 37): BerkeleyManager.queryIdentities has cognitive complexity 37 (threshold 15). Drivers by points: loops 13 (33 pts), if/else 1 (3 pts), match/switch 1 (nesting depth added 22). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (BerkeleyManager.queryInstances) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4417d34826b2e62eaef23e55c27460d6904b50397d4d997790ab8e1e7630548c"}},{"ruleId":"D2","level":"warning","message":{"text":"BerkeleyManager.queryInstances (cognitive 37): BerkeleyManager.queryInstances has cognitive complexity 37 (threshold 15). Drivers by points: loops 13 (33 pts), if/else 1 (3 pts), match/switch 1 (nesting depth added 22). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (BerkeleyManager.queryIdentities) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07f03ec239a7c60066e67ae9508fd55687fd6a1f1450124fc8f0726d072ef91"}},{"ruleId":"D2","level":"warning","message":{"text":"BerkeleyManager.queryIdentities (cognitive 37): BerkeleyManager.queryIdentities has cognitive complexity 37 (threshold 15). Drivers by points: loops 13 (33 pts), if/else 1 (3 pts), match/switch 1 (nesting depth added 22). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (BerkeleyManager.queryInstances) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d212cf0262f70d7d8db9727d2e4379f55331bd8236f4fbb3f802f0763b51c60"}},{"ruleId":"D2","level":"warning","message":{"text":"BerkeleyManager.queryInstances (cognitive 37): BerkeleyManager.queryInstances has cognitive complexity 37 (threshold 15). Drivers by points: loops 13 (33 pts), if/else 1 (3 pts), match/switch 1 (nesting depth added 22). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (BerkeleyManager.queryIdentities) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da1b6c0a6e8de8a1d9852a709dcf2b29edb70d778ff01eb34497a3381a75b26"}},{"ruleId":"D2","level":"warning","message":{"text":"CommunicationXmlParser.parseInternal (cognitive 37): CommunicationXmlParser.parseInternal has cognitive complexity 37 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 4 (13 pts), error handling 2 (7 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"28893ec26c676557ff64220313350d379ba1926d2600b430858cb7e8f6f19265"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrayIndexConverter.convert (cognitive 36): ArrayIndexConverter.convert has cognitive complexity 36 (threshold 15). Drivers by points: if/else 18 (33 pts), loops 1 (3 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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"614f8bafac22440f4fcac8d8ccb4e4472371bf76b02e004f7de5d1664f8bbb60"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrayIndexConverter.convert (cognitive 36): ArrayIndexConverter.convert has cognitive complexity 36 (threshold 15). Drivers by points: if/else 18 (33 pts), loops 1 (3 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4991e187ac06728054353708198830007b46e9a831aecbcc88e7ef55394a6bf4"}},{"ruleId":"D2","level":"warning","message":{"text":"EventThread.run (cognitive 34): EventThread.run has cognitive complexity 34 (threshold 15). Drivers by points: error handling 3 (12 pts), if/else 3 (12 pts), loops 3 (7 pts), match/switch 1 (3 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":"jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2126e254bbf43a16a3f18baf4de1123c682010633821d862548b70ff025f0e6a"}},{"ruleId":"D2","level":"warning","message":{"text":"EventThread.run (cognitive 34): EventThread.run has cognitive complexity 34 (threshold 15). Drivers by points: error handling 3 (12 pts), if/else 3 (12 pts), loops 3 (7 pts), match/switch 1 (3 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":"jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf53f38a26ab90b72e3a07956642433fc7b0c68e68b850d518ce3754ec2bb9f"}},{"ruleId":"D2","level":"warning","message":{"text":"FileMemorandum.clean (cognitive 32): FileMemorandum.clean has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 5 (8 pts), boolean chains 1, error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b16a719e5a2ca0117810b2ac53ce56ad8f34c2ca56ead4577844b69edaae99"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrationReadTask.call (cognitive 32): MigrationReadTask.call has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 5 (7 pts), boolean chains 3, error handling 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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c35f4bc5076accf111a4e7b44af8639b311f492adaa67fd873fe0d5f3fdb03"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrationReadTask.call (cognitive 32): MigrationReadTask.call has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 5 (7 pts), boolean chains 3, error handling 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a096b7211a5bf7f5b0138a73faef9a370c05985cd5d5e0e13de5a24dfef6bb84"}},{"ruleId":"D2","level":"warning","message":{"text":"FileMemorandum.clean (cognitive 32): FileMemorandum.clean has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 5 (8 pts), boolean chains 1, error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a4f55d797a5253cab7fe8b6c52887fdde6d7d865f5bb35d4e843b959712760"}},{"ruleId":"D2","level":"warning","message":{"text":"ChainLockableStrategy.getLock (cognitive 32): ChainLockableStrategy.getLock has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 4 (10 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/lockable/ChainLockableStrategy.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfbecf18149b57650893b8958cc0ba29ec506ffe426f31e8132e4f6cda4e1d1"}},{"ruleId":"D2","level":"warning","message":{"text":"HashLockableStrategy.getLock (cognitive 32): HashLockableStrategy.getLock has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 4 (10 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/lockable/HashLockableStrategy.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f114a376cf6e21bdf8749b508f907de77768d6c0fe444db84e375750e1335cc"}},{"ruleId":"D2","level":"warning","message":{"text":"NumberConverter.readValueFrom (cognitive 29): NumberConverter.readValueFrom has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 6 (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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/NumberConverter.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"33918d65ef0f4f9c8b8b23bc78f65efd8f00062663fda703722451312ab28c27"}},{"ruleId":"D2","level":"warning","message":{"text":"FileMemorandum.checkOut (cognitive 28): FileMemorandum.checkOut has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 5 (8 pts), boolean chains 2, error handling 2 (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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b803d849ae1f3030cf7b276db4def2111247ef8bf2c19fa4de92e2bb7d1f473"}},{"ruleId":"D2","level":"warning","message":{"text":"FileMemorandum.checkOut (cognitive 28): FileMemorandum.checkOut has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 5 (8 pts), boolean chains 2, error handling 2 (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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"72050f6f334010e55f27dcc96c14d7c04664b80ec92dbf1a2a6cdb1396a63314"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulePersistenceManager.getInstances (cognitive 27): SchedulePersistenceManager.getInstances has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 3 (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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"57174198c0830a2988df84e800575a6f0a30fe09ed0df6f515fcea394ff8f93b"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityCacheManager.loadInstance (cognitive 27): EntityCacheManager.loadInstance has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 4 (12 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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"095472487bf63c9fd3cb7c83902993afb37130216c6880befec6265cdabf1d84"}},{"ruleId":"D2","level":"warning","message":{"text":"BerkeleyXmlParser.parseInternal (cognitive 26): BerkeleyXmlParser.parseInternal has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 2 (7 pts), loops 2 (4 pts), boolean chains 2 (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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"69934cf3c57605c40f1f800f138a6334e1c5a31becdef4f840a1a3ad9adef95c"}},{"ruleId":"D2","level":"warning","message":{"text":"MyBatisXmlParser.parseInternal (cognitive 26): MyBatisXmlParser.parseInternal has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 2 (7 pts), loops 2 (4 pts), boolean chains 2 (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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaad9665eda1b75deda9ddb0fbf63c252b162fcfd60044afce3e8b07e42d4cfc"}},{"ruleId":"D2","level":"warning","message":{"text":"MyBatisXmlParser.parseInternal (cognitive 26): MyBatisXmlParser.parseInternal has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 2 (7 pts), loops 2 (4 pts), boolean chains 2 (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":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9839890c4467d0a396ba2db9430fcfc5b6dc4e0d0d7e6dad79715327995e19e6"}},{"ruleId":"D2","level":"warning","message":{"text":"BerkeleyXmlParser.parseInternal (cognitive 26): BerkeleyXmlParser.parseInternal has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 2 (7 pts), loops 2 (4 pts), boolean chains 2 (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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae225f220e1438a066147cc7deadb019d872f2f00ccfb73ca5b75109fed7eb1"}},{"ruleId":"D2","level":"warning","message":{"text":"InputDefinition.instanceOf (cognitive 26): InputDefinition.instanceOf has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 5, loops 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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/InputDefinition.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fb1062a3bbb6a95bad66e006632a4adf5c948eff357f081d1181cf738c9353"}},{"ruleId":"D2","level":"warning","message":{"text":"2.run (cognitive 26): 2.run has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (14 pts), error handling 3 (8 pts), loops 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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"44878037dd776f5e80ab1065683d1ccc931c7aed1e8a43ea0749a387c8cff2d4"}},{"ruleId":"D2","level":"warning","message":{"text":"2.run (cognitive 26): 2.run has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (14 pts), error handling 3 (8 pts), loops 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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5627aa8736b16e8407d184326126072df6709e24506a79c8ec290daf08b35bf9"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionUtility.getPropertyDescriptors (cognitive 26): ReflectionUtility.getPropertyDescriptors has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 3 (7 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/reflection/ReflectionUtility.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"13de1b93918042beed9347d34e67c930e91ec0cb0e6252d6a3cee2e658b733da"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistenceElement.modify (cognitive 26): PersistenceElement.modify has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (19 pts), match/switch 4 (7 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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PersistenceElement.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7001507e9ef8a6169300d2070edf1ddc75aca8a8ed664fcfd4fb8ba08845d95b"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulePersistenceManager.getIdentities (cognitive 26): SchedulePersistenceManager.getIdentities has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0afeebf6df93904d7f112441a99227f90932af68e33fb190e9095d07085c88"}},{"ruleId":"D2","level":"warning","message":{"text":"XlsxProcessor.parseRow (cognitive 25): XlsxProcessor.parseRow has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), error handling 1 (4 pts), loops 2 (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":"jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cba901b8e13e6216990adc071bcbcec4c3643c2c08cee6763daff0e5ad8c14d"}},{"ruleId":"D2","level":"warning","message":{"text":"XlsxProcessor.parseRow (cognitive 25): XlsxProcessor.parseRow has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), error handling 1 (4 pts), loops 2 (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":"jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3342e669addca8991edb5d05f0cdf9df6cbe615741e3497ca0c08523d9819d"}},{"ruleId":"D2","level":"warning","message":{"text":"XlsxProcessor.parseRow (cognitive 25): XlsxProcessor.parseRow has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), error handling 1 (4 pts), loops 2 (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":"jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6781c1fe55339f8bb4a62dd3ba5b79068fb50591b0996a4728d5b10048da63e"}},{"ruleId":"D2","level":"warning","message":{"text":"OutputDefinition.instanceOf (cognitive 25): OutputDefinition.instanceOf has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 6, loops 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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/OutputDefinition.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbff1fd67c0f9f44e7eaaf13e96aeee9085395c4a164b8da2613d3dbead81e8b"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrayConverter.writeValueTo (cognitive 25): ArrayConverter.writeValueTo has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 2 (8 pts), loops 2 (7 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/ArrayConverter.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1778676c747020a58e2495eec9bbd29eb6b8597e497e8c65c015c5fb19f40924"}},{"ruleId":"D2","level":"warning","message":{"text":"StringConverter.readValueFrom (cognitive 25): StringConverter.readValueFrom has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 3 (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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/StringConverter.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba72a14f3c1b6d5608963460dcc27aa2f379c6071f851dc8c82649522b17472c"}},{"ruleId":"D2","level":"warning","message":{"text":"LuceneXmlParser.parseInternal (cognitive 24): LuceneXmlParser.parseInternal has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 2 (7 pts), loops 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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"321ba7dcb3693b6aca3ddf986cd60e02c1d42b2523743358b8a450d0ce3fb3b3"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoXmlParser.parseInternal (cognitive 24): MongoXmlParser.parseInternal has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 2 (7 pts), loops 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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e800b38ca53a9ea1a1ef5b5208b4a7e5d9dad5e2f25b191d660400acda100a7"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoXmlParser.parseInternal (cognitive 24): MongoXmlParser.parseInternal has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 2 (7 pts), loops 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":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f29dc9493964df0c42945b674a6746e143322b9bc90fb2768ae6a4365f5c7fe"}},{"ruleId":"D2","level":"warning","message":{"text":"LuceneXmlParser.parseInternal (cognitive 24): LuceneXmlParser.parseInternal has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 2 (7 pts), loops 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"636ea079bef449d044f02d3001b6d4116e91397a79e77b8fdc7a8fbe05132b06"}},{"ruleId":"D2","level":"warning","message":{"text":"SolarExpression.setBits (cognitive 24): SolarExpression.setBits has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 2 (3 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc004afef8fa6c4231fb09e01be438fa306e7f4ed6f292a0323abec8d9565bb"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeParser.array (cognitive 24): TypeParser.array has cognitive complexity 24 (threshold 15). Drivers by points: loops 6 (18 pts), match/switch 3 (5 pts), error handling 1 (nesting depth added 14). 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/reflection/TypeParser.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"508df09c1ffc7397f8dcfeb9daaaa3dac162567a4e0db1bb9e003eb82b5b0ee8"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulePersistenceManager.run (cognitive 24): SchedulePersistenceManager.run has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (20 pts), error handling 1 (3 pts), 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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b930382dc3ec638392d8f78bad6994bfb13094a302913a88fe560853bb5079"}},{"ruleId":"D2","level":"warning","message":{"text":"InputDefinition.getMessageBody (cognitive 23): InputDefinition.getMessageBody has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (6 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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/InputDefinition.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a5c0194b01cd2ee540dcd957517406243049614d7d4d4a50201c12af5d0910"}},{"ruleId":"D2","level":"warning","message":{"text":"2.run (cognitive 23): 2.run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 2 (4 pts), loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e488894e4ba2c0fb7384bb75d0b76bd60ebbdbf7e29a3c13c0cdd73d83be60c7"}},{"ruleId":"D2","level":"warning","message":{"text":"2.run (cognitive 23): 2.run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 2 (4 pts), loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb3d26b3cafb89963438c1cad9b3f2c6880eddb3aaf199a728c42f69fe5d9dd"}},{"ruleId":"D2","level":"warning","message":{"text":"Migrator.migrate (cognitive 22): Migrator.migrate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 7, 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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9b762ac46b697521d52c339a484aa7cba031bde636ea5f8761d5e6122e7fe0"}},{"ruleId":"D2","level":"warning","message":{"text":"BerkeleyAccessor.checkVersions (cognitive 22): BerkeleyAccessor.checkVersions has cognitive complexity 22 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 5 (9 pts), boolean chains 2, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a07ca4297c5e70df9d4d4201be0ad10869be2dee6043158ada3938662f788c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Migrator.migrate (cognitive 22): Migrator.migrate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 7, 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d0f7c1715b8751d0a3937a78afdc7cdb3dcacc2d661d0bb6813962ff06fbcb"}},{"ruleId":"D2","level":"warning","message":{"text":"BerkeleyAccessor.checkVersions (cognitive 22): BerkeleyAccessor.checkVersions has cognitive complexity 22 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 5 (9 pts), boolean chains 2, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"e593ecc66270526d6e8148a6dd622ce566ece4ee7902fe1b528ee5aa6761850c"}},{"ruleId":"D2","level":"warning","message":{"text":"XlsxProcessor.startElement (cognitive 21): XlsxProcessor.startElement has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"c604482c8091009035cf1f8c72196bb05854c025e3e8330df3991e792fae4cf1"}},{"ruleId":"D2","level":"warning","message":{"text":"XlsxProcessor.startElement (cognitive 21): XlsxProcessor.startElement has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc932807dd51fadc631ebb4abd9edb16eca1531f904b8187d45efeb94dcc3c77"}},{"ruleId":"D2","level":"warning","message":{"text":"XlsxProcessor.startElement (cognitive 21): XlsxProcessor.startElement has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9b9035af96a0525ea8998cb964a41f0f642761dfbf5e57e122ed67a197749e"}},{"ruleId":"D2","level":"warning","message":{"text":"SensitivityQueue.take (cognitive 21): SensitivityQueue.take has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 1 (4 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/SensitivityQueue.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a64a4497b64b8dde287cbf31867364e3b6acc2c3dbad8da5efaea8c4575d8af"}},{"ruleId":"D2","level":"warning","message":{"text":"ZipJsonType.getFieldName (cognitive 20): ZipJsonType.getFieldName has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef206fa943f2075a703c440c1805bf3cf04aa0a45b64a01d41102f7a737d76a"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonType.getFieldName (cognitive 20): JsonType.getFieldName has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a9cf04f3411c07205d6c50543216f3fe26a7bf9e430dd70d9c238338d1ac0d"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonType.getFieldName (cognitive 20): JsonType.getFieldName has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efe21d04b02d2da861244ef39a63f76a56cc53080ff413a221ae0c4ca46be90"}},{"ruleId":"D2","level":"warning","message":{"text":"ZipJsonType.getFieldName (cognitive 20): ZipJsonType.getFieldName has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0aebf0052af172f858f20bc61f055aefe8703c056ec95248f44abec99eb63c6"}},{"ruleId":"D2","level":"warning","message":{"text":"EventHandler.consumeMessage (cognitive 20): EventHandler.consumeMessage has cognitive complexity 20 (threshold 15). Drivers by points: error handling 3 (9 pts), if/else 2 (5 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb72f4322a8bbe661558867a874ff637575be7916ad830c459c59658ec9439d"}},{"ruleId":"D2","level":"warning","message":{"text":"EventHandler.consumeMessage (cognitive 20): EventHandler.consumeMessage has cognitive complexity 20 (threshold 15). Drivers by points: error handling 3 (9 pts), if/else 2 (5 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cd7b88f29331be396c85b6e8cdcbdb3a23bcea762010d87dcdebdf0e240200"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandDispatcher.start (cognitive 20): CommandDispatcher.start has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 4 (7 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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/CommandDispatcher.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b332929374cb3f9059af595bbed7bb31db7860dc4bf361f38ba4cd6322de2c3"}},{"ruleId":"D2","level":"warning","message":{"text":"XmlConfigurator.flatten (cognitive 20): XmlConfigurator.flatten has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 4 (7 pts), boolean chains 2, loops 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/configuration/string/XmlConfigurator.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbd106d205737aace53e889214474d2698f58dc76ef20ca478f93fc46144bb6"}},{"ruleId":"D2","level":"warning","message":{"text":"LunarExpression.setBits (cognitive 20): LunarExpression.setBits has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"831928adcf1f923c53f8a477d085a721d10e318f2cc5a6acedd7a5db64be21ce"}},{"ruleId":"D2","level":"warning","message":{"text":"LunisolarExpression.setBits (cognitive 20): LunisolarExpression.setBits has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e580935669209042117a492dc52ac100901a07441eae7de2c7ba13e5b9f73b93"}},{"ruleId":"D2","level":"warning","message":{"text":"QueuePersistenceManager.run (cognitive 20): QueuePersistenceManager.run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 2 (4 pts), boolean chains 2, match/switch 1 (2 pts), ternaries 1 (2 pts), 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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"13747710f9e4f4a531499e646e7885a1e72b60c06670c4f484f75aa5d4879584"}},{"ruleId":"D2","level":"warning","message":{"text":"JavassistEntityProxy.proxyMethod (cognitive 20): JavassistEntityProxy.proxyMethod has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistEntityProxy.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bff0a982ec29ebbc477c3c825283d3669a61b3392bf9899b749660adc8dbd30"}},{"ruleId":"D2","level":"warning","message":{"text":"JavassistRegionProxy.proxyMethod (cognitive 20): JavassistRegionProxy.proxyMethod has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistRegionProxy.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4279c83e23bc2dc524a8b3e12ec62c602135e61303b481002f2135b72524bda5"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityCacheManager.deleteInstance (cognitive 20): EntityCacheManager.deleteInstance has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (12 pts), if/else 4 (8 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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1715715aebee3029c78b56fc6b2cec1cf5727f81eddc8b7ec812f2a6fc15a4da"}},{"ruleId":"D2","level":"warning","message":{"text":"XlsxProcessor.endElement (cognitive 19): XlsxProcessor.endElement has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (7 pts), error handling 2 (5 pts), ternaries 1 (3 pts), loops 1 (2 pts), match/switch 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":"jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdac4c4509d62aeb75c9e3374ca1bca17c8e0c71121b307df7596dacd3baa12"}},{"ruleId":"D2","level":"warning","message":{"text":"XlsxProcessor.endElement (cognitive 19): XlsxProcessor.endElement has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (7 pts), error handling 2 (5 pts), ternaries 1 (3 pts), loops 1 (2 pts), match/switch 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":"jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e326357fc62688464fb471f1cb6660565151b464cb65bf599244be2467999e"}},{"ruleId":"D2","level":"warning","message":{"text":"XlsxProcessor.endElement (cognitive 19): XlsxProcessor.endElement has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (7 pts), error handling 2 (5 pts), ternaries 1 (3 pts), loops 1 (2 pts), match/switch 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":"jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2a151a6a8c66bf37826c1391d607d6d8894381d340e9c47d2f713695b20cf8"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyTcpMessageDecoder.decode (cognitive 19): NettyTcpMessageDecoder.decode has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpMessageDecoder.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e932dd136fca97d9bc599904a3887f2def4bbad53c07afa3f71472768188279"}},{"ruleId":"D2","level":"warning","message":{"text":"AvroData.createSchema (cognitive 19): AvroData.createSchema has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (18 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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/avro/AvroData.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b0399376a93777b69684da9c10e56bf03d7764bbf078a8b95ecfd5d16b4cf8"}},{"ruleId":"D2","level":"warning","message":{"text":"KryoContentCodec.\u003Cinit\u003E (cognitive 19): KryoContentCodec.\u003Cinit\u003E has cognitive complexity 19 (threshold 15). Drivers by points: loops 3 (10 pts), if/else 4 (8 pts), boolean chains 1 (nesting depth added 11). 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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/kryo/KryoContentCodec.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1abc7a99156991db338a43460693d0e20c6d5c1ee277cae245de4410c23dad"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrationWriteTask.call (cognitive 18): MigrationWriteTask.call has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), error handling 2 (6 pts), loops 2 (4 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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"901089c070f23d7c9fef9050416d15ec8f25837387b81d20d0c8ac35599625e9"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrationWriteTask.call (cognitive 18): MigrationWriteTask.call has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), error handling 2 (6 pts), loops 2 (4 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"583d9c237ce3cf10f893db20ccff167547f74159d5e226f9c05a4c6b288f01f7"}},{"ruleId":"D2","level":"warning","message":{"text":"EventHandler.handleDelivery (cognitive 18): EventHandler.handleDelivery has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 3 (6 pts), loops 1 (2 pts), match/switch 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":"jstarcraft-core-event/jstarcraft-core-event-rabbit/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac75e747789dafa9e396f41f7d48c0c6d8d2f91a6e2fcac32818eeb4ebbd3fbb"}},{"ruleId":"D2","level":"warning","message":{"text":"EventHandler.handleDelivery (cognitive 18): EventHandler.handleDelivery has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 3 (6 pts), loops 1 (2 pts), match/switch 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":"jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a766c4ce3437e72e4a82df63ccf699154f227aefa83dc5c388b89bf6b683959"}},{"ruleId":"D2","level":"warning","message":{"text":"CommunicationDispatcherFactory.onApplicationEvent (cognitive 18): CommunicationDispatcherFactory.onApplicationEvent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (7 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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationDispatcherFactory.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac34318d8ddd8e13f524ad2e00b8007c1352a9332075679761dd5e3d94a8f8a"}},{"ruleId":"D2","level":"warning","message":{"text":"HashUtility.tianlStringHash64 (cognitive 18): HashUtility.tianlStringHash64 has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (4 pts), boolean chains 2 (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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"904bf2e7b17ba05a2e087835f3e2212bed3963437e4877de6465d8a7f68d3b9b"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeUtility.refineType (cognitive 18): TypeUtility.refineType has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/reflection/TypeUtility.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"975b3885f60b8c1f582bc2bad00d4fb0507587209cc7263c9a8f596eba010445"}},{"ruleId":"D2","level":"warning","message":{"text":"MapConverter.writeValueTo (cognitive 18): MapConverter.writeValueTo has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 2 (8 pts), loops 2 (6 pts), if/else 4 (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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/MapConverter.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d307d0888f9e57736dee6353178d0da00218789f4d76507ff58927dcc097fb7b"}},{"ruleId":"D2","level":"warning","message":{"text":"NumberConverter.writeValueTo (cognitive 18): NumberConverter.writeValueTo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 6 (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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/NumberConverter.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d908c173de2ef3827083d58bf94059ce25961bfc55409911ab46bf911a22df7c"}},{"ruleId":"D2","level":"warning","message":{"text":"CacheXmlParser.parseInternal (cognitive 18): CacheXmlParser.parseInternal has cognitive complexity 18 (threshold 15). Drivers by points: error handling 2 (7 pts), if/else 4 (7 pts), loops 2 (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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73237525c45a9f9d6911451969e8d8ee5a821539652fd7d170fd627f10a9adc"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceXmlParser.parseInternal (cognitive 17): ResourceXmlParser.parseInternal has cognitive complexity 17 (threshold 15). Drivers by points: error handling 2 (7 pts), if/else 3 (6 pts), loops 2 (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":"jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"080ad200405eca669855f77a9e07b607d0e6c2ae8c7523e4d08c1c8601960246"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceXmlParser.parseInternal (cognitive 17): ResourceXmlParser.parseInternal has cognitive complexity 17 (threshold 15). Drivers by points: error handling 2 (7 pts), if/else 3 (6 pts), loops 2 (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":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a685514ac450683abbb1337fa0efd3cc5ea2b37cf1275b64a18eb448087363e9"}},{"ruleId":"D2","level":"warning","message":{"text":"2.run (cognitive 17): 2.run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), error handling 2 (6 pts), loops 2 (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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/CommandDispatcher.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"837da01e2c3eec62e3d6b6d398b66179ffbdd09bc3d80a69e7222c741dcafa84"}},{"ruleId":"D2","level":"warning","message":{"text":"HashUtility.universalStringHash32 (cognitive 17): HashUtility.universalStringHash32 has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"05078b6a42bc0a2e8fc2255f7ff120fdee820070afc1276963fcd33d4063cf80"}},{"ruleId":"D2","level":"warning","message":{"text":"TermExpression.setBits (cognitive 17): TermExpression.setBits has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/TermExpression.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f0908c655273bfb9e4ba14931ad66e6490369a59aa97797ac4536a79b39021"}},{"ruleId":"D2","level":"warning","message":{"text":"NumberUtility.convert (cognitive 17): NumberUtility.convert has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 7. 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/NumberUtility.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e5e4e5a085a7e49a409b8a8492c6a9d69f0f479f327895e90d55acc61d02ba"}},{"ruleId":"D2","level":"warning","message":{"text":"NumberUtility.convert (cognitive 17): NumberUtility.convert has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 6. 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/NumberUtility.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7493b6598a29506f83f3ce84f81593f3d7e313adc88003c9e035769cdfe00a7"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrayConverter.getWriteList (cognitive 17): ArrayConverter.getWriteList has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), loops 4 (7 pts), boolean chains 2, ternaries 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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/avro/converter/ArrayConverter.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfb76f13b7269c1f2a9a560d53d091f800d2d60e8f5ee7393e42a9524b70872"}},{"ruleId":"D2","level":"warning","message":{"text":"BerkeleyConverter.handleField (cognitive 16): BerkeleyConverter.handleField has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 2, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f7dfeab6e60a5c8d7ba63596435f19a635e49782dbd9d7979bfd8a6f8b16e8"}},{"ruleId":"D2","level":"warning","message":{"text":"BerkeleyConverter.handleField (cognitive 16): BerkeleyConverter.handleField has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 2, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba63dc9c15ef8d9863aa5b6be52dc3a168cd3ecc7ba4b8a3f16f8b83ce12aa9b"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceManager.load (cognitive 16): ResourceManager.load has cognitive complexity 16 (threshold 15). Drivers by points: loops 6 (10 pts), if/else 3 (5 pts), error handling 1 (nesting depth added 6). 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":"jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"724f416b50fbd635eb08dcefa6eec13122fa48bef321adefb7a6bb6333990313"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceManager.load (cognitive 16): ResourceManager.load has cognitive complexity 16 (threshold 15). Drivers by points: loops 6 (10 pts), if/else 3 (5 pts), error handling 1 (nesting depth added 6). 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":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ee81006f035bc1f18f55c0929d84b88889f1b1c7dd49bc538e4ff9e7644b81"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandDefinition.checkType (cognitive 16): CommandDefinition.checkType has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/CommandDefinition.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca877da877d089d3df78662f49ea19a99cefb5ed6049f9f1f18a7516f151d328"}},{"ruleId":"D2","level":"warning","message":{"text":"TermExpression.getRange (cognitive 16): TermExpression.getRange has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2 (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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/TermExpression.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"377139b7370ecf8ec7520cd925aa3246296b1ae8e0713cae406779195fa9d6c6"}},{"ruleId":"D2","level":"warning","message":{"text":"SeimiXpathSelector.selectMultiple (cognitive 16): SeimiXpathSelector.selectMultiple has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), loops 2 (4 pts), boolean chains 1, error handling 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/SeimiXpathSelector.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8cbdcd1ec95f8c0c6b993ba91dc654e456e04316639bee5a7fbb7d791fb3fc"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrayConverter.readValueFrom (cognitive 16): ArrayConverter.readValueFrom has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), loops 2 (6 pts), ternaries 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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/ArrayConverter.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"144322352eae3eb9ad61b966ef5363f1c4824b8b89a00cd5dc033ccabb712519"}},{"ruleId":"D2","level":"warning","message":{"text":"NumberConverter.readNumber (cognitive 16): NumberConverter.readNumber has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (9 pts), if/else 6, boolean chains 1 (nesting depth added 6). 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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/NumberConverter.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c13f1cfcac189dc141aa65a133a756132022146c3926e3c0ff36f3b22466f3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HashUtility: TooManyMethods \u2014 58 methods. The bar is 30 methods; this is 28 over it, 1.93\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d8362563dda6a126e36c65627a5e223c6d890a9bcc9a416bc6fc35cbbeea25"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PropertyFormatAdapter.process: MethodTooLong \u2014 process runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\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":"jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7d08b32dfca84d76a69cd8cdf78f58955fec87a4064a9f1d2a9dfaecd76c12"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PropertyFormatAdapter.process: MethodTooLong \u2014 process runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\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":"jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a72657b9ae2099ee75731f532d3b446d8b661d2e5ce998e50d3bd601d5e350"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HashUtility: ClassTooLong \u2014 499 significant lines (blank, comment-only and punctuation-only lines excluded), 58 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10dbd0876313ccdcc787a3dae4c60ce64c74048f3f209fd3ec926f6f3940003"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LunisolarDate: ClassTooLong \u2014 456 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 56 over it, 1.14\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarDate.java"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0c1ad1b16260b3c39becc8cb095d74d74adcd329e94fcb47fb1978d796bbf5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TypeParser: ClassTooLong \u2014 450 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 50 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/reflection/TypeParser.java"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"81aae7cbfe8fc8cfb7afaa18f9dcfc7796ff3f7f0dedd0bb37629038dfdf906f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BerkeleyAccessor: 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4d697389452fe40a261bb5e9806c0d436919acdc6e900893551459c43646f6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BerkeleyAccessor: 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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed8dca086b12fe15b9a1cac8cfbac2ea8d06fa8582f209bc1e13315a6096beb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HibernateAccessor: ClassTooLong \u2014 409 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 9 over it, 1.02\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c007f17e183f96ffaf2fb8f65c8b483b3bc22a9c92c1479ce7ed6cb37c93284"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LunisolarExpression.getPreviousDateTime: MethodTooLong \u2014 getPreviousDateTime runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"9131e4cbc768d8e6258cf1b37db940b8da873317e535c24d1d3d1ff021f2a5a3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HibernateAccessor: ClassTooLong \u2014 406 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 6 over it, 1.02\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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c99193ad99076b1f3418f22cee938525df4cbbdc735751eecc87916a79b6ea7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TypeParser.array: MethodTooLong \u2014 array runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/reflection/TypeParser.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"410f5799f6ff946a38d37098582fa9b084c34fb2067ed5d59b7936e719b6526a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SolarExpression: ClassTooLong \u2014 401 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 1 over it, 1.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"168f40ec2cac4783e4fb813a5e0b126e74925a9e2ac84fdf728ca598c5cc634c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hash/HashUtility.java: FileTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: HashUtility (17-1287). The bar is 500 significant lines; this is 1 over it, 1.00\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9afa20ba388ce18528d1d938d302566838526c2782442f552616d37b8437fdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (12 members, 28 shared lines): jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:53-97 | jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:54-98 | jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:72-122 | jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:56-103 | jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:45-90 | jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:47-85 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:53-97 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:54-98 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:72-122 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:56-103 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:45-90 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:47-85 \u2014 These 12 members are variants of one another: a block of 28 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f04d82af768f016daabffc406d197c9b8040cc25e39b02acb3cd8cc78f2bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (12 members, 25 shared lines): jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:53-97 | jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:54-98 | jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:81-132 | jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:56-103 | jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:45-90 | jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:47-85 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:53-97 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:54-98 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:81-132 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:56-103 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:45-90 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:47-85 \u2014 These 12 members are variants of one another: a block of 25 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecbbd6a5fb4f4fa82188579adb7fbb41581122664ac0b624b90ad18d37a611d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 22 shared lines): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:349-385 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:409-442 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:466-517 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:347-383 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:407-440 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:464-515 \u2014 These 6 members are variants of one another: a block of 22 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62e1b71dfe0e593cf28a8b119d237539468355f74f4cff1152a2a388cb7f9f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 27 shared lines): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:134-191 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:194-247 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:134-191 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:194-247 \u2014 These 4 members are variants of one another: a block of 27 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32d998c095412e63b4146072e9b7b1ea0a5c3ff3e7113aaa9b65a1e06b9e54f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 27 shared lines): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:349-385 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:466-517 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:347-383 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:464-515 \u2014 These 4 members are variants of one another: a block of 27 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"27cb86e2122c10f90b2eec6bd4df757648dc74b5866869f276ab713bc0dea414"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 23 shared lines): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:138-163 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:166-191 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:141-166 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:169-194 \u2014 These 4 members are variants of one another: a block of 23 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2014623e3b62fdb8246771ce58ed7e2337bc5db932e3519eb09e9027fef2c017"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 21 shared lines): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java:33-65 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/InstantSortConverter.java:34-68 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java:33-65 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/InstantSortConverter.java:34-68 \u2014 These 4 members are variants of one another: a block of 21 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f6f9c2d9921e6dc3ca0e1bfdbe224f97d19464bf6603febc992868f9a03e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 16 shared lines): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java:28-56 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:72-110 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java:28-56 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:72-110 \u2014 These 4 members are variants of one another: a block of 16 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee483f1f06f36e270c75d018435a5411910fb2b7640db3059e6f11f7c512ee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 15 shared lines): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:29-63 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:30-69 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:29-63 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:30-69 \u2014 These 4 members are variants of one another: a block of 15 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d5ae485aa4eff1702ce1ed6217ec1ce41a4885c459f81d5e339d14e68bb772"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 13 shared lines): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java:52-86 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:53-92 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java:52-86 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:53-92 \u2014 These 4 members are variants of one another: a block of 13 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"34de582bf8890abc57cb0966e8663767020aad2d6b3e94ec4f7b65b4df08643a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 5 shared lines): jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/js/JsExpression.java:41-57 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/js/JsFunction.java:38-55 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/lua/LuaExpression.java:41-57 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/lua/LuaFunction.java:44-67 \u2014 These 4 members are variants of one another: a block of 5 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 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":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/js/JsExpression.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf9f2608d6101fe7e3f74b7c24efadbebe7a79501ba722f78d272db6ffd539e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 4 shared lines): jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/python/PythonExpression.java:41-64 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/python/PythonFunction.java:38-62 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/ruby/RubyExpression.java:48-72 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/ruby/RubyFunction.java:44-69 \u2014 These 4 members are variants of one another: a block of 4 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 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":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/python/PythonExpression.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"595101b6d22b3c74a50838fcda9176180d677ea083f8adca340802cf05c0551e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 29 shared lines): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:91-127 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:91-127 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:134-172 \u2014 These 3 members are variants of one another: a block of 29 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0868a750b15c8d7c3e3b4328231e14866e4d2c393b297cb6c88de8ffe9df408d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (182 shared lines): jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:46-234 | jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:46-234 \u2014 These two members are variants of one another: 182 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b424bedf4169b5658a51663950e536c3b1438e57b26a9ce793c7dc8b91818933"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (122 shared lines): jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:61-190 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:61-190 \u2014 These two members are variants of one another: 122 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea17a999644b92f93492acd126fb69e127350a1bcaee6740e9647c5a9db54865"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (84 shared lines): jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:71-169 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:71-169 \u2014 These two members are variants of one another: 84 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6d09a9b1c2ee1b2ab61a40c5200097e3673760ce300608f1157cdee339122f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (49 shared lines): jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:68-124 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:68-124 \u2014 These two members are variants of one another: 49 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"059d6fcbd1ea380b0f147ec672072d5e73a584aff59484dfc11294c2d80d992f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (37 shared lines): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:288-352 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java:328-382 \u2014 These two members are variants of one another: 37 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4aad04e1618ad3d20e0b08e41db0301c1ec742b8076cf76c34df1f438ff59f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (32 shared lines): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java:231-272 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java:269-310 \u2014 These two members are variants of one another: 32 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf170aa2e5dd86ee987118317cdf417816262906178ee8583f8d22ae798b1f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:460-518 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:462-520 \u2014 These two members are one piece of code written twice and then edited apart: 58 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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5cdc974f089534d466982ddff2023e2545f06d1bb1fdbd15ef5661af8f7343"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:336-376 | jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:336-376 \u2014 These two members are one piece of code written twice and then edited apart: 41 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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fdde0c855c5dce6ffaae1b8a43e40c5e38f539f2245b3f1588430c23ce683e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:168-206 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:168-206 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e0daf50e0bc15f0aae5b997b1a2dde31779b10c00827ef0eae6db4c0d24337"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:343-386 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:345-388 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1983f3d1995f94d297c3f372cd6569e807b7feb215a9bd87e11f01e9facfd78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:403-443 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:405-445 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"401c1babd5cdb981c5af94235502c08f46cff8bd5c66faca4b7f60eeab73602b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:408-445 | jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:408-445 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53b27506cde0cd3ef4612a3d3d0938c150e4f021046e7b22243f21d7d84f42e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:97-122 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:99-124 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b9038069e94451c032933ac7330728165a77ac8fe76724cb649ba5f56ff27f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/beanshell/BeanShellExpression.java:37-53 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/beanshell/BeanShellFunction.java:38-59 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/beanshell/BeanShellExpression.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d606273154a74ad31da670cbb86fbd0eab9bf2554a8acbd66f7ef8315025b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java:66-80 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java:66-80 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d171462631eaafce95c4691f02f1b61478cbf1322f54d8838b2ebe477382e51d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyExpression.java:41-58 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyFunction.java:38-56 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyExpression.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"873a57902b9fb5d26a4e0b37d038d11a3fd15a317c1c64142ab1ece22a0e2e19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:79-94 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:79-94 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2a1fea0604586860766f0534d6da3a419608a24de1b05f1840f687e691046c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/kotlin/KotlinExpression.java:37-55 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/kotlin/KotlinFunction.java:38-55 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/kotlin/KotlinExpression.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce27f94700f5c4d504b278ebce529bee26d53dbfdbedeafdebe4a1df01309e2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java:87-114 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.java:70-97 | jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:50-77 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:50-77 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:51-79 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:50-77 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:50-77 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:49-71 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:51-79 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:50-77 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:50-77 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:49-71 \u2014 These 12 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 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3bd95a653e0f52d06bc3efa356d011e20ba69936cab1340522ec5445ae3657"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java:118-187 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.java:100-187 | jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:87-141 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:87-141 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:82-155 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:80-136 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:80-133 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:74-127 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:82-155 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:80-136 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:80-133 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:74-127 \u2014 These 12 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 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"201376491bd80df0de738c8ace0bce142f8727d294ffda70ba6f731e8f165368"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:264-284 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:287-307 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:316-329 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:332-345 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:359-376 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:379-396 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:267-287 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:290-310 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:319-332 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:335-348 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:362-379 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:382-399 \u2014 These 12 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 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3ff63ddd8e01a1456e9680f82bf69d2e68ba0e229dbf153dcf5bfa198967d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:212-233 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:236-257 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:267-284 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:287-304 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:328-359 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:362-393 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:212-233 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:236-257 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:267-284 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:287-304 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:328-359 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:362-393 \u2014 These 12 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 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9839605513a9dbc92c362cd05aa89dee1d93dd98ec6955b67bf2cee738fad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:258-273 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:276-291 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:302-312 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:315-325 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:339-352 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:355-368 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:258-273 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:276-291 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:302-312 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:315-325 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:339-352 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:355-368 \u2014 These 12 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 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2a8e060480ce69c8d3e5e1c5ac3b3f4dd803cdb2fbb4bda865bd59c4ae7b63"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java:49-62 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java:65-78 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/ion/IonContentCodec.java:49-62 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/ion/IonContentCodec.java:65-78 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/json/JsonContentCodec.java:51-64 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/json/JsonContentCodec.java:67-80 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/msgpack/MessagePackContentCodec.java:58-71 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/msgpack/MessagePackContentCodec.java:74-87 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/yaml/YamlContentCodec.java:51-64 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/yaml/YamlContentCodec.java:67-80 \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"31efad100c7361f55597d41fbfdee6d62c0523302a648924bbe0403852ac335b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:247-291 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:301-340 | jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:227-281 | jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:284-334 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:245-289 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:299-338 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:227-281 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:284-334 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df792bbe186673a3720617940e7d126af844058cf3f5c72b72d9d4b353c4e4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/ArrayConverter.java:56-80 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/BooleanConverter.java:46-63 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/CollectionConverter.java:61-86 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/EnumerationConverter.java:45-60 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/InstantConverter.java:49-66 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/MapConverter.java:64-93 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/StringConverter.java:47-60 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/TypeConverter.java:42-55 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/ArrayConverter.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2404ebdab659006781d161bb94501b757dad9ef08133eefe61819ef4d38ccee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:250-261 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:264-284 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:287-307 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:253-264 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:267-287 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:290-310 \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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"701c431a20cf225dc6ec5c251d7495c7f6b982679354632fc40f536bb0efe7c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:342-358 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:389-399 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:433-455 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:342-358 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:389-399 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:433-455 \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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2bfc3a98528ebb4de9ddda5426db09a924796a2c6f6363fdedae987ca05f2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:414-431 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:433-455 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:457-481 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:414-431 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:433-455 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:457-481 \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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c8309ef59a3b6b345dcbaa0fa3c94756337bc90f518949ef35d452c1d6476c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:101-132 | jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:135-166 | jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:169-199 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:101-132 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:135-166 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:169-199 \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":"jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"22957bcd5d017d9efb11fc4470da1dcb914f3cf0dd0c6e10a900290f06713047"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayDouble.java:61-76 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayElement.java:61-76 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayFloat.java:61-76 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayInteger.java:61-76 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayLong.java:61-76 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayDouble.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7766b45fa3103fcc3064609b951c2b4c8878024876791e876bbc1fcaf6133b40"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayDouble.java:38-58 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayElement.java:38-58 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayFloat.java:38-58 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayInteger.java:38-58 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayLong.java:38-58 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayDouble.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"919d869efc45bd3e949f279b001969668c3a741615208040aaca31417e95b8ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java:185-238 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java:241-279 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java:237-277 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java:280-310 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java:313-347 \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbec31e2d3686dd5e942ff665f18d6156ca5c0eaa589bbe1ebd71c37aadced6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:149-195 | jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:198-235 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:140-186 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:189-226 \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":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c48c173a6377eb1c4667284ae411aeed558721e324c478733f51488716ebf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:250-263 | jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:266-279 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:241-254 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:257-270 \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":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1cb759662e3ab2e2d13e6fcfaee9d77a9b20a5ec1dea014a59d3b3ccf85347"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java:44-55 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:153-161 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java:44-55 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:153-161 \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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c31837ba221e530452e7689e5e06ab2b845af285083a7302aeb76d61c49263"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/BooleanIndexConverter.java:28-44 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/BooleanSortConverter.java:28-44 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/BooleanIndexConverter.java:28-44 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/BooleanSortConverter.java:28-44 \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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/BooleanIndexConverter.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c9ab8c0690ef999ada18c8863834039d04cb65a6a3f15300528dbe036061cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:36-68 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java:31-63 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:36-68 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java:31-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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20d064952a57725b96c1c4a081a07249adea912d1d17dbb9bdb79cc68774532"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:194-229 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:232-247 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:197-232 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:235-250 \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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b798d52d35e5f5f2b5fcf9113a8b23a10eb5b3a2a371e7ea28fef476cbd2f833"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:214-247 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:258-287 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:214-247 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:258-287 \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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"353fbc1ebf48ef8a315b1d50d96bd1bcf6967bb3c1a3e0037179336fefd6398e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:102-149 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:176-215 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:102-149 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:176-215 \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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e59261cfddacfdbbca61b68408ab358d5757fd65ae9d85dd4df6572e40a22f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:104-127 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:129-151 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:104-127 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:129-151 \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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fe133dc1d0f05f946c89dc218f0719ac14d6a5fc148e2d757afcde7f0e8b5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:121-162 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:165-198 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:121-162 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:165-198 \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":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9487cd861f4451cdf850374750107b6a76e47c2a19ab07072d979834764ed2cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:161-208 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:211-242 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:161-208 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:211-242 \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":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6414f884b530ca9fc13ce68834d48d3bc01d190cfb5fe2fac7d0dffa22a0c790"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ObjectIndexConverter.java:26-50 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/ObjectSortConverter.java:26-50 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ObjectIndexConverter.java:26-50 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/ObjectSortConverter.java:26-50 \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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ObjectIndexConverter.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9675907d49c3e715cc34c4df9ef8bab1289792390cb032f0a384015023d23bc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java:146-168 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java:176-220 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java:146-168 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java:176-220 \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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"de998ddf613fd44c7b111cadc8bb916dd9e04e01232d1c1328680a33b653a487"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:161-173 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:173-185 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:158-170 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:173-185 \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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f30741fc92647f65eaa6a79a6806cfe731fed67d4df93f5e108ee4bc54edcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:122-159 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:134-171 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:119-156 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:134-171 \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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad50696d0864e51f391e85240b2f4ca7694741da30f3665dd9b4a7f5e809eec"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:64-82 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:69-91 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:64-79 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:69-91 \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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40277a06eeb2e096028884fb8a7fc553df1912e7f93e65a3a74bac01a3d6b0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:160-229 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:231-300 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:160-229 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:231-300 \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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"9024f807d3133b9f991e3b3da343138517338430b5a5552ea6a57d6837333590"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-resource/jstarcraft-core-resource-json/src/main/java/com/jstarcraft/core/resource/format/JsonFormatAdapter.java:34-42 | jstarcraft-core-resource/jstarcraft-core-resource-yaml/src/main/java/com/jstarcraft/core/resource/format/YamlFormatAdapter.java:34-42 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/JsonFormatAdapter.java:34-42 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/YamlFormatAdapter.java:34-42 \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":"jstarcraft-core-resource/jstarcraft-core-resource-json/src/main/java/com/jstarcraft/core/resource/format/JsonFormatAdapter.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"02714461dca271a2cd4d17d1d8591d734e1c802dcd1462f88f9f763febed8195"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:113-143 | jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:165-200 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:113-143 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:165-200 \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":"jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ac4a0fe1acd3a76f321cf20dec1b96317c1d6c2dfa52dad01de3d21ff4e420"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:112-140 | jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:158-187 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:112-140 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:158-187 \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":"jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0687b9a64726e569fb85f8b4c13aca1178b3676046cec0e678d70d3544e774e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java:103-115 | jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java:104-116 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java:103-115 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java:104-116 \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":"jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4403e34d7ff13a96ad04e3c1411803f6db501111dae37b4e0df63737572712cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java:38-63 | jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:61-87 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java:38-63 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:61-87 \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":"jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"04dd85709bec76cb427db5878da70073ef30223fc57e09d785bc20a2558d96c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:119-156 | jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:110-141 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:119-156 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:110-141 \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":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4570c77ff4aef714230a1d4f4ecdc16e802dc054e7a93206d24e601727bb65ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:159-171 | jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:144-156 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:159-171 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:144-156 \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":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"849d0d802af992b92e5cd024d856943d60c88316d352670f6c22467042265e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:70-81 | jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:83-95 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:70-81 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:83-95 \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":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0712b491756bdd23354da857dea457fe14c0ba046dabf1682d0a755f3debbe33"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java:88-110 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java:90-112 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java:97-116 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java:95-122 \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4416d05051242c83ce4290eba9a9187c84c0c8d681bceb08498a934257242899"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:288-393 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:316-444 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:470-575 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/TermExpression.java:209-269 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8702378c23348b5525b610a3d963ead97651a5441845469a41618f70f85013c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:180-285 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:179-313 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:362-467 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/TermExpression.java:146-206 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"226d610a0af5f8fe12a22563aca7d61846a120ad1e79a5e758e3d75b4a5f3d20"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:69-89 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:69-89 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:112-132 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/TermExpression.java:97-127 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c8cdd44225d974c0e4bfafabcecc4a9e2586bb44dbd1e46ca05590dd548862"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java:34-46 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/json/JsonContentCodec.java:36-48 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/msgpack/MessagePackContentCodec.java:40-55 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/yaml/YamlContentCodec.java:36-48 \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9771c803ba1603dbf6e0d3de727a697c6648d72d650d5fcbacb8256a07866413"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/CollectionConverter.java:26-48 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/EnumerationConverter.java:22-31 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/MapConverter.java:27-52 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ObjectConverter.java:24-42 \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/CollectionConverter.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"262a270ba8fab1fd3cac82c9d077d1c91714d58b0d3506cd9dc44fe99ccb401d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/LocalDateDeserializer.java:16-34 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/LocalTimeDeserializer.java:16-34 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/OffsetTimeDeserializer.java:18-38 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/PeriodDeserializer.java:16-34 \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/LocalDateDeserializer.java"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"807f40116f5d3294cafe66e558e138ec20751f3334b4c37bd84a05bf25745a28"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:114-140 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:143-175 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java:120-163 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java:166-214 \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce17d33065d1332aad3323777f8122e22985a9e554734a3fa02128596aa720b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (70\u201389 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistEntityProxy.java:92-180 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistRegionProxy.java:81-150 \u2014 before extracting anything, compare \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistEntityProxy.java\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistRegionProxy.java\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistEntityProxy.java:92\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistEntityProxy.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be6459dc611c0f3cb4b361c176ba6524bfc8157b8cf0616d2d3c31b54150525"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (85 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:257-341 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:257-341 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 202 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:257\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"92aca5d6e6225fa4e864b348179338bbbe1a021d6428529a1d169b28940f624b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (80 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java:96-175 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java:96-175 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 114 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java:96\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"842d3fd2c85a234ba3b18f3d89bbb71f117e453763b70d185e67130f9d845c30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (70 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:104-173 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:104-173 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 149 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0653291affac3d3719f94c7a2b60f583f859559c25a674ac068e6cc8b42359"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:232-300 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:232-300 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"901e08db0407286134d855bd5fe1cbbd226cb2ff18e5ef6f415471e322d17c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (68 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:162-229 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:162-229 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:162\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c34b5930b8245c21ffa056bfd289f5bf2e7ece7642ffa184ff1feebed476e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:270-335 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:270-335 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6be6b0f8b882cf494cf8236fa5f4575b0a43d91566ba7fcef10fe92dd8071b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:153-216 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:153-216 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af87950166a61a0c804c0648b6203d036c790b7c9906cb38d7c71deedc550d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/reflection/TypeParser.java:144-203 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/reflection/TypeParser.java:209-268 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/reflection/TypeParser.java:144\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/reflection/TypeParser.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"817d0a1e2bbbca7d1d479fdb6acee0d6e551be6b3870f2e451f72c05f2a9b1c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 3): jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:279-336 | jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:279-336 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:279-336 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40cc726a83cd02541a9f4eaacc650789347f46b6517f40fe57a1d4e028311a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-rabbit/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java:53-108 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java:53-108 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rabbit/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-rabbit/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"625824a811a99f5e51f50ed43ccb8ef09ff41af4b90d63fb6aa40c6b61e5bf28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/LuceneContext.java:106-158 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/LuceneContext.java:106-158 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/LuceneContext.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/LuceneContext.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/LuceneContext.java:106\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/LuceneContext.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1862f14bc2b47a2c8076674a6012635af79ae0220c32c5abefcb307cc05759"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:64-116 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:64-116 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 232 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 \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:64\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":"jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"039d084dc1344dce2b6dd07f2715d747069735a96700ac32e67ad000998c7a6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:134-186 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:134-186 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 232 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 \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:134\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":"jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab73e05ba76eb71b7e278201dc5b71165af1f3cec9a45e5b98e1c1b70288d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 3): jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:172-220 | jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:172-220 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:172-220 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"c509b5917125ca65d963f94e9ed8f991c27f97987be5e00049157b4aa6feea7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:85-132 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:85-132 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 171 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 \u0060jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:85\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":"jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e13b97226c1f7de0a484c44689507a10d2b88a6626f4c766518c530a2806929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:103-149 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:103-149 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e397ecd1d85872b8b8ce5dda3841396f66c5afaeba9e9b1ac8fbb0ddf15ef015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java:124-168 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java:130-174 \u2014 before extracting anything, compare \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java\u0060 and \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 125 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee09976c2bf431a108ce10b9d2c3a6e893146f0d602be103eda4bb6e2aff3a6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java:177-220 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java:177-220 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e5299f2bb28ec5801cdd3d5dce656885d31a76255f425558508309177a6ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:73-116 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:73-116 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 200 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 \u0060jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:73\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":"jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1519d0485fdcacb7fd0012f96af2b026ed7b59a1a9fcb72203dfe50cb18bf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:136-179 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:136-179 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 200 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 \u0060jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:136\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":"jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"890e7cc7843cbc2047fd7947729653dadfb95cf6b0197cf770e11454ec3d2df4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 3): jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:234-275 | jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:234-275 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:234-275 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"63842b515a99ecd6f296ec4673dda30fbfcdfef75d01b212722b889b7c9de876"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:433-473 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:433-473 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb32e17111bf5723a97ce9f88ce87b326595dba1ba89456fb8413bb0e5d6273"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java:118-157 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java:120-159 \u2014 before extracting anything, compare \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java\u0060 and \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 97 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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"06102996bad8a065ba5c19865803f3616722136b0fc6d10469c85e0b8964b500"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java:66-104 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java:66-104 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"628013c4fdd2a8fc19010a663c7969c69513d4e48f993d534dcbbb40f6c27d5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:177-215 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:177-215 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e475f2aa82f053b295fa0a350f0dfcd3add2a44d777f15e679c68c475367b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceAccessorProcessor.java:52-90 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceAccessorProcessor.java:52-90 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceAccessorProcessor.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceAccessorProcessor.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 89 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 \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceAccessorProcessor.java:52\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":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceAccessorProcessor.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33e642790770ae95ed585d9a881aea666b6f61c18946f27086b49a96d96cf77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:151-189 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:151-189 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"25998e42bf69a6325e027ec76f1f4143c818d322805b2587ee51b6b0e9750d8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/StringIndexConverter.java:71-107 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/StringIndexConverter.java:71-107 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/StringIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/StringIndexConverter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/StringIndexConverter.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e07ad20607b82bc56d2c924f061d74325b405b207d27a751f9a14b9dd58c7e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/EnumerationIndexConverter.java:45-81 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/EnumerationIndexConverter.java:45-81 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/EnumerationIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/EnumerationIndexConverter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/EnumerationIndexConverter.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"347a08ea92c288206cb77e80aaeffe6c1e1a1d6b7eb44a8d4611365d68390256"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-rabbit/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java:126-161 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java:126-161 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rabbit/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-rabbit/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8117c19b9b123053eb71564ab3bc9d73971ac4c1ad09c55491e72d21c98ac8cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java:61-95 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java:61-95 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java:61\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"101ba0de31a5e1aa970f44888761c5769c80016aa2223639c63f344157e4dfa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceAccessorProcessor.java:101-135 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceAccessorProcessor.java:101-135 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceAccessorProcessor.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceAccessorProcessor.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceAccessorProcessor.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61ef5584a8137d77e6ace329cd539df7162b211da9ae113ef29b004bf1a749c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:166-200 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:166-200 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c717f4d7c971bc14d1888ba3f248c9492f2b2140cab5c0ec9623fe80f8ea49f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:151-184 | jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:200-233 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:142-175 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:191-224 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea5b752ddfabf48d638f7fb87bc7173b1683ba782d5bbbd2fe6880705bb0e92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:123-156 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:123-156 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 184 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 \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.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":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"336929c15b8a24632bd42d11ead69a66fb02f2ebe0bcb11fe78bc164e3b6bbe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:114-146 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:114-146 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc39c219fd88dcab5bcf52e06307a59a58c94ac8aa8a78dba98e55b577395889"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:76-108 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:76-108 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:76\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fbb1bec1bf3a78542e60fb34a49cd887d427863b6b35893c311f6c5798831c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/StringIndexConverter.java:36-67 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/StringIndexConverter.java:36-67 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/StringIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/StringIndexConverter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/StringIndexConverter.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"900b07acf72fa41e2475acfc6ca404daab5caa20ad8fe382670972f14acebcc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/InstantSortConverter.java:36-67 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/InstantSortConverter.java:36-67 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/InstantSortConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/InstantSortConverter.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/InstantSortConverter.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f500473ef3549083b54d1708b1a2812f2fa771da28d4fc2a88338e71e971efeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/NumberStoreConverter.java:63-94 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/NumberStoreConverter.java:63-94 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/NumberStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/NumberStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/NumberStoreConverter.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"edff14028eee5bc8584f8ffbed859eaa1bf07c45adea18fcb44db4179cee4467"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:121-152 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:121-152 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6b728d095d287bc3cb3b1907a20fd96d67b50acabd786ab99d6c89f37ee02a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:110-141 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:110-141 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 110 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 \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:110\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":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e27f1bcfe1e1e96d0a434ff2c3ec5dd70f2b3bc548e720b85c2e86bc22df8d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:122-152 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:166-196 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:122-152 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:166-196 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12c8f7fdc851c165fabc11ddef7266d76c541f8827eca42c3a87df6dd3d34d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:38-68 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:38-68 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 119 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:38\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7f2a84f635e0481060514b1808544d061ab1e1d25dde0926293c280b98e784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jMetadata.java:49-79 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jMetadata.java:49-79 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jMetadata.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jMetadata.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jMetadata.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff1b801e3b4346de15147b3bc1cc9330d1c77f002bd425af899354683b5344a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:67-97 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:67-97 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1abdf0e5ebed587e148a92beacd66555f66c9de99a8c44757a89308932c4c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java:33-63 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java:33-63 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java:33\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1cb56343b7bd66c142e51c2939340dcf0714131a81f4b616185e2719cbf850"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:214-244 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:214-244 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f5445d7c3930575d7df6374d665fdf46b608cc6276b353a2cde5244b6aa8dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java:67-97 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java:67-97 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 78 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 \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.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 \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":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"043e8859fa2e9e83a59f4ddd9692239bf16606dede72340c064eef839f3b6de7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java1Storage.java:108-138 | jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java2Storage.java:162-191 \u2014 before extracting anything, compare \u0060jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java1Storage.java\u0060 and \u0060jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java2Storage.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 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 \u0060jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java1Storage.java:108\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":"jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java1Storage.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d015785f383991be63d329501ae5b4895cb6af4db82a852f9b6aeb3f2f72815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:102-132 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:102-132 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d54ce49f9d5c66a1a47fe09a811ad7275b3fbdb92075b55177945446ff5442d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:136-166 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:136-166 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f381196b451145963c2b3d87642159ee8c95bbd51bccbe3b0ad9e1b3ad1a9f14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 10): jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:62-91 | jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:63-92 | jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:66-95 | jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:55-84 | jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:50-79 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:62-91 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:63-92 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:66-95 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:55-84 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:50-79 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java\u0060 and \u0060jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: \u0060Message\u0060 names \u0060io.vertx.core.eventbus.Message\u0060 in one and \u0060javax.jms.Message\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae2cd5e5357b6e762b2f08436c4804e77a77450cf825dc1b1cb2ece3d05f2c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:249-278 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:303-332 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:247-276 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:301-330 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab410b754f2856737b134e734a18c24f945e66ee916f77a05dfa4c7d5d9167a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:114-143 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:114-143 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b18b41c6be938a4083df5d46251e703873f3d2a490857597b5b95c601f76d0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:170-199 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:170-199 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"354f81e3c3ace854ac0b307a80218197df190208ccdf823487fbb3e9ab5fd1c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:95-123 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:95-123 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:138-166 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:95\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"efab724793d396657bc89d907fde0ddba33558a1f8d716453cda9b96c8ad427c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:154-182 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:154-182 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 202 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cd8441339e1999bb7afd11b92d4b0f8496f1565f28c336311c8add20498fa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:492-520 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:490-518 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:492\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"549c1c0b6a199ddc7197611653a613ab71baa744a8f1e82be9334f38151806b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:159-187 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:159-187 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d064023095dc8b7bf71244c5375550b3c8163a46ba21cfc443e7fca8a43cdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:219-247 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:278-306 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"257e6e8033e26ca36a2fa4b82ffa3296564a6583bb72f0da381e3911375496a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:83-110 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:83-110 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c921009d2a40241d8dd2e7a04e0eb4c40e939df15975dfb8b136ab610e5bedab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/NumberStoreConverter.java:32-59 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/NumberStoreConverter.java:32-59 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/NumberStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/NumberStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 78 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/NumberStoreConverter.java:32\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/NumberStoreConverter.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cbb37ce736c1fc8c141250a77b1c46634f4c2b6948970a2cc809a0d454bd73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneSearcher.java:64-91 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneSearcher.java:64-91 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneSearcher.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneSearcher.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneSearcher.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"186b6e0179fbc5e81c1ba88d0d2a7a53d505b7c713853753a6e5fd4401345e60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:181-208 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:181-208 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:181\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":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"625baaa197fa8078cf4c7be5688a14b6e6dfdd0bec692c4ba149935f0d44962e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:113-140 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:113-140 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"435f485a282ccee85fb2643397994139229e82d8ccde7d690d0955f7fe875a75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:114-141 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:114-141 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 108 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 \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:114\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3fb7898411ad78e0baac74869e5df491be44c51b4d51b41966dcaadf1dc030"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:219-245 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:219-245 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1899cd7ba3d4c05542a34fcb72347d9cb68fb3cc96547b759ec431781bd7d19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java:38-64 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java:38-64 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.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. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"897ee21106e3a0251841fc8f4c43b592b239f285e5d4a19a1cc2265c5f581ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:164-190 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:164-190 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:164\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f19c87eb5e12c6acf115c85ebd177ba99c73cf74b0ad694f3b4f335ae3a62c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:51-77 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:51-77 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d327bf9e78b1c5679b177be5fb87b86318c45a771e46ed2cf081086ae11f313"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceMonitor.java:72-98 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceMonitor.java:72-98 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceMonitor.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceMonitor.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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceMonitor.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0208fdaa45432939f3362be18b72b2c0ec6236afd66990360972e8749517d98e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java:59-84 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java:59-84 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"babf787045e6a0ec87bed64c627ba1e4924cf353de749dc88b5c6b48f395d0dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:62-87 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:62-87 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde30afe5fc45e281909a2eec2375acd899c83db20795083b32494a982b5062d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:356-381 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:412-437 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fdc2de6a8ef742071ee44bdb6f76e60cd329910738e96a1b65ec27fa9e4d7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:341-365 | jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:413-437 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:341-365 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:413-437 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92d036dfff2881d5c37bc36e40acb93fd60200f10069e254ffced71a7eccbc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java:31-55 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java:31-55 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java:31\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb55d1e03e3a5ab61adc79cc4a6f3bacee0c17394eb7af755b4a06545f80d32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyIsolation.java:27-51 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyIsolation.java:27-51 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyIsolation.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyIsolation.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyIsolation.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"24edf5e08f5aff5f41df7b71c5c102b3d4a9a97fa112e35110091132226cb133"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:168-191 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:216-239 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:168-191 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:216-239 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8e0a86a6ede5dd104375a3bd6c8be11ce17be28a7ca979295f3038ba86e72b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/aspect/TransactionAspect.java:32-55 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/aspect/TransactionAspect.java:32-55 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/aspect/TransactionAspect.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/aspect/TransactionAspect.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/aspect/TransactionAspect.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"078e92557d2ebe70e69bc48c57e0b6ac4b15b3dcafe52fdd226916ad04fd2c12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:52-75 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:52-75 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 115 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:52\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e715fe7da7a47c33a93bc745dc0799f60995821c25df5a1fd2e4a9b83bdd800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:106-129 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:106-129 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10041d62654c8e5a4e2d9d073b697cd8afe41a09e2595283c8c6d3ec0c749c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:35-58 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:35-58 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 116 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:35\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"537686365f73e29564dc4b26bb04b7b83bcf9e6d7948d59b5482dab64182b49e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java:73-96 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java:73-96 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.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. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"332dfb779a25553664eb4528c2bf8d239949c72ee513343be61271017742daf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:109-132 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:109-132 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:109\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ee2376b10f1357c5494ab8f57a6821cbaf396767f5f87b02dd655cfe3ed06d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:169-192 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:169-192 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:169\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"031235d459182999148f1a448c1046d42ad52c4b8e27ca8acc7382febe14b93a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java:45-68 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java:45-68 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b5c372c022bb8201aba00d3b9a03ef4ef3af7b026cb33528ecc61c60e77243"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:225-247 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:225-247 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 152 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:225\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d7ba0a8662189f3acd25293a2620c47156b545ce3692ef21cacd6adf1935df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java:35-57 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java:35-57 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e80ee49ed45e94ccd2bd97c89532239df3234e3d437a556a18ece650418aefe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java:65-87 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java:65-87 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 96 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"940611aa307c7c496adac0836e9709e881d3b2163b58e60783894525cfd54abd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:88-110 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:88-110 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:88\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a670905e825825ccec47360a6704149f4b44a202b85bca4c466e947a9cc4dc93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:212-234 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:212-234 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 232 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 \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:212\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":"jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"467a6790170d923faa46b4f01474064d158f3869211de54c8cf71c59f47d509d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/specification/ClassDefinition.java:201-222 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/specification/ClassDefinition.java:239-261 \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 \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/specification/ClassDefinition.java:239\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, \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/specification/ClassDefinition.java:200\u0060 calls \u0060mode\u0060 and \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/specification/ClassDefinition.java:238\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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/specification/ClassDefinition.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7223f7995766c14fc2aea0bb03fae28ac6c4419567d481f431d055fcf40b1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 6): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:356-377 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:416-437 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:473-494 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:354-375 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:414-435 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:471-492 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:356\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bf386af1e4f85940ed6398875d466b79bce45d6a5c8e3b72a96ece16dd8b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:151-172 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:204-224 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:151-172 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:204-224 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 152 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9892cc96d3c9ee7e60df4741610ec091c93335c16b27b2ec946eee28c42016c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:89-110 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:89-110 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 152 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"31808cb00f1061c621e9b44831555d75e743700139c647a0412397e262c9b646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:235-256 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:235-256 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 202 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee6a2998123d14697d98d81d1e705b4628d0b402c7f6472534126317c498399"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java:32-53 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java:32-53 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec446efcc370636742a3dbe65e3bab3460a8d14aa4bc58640305781d7be559a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java:147-168 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java:147-168 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cae020091d142bcc5c4e579a526c4ffbb6dc6b0004eb6f3fa7f7d827092c3d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:70-91 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:70-91 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b43d2f49046db02f2012595b834bc1d6d0db45eccf2f0ddc9463174fae5c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceMonitor.java:43-64 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceMonitor.java:43-64 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceMonitor.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceMonitor.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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceMonitor.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83563a0f2f5a24accb56b027809120c553414d03a8f1a37f4496d70b34a0ef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:98-119 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:98-119 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 154 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c67aabe2f7839ea7d1c7ffbb849667a89c5b72c1966238532742d65f422fed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:139-159 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:151-171 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:136-156 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:151-171 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efd101a4987fd1ddbdd99c5ed789c72cb98c3ebb322adf524916ef1e43c80b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:81-101 | jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:81-101 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:81-101 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb54b56ec235cd55aa14dc6ee807e4ff330a9d8ce5706a8dd07c5096986a23e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:125-145 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:125-145 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 202 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a08dee3142ba151bab1c7009e371151c543a87def8703b12444584b0effab3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:55-75 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:55-75 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 57 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:55\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"81458098b64859469a91c97cfef8a6c94cfd741ded115f19e106259828f10ce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:539-559 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:537-557 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:539\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e7bc7ec459f7bf452133f57cf88bb5d44eb26e5bd1c2193284493c58d1c3fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:190-210 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:190-210 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 232 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 \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:190\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":"jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f22592c7e586fcc3454516dd5e3d38573510a5ac90d09994cd1fb2f2d654cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:252-272 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:252-272 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 232 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 \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:252\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":"jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e74d62b34830aadb9da7717a87cd0b0525d8f06b123443a35166f09fecbbf0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java:100-120 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java:100-120 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e2df9c04c091ed9edf7e68d9f88d58406e6366158334f6fbe41b0e0a205635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201321 lines \u00D7 3): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java:168-188 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java:183-203 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/session/SessionManager.java:27-30 \u2014 before extracting anything, compare \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java\u0060 and \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 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 \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/session/SessionManager.java:27\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060sessionManager\u0060 to \u0060NettySessionManager\u003CChannel\u003E\u0060 in one and \u0060NettySessionManager\u003CInetSocketAddress\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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55b5a524f8245b3b907b499bef028620e1ac1ab327522afa8c9c9ba4782b6d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayDouble.java:39-58 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayElement.java:39-58 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayFloat.java:39-58 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayInteger.java:39-58 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayLong.java:39-58 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayDouble.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayElement.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. 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayDouble.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4b889766c4035c898196530fb9c5a2ac96161e0bc0de9a5cc7bcd55b023dd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:112-131 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:112-131 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 152 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:112\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b40d34116c2050512bf66324325e55ff6c671eea30e2bba1fa7ad37365b87f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneSearcher.java:41-60 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneSearcher.java:41-60 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneSearcher.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneSearcher.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneSearcher.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aef3a01aa9f957eb9bb8dd1ebc1a1c257829529933e7e2c7432a11c269567fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:34-53 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:34-53 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 108 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:34\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9c7539b494af8759a7fb58e8171d24f08fca8456f1498e88eaad64d62b6bb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java:48-67 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java:48-67 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f784f2d4abc4de5259c29548444fa7f8ef15428b0b9b7b4a7033406f3d970013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java:39-58 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java:39-58 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 92 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 \u0060jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java:39\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":"jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc3769e753df8855f7f0ace97822287bf1b0ef194705eef1728033ce85a4584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java:77-96 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java:77-96 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b71e80fbba83ae14af20287d0a1e050d14129dcb8d4fd95d56ef9dc2e40aa74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:236-255 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:236-255 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9605a89abbe745c6f09238c541fc11c67fb3c371814fa7504726185de80a103a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:123-142 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:123-142 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 154 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebdaf06af4ef657e9c94a272d609117d1c1b17aaba2f1de1444803ee159a46e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:314-333 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java:345-364 \u2014 before extracting anything, compare \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:314\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a29150367cca04bc47dacd41953b8a467d460d30e6d36b7b41b4e4d7b90b8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 12): jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:80-97 | jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:81-98 | jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:104-122 | jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:84-101 | jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:73-90 | jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:68-85 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:80-97 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:81-98 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:104-122 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:84-101 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:73-90 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:68-85 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java\u0060 and \u0060jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 91 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 \u0060jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:80\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":"jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b0bb802041685af4debe059a7dbba27097a84c5e46a04a2473ce1b16de1c52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 8): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:249-267 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:303-321 | jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:232-250 | jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:289-307 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:247-265 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:301-319 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:232-250 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:289-307 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:249\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"80203829630737882e6ac7d2de24b8070e9dde6a833c40c23be75e7e61350e50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchMetadata.java:54-72 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoMetadata.java:98-116 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchMetadata.java:54-72 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoMetadata.java:98-116 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchMetadata.java\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoMetadata.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. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchMetadata.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":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchMetadata.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9ea5e31f1b8ee6ca133b01479b34ac98f5b9950571bb21856eba535476599a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/aspect/TransactionContext.java:71-89 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/aspect/TransactionContext.java:71-89 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/aspect/TransactionContext.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/aspect/TransactionContext.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/aspect/TransactionContext.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd17119bf82eea219a592ce6ae6c92fc8dec583b2694224705b9e2a9bead821"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:173-191 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:173-191 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 152 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:173\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c812771b075a79d99c6a3935da34d759452447655ee804fd8bae7633a432a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:158-176 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:158-176 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"663d899a3e4611659d92fe7065ef7f39073ed674b2cab37d20627fe40aebdbbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:72-90 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:72-90 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebafdf76b6bcd283bb4835692d65c3eeb04ff857980baa3663c3a5e9d9ba1c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:50-68 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:50-68 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 83 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:50\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":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"452925e088e37a4052a342731da31ff00242aeb1d190a9a623f12b5274e0735e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:572-590 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:570-588 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:572\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1e38c5c5f47621df93adb4cb56db1f9d1882ce6d5b4751ef1d3893c6deb139"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 12): jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:74-91 | jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:75-92 | jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:108-124 | jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:78-95 | jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:67-84 | jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:62-79 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:74-91 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:75-92 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:108-124 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:78-95 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:67-84 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:62-79 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java\u0060 and \u0060jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 91 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 \u0060jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:74\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":"jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc83e4317ab66a5024e6c4d34f247f18ea2c2b5b79a4d26836eff8011cb390b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:53-70 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:53-70 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 152 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b875cb10e5b7c5b7ea3f31db2c031570f134c1f2ea1ffe033f5fe53c9333582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java:139-156 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java:139-156 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"719e62b40b2aa9a019d6514eb5acea36b4548785149936b7657343224cbb4612"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:78-95 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:78-95 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1720fee9c73e925fad4f5128b49098dc33c1d051ae929d3a0f0298ea0981ae56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/ObjectSortConverter.java:27-44 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/ObjectSortConverter.java:27-44 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/ObjectSortConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/ObjectSortConverter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/ObjectSortConverter.java:27\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/ObjectSortConverter.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4b31285975a47d46619dbcaae283c25febc15ef596f4b55c77671a1767dae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ObjectIndexConverter.java:27-44 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ObjectIndexConverter.java:27-44 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ObjectIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ObjectIndexConverter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ObjectIndexConverter.java:27\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ObjectIndexConverter.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6755e52d2dea3716779c83f0bcfc671119275a22c8698f0c31ce2c4b7014a566"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java:39-56 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java:39-56 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java:39\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"af236b8655d5b629c8df62a5bedc841452f1eaa35ad72c5df31aaaa28f561734"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:194-211 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:194-211 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae80d548b78814deb16168e842e9f68689d42b121894dc2b0d707c234abccf35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:215-232 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:215-232 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"2922a1b4bb60d89f43a5f4b3adb58d249251fe2de183910d19fd0aae674fa782"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/PackageUtility.java:84-100 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/PackageUtility.java:135-152 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/PackageUtility.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 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/PackageUtility.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"813496fcd9ec1318a9791344e77dd6dffa84f1847286c1d22fc0c55e66c58df7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:215-231 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:259-275 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:215-231 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:259-275 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:215\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"182f120a1dd8f487b562dc68fc6750b48066a5c51d8400736d9c98be87cf56d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:239-255 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:255-271 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:421-437 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/TermExpression.java:172-188 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"648bf880285b1bd8bba27fd22a5868e9adf524fe41b246df90e30bbeddbb2ff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:347-363 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:389-405 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:529-545 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/TermExpression.java:235-251 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa289ad77ba69cad151d2bdd7571a7ef86ed9cd8242ae74faa4bbe355707a6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java:281-297 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java:256-272 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java:294-310 \u2014 before extracting anything, compare \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java\u0060 and \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 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 \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java:281\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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41bf8c0eed83f6bf7a26e83eaf8286bbf4876c50dad29166859b57791ea3aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:100-116 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:100-116 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 202 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdab6c944fbf733ab3757051ac770ad721651db8ce06b9ecef7c23d20a337f1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:414-430 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:414-430 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfa41fd9cfb0461bcb3c4ff723f0836bf796a835d2a60f7407e7bf473e49faa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java:213-229 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java:213-229 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a037172c8e4ae5d2afb5b7873d5b44292e07aab0d41f44f2b34257f576df0fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java:70-86 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java:70-86 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java:70\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"894c3ef8c2aa0ca039e20710a216e559b38fdd6417b9717aff68a29f7d0e66ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:120-136 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:120-136 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 99 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:120\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"842abca16aad4680b4ad93326bf4b0b3d848bcdddd866408191acc24fd6ece92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:297-313 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:297-313 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b923978b4ebffdccf54821ad9fd8582194455adb6fb5229778057a49035cb14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:111-127 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:111-127 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 142 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:111\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1419fe0b6a9698b8829bd42cb53e37b4d530f2c0b357e29ea9a39a15f6b8973"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:117-133 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:117-133 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:117\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":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88f661eafd9763c25cc2480be89dc2160bdf6593fc7822160ca8cf2446b653d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:111-127 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:111-127 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 83 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:111\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":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba6bc5d5f8e3667afa0ed38cb575b94ee2f765faca6ce8c459ffab61eb6b5b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:59-75 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:59-75 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f200daf96fcdf6e1ade0c326afe014ecb724f2d5bdffb9e4d21153cb24f56625"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:83-99 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:83-99 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 116 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"451e81837376605cf851e51dac9eab3229adb8d07b3b4d5b0252943fc070255a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:61-77 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:61-77 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8792e8b137decad160138e49ef0a7063956badcd8000c4b8348710d597e84856"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-rabbit/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java:165-181 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java:165-181 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rabbit/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-rabbit/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff54b4d17a0aaffca9017539425ed16d1b41a8a91b4b960fe02bff509f15c837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java:42-58 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java:42-58 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6dc4e5c42886682147303ccb3a98c1e167747c050893e259f060b90095b9d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:175-191 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:175-191 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7651086a7f9d9a93d41d9289f541dcf300df9e0787b58a0284a6e8c57df82d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java:89-105 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java:91-107 \u2014 before extracting anything, compare \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java\u0060 and \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 97 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 \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"804def6209f9bca6a45d799459607a27a9ecdf529be5d418cb32cf468911c2c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java:276-292 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java:314-330 \u2014 before extracting anything, compare \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java\u0060 and \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 125 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"724115624699af811423401bab69cd5f5abe439d9262ad51917b1d266f246467"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.java:122-138 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.java:143-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.java:120\u0060 calls \u0060getResources\u0060 and \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.java:142\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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0a66458055e391dfa4250522bf298b234d04ae8c37f2c36baca71f30b97a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/kryo/KryoContentCodec.java:75-91 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/kryo/KryoContentCodec.java:99-115 \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 \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/kryo/KryoContentCodec.java:75\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, \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/kryo/KryoContentCodec.java:74\u0060 calls \u0060try\u0060, \u0060Input\u0060 and \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/kryo/KryoContentCodec.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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/kryo/KryoContentCodec.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa06ea46359fa12654aed72b6fd04d704578e5978ad98c2a176208f9f7a3fbce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 8): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java:95-110 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.java:78-93 | jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:58-73 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:58-73 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:58-73 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:58-73 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:58-73 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:58-73 \u2014 before extracting anything, compare \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java\u0060 and \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java:95\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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"996d7abe62a272ace01d8d0ce187c38d648b016f4702f0cf8a31847413740736"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java:49-64 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java:53-68 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java:88-103 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java:49-64 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java:53-68 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java:88-103 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5df5d5c99cd6f5a967c503aee5ea173612d54a7fe8da0dcba7fa2e87c70065"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:310-325 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:344-359 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:378-393 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:310-325 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:344-359 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:378-393 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 148 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:310\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":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbb6157ad46c74bef647c3e76c8a3cfeb85f193062e0f5b09a542d0933714f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:108-123 | jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:143-158 | jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:173-188 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:108-123 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:143-158 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:173-188 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddd8999a300ff01dd8644e57ccd4e040282dd42d6e0649cd58cc7ac1778228e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java:30-45 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:74-89 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java:30-45 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:74-89 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"604e8d5533191d7084d9950f733e479dcce12bbf5cf9d8b843e491345d651954"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:123-138 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:135-150 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:120-135 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:135-150 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:123\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd11c7a9715959adc046d560ad16812f5339013cd68c839859f72623dd824c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:553-567 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:584-599 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:551-565 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:582-597 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:553\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"7602078a06f93586d9a7c0959d78597ce9792bf3de4a64abe8cbd77015867d8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:120-135 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java:126-141 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java:143-158 \u2014 before extracting anything, compare \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:120\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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8c65ad972213ce4975606d35934f117fa22fda298a0c8d6b676c74a870938c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:130-145 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:130-145 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 119 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:130\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1df8c3177db0462c9f676fd3f961fd276e41663938929ef17801e69b070179"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:56-71 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:56-71 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"db184926ae4b79d7895db425fdf1513bbde70d22b99513c9163491fb46be4f99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:136-151 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:136-151 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 142 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:136\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"324b170e2c1d4dce33f710b4dd35e6ab32949c53e350215d01ea2038367bbb7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java:73-88 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java:73-88 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java:73\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eeb534406789484ee1f9baa792fd7ef47090efdeebd718913ee436ce4935f24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyAccessorFactory.java:53-68 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyAccessorFactory.java:53-68 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyAccessorFactory.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyAccessorFactory.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyAccessorFactory.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc3b64ba4714a7bffd569ce10d60dcd4bc60e9c464611f41f65af10d559ed5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:129-144 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:129-144 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:129\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b64fa4d27f09a3e64aa35729fb6dce8e8c08090821aad33d3097b3760064b99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:466-481 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:466-481 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:466\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb0436c3528696c31cb59e8adb83c346771394ad2b7b04ef700b9d013d5b9e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:195-210 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:195-210 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f2446bc32a3cb97de1b7ea6d4e74f5367fe7e03e8eb77398d33199c0515455"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:147-162 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:147-162 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1153833c2f3fb5071e2ea0043f928d1ab0b11203e29be33e43067f80210bf386"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:211-226 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:211-226 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"86370f4718167e3b086a7c82f1c9bb5e22648c2a5129c1a393a933841835ec50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-rabbit/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java:185-200 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java:185-200 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rabbit/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-rabbit/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be2bb90ea2889227e9db8963300ac72d137aea8801b77637df8127000aa84aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:216-231 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:263-278 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:216\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b08f8cf408114338b5817f5f368b38fb3736c817a88f3f798e81682605cd17a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:324-339 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:371-386 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70ede571cdb7c02c078a4bc1db57d12476dfdaff1dadd221a9d46fd6b821b38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:398-413 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:445-460 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:398\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50cce206bf2229df2e07981ebec6199bcf7aaa1cc33266fcca515e41cd5c128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:506-521 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:553-568 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:506\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da4f0ba9a91ad7f02bb624f08f1227377c12b82d682f909136615555b45ebdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 8): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:126-140 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:107-121 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:104-118 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:98-112 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:126-140 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:107-121 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:104-118 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:98-112 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:126\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"53dbd45c9cd634adc6c3dea334353bc484020e350875a2ccda1c79c65589988f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayDouble.java:62-76 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayElement.java:62-76 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayFloat.java:62-76 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayInteger.java:62-76 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayLong.java:62-76 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayDouble.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayElement.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. 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayDouble.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"13827d593992f3bf9a839d64828c15fe878a14793eefa1ea876789f60e501ebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java:49-63 | jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:68-82 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java:49-63 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:68-82 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 92 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 \u0060jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java:49\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":"jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"829043bf1e63e78c50c7aafd81c9ceb022f4194c899b277bf174ca95cdb60159"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:156-170 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java:178-192 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java:195-209 \u2014 before extracting anything, compare \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:156\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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b636f3a5ad06ceb14f4ff1c893f15af54cb19ff98610c0a1d62c66f75f01d87c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/BooleanIndexConverter.java:30-44 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/BooleanIndexConverter.java:30-44 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/BooleanIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/BooleanIndexConverter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/BooleanIndexConverter.java:30\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/BooleanIndexConverter.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"317410197970343f56141ea8d5ec13746acb1c2f95cc3b1125007a263e7ddaa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:154-168 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:154-168 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"09139a9dbaf5e39e2638d8d7652f07d0da0dec557e14228a4bb1c9aee780ac3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:308-322 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:308-322 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 221 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:308\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":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c6a864b00cca7d4c5f5893772e2cd270215687f02e1bde2fa83ae409c71b1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/BooleanSortConverter.java:30-44 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/BooleanSortConverter.java:30-44 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/BooleanSortConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/BooleanSortConverter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/BooleanSortConverter.java:30\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/BooleanSortConverter.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6931e5a3af742fbe5a6e0680734401bdf7d5d4e2849e0ba2574f113e6f28cd72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:69-83 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:69-83 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:69\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"474ee3dc96d83ba0bc7df95c3e2690f65271706eba01a567905dfd472c666a6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:369-383 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:369-383 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:369\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5b7ccf1fce9b9c1691d9d2d068d007d543542e12b6eb2fd296e6c094c3232e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:67-81 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:67-81 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"04be6856449241a75e4b76b1f3afeba91a2680143c40d47ead17a82050da20e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceAccessorProcessor.java:139-153 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceAccessorProcessor.java:139-153 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceAccessorProcessor.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceAccessorProcessor.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceAccessorProcessor.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d634cdb1fb869c45758602ce2b2aaae690a4dd343e807ff7bfb196c450c7d3a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:193-207 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:193-207 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d215294d7a984f1ad31ca423388e0d2186fd8314429394606e111859b45faef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryTopicEventChannel.java:36-50 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/memory/MemoryTopicEventChannel.java:36-50 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryTopicEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/memory/MemoryTopicEventChannel.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryTopicEventChannel.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad3883bfa84f695b62b7c66a87fa83d6feece311f2e95a48518a7024133b60a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:39-53 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:39-53 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"49687bf0f6b82d5c746406a618d4ddaff6e49d66abad1a9393f600a68060eea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:146-160 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:146-160 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 154 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1d0083d7c3c815de60752befd569569ef551626f67f1b9e0ff20ddee23a059"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/configuration/string/JsonConfigurator.java:35-49 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/configuration/string/YamlConfigurator.java:35-49 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/configuration/string/JsonConfigurator.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/configuration/string/YamlConfigurator.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 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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/configuration/string/JsonConfigurator.java:35\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/configuration/string/JsonConfigurator.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c698f561f7ffa0715fde77cab98a0cb8b4811e4177bc8701068082d09756ef66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:316-330 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:498-512 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 185 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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:316\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"10794482f035e68c1916180bcb5635b54ac714901e57d78ca9928233129a3014"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/lockable/ChainLockableStrategy.java:29-43 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/lockable/HashLockableStrategy.java:32-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/lockable/ChainLockableStrategy.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"13040f8a6441c36733671b236550877df422886b2ff6bc47ba05c6d6a06df9c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 8): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java:52-65 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/InstantSortConverter.java:55-68 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java:56-69 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java:91-104 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java:52-65 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/InstantSortConverter.java:55-68 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java:56-69 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java:91-104 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java:52\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f072916538ca3f5245b0a4d65299427062164d647956375f9de34342a28d63b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:111-124 | jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:181-194 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:111-124 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:181-194 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 232 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 \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:111\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2610e3381c80bfdec5a1978c11b615f99e939569f748c97b76b35b463ea8e91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java:97-110 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java:99-112 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java:103-116 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java:109-122 \u2014 before extracting anything, compare \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java\u0060 and \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 97 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 \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java:97\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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"97332efadd1ebfdd99433de1c4200df994b5f4bcd47efa65a158ce82288db1e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/LocalDateDeserializer.java:17-30 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/LocalTimeDeserializer.java:17-30 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/PeriodDeserializer.java:17-30 \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/LocalDateDeserializer.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e537a3ba6bb2fe4cb230a5ec6cfc857f8fd825993147dbf39c74834c59939922"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:224-237 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:224-237 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ef0ddcea3f732925f9458623e76d55d19cd2f210ba2322c39725f08f3b9064"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:251-264 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:251-264 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 221 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:251\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":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb29e075a3ff7a08cff86e3003dd032d9d1ce324f6f4afbf6a9d39af36da06d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:281-294 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:279-292 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:281\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"39eda73529748620d5b143a800e830afe124ecaca9a3d189a9e6580d41a6fdf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:604-617 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:602-615 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:604\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff85017989cb8632a54f23d9086783f72faddfd250e242fd0d200307c598ad8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:100-113 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:100-113 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d3e6986cd3ed006c8128ce5af0467005336541828de6b9eeb372b166bc3279"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java:118-131 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java:118-131 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 78 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 \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java:118\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":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9310cc8869f1507677b3ff80ae9821a94bce612ed525701e0cd9d5f6e08a9d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java:132-145 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java:132-145 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 78 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 \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.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 \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":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ecb6c11ee83a23f81edb0a30f94cd34aa27e8425222f5ced3f78cd2c463d72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java1Storage.java:182-195 | jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java2Storage.java:273-286 \u2014 before extracting anything, compare \u0060jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java1Storage.java\u0060 and \u0060jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java2Storage.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java1Storage.java:178\u0060 calls \u0060isBlank\u0060, \u0060getClass\u0060, \u0060getSimpleName\u0060 and \u0060jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java2Storage.java:271\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":"jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java1Storage.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccc95e2d010b71fc045fc5cde0ee8c10cffaa95da4966ba887edb91acf4e0a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java:79-92 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java:79-92 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcecc4bb313d7773d785417abdce0dd544c12cb08324f6c1fd21041c3a82e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java:96-109 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java:96-109 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae737998389a41f00d762dbadd30ac9947c87b001a6054e6148beafb46d681e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java:88-101 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java:88-101 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a5750aafd8115f600d7e5865848c08ecd4a70eb5dee2a5cf66370530a8d9c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:208-221 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:390-403 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 185 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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:208\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e6b40f6464ca7d62614c8e50c26ec871c745833d7de01a7d9eb997eb2aa68d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:364-377 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:546-559 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 185 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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:364\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fbeeb80cc5d5a7945d4546bc3c157df050e212bc270ad6e75c863ea71e7f88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PromptPersistenceManager.java:127-140 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PromptPersistenceManager.java:180-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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PromptPersistenceManager.java:127\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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PromptPersistenceManager.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e3080483a6c0c2827995b522527253e6aaf8ecff8ad738f507037f3b658d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 10): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java:50-62 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java:66-78 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/ion/IonContentCodec.java:50-62 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/ion/IonContentCodec.java:66-78 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/json/JsonContentCodec.java:52-64 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/json/JsonContentCodec.java:68-80 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/msgpack/MessagePackContentCodec.java:59-71 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/msgpack/MessagePackContentCodec.java:75-87 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/yaml/YamlContentCodec.java:52-64 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/yaml/YamlContentCodec.java:68-80 \u2014 before extracting anything, compare \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java\u0060 and \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/ion/IonContentCodec.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. 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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbddd0acd01f0c8d0940ce8bc52f3f98c4c67e462b0f65a6d384c01a5f32456"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:139-151 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:167-179 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:142-154 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:170-182 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:139\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e77a3d32fbd8548acb2f04e7dff43541b0456be4dadb48c5c8a9ee51d67204"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:127-139 | jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:205-217 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:127-139 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:205-217 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 232 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 \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:127\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":"jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cd4e50d56be1b10323e8f2a219405146803d6054043fc6c04591d2e69ce73c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:120-132 | jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:171-183 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:120-132 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:171-183 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebefe9c05c96c8a3123bff9d87554189df29e634bc18ef4f3e8ff6a10290edb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:118-130 | jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:161-173 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:118-130 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:161-173 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57fc4a56ad7ba681f6f65f9c14cb43d8baf0a688cdd480177424db576702a7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:200-211 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:231-243 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:290-302 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:231\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac83ffbf9550598329b62d56e5df8f77469e2ddee90a1d2689d07f462b779159"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:337-348 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:365-377 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:421-433 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:365\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"0396e96e6710cf3db7825a59cd3ae65ed1875518421fa4c64204c7e5968bb406"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:136-148 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:136-148 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 152 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:136\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e220a1a87e7b3c785b4f72e2707cbda521714931284298592545b375ff5cd55a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:195-207 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:195-207 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 202 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:195\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c5927329a0c756f0b2d9eb4a627f2cd59da926503f2af919403136633f2515"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:143-155 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:143-155 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 115 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:143\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6ba702d4c5fa036d1c9b87dcdf7c78ca47c22821af15add83ed74c2e5e260d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:211-223 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:214-226 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:211\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea3f5ddf55ffb392dccb9bac3a31d5504348510a4c5f315129bc941bb3bdb86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:82-94 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:82-94 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 107 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:82\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"40aeb24c3f77a443752278217bb37204ad91cfff9493d102d3cb72fb1240e161"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:160-172 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:160-172 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9876fdac128261965edd8afeabe6c15eee0e7904de9fa4371f64f3c639978c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:95-107 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:95-107 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc371e95b9b4b20a702841e0d23104b7af73a44256890231e80385a3eec9269"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:638-650 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:636-648 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:638\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fd7ba12b3e587d483766125d18ff967d1c7a4d1eee43ab74775eda406ca16a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:134-146 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:134-146 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:134\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c11487bef435e31f1556986f46b242bf84fd24e4d2a64e7db48d87295624194"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:124-136 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:124-136 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc1bbee632bf3caee5649f1583221659ea284cf70fd780a9da6ba350a930e44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201313 lines \u00D7 6): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:346-358 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:391-393 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:435-437 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:346-358 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:391-393 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:435-437 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:346\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:345\u0060 calls \u0060entrySet\u0060, \u0060get\u0060, \u0060getKey\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:391\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c87b786b2bd913340fa7df4991cc213bddfa42b36312bc7e994ec62f7a55ff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:48-60 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:48-60 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 232 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 \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:48\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":"jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"80590c49980a9b69e3d6d0cea125e2bfa42c6172ca9b46004930a62449b6668c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:88-100 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:88-100 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e923acdd2b4c6a66bf9499ccf745ba28e862902bf99a33c7c16a8fd7ef75f089"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java:88-100 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java:88-100 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f9508612183509d1f13476f055c2b07b284e06d5d505899b8c8b85e4c2980c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:71-83 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:71-83 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e180d221d5cc453cf9ef3c779072527c4367ee3347f132761753f9814295ce7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:256-268 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:438-450 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 185 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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:256\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb553c6b568510a64234b99520da8e977016e97fbb932252b8b4452824aa5dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:99-111 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java:105-117 \u2014 before extracting anything, compare \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2350eb50314417f03f3a550e5e1f3aa0d1a33d98318ede997857600cdd2998e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:241-252 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java:297-309 \u2014 before extracting anything, compare \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:241\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa5cea43472a7cd36d7d97c3bdc898abfde199d77ac253a28c52798a8b5e754"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 12): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:215-226 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:239-250 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:270-281 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:290-301 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:331-342 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:365-376 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:215-226 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:239-250 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:270-281 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:290-301 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:331-342 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:365-376 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f31c8efe5064f91bd7366898b9990d1e2577d8123fa5b6eac29e5cd8844b162"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:162-173 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:174-185 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:159-170 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:174-185 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa14373f58e2e24e384930cd2d3c9b7cdd399f22b5278d9244d7d8e5acb7947"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:420-431 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:444-455 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:420-431 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:444-455 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:420\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc36c9ed848eafb953991ec3890b67dfbb228aaec4e2a950202239a4f04d37b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java:104-115 | jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java:105-116 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java:104-115 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java:105-116 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b61b0152d7adbca72c09d1402657ff26dc366b840fd127488374a26191f421"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:160-171 | jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:145-156 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:160-171 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:145-156 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17498de8c9dbc2399485701252bf213588debabd9703ba8213038b3d0785619"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java:53-64 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java:53-64 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java:53\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1d33df4cb2f6fd32b2e2155fc1ea658c00b0314157e14920cc1e05ed612262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:72-83 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:72-83 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 119 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.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. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac383d1ae9739ae241c7d4a6a9c1a271da6a424986b6f60aee7b3703b5d6f51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:81-92 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:81-92 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 57 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:81\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":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f57df10f537e34afb79d4f760d993cb7b5c270a02d2644a2276f15a28c41244"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:323-334 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:323-334 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 221 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:323\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"62924294f77e6e8d02f6df16108873a78ea34a46bc43bdc10a6925968e81f968"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:622-633 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:620-631 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:622\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"e846fd1d055a0d4b433b27e2720224c86a3d05adae8d103b7e9118f593478704"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyAccessorFactory.java:72-83 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyAccessorFactory.java:72-83 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyAccessorFactory.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyAccessorFactory.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyAccessorFactory.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c64fd8ffdcbd4d3ec49951efb39dd43ba7b8dae8fbfc68eca42009f66a7487d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:62-73 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:62-73 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f783dd45e57b03fcb9aef84672f09ef3f560d0b6e76690c4375daaf5eff5e793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:145-156 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:145-156 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:145\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e924172cc9c292c11d274f8bedee31c1cb37981c19e25f2945dada58cf11da0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyVersion.java:45-56 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyVersion.java:45-56 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyVersion.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyVersion.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyVersion.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9aad27531326e7dac4b54a5d666e16a51c0de1c63c1fb5fd34b0d6bd51773c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyIdentification.java:31-42 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyIdentification.java:31-42 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyIdentification.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyIdentification.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyIdentification.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf8ab0a0f27dde4b56290eb165a2035a78de0613ac5e3f3573907002d9a6086"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201312 lines \u00D7 4): jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/python/PythonExpression.java:52-55 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/python/PythonFunction.java:51-62 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/ruby/RubyExpression.java:60-63 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/ruby/RubyFunction.java:58-69 \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 \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/python/PythonExpression.java:52\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, \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/python/PythonFunction.java:50\u0060 calls \u0060format\u0060, \u0060getKey\u0060, \u0060getValue\u0060 and \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/python/PythonExpression.java:51\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":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/python/PythonExpression.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5b6c92f7c61482e9163b389cbb589d00066726a02342e4e627847807b651ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:239-250 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:239-250 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 232 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 \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:239\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":"jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbaa73dc84d4c087f5ae5384a589e8b784b66c6eebd4e0df0d3e3c626440d41a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:122-133 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:122-133 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e92bfa2ca7ff13d5be09d2bcc3ab060d7343c293ec22fc087226f922b58e41e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:256-267 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:256-267 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58b5dfca7e4584c1b9b0e02aebbde25d20d04d018940bb5c8b2cdf96a5aa0fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java:106-117 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java:106-117 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 78 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 \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java:106\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"785bd1033bfe1a047768c099f99ce9096426c6c07dd4360e3c75d0771b9a08d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:144-155 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:144-155 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21dd1ed538c80f9645a7a3cc411fa0bd482f8f6266b90e7805d8afcb90793a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:136-147 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:136-147 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd205de638e08d55aa3314e78afc0029a995291cc642f2f7b4aad5696d38cf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:96-107 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:96-107 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b4fd21839797b5ad57adabe4f394ea247406b8c558430b6f53595d62104473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ArrayConverter.java:28-39 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java:261-272 \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 \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ArrayConverter.java:28\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, \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ArrayConverter.java:40\u0060 calls \u0060getRawType\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java:273\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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ArrayConverter.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"723d229c7eb2206fd2c6158c1b9624d7fc60f3fd38b7313c5613d547eab5782a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/MonthDayDeserializer.java:17-28 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/YearMonthDeserializer.java:17-28 \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/MonthDayDeserializer.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e5c02d63c7b7a5cd90242d5467a5ed1614a94a620da9a22860d23c0ded337d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheAccessorProcessor.java:43-54 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheAccessorProcessor.java:64-75 \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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheAccessorProcessor.java:43\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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheAccessorProcessor.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0097961ba710714e38c0c451cb9ff622da5bf6f4dbf0ce70572ac1043d605f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 12): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java:147-157 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.java:111-121 | jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:101-111 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:101-111 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:111-121 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:92-102 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:89-99 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:83-93 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:111-121 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:92-102 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:89-99 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:83-93 \u2014 before extracting anything, compare \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java\u0060 and \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java:147\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8799f347ae2f757cb3db1d7e76aff8ee93e74f041181544fdb99c278a3db00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:420-430 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:444-454 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:466-476 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:420-430 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:444-454 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:466-476 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:420\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cea508e15ea7ba2293dc082ca28d2b160e9e6daca04a97ee8a75bee732de5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:115-125 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:181-191 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:115-125 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:181-191 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 107 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:115\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:111\u0060 calls \u0060getCreatedIds\u0060, \u0060getUpdatedIds\u0060, \u0060getDeletedIds\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:179\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"51235c9246a102792ada08c912e07320dd4d080750cd37bc213ee768bb713222"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:105-115 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:130-140 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:105-115 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:130-140 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 142 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java:105\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/TransienceManager.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a6236975cbd0d26c47e30bdd17c9742a01bd3b61ed18a1db802e243549c48f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ObjectIndexConverter.java:40-50 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/ObjectSortConverter.java:40-50 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ObjectIndexConverter.java:40-50 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/ObjectSortConverter.java:40-50 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ObjectIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ObjectIndexConverter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ObjectIndexConverter.java:40\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060annotation\u0060 to \u0060LuceneIndex\u0060 in one and \u0060LuceneSort\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ObjectIndexConverter.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b1afea81bebdfe141e48d6dd0d565f091a31870a0b826814116e2ce892020d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:198-207 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:217-227 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:264-274 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:217\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cd4174bf1aad7f350af798d8dd45dbaec10dac5aa16b9903534f3438bf8f00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:306-315 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:325-335 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:372-382 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:325\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c89e6d62dd1d433c86174be23ac34a0d5543275505f82f0a46497dc87e0e9c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:380-389 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:399-409 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:446-456 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:399\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0fbf3fbbca29415caddff1f642229b8249c8dfab3fa18bd9b1be00de64f27d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:488-497 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:507-517 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:554-564 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:507\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece4e916f225997694d944bb5bf37d4aa5ce4c2873553ad272429d44a8a25261"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java:233-243 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java:233-243 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"286daa213bf21498a14ee84aa307f6c4b2a608a1d6ffbe5c50e5e22f18c4c255"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:81-91 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:81-91 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d94ee0ee2ca26604d5459bb64cadd2c444f602be79f05f3cdae9c2698120ac7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:125-135 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:128-138 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6584b2754c6d1ff86f040681c56c1ce32dd3088f15980ab678ce21c0455b151"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:200-210 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:200-210 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bcde312c6f762bbaa68db5035b54f764e01f54ba1c4964e0c16e34f5df0ade"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:214-224 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:214-224 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9831420aae5d771265b846aff6932ed6769a758cd68b5742ba20fff536e7ebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:112-122 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:110-120 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:112\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f91643eebb1bb145d8855b1db4de378422c9decfa70d40a8172d6ed9d85d4a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:214-224 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:212-222 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:214\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d526481d89ae7c0df6b648fd7abf33a739b199ccadb981dfd64c51fb5d4508"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:230-240 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:228-238 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:230\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae1acd849cdc9545e551c983b1caf0abf5c875ca82eb3b8371c74a746ae10be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:655-665 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:653-663 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:655\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9fb5483e2adf68036d08b096b665875eeee328770944e1a4d63b18fce6fcea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:114-124 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:114-124 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:114\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"01622d06599511c50aa33d6dd57e3f7a178e8e6ddb617c8c4ce04d9bf001ea76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:196-206 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:196-206 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:196\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2bf8cfe700014e7f4363daff8afa8edddbf6665b661ad2867875f388c7bdc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:98-108 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:98-108 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28ab3c00a470fcfa831dde7db52a13ca6a5f8958c90ebc366d249739713d8aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:111-121 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:111-121 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"930f3ff79d197ef7dee6c6723ea448f17aae4a2ad34dc1f063d9939ec4c0be17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/FormatDefinition.java:52-62 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/definition/FormatDefinition.java:52-62 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/FormatDefinition.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/definition/FormatDefinition.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/FormatDefinition.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1715e253e6ce9792fb451840fc359915ca6ddd15dba92b768e79f3eece590890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java:182-192 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java:207-217 \u2014 before extracting anything, compare \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java\u0060 and \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 125 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d57480989f2c6423504966da91a570ee90596cffa1e57d98d19275778e954c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ArrayConverter.java:58-68 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java:116-126 \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 \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ArrayConverter.java:58\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ArrayConverter.java:69\u0060 calls \u0060getRawType\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java:127\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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ArrayConverter.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"396641a05ddc1e8f6cb44eb68e551115e3fb821cda722698b1bc58b91407b9d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:342-352 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java:372-381 \u2014 before extracting anything, compare \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:342\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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e647b2ca9b6d882ef1888a81989556fe2267988d6d8b0145f64de8579d8076"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java:158-168 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java:173-183 \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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java:158\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, \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java:156\u0060 calls \u0060getResources\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java:172\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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a45daadcaa7ec17a99826256fd6461ee2cdb47e0dc9585e703985492d1c90cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java:117-127 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java:119-129 \u2014 before extracting anything, compare \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"08295511d82924c551819febf5fcfe508d30f4bf021a7c24cb14e99361cb204c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java:141-151 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java:143-153 \u2014 before extracting anything, compare \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"353721d8909da3a415996cbd947a722dacc500e14ee773a6d2fcdf59c21a8f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java:188-197 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java:208-218 \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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java:188\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java:197\u0060 calls \u0060getCacheObject\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java:218\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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ae15b6a8a6cb1c1cb7739c4dae330151dccde528147dff0d0b9ac8de79f4e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 12): jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:69-78 | jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:70-79 | jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:93-102 | jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:73-82 | jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:62-71 | jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:57-66 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:69-78 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:70-79 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:93-102 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:73-82 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:62-71 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:57-66 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java\u0060 and \u0060jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 91 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 \u0060jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:69\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b738d32f86a97e055c230411ee623158b36d61cad48e02cc66d7197b218bcf7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ArrayConverter.java:33-42 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ArrayConverter.java:62-71 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java:92-101 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/ArraySortConverter.java:31-40 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java:38-47 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java:67-76 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java:92-101 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/ArraySortConverter.java:31-40 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java:38-47 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java:67-76 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 114 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 \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ArrayConverter.java:33\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ArrayConverter.java:32\u0060 calls \u0060valueOf\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java:37\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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ArrayConverter.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"927969f82e7d75fcceda17d0711af7acb4d2fe02294614e84773d69412ddb033"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:70-79 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:68-77 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:68-77 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:62-71 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:70-79 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:68-77 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:68-77 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:62-71 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:70\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, \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:61\u0060 calls \u0060getMetadataReader\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:69\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b072e93722b110668a06d8a4b977497d39d90a70b8f6645eb862d5e33376940"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:264-273 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:282-291 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:264-273 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:282-291 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:264\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":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c454e199c2ba9cde0b522acc48d916b19588912b11c13354e9a6c0e4846ccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyFunction.java:47-56 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/js/JsFunction.java:46-55 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/kotlin/KotlinFunction.java:46-55 \u2014 before extracting anything, compare \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyFunction.java\u0060 and \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/kotlin/KotlinFunction.java\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 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 \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyFunction.java:47\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, \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyFunction.java:44\u0060 calls \u0060format\u0060, \u0060getValue\u0060, \u0060getDeclaringClass\u0060 and \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/js/JsFunction.java:43\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":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyFunction.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e48106c7148ba9175c61ec81bfe8ff2ef5bd376b3ba25c2da77401050b73a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/LocalDateSerializer.java:23-32 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/LocalTimeSerializer.java:23-32 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/PeriodSerializer.java:23-32 \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 \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/LocalDateSerializer.java:23\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/LocalDateSerializer.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b2762d8b650049b41b5271c9c73baa4faa41b323b3d73d7f900145031b9262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:283-292 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:283-292 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d650ad1f2b36fc1bc52661a48a71579793e61eec7a3f97e4e0cf185b6056953a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:54-63 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:50-59 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ac284e4b28619f281d514fefd8b09fbe4bc0c111b3a1d1f674280db8bfd06d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:160-169 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:160-169 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 119 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:160\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff22748d5a457779ef8dfc42fc646b45e8b6e57e0b73ebdc05dfacc55aa51959"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/LuceneContext.java:161-170 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/LuceneContext.java:161-170 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/LuceneContext.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/LuceneContext.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/LuceneContext.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f64b7dbb14f2e91636127074c95e8c2f52d9724749b85a44be3af0c0f4fc405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:65-74 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:68-77 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"61aedacdd1e0289025a4c8f2bb421c6895ed613d1201a75dd600cff2a9ed01d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:238-247 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:238-247 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:238\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1258d57e853945cd370ae9d2e4163fa6bc43c9253f69e7d3de35f6a44aec29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:246-255 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:246-255 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"4277957ffcfa5f91f5d428501607bcf915fc1a6c2219cc6f8cd724487af57349"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:101-110 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:101-110 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 116 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:101\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"862157ccd259557b7baf05952551fca1cf77385062b0ddb07830d1183dd3561f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:54-63 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:54-63 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 108 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9396462a098fe7490db8dbab52d03905a64fbb741a1afbb0500f4ccc37a12afe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:73-82 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:70-79 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java\u0060 as WHOLE FILES: this scan already matched 7 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. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:73\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:68\u0060 calls \u0060getString\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:71\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbee21a22325ec3fb4281e2414df3ec74dec3f6a91fb95c0a8021e2d1ce5b73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:86-95 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:83-92 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java\u0060 as WHOLE FILES: this scan already matched 7 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"119ee2dd3cc52a16d59b8899580e71cf5289ba1d81dbfddf6bcb0f0a22dcb283"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:165-174 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:163-172 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b180753e41fc95895ec03e95c667dae6d96cec784af6ea78a61d1d96d406a716"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-csv/src/main/java/com/jstarcraft/core/resource/format/CsvFormatAdapter.java:33-42 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/CsvFormatAdapter.java:33-42 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-csv/src/main/java/com/jstarcraft/core/resource/format/CsvFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/CsvFormatAdapter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-resource/jstarcraft-core-resource-csv/src/main/java/com/jstarcraft/core/resource/format/CsvFormatAdapter.java:33\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":"jstarcraft-core-resource/jstarcraft-core-resource-csv/src/main/java/com/jstarcraft/core/resource/format/CsvFormatAdapter.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"24547eea742af09ff5176df754c12ce18ed6cf2a441542fd44e3604b2e2c59eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceStorage.java:30-39 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceStorage.java:30-39 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceStorage.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceStorage.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceStorage.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"710aef1fd308653e92054f86bff6c4c7bf57350eb0220977f6074ce92d29d00d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-io/src/main/java/com/jstarcraft/core/io/disk/DiskStreamManager.java:39-48 | jstarcraft-core-io/src/main/java/com/jstarcraft/core/io/git/GitLocalStreamManager.java:41-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-io/src/main/java/com/jstarcraft/core/io/disk/DiskStreamManager.java:39\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, \u0060jstarcraft-core-io/src/main/java/com/jstarcraft/core/io/git/GitLocalStreamManager.java:51\u0060 calls \u0060getFileName\u0060, \u0060add\u0060, \u0060addFilepattern\u0060 and \u0060jstarcraft-core-io/src/main/java/com/jstarcraft/core/io/disk/DiskStreamManager.java:49\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":"jstarcraft-core-io/src/main/java/com/jstarcraft/core/io/disk/DiskStreamManager.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10eac8d56f476bb1f5df5aa8f495147a09109318ba3edbb42a6bf6e35af7f2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:259-268 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:259-268 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"4779caa01e0a3aec9842ebb07ae3bcce7c67b77286613bb4e3b8d1e7d17dc48d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-rabbit/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java:113-122 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java:113-122 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rabbit/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-rabbit/src/main/java/com/jstarcraft/core/event/rabbit/RabbitEventChannel.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d9ebd59275fad12497ef14b880b521063cdda4e4470913470d95aa0f220cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java:267-276 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java:309-318 \u2014 before extracting anything, compare \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java\u0060 and \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 97 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 \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java:267\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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c54d0f278729852254b079a5af2ee88c0eb21949d2ae88f245bf247126bbf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java:120-129 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java:266-275 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"342e00cdd46b49057f92b68a9192339729b0e5213c22dc05343ad7b5e008701f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/PressUtility.java:126-135 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/PressUtility.java:146-155 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/PressUtility.java:126\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/PressUtility.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cf837f43ed52a9b84c8a56c6cf6eebda8380ad8735867d1b2c198ea54643c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java:103-111 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.java:86-94 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:68-76 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:66-74 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:66-74 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:68-76 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:66-74 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:66-74 \u2014 before extracting anything, compare \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java\u0060 and \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java:103\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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/schema/CacheXmlParser.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"90747001bc0cdb61a1a10d058c07068297a18e8c036153a9e428e1faab982865"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java:34-42 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:41-49 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:78-86 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java:34-42 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:41-49 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:78-86 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java:34\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/MapIndexConverter.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d868d1c155b654dba05eb1b9001713b7c217a469a9b513566ad3d06e4d0e3429"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:101-109 | jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java:55-63 | jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java:51-59 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:101-109 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java:55-63 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java:51-59 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 171 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b1e3f92128005b6a22e9b0791bff52534f195dd0e51548b2ec0d6dab8ed6a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20139 lines \u00D7 6): jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyExpression.java:50-58 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/js/JsExpression.java:49-57 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/lua/LuaExpression.java:49-57 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/lua/LuaFunction.java:50-52 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/python/PythonExpression.java:56-64 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/ruby/RubyExpression.java:64-72 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyExpression.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. 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, \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyExpression.java:47\u0060 calls \u0060format\u0060, \u0060getValue\u0060, \u0060getDeclaringClass\u0060 and \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/js/JsExpression.java:46\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":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyExpression.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"39925131cb149b6c506c566515e33c37818764eb873ad71230f94a3ed0574aec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java:207-215 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java:250-258 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java:255-263 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java:288-296 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java:323-331 \u2014 before extracting anything, compare \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java:207\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java:265\u0060 calls \u0060put\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java:333\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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dfce563701803ba23158851b76b5993155c2f0ec4fcec1a7f9d836ffbd1616"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:105-113 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:68-76 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:105-113 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:68-76 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 149 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6ccf025d217b32442c088e6d2f520b7e6fc597d89ac083b5d3f097430dbe59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:539-547 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:572-580 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:537-545 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:570-578 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:539\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"097e5598268e9678272a3557991456bc71e690484144c1df530460ce3fc83f41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:89-97 | jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:144-152 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:89-97 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java:144-152 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 232 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 \u0060jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"804e3bee62479f52385f7179ff5d77137d8e17c185895d33cd17b635d4e7404a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:120-128 | jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:111-119 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:120-128 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:111-119 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 184 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 \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:120\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":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9305f3a6935833435d0a0045576551ad500ffe262127c17c243e7483830569e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java:38-45 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/json/JsonContentCodec.java:40-47 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/msgpack/MessagePackContentCodec.java:44-52 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/yaml/YamlContentCodec.java:40-47 \u2014 before extracting anything, compare \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java\u0060 and \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/json/JsonContentCodec.java\u0060 as WHOLE FILES: this scan already matched 4 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/msgpack/MessagePackContentCodec.java:53\u0060 calls \u0060addDeserializer\u0060, \u0060BigDecimalJacksonDeserializer\u0060, \u0060addSerializer\u0060 and \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java:46\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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b829fbdccd6f20f42e62f6fc1a94582a4cb75eb7e0b62dbad8a7313efad2b71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:68-76 | jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:68-76 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:68-76 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f92f38e1352c1c9a19eef0c3169ea3e42b7b2d0aeb74b0616fd8c3ab46a6481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java:225-233 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java:232-240 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java:270-278 \u2014 before extracting anything, compare \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java\u0060 and \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 125 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"215bef92e3a73491fbf03c03ff9189bca3153dad7b5ea165fd4646b14828c8a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:302-310 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:333-341 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:484-492 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:302\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c877a6fdbd0794a579fa3085f6a54a0a3690275028eb8f9d918358bc05cf6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/CsvContentCodec.java:67-75 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/HessianContentCodec.java:140-148 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/StandardContentCodec.java:64-72 \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 \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/CsvContentCodec.java:67\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/CsvContentCodec.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"26581ff45b5932451cffb7b5617fddb29951c816842a5523d9a05b649e3933a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/elasticsearch/ElasticsearchTransactionManager.java:94-102 | jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/elasticsearch/ElasticsearchTransactionManager.java:123-131 \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":"jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/elasticsearch/ElasticsearchTransactionManager.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c70e707ae1ca94095390a3d1baac91885fc9d053814a668cb65db23e674ac2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:75-83 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:75-83 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 152 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:75\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"508d181973e1f7e77b94e6202272746a8d81c30313640c22b6c0fce640ed0564"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20139 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:99-107 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:157-159 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:99-107 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:157-159 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 119 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:99\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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, \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:98\u0060 calls \u0060isAssignableFrom\u0060, \u0060newExactQuery\u0060, \u0060doubleValue\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:157\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e9ab654a12cd303d227d1b5ab6c37398ded2b0f8305ab79728362c0ee222fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:279-287 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:279-287 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:279\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b04594dd256af8e565083b68914a6edf3a8aa04ab985f5ec75a680a0288d509"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:53-61 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:53-61 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"378044efa35fb332191441f09778575d55fe8da9e3d7803f51b66038e369e55f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:61-69 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:61-69 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 116 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:61\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"de19ab588000c8664d6192b4998b101f6bfb8fc8425a4e24dd4b9fc32f036272"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:100-108 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:98-106 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:100\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c6371bb7d1c34295c605288d65b535de147d996e7ebc373c7e513a3782901c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-api/src/main/java/com/jstarcraft/core/storage/StorageCondition.java:41-49 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/StorageCondition.java:41-49 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-api/src/main/java/com/jstarcraft/core/storage/StorageCondition.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/StorageCondition.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-api/src/main/java/com/jstarcraft/core/storage/StorageCondition.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71ad9fccd90822df150fa901a3e43d586189dcf998c9711228514041c592e1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceStorage.java:51-59 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceStorage.java:51-59 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceStorage.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceStorage.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceStorage.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c367996ca27f4630a89bb7fcad29d02fab842a3c2aebfbe14b51146503635613"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-io/src/main/java/com/jstarcraft/core/io/disk/DiskStreamManager.java:44-52 | jstarcraft-core-io/src/main/java/com/jstarcraft/core/io/hdfs/HdfsStreamManager.java:34-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-io/src/main/java/com/jstarcraft/core/io/disk/DiskStreamManager.java:44\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":"jstarcraft-core-io/src/main/java/com/jstarcraft/core/io/disk/DiskStreamManager.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c32a10806053d33779cc6de460f3045229fcddfad1cc0d5b1fe0bb46a57d69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:102-110 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:102-110 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 194 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8a6b277510fe1dca63c1b2efe184b6e45d18226107cc1b6840add90b6fdfb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java:124-132 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java:124-132 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"45faebbec72353b462423419b31850537b122427445e946f45ae79a08cbff470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:182-190 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:182-190 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 200 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 \u0060jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.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":"jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7531a8b1beeba7e68f28c0f7c17bc984e67124fb47593f555424dd71734e1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:73-81 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:73-81 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 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 \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:73\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":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4550e59838d432ac000a664ebb4b2e9ac52e4c3401fcca3edf767ceea209880d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java:537-545 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java:560-568 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java:537\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"8197dd20f0017595c00cb5c182f603118ac69f8ef9c92a109d4b9b53455e85cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:40-48 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:40-48 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a34bb7cfed7a4f1710109eb2f7d0b83f859e61b1e689e395365dc5bc4bdac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:229-237 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:411-419 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 185 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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:229\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0c3b8f6fb0ef10550e316f12a120158d4000cd6c35d0a083dd0aa00d555bbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:337-345 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:519-527 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 185 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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:337\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe3d484cd906e19905a3120ec21a5db84265b780969b5cc499dab31ff734ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/AtomicDoubleArray.java:176-184 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/AtomicFloatArray.java:176-184 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/AtomicDoubleArray.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/AtomicFloatArray.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/AtomicDoubleArray.java:176\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/AtomicDoubleArray.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a19cd6924207954a871f38242fa1d5db2857c99354272e37a21a6b627ffc4d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/PressUtility.java:179-187 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/PressUtility.java:217-225 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/PressUtility.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/PressUtility.java:188\u0060 calls \u0060flush\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/PressUtility.java:226\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/PressUtility.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8c27563f4ee185394b3af05beb171bd74680e2f843d578f46357dfb0462995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/InstantDeserializer.java:18-26 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/LocalDateTimeDeserializer.java:20-28 \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/InstantDeserializer.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4812f56741167d0a8d8c9f490d09591e2e62ab5629bb1692fe87bcae3a2e9a18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/MonthDaySerializer.java:22-30 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/YearMonthSerializer.java:22-30 \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 \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/MonthDaySerializer.java:22\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/MonthDaySerializer.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e1c1ebe7dedd7d44c16f7bd1b67b4a1e17bed2bf543468930a0c9129950b74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/ThriftContentCodec.java:80-88 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/xml/XmlContentCodec.java:71-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 \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/ThriftContentCodec.java:80\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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/ThriftContentCodec.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ae620d20aaeb18a489c47baff2c18e6c403d9be38e73a3306d347c4de31ad8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 12): jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:64-71 | jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:65-72 | jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:98-105 | jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:68-75 | jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:57-64 | jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:52-59 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:64-71 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:65-72 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:98-105 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:68-75 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:57-64 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:52-59 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java\u0060 and \u0060jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 91 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 \u0060jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:64\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcfc77c84f3e45c20bd49f61c1a14d53d329e97f45119ba1bd736922a006cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchMetadata.java:59-66 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java:55-62 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoMetadata.java:103-110 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchMetadata.java:59-66 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java:55-62 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoMetadata.java:103-110 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchMetadata.java\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoMetadata.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. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchMetadata.java:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Version\u0060 names \u0060javax.persistence.Version\u0060 in one and \u0060org.springframework.data.annotation.Version\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchMetadata.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcf423fc5bad5994e23590b5f86ba2e8f15143168a1acc50d18d07d5cf0ca50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java:59-66 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:70-77 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java:59-66 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:70-77 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Version\u0060 names \u0060com.baomidou.mybatisplus.annotation.Version\u0060 in one and \u0060javax.persistence.Version\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2232de5fd41d128e3eccfc08fbfab5424a9137beb6aa84b6ab55049e0f3313cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:72-79 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:80-87 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:69-76 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:80-87 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:88\u0060 calls \u0060String\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:80\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0c30b1d4895711a9d4bb5929af4bf77d536daf5a8120f2fddbf2cd7f9122ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): jstarcraft-core-resource/jstarcraft-core-resource-json/src/main/java/com/jstarcraft/core/resource/format/JsonFormatAdapter.java:35-42 | jstarcraft-core-resource/jstarcraft-core-resource-yaml/src/main/java/com/jstarcraft/core/resource/format/YamlFormatAdapter.java:35-42 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/JsonFormatAdapter.java:35-42 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/YamlFormatAdapter.java:35-42 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-json/src/main/java/com/jstarcraft/core/resource/format/JsonFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/JsonFormatAdapter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-resource/jstarcraft-core-resource-json/src/main/java/com/jstarcraft/core/resource/format/JsonFormatAdapter.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daeb1178d6c0495f197afd5287fd6ebdef35e930c2f42b14f1da8d4ca061977"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:323-330 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:370-377 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:505-512 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:552-559 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 185 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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:323\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c72cadfb7475edd7fd1dc3c54bd8113a34e3e822be2ef942edff789a00e9b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/LocalDateDeserializer.java:19-26 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/LocalTimeDeserializer.java:19-26 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/OffsetTimeDeserializer.java:22-29 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/PeriodDeserializer.java:19-26 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/LocalDateDeserializer.java:19\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/OffsetTimeDeserializer.java:30\u0060 calls \u0060readInt\u0060 and \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/LocalDateDeserializer.java:27\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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/LocalDateDeserializer.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6a7ff717545c4ad44299512b9930c64562ffdd9d8b2a11d0e956552617f403"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:194-201 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:196-203 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:376-383 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:194\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, \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:195\u0060 calls \u0060getLeapMonth\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:193\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf69b4b2b92e6cfbd51156e696173fecd6453231124e8f08abe21f54d404350a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/CsvContentCodec.java:40-47 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/HessianContentCodec.java:110-117 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/StandardContentCodec.java:39-46 \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 \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/CsvContentCodec.java:40\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/CsvContentCodec.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b7592ae5a20ffc6a0078baa8156c3ae48f4c97fc4adc2c9dc6bd6f215a7e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/ArrayConverter.java:39-46 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/CollectionConverter.java:39-46 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/MapConverter.java:40-47 \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 \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/ArrayConverter.java:39\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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/ArrayConverter.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"715c8b58c6b94ac48277d1e9fa0fada581738d9c192785ae8ddb4dc0dd4790ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PromptPersistenceManager.java:127-134 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PromptPersistenceManager.java:151-158 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PromptPersistenceManager.java:180-187 \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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PromptPersistenceManager.java:127\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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PromptPersistenceManager.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"88222767cbb54d37971eaa20bfb5fec624ded858127a14746b38c04fe9a33daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/cassandra/CassandraTransactionManager.java:103-110 | jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/cassandra/CassandraTransactionManager.java:123-130 \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 \u0060jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/cassandra/CassandraTransactionManager.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":"jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/cassandra/CassandraTransactionManager.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a37c61324d6085bedf5fa15c7c22ebccae36778a5df1024ffac9f2e9c67891b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:218-225 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:218-225 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 202 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:218\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1bc6ad858f406e0686653eefe7260c592caf87e83a78adf881d51159577b29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:239-246 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:230-237 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \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":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"785a0e1c141f792d626b6c6272f0a9a9afe2b1097f9a60d7070906be0b6a5186"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:256-263 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:247-254 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:256\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":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01b4aabddfd48e546fa3fa4058682e619dff3715c030ca506bcaaf4b25df29c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:272-279 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:263-270 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:272\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":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3da0205c9a4211969d2d25a7f83ec8efdcaf149c616b898573f9aa0d7efdcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:290-297 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:281-288 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:290\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":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"74220addd7381fa6cf54a9f566d708284fc00aa5764f3894d68b2ade6840aafd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:302-309 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:293-300 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:302\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":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"9875cbbddc1b7ea81c92d37e3b50162159aa121801aded0c0ca93d888d186fd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:89-96 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:89-96 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 119 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:89\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee0620c5803d572066fa10b13a61f4a9160bb79d5c86681f263c0db6100ed54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:111-118 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:111-118 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 119 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:111\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6973c4af23062e0d80e51279ffe456acfa37a4ebbf75586526df879e7c27dc9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:149-156 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:149-156 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 119 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:149\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95c7cf9b24932d14ffc7b86bd5dbf09befdb11b2ddb1bec49dd0ef6c4077b21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:274-281 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:274-281 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 221 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:274\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":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb5e66688ff0084dbc16888b45c89fcece539c0b76d60906929985418ac0c29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/EnumerationStoreConverter.java:30-37 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/EnumerationStoreConverter.java:30-37 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/EnumerationStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/EnumerationStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/EnumerationStoreConverter.java:30\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/EnumerationStoreConverter.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea13ed680eb6e57d7dc603b81f381660d85e793bafb9646264d1e427e4aca863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:156-163 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:156-163 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:156\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5dcd2f70007813a877981b06ad7ca3a62e1db8586aa4135322f177c25d1e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:333-340 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:333-340 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:333\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"7561544c4dea0b3a1138e0e745f431553875e5191594bb86835d2ab667364c93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsFormatAdapter.java:83-90 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/ExcelFormatAdapter.java:83-90 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/ExcelFormatAdapter.java\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsFormatAdapter.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"712339a6f7a7fc0e406a8707402145c8b85b3c5f945925e7ca75d7c397b046c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:88-95 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:88-95 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 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 \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:88\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5d46bb3074cd21f14114258310f9b97a9bb7e4e4abdcb6bd5eb9bd9cdd3013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/message/CommunicationMessage.java:102-109 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/message/CommunicationMessage.java:111-118 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/message/CommunicationMessage.java:119-125 \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 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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/message/CommunicationMessage.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4430caffcb5a7168cd3fd93d9aabce8cd67786a4a6df5fb69bbe9000e740b741"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/bit/GlobalByteArrayMap.java:78-85 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/bit/GlobalByteArrayMap.java:92-99 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/bit/GlobalByteArrayMap.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6f6242fdf62b358d8784d4dbe4fac8fa59d8f4234582caa22485e0cd2862df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/bloomfilter/BitMapBloomFilter.java:24-31 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/bloomfilter/BitMapBloomFilter.java:53-60 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/bloomfilter/BitMapBloomFilter.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f5819c53a1a69da6c33ffe281f176e08a22c89e363cf9a68016977f8739553"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java:291-298 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java:313-320 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a8777bb1e8353c321057ad365352c37e7c5a9f6120faf6eb81431e6f196c63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20138 lines \u00D7 3): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:398-405 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:454-457 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:580-587 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"c289009a1a2ad8afdc5269384345fb01db05825d0f1b3104f59679d8540bd2d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:180-187 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:317-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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:180\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4eb40ae1fb3be62ba4307695754b74297800b590615af8d2eadfecd46ba685"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/lockable/ChainLockableStrategy.java:62-69 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/lockable/HashLockableStrategy.java:69-76 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/lockable/ChainLockableStrategy.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. 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/lockable/ChainLockableStrategy.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7e9d91943c441dbc6d5346fac665edb262c88f52238cb6e7758cbd28c9a1c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/InstantSerializer.java:21-28 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/LocalDateTimeSerializer.java:22-29 \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 \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/InstantSerializer.java:21\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/InstantSerializer.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"784eb56c9d087cdf12deb8bec8fd7ee5a44c97e860da9bc506d173123d31b98d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/StandardContentCodec.java:53-60 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/ThriftContentCodec.java:66-73 \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 \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/StandardContentCodec.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/StandardContentCodec.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d03e0ab717c21de6feaf622db21241c39f2073baf5afe1bbe6e7449b21ff382"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/StandardContentCodec.java:79-86 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/ThriftContentCodec.java:98-105 \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 \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/StandardContentCodec.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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/StandardContentCodec.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6d394555042b442839e1ae57a165cbee5325b4a15782ba7063060ea4ea3c38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:109-115 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:40-46 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:72-78 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:109-115 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:40-46 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:72-78 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 149 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:109\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"462c6548f4b7ab6e69f05ef64fa23b9971e5dbd107ee2144ce055ab801387e47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/EnumerationStoreConverter.java:28-34 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/NumberStoreConverter.java:30-36 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/StringStoreConverter.java:27-33 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/EnumerationStoreConverter.java:28-34 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/NumberStoreConverter.java:30-36 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/StringStoreConverter.java:27-33 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/EnumerationStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/StringStoreConverter.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 4 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/EnumerationStoreConverter.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e526e3cba03831174e901e79bf86d7ae00eacd6345518cb3533cbb2b44c00c21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:32-38 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:33-39 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java:29-35 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:32-38 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:33-39 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java:29-35 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 5 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. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7312be81a80c88833acbc1a351bc8874eb57edf56e548bac760b814d85b4f7e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:251-257 | jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:267-273 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:242-248 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:258-264 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:251\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":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"89af85701674d198ecd492927b7edbc685e6d005d4c625e550acad46b8af5e1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/BooleanIndexConverter.java:29-35 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/BooleanSortConverter.java:29-35 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/BooleanIndexConverter.java:29-35 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/BooleanSortConverter.java:29-35 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/BooleanIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/BooleanIndexConverter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/BooleanIndexConverter.java:29\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/BooleanIndexConverter.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4c71f20015343e005cd135f1d0977fb0a1714a011e6bc4f0eaa7897085b4a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java:34-40 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/InstantSortConverter.java:35-41 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java:34-40 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/InstantSortConverter.java:35-41 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java:34\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/InstantIndexConverter.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2045f390f0ea0a0267371ea1944e795ced8f0e0759eb4909491f6ec136601e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:37-43 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java:32-38 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:37-43 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java:32-38 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 119 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"013930dedf82321eb85bc0f8c8a91722deef77a89b0f66410c8ff67446125558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:346-352 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:362-368 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:346-352 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:362-368 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:346\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":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"476a5de8ce52e2407115279e08f13e329e50054f498ba261d4b214cd5d50c918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java:40-46 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java:67-73 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java:40-46 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java:67-73 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java:39\u0060 calls \u0060getInstance\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java:65\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68c96c4bd620a1c035ec7159469c0cfaca6a276f13b2114eef5d92130fe2b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:81-87 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:91-97 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:81-87 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:91-97 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 5 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. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"11da68f5e42e2ceb9e1cd8fc3c80c38755637ae49dda27befd203dc7d8e3ba53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java:153-159 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java:203-209 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java:153-159 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java:203-209 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 96 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java:153\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d54c0e8a1bbd11126c8590506221121860fb2de3e93b69a28a712248d74f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:114-120 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:196-201 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:114-120 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:196-201 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:114\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \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 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c1fafd008be4e03476b99b2f5694da629ace355e9557a08981b72c1de4e12b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java:118-124 | jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java:132-138 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java:118-124 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java:132-138 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 78 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 \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java:118\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":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/PropertyAccessor.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0163b68ba04800187aea60623b6dafc496d768a0af3611c242f8ea4a7c515d76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:215-221 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:262-268 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:397-403 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:444-450 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 185 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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:215\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0bf9355927f7ddfd34c3ba108bed3e3ba2bae9899da7a9f2fd6b3e9e3c8093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/CollectionConverter.java:28-34 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/EnumerationConverter.java:23-29 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/MapConverter.java:29-35 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ObjectConverter.java:26-33 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/CollectionConverter.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d23c77c71f7984bf22225b819518f64895af4ca882c7639285b076792ba5e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/hibernate/HibernateTransactionManager.java:66-72 | jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/hibernate/HibernateTransactionManager.java:81-87 \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":"jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/hibernate/HibernateTransactionManager.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"717141ec2d3016b345bc6da128fd7f135e32d5a8b9fb18e02909f67bcc092f48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java:78-84 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java:78-84 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d950a29183d538239253a568abd16ab8983579e51749bb07ce66fff21a5dd066"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java:119-125 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java:119-125 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b190927fc0f729461e2d7ef309e463dee9e9a136996de240c675505b8e98a305"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java:126-132 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java:126-132 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java:126\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbff04dbc488963b5dde593d83c68367fab5eb1ebf2845db5d6b01083dfc19e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:84-90 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java:84-90 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 202 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/Migrator.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee107716142da1d0a6001d2824bce2b23f3228451d69ee5a7f0a5a786e774dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:156-162 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:156-162 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 148 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:156\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":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1c9fd58484cfa2d4aad6515f5cbbc9a8cbf8351248121a692a487f9d7fdca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:203-209 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:203-209 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 148 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:203\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":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87a6d20585902e85f9122538ea119c57028eb186dc0e6ee6036d9289d18d289"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:227-233 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:227-233 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 148 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:227\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":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff377ccd20014cb97bc0c4bf35bbdfc0f8b9f9f21930d098101ed03c6c5d8090"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:251-257 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:251-257 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 148 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:251\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":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b8859568dc9fdeeaf24a8894bfbdf73be3a410cedff892685db2de56ed8c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:306-312 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:306-312 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:306\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":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaadf587d270349dabf83038cd3be99741425c2475617e2db938aebf7e1dd743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:319-325 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:319-325 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:319\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":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77db9582eb525d98754f69954b135916dc4683e5ddb0defa7e642489aae19ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java:74-80 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java:74-80 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java:74\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/NumberSortConverter.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d698dcd5d21fd01fb62db3e00836ea64a6f01caaa0c084b48a38b8f3e0a9d19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:408-414 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:406-412 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:408\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbda3ef6ce67c733f2bb57659fda425ec6d0f8f4cfbe7fa0d0305a8839019fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:458-464 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:458-464 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:458\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ae0a5b9e7f5eaa3e331fd1835106a928288c836a2daf0c8cd754f293c2a79c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/path/HttpPathAdapter.java:44-50 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/path/HttpPathAdapter.java:44-50 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/path/HttpPathAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/path/HttpPathAdapter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/path/HttpPathAdapter.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7016b2ded010c3822751c92dbdfd216da8ba3885e358bb8d2e8562ea45eb3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java:145-151 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java:165-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e150b9453b9c60cc5f2ce977b6c412ac218a5076d8971b5c7841d810baeb254e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java:300-306 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java:323-329 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java:300\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"c700c69a7bfe86da379819e803a165fbc71fb180a4fdcfe076fde0a4125f8590"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java:162-168 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java:184-190 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java:162\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cab1eecbd5ccb801be0b5f279a8751c91d4b6a247d12bee1fe9dfce34e2a520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java:1027-1033 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java:1053-1059 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java:1027\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b052b8370c610b1bb5cedb64b3910d925fe9970b05115d2e5f78b427788e82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:181-187 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:289-295 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:181\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a588e3e0edd0357d177953657ba1a4e20a8a16196e6daa5e5004f23687c9bcef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:279-285 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:387-393 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:279\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb935f418d8197c7951fd59f33086be91fc942b9851e3f59b7e6c19a51e35b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:307-313 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:438-444 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:307\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfd31594b4a33d939061c0e91dc50a117d527bc0dd34cca8758f903da42a526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:363-369 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:471-477 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:363\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1732f47a810ba2f2bb991c72c57309a8007efb8914f9b765ec271e12bc9b6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:461-467 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:569-575 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:461\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"b459b9a1810746b334063404d27bf7337161da0e0a1100eeb37826668e0a1307"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/MapConverter.java:41-47 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/MapConverter.java:74-80 \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/MapConverter.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3ef10e5474972af8736b0ec055b21afce5bdd98cdaab0b9195270a89a38b27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PromptPersistenceManager.java:118-124 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PromptPersistenceManager.java:171-177 \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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PromptPersistenceManager.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PromptPersistenceManager.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b45620b1f60539a55e634a6703623df7fa09db822ef979c2b6f8a9f5d9e074"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:144-150 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java:167-173 \u2014 before extracting anything, compare \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:144\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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"41818d410b8b5c77ef6fef9f4387a790b369a1378469ffe33c5f77828cc05e21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:301-307 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java:334-340 \u2014 before extracting anything, compare \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:301\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, \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java:341\u0060 calls \u0060error\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java:309\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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dd6831cd1bf7e39db15e696a7428d4b684c907785bb1eb34e765e585db3e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java:138-144 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java:189-195 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java:138\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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/SchedulePersistenceManager.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7422b366b71af9bf61f9197b6d8ede3586cd4ffbbfbe025d70fb7c6d1eb6762c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 14): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java:32-37 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:32-37 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/EnumerationStoreConverter.java:28-33 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:33-38 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/NumberStoreConverter.java:30-35 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java:29-34 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/StringStoreConverter.java:27-32 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java:32-37 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:32-37 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/EnumerationStoreConverter.java:28-33 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:33-38 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/NumberStoreConverter.java:30-35 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java:29-34 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/StringStoreConverter.java:27-32 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5687f0a789b36cb3f6c265d7a8b07be87df8f17e475d072d538227e6a288ee15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 14): jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:66-71 | jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:67-72 | jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:100-105 | jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java:50-55 | jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:70-75 | jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:59-64 | jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:54-59 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java:66-71 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:67-72 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java:100-105 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java:50-55 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:70-75 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java:59-64 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:54-59 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java\u0060 and \u0060jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 91 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 \u0060jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.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":"jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a991ba0b61415fe3c92b87dad2187cab25adb6b79750ebd4825b3e58ca3ae3a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/ArrayConverter.java:57-62 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/BooleanConverter.java:47-52 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/CollectionConverter.java:62-67 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/EnumerationConverter.java:46-51 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/InstantConverter.java:50-55 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/MapConverter.java:65-70 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/StringConverter.java:48-53 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/TypeConverter.java:43-48 \u2014 before extracting anything, compare \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/EnumerationConverter.java\u0060 and \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/StringConverter.java\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/ArrayConverter.java:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060instance\u0060 to \u0060Object\u0060 in one and \u0060Collection\u003C?\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/ArrayConverter.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe3377b505bf8fcb6fc36352f3220bd9fcbdad5ca95915ed53c0ef42fc464b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:256-261 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:279-284 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:302-307 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:259-264 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:282-287 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:305-310 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:256\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76b4860525a75310eec04218ae7afc6a35ff7d9e2b91d4e49d36b86b5ca89f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:144-148 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:196-201 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:144-148 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:196-201 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 152 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java:144\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/memorandum/FileMemorandum.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92534ae1e016ad7365f8875089411241b0041124337f59cc50dea439097a2c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:195-200 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:233-238 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:198-203 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:236-241 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:195\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faf74483238d2fcef6593f4785545f0b2de62bd3d13232c1ecb0478dbce3390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:83-88 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:77-82 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:83-88 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:77-82 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce95d5228ed14917b111cdd3b51ba0153e4a54d95fd48277d8d151ba4ccc3b1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:49-54 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:54-59 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:49-54 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:54-59 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:49\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8995171415d0bfe747041cd9d65cc6ef576f36dc8daefaca6a3467195b2877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:164-169 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:235-240 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:164-169 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:235-240 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:164\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8a21f12eff0c0e3b93fdac27622557ac257a8d477459f5b5ef688fbd17b445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:173-178 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:244-249 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:173-178 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:244-249 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:173\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"4118732ae01d364042433cbed99baa4cb634401328279411a61508ff0b1311f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:70-77 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:70-77 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/SolarExpression.java:113-120 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/TermExpression.java:98-103 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:70\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a664bb4742fe253c6323585f9e5e500f59a3487951539d96713389cde5488b24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpMessageEncoder.java:32-37 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java:140-145 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java:146-151 \u2014 before extracting anything, compare \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java\u0060 and \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 125 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpMessageEncoder.java:32\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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpMessageEncoder.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5cab1f5555bf0a7a807f5442629ae7b8bdf95c22efd1b2ea3748fb3e544ba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:89-94 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:92-97 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"32846c098cd7b5f891df38fde8c7bba2f4063b0331b7e484b885e1f5713336b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:242-247 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:245-250 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:242\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4026611cd954618fbe9a019501dcb54c999298daedbdcf050b3987990145b7d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20136 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java:50-50 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:156-161 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java:50-50 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:156-161 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 4 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java:50\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 \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 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, \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java:50\u0060 calls \u0060isUnderscoreRequired\u0060, \u0060charAt\u0060, \u0060insert\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:161\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3933151318f65e2969011040995d26792699d24fe3ecf39653a3634be2239d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java:54-59 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java:54-59 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"285a5f6544cee4324a9fb570ebb3ed545bd4c61772b1bbe6af7dd57e5821f44a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:348-353 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:346-351 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:348\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebb618837ff042b1d1599bbcf1ac9f09b59772ab3ac74c4a34e29dc28fe7756"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:465-470 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:463-468 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:465\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c814632b32cbd1c3aa34823281cedbdd42f3d8935aa28a3a061e7b8632f7df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:159-164 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:159-164 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"02883e753a0f9c43363a236a1fc3359e2e5e9b9aaf0ff964b577fc38f60dbc27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:362-367 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:362-367 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:362\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"43abf9b2b3ffc29be2457c5c00fdb9bb250924aa8664ec271b5e1ee9f373a320"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:394-399 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:394-399 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:394\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3dec3170f2d27111a34b29bbd165ded74118dc5c5f650eb37b245f419e83ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:407-412 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:407-412 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:407\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"34903cab0324baf02a6ae57a346649a937bfc5721b418936c1ee0d83599e4f22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsFormatAdapter.java:43-48 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/ExcelFormatAdapter.java:43-48 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/ExcelFormatAdapter.java\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsFormatAdapter.java:43\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":"jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsFormatAdapter.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1827f96af5d9b2701f482076f782fff5c3e471af42447772bb2406f89f310ce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-xml/src/main/java/com/jstarcraft/core/resource/format/XmlFormatAdapter.java:28-33 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/XmlFormatAdapter.java:28-33 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-xml/src/main/java/com/jstarcraft/core/resource/format/XmlFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/XmlFormatAdapter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-resource/jstarcraft-core-resource-xml/src/main/java/com/jstarcraft/core/resource/format/XmlFormatAdapter.java:28\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":"jstarcraft-core-resource/jstarcraft-core-resource-xml/src/main/java/com/jstarcraft/core/resource/format/XmlFormatAdapter.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"834d92734b2cdaa787c0ca7053ffbad27e0f7ed7b8cf73d7c58d2d2904d91f8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java1Storage.java:170-176 | jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java2Storage.java:266-271 \u2014 before extracting anything, compare \u0060jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java1Storage.java\u0060 and \u0060jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java2Storage.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java1Storage.java:178\u0060 calls \u0060isBlank\u0060, \u0060getClass\u0060, \u0060getSimpleName\u0060 and \u0060jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java2Storage.java:273\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":"jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java1Storage.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a83655489945ccfdc596e77bf45102c267ccd6308b95337067071fb2f72450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpMessageDecoder.java:40-45 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpMessageEncoder.java:35-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 both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpMessageDecoder.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36d53e5a3cdce26bdb270f549aab07cc591b25203b860958a635dcea191371b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java:242-247 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java:280-285 \u2014 before extracting anything, compare \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java\u0060 and \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 125 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java:242\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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d79c7a80fde960445df15b50ef39727480f484462d59d275298678051ac457"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java:210-215 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java:360-365 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java:210\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"de157a802dd89b0bbf25637a807c57f2278fc8d65b80ba103c6c7ddc0d09f4c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java:1219-1223 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java:1227-1232 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java:1219\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"0981693410d6bd2431dac224187decbd9d175793f0fdd254a90c33a88dfd8607"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/TermExpression.java:165-170 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/TermExpression.java:228-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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/TermExpression.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/TermExpression.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3818b35e3e09588bf688959435c849828dc34882b019745688b410405ac29589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/TermExpression.java:201-206 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/TermExpression.java:264-269 \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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/TermExpression.java:201\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/TermExpression.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c296d3daaa6f65b613f56dec3926882f749bacd2fc251176514307252f2d317b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/MapConverter.java:51-56 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/MapConverter.java:131-136 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060context\u0060 to \u0060StandardReader\u0060 in one and \u0060StandardWriter\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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/MapConverter.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fd6f440b589df4ead3fe6818f7b55b444b7722fceaec7d402a25a7f485c213"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/CollectionConverter.java:42-47 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/CollectionConverter.java:71-76 \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/CollectionConverter.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33dede72a9148e4f019999e7b318b7e5e35844b48998b12e6d58c68c681cf69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PersistenceElement.java:75-80 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PersistenceElement.java:95-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 \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PersistenceElement.java:75\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/PersistenceElement.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c212d9dcb5a06fa7829cda0834996f980cccfef947d87cfb78077cf23740481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 16): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java:30-34 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:30-34 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/EnumerationStoreConverter.java:26-30 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java:35-39 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:31-35 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/NumberStoreConverter.java:28-32 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java:27-31 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/StringStoreConverter.java:25-29 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java:30-34 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/CollectionStoreConverter.java:30-34 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/EnumerationStoreConverter.java:26-30 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java:35-39 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/MapStoreConverter.java:31-35 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/NumberStoreConverter.java:28-32 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java:27-31 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/StringStoreConverter.java:25-29 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/InstantStoreConverter.java:40\u0060 calls \u0060firstEntry\u0060, \u0060getValue\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java:35\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"791437acbbdfa32bd2db6bf6b0fee6dc4e6ef5c4e34d492e8884eddb473a25e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 11): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.java:140-144 | jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:124-128 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:124-128 | jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:136-140 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:117-121 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:114-118 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:108-112 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/schema/BerkeleyXmlParser.java:136-140 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:117-121 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:114-118 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisXmlParser.java:108-112 \u2014 before extracting anything, compare \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.java\u0060 and \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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 \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationXmlParser.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eeac75b8df74a42870a5a8db3d32223686960e6ed7868f7dcd9b5a4e7e8b689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:352-356 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:372-376 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:392-396 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:355-359 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:375-379 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:395-399 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:352\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa173ec8e1845e1238b6293c1908e5657f0d4bf11e226d9dac7e1eaf1951fca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:262-266 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:306-310 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:343-347 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:262-266 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:306-310 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:343-347 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e6f4814f70573ac8547de7627f0a34e18fd811314601de6e1d04c50148ec3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:280-284 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:319-323 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:359-363 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:280-284 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:319-323 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:359-363 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd7cff3f0fcbb856178fc775081792877ef0801f141717f82905f2dbd3a453c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java:70-74 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:81-85 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java:70-74 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:81-85 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java:70\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateMetadata.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a022760108a85fb6a744266ca0991c4f730517d2379755ced004104d073e8d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:273-277 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:368-372 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:276-280 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:371-375 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:273\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d76dbcacac59309af3d0fc43792a7379a0c3556d3e648f41386a2324c26d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:296-300 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:388-392 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:299-303 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:391-395 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:296\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6dee19406f85164e58a4ab49b8038bda9b6560cf048a84f9365402882ebd35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:203-207 | jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:309-313 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:203-207 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:309-313 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e1d5190abf6b806103fb07e5461fd6cdfc8f1ef763d94089ea52740cea2eab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:350-354 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:467-471 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:348-352 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:465-469 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 305 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java:350\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49681f1a2a32ee4bd3edd9575dcd61eab3fad1abc5509280ea386e2b0785c93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:71-75 | jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:84-88 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:71-75 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:84-88 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 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 \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:90\u0060 calls \u0060putUserProperty\u0060, \u0060valueOf\u0060 and \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java:77\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventProducer.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c01f360435b832573f52723452cf65e323ce6f24f0bbe95005181d361f3d74d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/InputDefinition.java:145-149 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/OutputDefinition.java:92-96 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/OutputDefinition.java:108-112 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/InputDefinition.java:145\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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/InputDefinition.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2ac333d9b02eb3a98621e9545ab6f9684605ebf8b36dec989b7b9203ce3725"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/DurationDeserializer.java:17-21 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/InstantDeserializer.java:17-21 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/LocalDateTimeDeserializer.java:19-23 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/DurationDeserializer.java:17\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/hessian/converter/DurationDeserializer.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"945fa2e2901a652d964155c1c5d45727122ad2638e8fb7966d957b59acc984c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java:72-76 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java:72-76 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4d6533ad8581c0e95d55abfc3a86ef3db63f49be377c5f0d03f7f4a83d802e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20135 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java:45-49 | jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:155-155 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java:45-49 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisMetadata.java:155-155 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 4 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java:45\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f506baf1b08e19a7c554c64ff8501a18abcf502a02e9cefb5428ee6aa1b6dede"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java:51-55 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java:51-55 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 4 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java:51\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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de6a42d4572894a25103aee16a210e7aaafe4c2d1bd71706a5ddd506995dbc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:119-123 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:119-123 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 119 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:119\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b4da71abe1987fb14484c8996543549c2039c63adb9f3ad5150f05749cab4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:125-129 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:125-129 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 119 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java:125\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/NumberIndexConverter.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1102de4148ca945505823a8fcf46974fe166d89c5bc84a594c7da7e7fa26838"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:204-208 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:207-211 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a40a13b3bc11eedf94143074843b416b966dbeda29cfc75ee2483060350bab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:325-329 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:328-332 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:325\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49ac14781ae1af550e5c89455c925589d875e28df5ecf2ec8b9cb84af39d26f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:341-345 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:344-348 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:341\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4594c90a1b18d8af17dff25d9824f7d4e7499d31124e52068db881244b71cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:104-108 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:104-108 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 148 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:104\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":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a3e3519873d7f1041cb856aea18293a2811a0d34b92eb3db96cc6c96dc6e4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:114-118 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:114-118 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 148 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:114\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"149e2d215f77162d3777fb42b74a631cc7f81a6b31b467b7ef7f47c177a8f17b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:143-147 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:143-147 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:143\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":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ba6e903dab33d64055d770d644239e39e7e244b859e6093a098478ba6af5ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:154-158 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:154-158 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:154\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":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"839d78a03faa099b04b388c2f2b963231aef297fd531cdd094f801b4127bff20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:332-336 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:332-336 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"1467f21ea29a3512c8c6dc43c155b6dc5230a178a9f06a5d264f26a3920c04a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:147-151 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:147-151 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:147\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"82277da1004813ca75f5388f1fbb81dadd5106381732750afbca7df77938a418"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:146-150 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:146-150 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:146\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a822d981f8613d00ff1fa253c30d739b4584b3262509b1c89fb2662a529f18df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:154-158 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:154-158 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:154\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4421bf356f9548dccb2b6115595bb43459e9a48e338d519dd7240f8636d47c00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:402-406 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:402-406 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:402\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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"550b5980757d55fa838e2487bdde6363aafe9e40b4fefc1feb3b00963d101088"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/mvel/MvelExpression.java:30-34 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/mvel/MvelFunction.java:41-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/mvel/MvelExpression.java:30\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":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/mvel/MvelExpression.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d61a29d375da322d66525e36ab317ce9c24c17b9a545e325b6d839bb798530"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/bit/GlobalBitSetMap.java:59-63 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/bit/LocalBitSetMap.java:64-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/bit/GlobalBitSetMap.java:59\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/bit/GlobalBitSetMap.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b37d1b4d4ace1bc0130088c30069adc95d05f0693d8a59b1dbc85cf8b964e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:85-89 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:85-89 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:85\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24b292a26cffcfc5f0aeba53d31b841fc9531e71a3fe78b53c7b1b64055118b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/reflection/TypeUtility.java:299-303 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/reflection/TypeUtility.java:311-315 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/reflection/TypeUtility.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"114e0781aa26bf2d767b33bfb17f41b156a750a8f9992ed37fd23c62ade028f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/CollectionConverter.java:49-53 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/CollectionConverter.java:112-116 \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/CollectionConverter.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f41106dedfcef7496c4d614ce60f9aac36a9c0cd9356b7c547976d16f34f68c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/CollectionConverter.java:53-57 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/CollectionConverter.java:47-51 \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/CollectionConverter.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3d0a29c59125b2b95160e52820758ed69e4523c078d04fcae54789ff425c69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/MapConverter.java:59-63 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/thrift/converter/MapConverter.java:50-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060context\u0060 to \u0060StandardReader\u0060 in one and \u0060ThriftContext\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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/MapConverter.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"944e1dadb545e03c29741d71ca08b7b8add952e2db8ea41246c939e3070b2392"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistEntityProxy.java:86-90 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistRegionProxy.java:75-79 \u2014 before extracting anything, compare \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistEntityProxy.java\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistRegionProxy.java\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistEntityProxy.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a975f90ee9776ba8993477067d71a286c027fd1a7a672742dd0888c9fbc1fe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-api/src/main/java/com/jstarcraft/core/event/AbstractEventChannel.java:32-93 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/AbstractEventChannel.java:32-93 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-api/src/main/java/com/jstarcraft/core/event/AbstractEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/AbstractEventChannel.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-api/src/main/java/com/jstarcraft/core/event/AbstractEventChannel.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81abe60e2788d406e11b4c4b97d77056885ad718c167df5a747ae7cca3c9c98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-api/src/main/java/com/jstarcraft/core/event/AbstractEventConsumer.java:27-81 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/AbstractEventConsumer.java:27-81 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-api/src/main/java/com/jstarcraft/core/event/AbstractEventConsumer.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/AbstractEventConsumer.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-api/src/main/java/com/jstarcraft/core/event/AbstractEventConsumer.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3431839f36dca86b2ea3eb58534e4fe4a64e79fe91ad0db719dfc2b6417077df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-api/src/main/java/com/jstarcraft/core/event/AbstractEventProducer.java:20-42 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/AbstractEventProducer.java:20-42 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-api/src/main/java/com/jstarcraft/core/event/AbstractEventProducer.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/AbstractEventProducer.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-api/src/main/java/com/jstarcraft/core/event/AbstractEventProducer.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3342df22fa0756ad0e8b8062463a27d5f5afecc5e5f03ee7bdf63f320994769d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (68 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-api/src/main/java/com/jstarcraft/core/event/EventManager.java:1-68 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/EventManager.java:1-68 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-api/src/main/java/com/jstarcraft/core/event/EventManager.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/EventManager.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-event/jstarcraft-core-event-api/src/main/java/com/jstarcraft/core/event/EventManager.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-api/src/main/java/com/jstarcraft/core/event/EventManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d28359b0adca7ff3152fa4dcd2109ef54d3bf68e65b189950017a300b57ccd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/FieldAccessor.java:31-65 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/definition/FieldAccessor.java:31-65 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/FieldAccessor.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/definition/FieldAccessor.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/FieldAccessor.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea65e3aa66aa50cd7f606070fa18aa815471c498b0b1774ac186cb3787d762f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/MethodAccessor.java:31-65 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/definition/MethodAccessor.java:31-65 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/MethodAccessor.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/definition/MethodAccessor.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/definition/MethodAccessor.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f41090f2420f208923ccf54ae1a9e139a0d0370ff486015b5efdcff55118b47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/path/ClassPathAdapter.java:11-24 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/path/ClassPathAdapter.java:11-24 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/path/ClassPathAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/path/ClassPathAdapter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/path/ClassPathAdapter.java"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8f231d1e75e1c906ebfc24593baf4adaae50c2e7d912732a77ae87964a6502"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/path/IoPathAdapter.java:13-22 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/path/IoPathAdapter.java:13-22 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/path/IoPathAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/path/IoPathAdapter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/path/IoPathAdapter.java"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba72cc709a003eb133b0a0ed82d13ac58b186a60b6511db0df36951ffc1c3a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/path/ZipPathAdapter.java:14-33 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/path/ZipPathAdapter.java:14-33 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/path/ZipPathAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/path/ZipPathAdapter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/path/ZipPathAdapter.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8aed5c37c58383c06d9b27283a909775061416819c1f84ae2fb47ed0fcc382"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (77 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceStorageFactory.java:1-77 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceStorageFactory.java:1-77 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceStorageFactory.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceStorageFactory.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceStorageFactory.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":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceStorageFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d17477926d522d112bc2c61e1ec6174a01a9125cdabbdf932dd9f13f56d07c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/excel/ExcelJsonConverter.java:1-43 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/excel/ExcelJsonConverter.java:1-43 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/excel/ExcelJsonConverter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/excel/ExcelJsonConverter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/excel/ExcelJsonConverter.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":"jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/excel/ExcelJsonConverter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a084fc9db706a1cddec91dfc4b3fe02aaa39d03c7b5949a484ddcfe0d6567d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-api/src/main/java/com/jstarcraft/core/storage/ConditionType.java:35-42 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/ConditionType.java:32-39 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-api/src/main/java/com/jstarcraft/core/storage/ConditionType.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/ConditionType.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-api/src/main/java/com/jstarcraft/core/storage/ConditionType.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c8b40b8b96859fd0fcc9407f533f5de20a1c079f6958565d5f054b33b410c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-api/src/main/java/com/jstarcraft/core/storage/StoragePagination.java:16-58 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/StoragePagination.java:16-58 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-api/src/main/java/com/jstarcraft/core/storage/StoragePagination.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/StoragePagination.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-api/src/main/java/com/jstarcraft/core/storage/StoragePagination.java"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d131d5854b2de739abd1674af4190985936923292b744122b0cdd9183318bbcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyTransactor.java:21-64 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyTransactor.java:21-64 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyTransactor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyTransactor.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyTransactor.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdb32a7c7b72bd2a28efa1760e20fe56d0452e181111350fb9cca57a540261f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/CollectionSortConverter.java:1-33 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/MapSortConverter.java:1-33 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/CollectionSortConverter.java:1-33 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/MapSortConverter.java:1-33 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/CollectionSortConverter.java\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/MapSortConverter.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 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/CollectionSortConverter.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/CollectionSortConverter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7226e5d93e3878b1b738ba27d2d5606423b49dac8aed9db80f03a8f623d9a7b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/EnumerationSortConverter.java:1-40 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/StringSortConverter.java:1-40 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/EnumerationSortConverter.java:1-40 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/StringSortConverter.java:1-40 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/EnumerationSortConverter.java\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/StringSortConverter.java\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/EnumerationSortConverter.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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/EnumerationSortConverter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e5b8ce67afc30a176f6130ff3b233abf0b9a4016e64bf538cc7c2f908e7a7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneAccessorFactory.java:1-61 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneAccessorFactory.java:1-61 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneAccessorFactory.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneAccessorFactory.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneAccessorFactory.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneAccessorFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9bc6246a46ff911978df6db9c1648e61821137b28687ef833c7d9196fee979"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoAccessorFactory.java:1-53 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoAccessorFactory.java:1-53 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoAccessorFactory.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoAccessorFactory.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoAccessorFactory.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoAccessorFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c711be5dbf1573e55185aed7a6d7ccbd51c3070b8e4eb812caead50dc1d68e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisAccessorFactory.java:1-53 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisAccessorFactory.java:1-53 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisAccessorFactory.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisAccessorFactory.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisAccessorFactory.java:1\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/schema/MyBatisAccessorFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbbec2393ce26bae4000c2beb8004e8a7c8d039676ebd9937d8e820b85cc7a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/hazelcast/HazelcastTransactionDefinition.java:24-42 | jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/hibernate/HibernateTransactionDefinition.java:38-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/hazelcast/HazelcastTransactionDefinition.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0af957502f7d4f37d4279e2af921edcaa08818cba5516801f3e2c5350e39db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/aspect/TransactionContext.java:54-62 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/aspect/TransactionContext.java:54-62 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/aspect/TransactionContext.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/aspect/TransactionContext.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/aspect/TransactionContext.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c71460306bc7b4196ae31576235d53b60d3cffdfe80aca6507d8b7b4824b20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:344-348 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:344-348 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ed288106fe9a0239048e63ec27839e15d0c961aa22529c962465e8b4839881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:351-355 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:351-355 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f48bc632b0be0d3b5f1033f8337f2a38bc784ff0a6ef5d3653e39c36f5b429"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:358-362 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:358-362 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"51894c188648ed2322dc469950448990ad704bd31ec7a3c55760943ef08725ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:260-264 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:260-264 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"565e7dd7ec3098109fb2facd6c1051f27053ed03b6d722ba6d30e32431825333"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:274-279 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:274-279 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12e597f0fb352c22bdaa61485f5c0c3e022bffe3d274e2c877d35402810eac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:267-271 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:267-271 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"afda5f521f10aeaff85b95d8c211b0a1ad48f336112eb23fbc7290fba0700787"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:253-257 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:253-257 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcfe6fa82fb7159e9fd08774fcbacb2d64f073b464dae0855ef8f3266197a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:365-369 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:365-369 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac7f9880d9b56c8a54f31b93b41c245b2b4e69b12147ae84dc910d93f1653a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:372-376 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:372-376 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf016f218451dfe12b4bb36f0d222affdc899b41c118a5cd4e5dc790bb429ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:379-383 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:379-383 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"7161fdad35b622fd5784655bb66dd3207ceb06bb2b4d806951bbc26700b65e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:295-299 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:295-299 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"a547c741dd7822f6fd02d42ac60857fdaa9aaa074e7df4217f67e4e775646c6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:302-306 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:302-306 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91e189f151eccaf18073cd90ced83809aad17164998fb56e6838a0c3f99f081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:400-408 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:400-408 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d9dc147d202d02797512c9fb2fb83c19d46999795be07d88b7becb076f67f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:309-313 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:309-313 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd070cbe1b354b87aa26b46ad1ddd8565a6b8a29fb9ae31851c3fecbe3ed9e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:323-327 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:323-327 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a9023f2e8d22c27552f486503e6fe295d7f5ce4d93c7f28aec324489b614de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:316-320 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:316-320 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"1607c3dd3b82202f1bc79b80cfc915f6af7f8a166603240fa472b7f6d699b7a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:330-334 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:330-334 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5fe53ee2668bd22d02b0a1e85e48a0ed7c472b4fe909730bfd83578324ea28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:337-341 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:337-341 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb35e5b930e98be189a3c396d49fec25cea78531bedfbaf537edab8ba167309"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:101-110 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java:101-110 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 297 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"896ea25f83ebc1b94f291fd3c2a3ade7dac26e45ed1dda8de7225737090fb338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java:165-174 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java:165-174 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"408fddd290c1999436a858f8eaaf4db12945b103b065fbc45ad3a7956bef1de2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java:257-266 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java:257-266 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e636ae61f3766f9246b28594deea090159c856d05bdabe9fecd0998df7331f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java:182-191 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java:182-191 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d868b427e6283e4c0ce56774330b3bb6bf39fbd963f815a3191e205639d8e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:71-75 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:67-71 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87384882b9dae09329698c365e1f4d599c562247831b249a47df8ff972909b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java:57-62 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java:57-62 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 4 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/Camel2SnakeStrategy.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f637254ba4e0a71c17f12abc081572a01b91f191babe74eb14090818912760"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:32-40 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:32-40 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 149 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"90155a6ee22e0b711be64d06da62866b90c02ac7435e46b6f5ece9257ce1353c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:42-50 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:42-50 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 149 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a40422f2fb6f0bbca48b4433ccdb6f5aa8e090621d4711a22ddd92feaa42423"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:92-100 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:92-100 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 149 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb56bac03d1d786a56f6409ac8f38046156cca9b037421640b76075f255ba48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:82-90 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:82-90 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 149 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"82639ab253f6fb1dc740be15a640d93b187066be08d03ea80e32ab40d5732a6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:62-70 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:62-70 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 149 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cc8d099d6b2d9892dc5cd93e66f915f713ffb60cc8715496880ae726cb5b5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:72-80 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:72-80 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 149 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"372f734824f7a2b739601fac370a31e536c5d5d96e1a7481d169d0e3c484697d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:52-60 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java:52-60 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 149 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/CollectionIndexConverter.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4033045ff8f7f83e3a621f6658450181d8a12bdba20952f07726368fd4ad3f1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:97-104 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:100-107 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"424006af773810faf5be1d21686c333eeffefb5e17d8f771ade1575eb17d38df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:115-121 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:118-124 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67c837bccb5194dcd71289311dd6764233ed8e40ad9caed2c4a3e725a22d4bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:107-112 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:110-115 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed45476015c289e340f45002c0c7c22409f354cfbd1f865ef49b499f1f38c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:316-324 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:316-324 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"8236f30a3ff6b986e4de00018af749ddff844d7042dcb64e09749f23661cb59e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:160-169 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:160-169 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"def5468272dfc9b33d9f5d3dbc679fafedb0667f9104408793599b3b63c2c93e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:194-203 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:194-203 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2de64f6634120fc89b14f2877eac6bef64d02a919ca6f8c4180d1740529eaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:76-85 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:76-85 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c170aa46a3fd9d804009b88c29d3425ef5df9383f844d32ce7a9481eb77b7f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:97-106 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:97-106 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b017e709ba96d44f22bf965a376552bc01998db53ea2d56b2f95c7d85c597946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:177-186 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java:177-186 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 160 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneEngine.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad53f191a23f028df55d6071cf372abe53e9f9f3ac186e8fe6c9900eee27e9f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:184-191 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java:184-191 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 107 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/PersistenceManager.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82c1e95fc2c9b0da9f15271b307cb2ef22be42bd529acfaffcfdb931e816c5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:260-264 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:260-264 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ff840e06c3ece48e668728a5e0a065fdbcfc8c095dd117f9c4032ebaa044a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:65-73 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:65-73 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"848ec0ecd0bb9e87b7d8682ed2b17ec7cce73796d1482ca1179de807b10c740f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:83-87 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:83-87 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b330c1104f6a79af141d395e9e748053ee84b1d8f0c78ff6de032366e53c02ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:76-80 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:76-80 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2490258e1eb593df2614eb6c748bed6c85007da52a64c1c865308a1ff57eea6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:395-399 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:395-399 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9036f6cbd1124e6b25f411cf0ee2b0cd407d9854653c1327f46ec719713d875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:90-98 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:90-98 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98f0e7929f7d669b5028913d45cd994ebea7adc59b1ce7735fd5950e0add777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:44-51 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java:44-51 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74908b16a0a5c212137a8cdd7cf2fc5042d73140139cbd502139dea057f28e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:294-299 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:294-299 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59da14ce9aa730c44805dca811c7a6e315f699b0e924052d73d29fafc17875b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:110-114 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:110-114 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b799058786006c740ac3e9ea1f8673bd7219545c58654f00f1a5a1534918b9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:124-128 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:124-128 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d847279904455db1708b3c8da586d390926b295c51b8a797ffb7914bbd718809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:117-121 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:117-121 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8464ff06358905cf2fe29f532468bbe45bc7ebb61400a0d3c18d0bd01a70f352"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:103-107 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:103-107 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"76760895b5335562cebb06d34df0e0866e1f53dde4e36b0aca81739d5a7cb6b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:131-135 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java:131-135 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mybatis/src/main/java/com/jstarcraft/core/storage/mybatis/MyBatisAccessor.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"910faa636efd827ef75a9c149bc36fb8e48572bdb8cd36930e717bd52611a868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:147-156 | jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:187-196 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:147-156 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:187-196 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"76dcb57e0078955af861774d7b321307c511b39d8fd75449442d981e4b2708d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:175-184 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:175-184 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"699e79702c90bb45c780d92fd4a57b980e12df0a591f0bb8db58cdd0bca85708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:463-468 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:463-468 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"03159f2b30bdc61f3268606f60633c36324e8909301479468256effee98e7561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:471-476 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:471-476 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"4269215b2fd2c5cbf1b520b8940b94b084e268c68c01b4fa1d3df6e26917321b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:479-484 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:479-484 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"864ed004060c2b7aeace5a38f2e3faedd4300aa68932e66a6bebee0f963eaea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:379-386 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:379-386 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"153b7d97f90eefdf21b24ab72df11f030f3ce4a9340aac2ab6920a0e5a14a768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:389-396 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:389-396 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"a315d6736a42d774457fee17c323f4eeebd21eefcd40bcb770ccacf42b695b20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:399-406 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:399-406 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 221 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ec5be5be8f1912f09af5115aeb5bf1566aa18e6d8512d01f238bf9dee8c55d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/EnumerationStoreConverter.java:40-47 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/StringStoreConverter.java:38-45 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/EnumerationStoreConverter.java:40-47 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/StringStoreConverter.java:38-45 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/EnumerationStoreConverter.java\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/StringStoreConverter.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 4 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/EnumerationStoreConverter.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c5de7bcbb259182600f14a88bda2ef325eab540ac4c5c5b7c0d71ce030ff06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/EnumerationIndexConverter.java:34-41 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/EnumerationIndexConverter.java:34-41 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/EnumerationIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/EnumerationIndexConverter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/EnumerationIndexConverter.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cb9ef65b6d11d206efbad222c1c4c88eddb8a1558ed69c6a0bf74d955baae2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java:32-39 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java:41-48 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java:32-39 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java:41-48 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060oldArray\u0060 to \u0060boolean[]\u0060 in one and \u0060Boolean[]\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffb383685805baddac60cd051a7fd79cfd91f75f12a1f2958f7c9a3310c2edb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java:50-57 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java:68-75 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java:50-57 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java:68-75 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060oldArray\u0060 to \u0060byte[]\u0060 in one and \u0060short[]\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb73bb9783ce60ea124daca6279461ff7665d3c510e5f6c320410a9d0223f18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java:59-66 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java:77-84 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java:59-66 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java:77-84 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060oldArray\u0060 to \u0060Byte[]\u0060 in one and \u0060Short[]\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ArrayIndexConverter.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c089758d16c9f0d189c32b98ab6faf1ac72839a9c802ba25a7fb4acbc169f33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:48-56 | jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:53-61 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java:48-56 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java:53-61 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java\u0060 and \u0060jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/ZipJsonType.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/JsonType.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"147280595b6bfb34f271e46e62086e75e0cd6d722475a2b00bbb71ef3aa16eec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java:41-45 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java:41-45 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9657214fdf952d1effa29c222003643b6599d096f2bb826b118212b81e9d815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java:47-54 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java:47-54 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0837eaafcca5d0eab3c5744b427e5ecefcbcdad70f4a07aca5a9f4836f14070b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:48-54 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java:48-54 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationReadTask.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ac14d27eef18b8bbbc7fa99c1ac30d100936dafa8088eb990b602514f6eca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:40-47 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java:40-47 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e269718197517ab3f56c0680a363e6bb5b62c40f38570499ed15816545c511"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyVersion.java:59-64 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyVersion.java:59-64 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyVersion.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyVersion.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyVersion.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b98670b5d4ed70da28bb589787a9443e9f20a3603f445c5b64c01e67483f83d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyVersion.java:22-27 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyVersion.java:22-27 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyVersion.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyVersion.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyVersion.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ab4a4b3eaeda8bfa450e763a17e838091614efeccdaf5cda9c9d1ca7b95198"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:311-317 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:311-317 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"8073f1f7f94a08060273c713e9b8b7bb5a4aedfdffb57bd303a67ae1bdc1b257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:319-326 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:319-326 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f3bea795861695622948d34058adfba47450db2b5300d51b54768718c441f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:138-142 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:138-142 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a80b7f52e6b56350494ee7616936f25cd4cbcc2672ec0cc436afe7fe03aee0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:91-95 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:91-95 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa7bb83167765996b5132beb1c6aaa6229ae546aa8e1b20813997d8a4331d35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:302-309 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java:302-309 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 349 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df760024fa75f8919279e4a0fc6bbf247126c6366817ecc442c4b1fa534b762"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyIdentification.java:20-27 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyIdentification.java:20-27 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyIdentification.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyIdentification.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyIdentification.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"851aafda12b57eb62b291abf47826c92f6dd74cee35ea50f03c6a61666ecbe45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-api/src/main/java/com/jstarcraft/core/storage/StorageCondition.java:31-37 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/StorageCondition.java:31-37 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-api/src/main/java/com/jstarcraft/core/storage/StorageCondition.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/StorageCondition.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-api/src/main/java/com/jstarcraft/core/storage/StorageCondition.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"116c45ef6ac0c1b1c4c32e4abc17d3f79df56e7aaa7fefc0f7456f3ffce7898f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-api/src/main/java/com/jstarcraft/core/storage/StorageCondition.java:14-20 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/StorageCondition.java:14-20 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-api/src/main/java/com/jstarcraft/core/storage/StorageCondition.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/StorageCondition.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 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":"jstarcraft-core-storage/jstarcraft-core-storage-api/src/main/java/com/jstarcraft/core/storage/StorageCondition.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae87ae02d5cb5630709dc313b95054b5c13cc9b5e3c48d5213047766f1895ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/beanshell/BeanShellFunction.java:62-70 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyFunction.java:59-66 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/js/JsFunction.java:58-65 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/kotlin/KotlinFunction.java:58-65 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/python/PythonFunction.java:65-72 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/ruby/RubyFunction.java:72-79 \u2014 before extracting anything, compare \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyFunction.java\u0060 and \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/kotlin/KotlinFunction.java\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 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":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/beanshell/BeanShellFunction.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"85efa878db84cdd8a741f94afd707181d12e5b7a84918d0481980f2bbf958575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyExpression.java:61-72 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/ruby/RubyExpression.java:75-86 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyExpression.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c148da2f848c0e5412c1bf6421b78231fd07382730f7e17111e1d2159fadc91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/js/JsExpression.java:60-71 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/lua/LuaExpression.java:60-71 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/js/JsExpression.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"954abf39a198a85f78116805dfb2ba39a6915b21a784afe9b670f1b87e475169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/path/HttpPathAdapter.java:27-33 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/path/HttpPathAdapter.java:27-33 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/path/HttpPathAdapter.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/path/HttpPathAdapter.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/path/HttpPathAdapter.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"613ab8078f2f0276d753d2de5a25cbff775b2f3fa3b438419eac240032aa077a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:83-90 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:83-90 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee86814428f2289d4f32a69f667697fbc188e30421f63a4f5127b8fa7697410"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:156-164 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:156-164 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98ed3df5830f1f512093695bff3a66ea4fa1e72e4491790ff82aed68dc114e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:173-185 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:173-185 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d25b56be83cb280cc99e949e55f225a196759dc49bc136295d99d630f21262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:246-253 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:246-253 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0962684c34536862da755a5578f857cf7486098f49c7bfe169ce39563e269e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:141-149 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java:141-149 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceManager.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 213 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceManager.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6323010cd857d4beac6caa7919483b44119e641596a8bec9655403c90f867c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:79-84 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java:79-84 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 110 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceXmlParser.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"544051cfa7a56ead1d38615e35d8eb7667bd69389267b6e84b2d1e927e6763b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:60-65 | jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:60-65 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:60-65 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c9d1158e5e45017588fc226feea5c028ac368b3cfd46c7756d470611dfcc2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:223-230 | jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:223-230 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:223-230 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ebf527121a43fc06382774660991833ee43a6dbfa28f0b7c81fc9d6ca1bcfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:164-169 | jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:164-169 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java:164-169 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java\u0060 and \u0060jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 199 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c11365dedfd00f87106a5ca177c429616da49cb08df2eae437b40602b5537d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceMonitor.java:102-110 | jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceMonitor.java:102-110 \u2014 before extracting anything, compare \u0060jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceMonitor.java\u0060 and \u0060jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/ResourceMonitor.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. 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":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/ResourceMonitor.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9687665e54700d012f23f17ab734a591293a166fbc8b84796a63469e86b1baa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/ThreadStackTracer.java:32-37 | jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/ThrowableStackTracer.java:32-37 \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":"jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/ThreadStackTracer.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"235692f267eee0358722a760f0db32ef9e1ea4c59b65d03096d5b7f29e24d7b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/ThreadStackTracer.java:40-45 | jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/ThrowableStackTracer.java:40-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/ThreadStackTracer.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e75a7bcc03899cd652fd9062104221e2776e523becca93f4e751d58af1eb46a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:102-109 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java:102-109 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 181 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jstarcraft-core-event/jstarcraft-core-event-jms/src/main/java/com/jstarcraft/core/event/jms/JmsEventChannel.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae0d43d756333972ed462157e1d620ae0b5d7bb25a41a36fd7986882867faac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java:77-84 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java:77-84 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"adba30d558bd253770727d72924fd48fd7fa76a4564c0277f4d653df7d0685bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java:70-75 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java:70-75 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jstarcraft-core-event/jstarcraft-core-event-memory/src/main/java/com/jstarcraft/core/event/memory/MemoryQueueEventChannel.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4688d171cf2babd72d8dc818892c12e36ba1cff691a309e1410083b9b50d7522"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java:67-73 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java:67-73 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-mqtt/src/main/java/com/jstarcraft/core/event/mqtt/MqttTopicEventChannel.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5687cbf181444fde0e8ab838d49ee2e8a4e2019810fa205fde3d65c4f891b98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:126-133 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java:126-133 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-qmq/src/main/java/com/jstarcraft/core/event/qmq/QmqEventChannel.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a07c7246c33810e9abdac9560add09f9067f1af27adbda0ee11444532b7b40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java:68-75 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java:68-75 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3e0f3caf251c1794e421f42bd37a24f87d8c311444d142a7c08cc01f4180d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java:112-118 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java:112-118 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3009705cfaffa9c8d402e6ac71901ef567b0bc4b0ff8d960397af0a6c481d907"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java:62-66 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java:62-66 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisTopicEventChannel.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f417825ce5cf6db22dba406703474b170b932de503cfe4d37ed0a7e1538a3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java:77-84 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java:77-84 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecd58577b3f36f2a3c7607d9c3493277f52510d594cb3585cb622be6c2b6997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java:119-125 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java:119-125 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bae46cb89a1fde503d80c448867422829a41f048e14b8919baa793168f52a16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java:71-75 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java:71-75 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-redis/src/main/java/com/jstarcraft/core/event/redis/RedisQueueEventChannel.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e018a45138b759ffe8890eb9bea79a4bd578d27d551e48266a14542a473e046f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:194-204 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:194-204 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf77e5b21de07d97d4763c9446bd236c1db890c16777d71db30e1ad27c1de05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:107-116 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java:107-116 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventChannel.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f551b97ea37c8a4fac79e37829f083c56611cbd8f8a0a1a83df0ba240256583"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:176-181 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java:176-181 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/main/java/com/jstarcraft/core/event/rocket/RocketEventConsumer.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6d7f9fd7a459ec1c96aa08b1ea495665f4ab79636f49a155f43b163309745c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:89-94 | jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java:89-94 \u2014 before extracting anything, compare \u0060jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java\u0060 and \u0060jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 154 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-event/jstarcraft-core-event-vertx/src/main/java/com/jstarcraft/core/event/vertx/VertxEventChannel.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f78b22391d5945e6f518e05df0b6786384acbac1ce6e64487c87a308c26ac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java:185-192 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java:212-219 \u2014 before extracting anything, compare \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java\u0060 and \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 97 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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac1dbf4101002b9f951eff0fe39b0c0b02bc3b59860a23c5eb390fdeaa81470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/json/JsonUtility.java:204-212 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/xml/XmlUtility.java:179-187 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/json/JsonUtility.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"da747631e0f7312dd5a0c61e0027cbbda4207aff868cf08b95a308bd821a3f5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/json/JsonUtility.java:62-69 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/yaml/YamlUtility.java:44-51 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/json/JsonUtility.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0059429c2d832cf7c1199870dfa86df8218f403dd19432e501cd2020b3dc1172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/reflection/TypeLexer.java:46-51 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/reflection/TypeParser.java:40-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/reflection/TypeLexer.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e008a29579bb28d8d035c1a78869fe964ebe40c3c6b51fe575eddeaa0a7759"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 17): jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Double2DoubleKeyValue.java:82-87 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Double2FloatKeyValue.java:82-87 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Double2IntegerKeyValue.java:82-87 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Double2LongKeyValue.java:82-87 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Float2DoubleKeyValue.java:82-87 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Float2FloatKeyValue.java:82-87 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Float2IntegerKeyValue.java:82-87 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Float2LongKeyValue.java:82-87 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Integer2DoubleKeyValue.java:82-87 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Integer2FloatKeyValue.java:82-87 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Integer2IntegerKeyValue.java:82-87 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Integer2LongKeyValue.java:82-87 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/KeyValue.java:108-113 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Long2DoubleKeyValue.java:82-87 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Long2FloatKeyValue.java:82-87 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Long2IntegerKeyValue.java:82-87 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Long2LongKeyValue.java:82-87 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Double2DoubleKeyValue.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Double2FloatKeyValue.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. 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/Double2DoubleKeyValue.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4249331d9c1fdc6596a7d2c760292729277ab227d80e0160341ad6328c31b320"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java:81-89 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/ion/IonContentCodec.java:81-89 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/json/JsonContentCodec.java:83-91 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/msgpack/MessagePackContentCodec.java:90-98 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/yaml/YamlContentCodec.java:83-91 \u2014 before extracting anything, compare \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java\u0060 and \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/ion/IonContentCodec.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2a0e5be992d4545e4024fa093151f6d76f3e1da2f74a2ecc68a15dfca50610"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java:92-100 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/ion/IonContentCodec.java:92-100 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/json/JsonContentCodec.java:94-102 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/msgpack/MessagePackContentCodec.java:101-109 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/yaml/YamlContentCodec.java:94-102 \u2014 before extracting anything, compare \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java\u0060 and \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/ion/IonContentCodec.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/cbor/CborContentCodec.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"026e0bb751e15b7a5f1f0fe8d6e2602db70de59cb6c9f17d3bd69a4dd79c84f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java:129-137 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java:131-139 \u2014 before extracting anything, compare \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8954e5327379f14b523cfead21029210e8623286c7a542d55da89687c1d694"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java:153-161 | jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java:155-163 \u2014 before extracting anything, compare \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java\u0060 and \u0060jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/RegionCacheManager.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/EntityCacheManager.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ec471fa68e09c9b1385e8c5be916973c708b28dcca24a941f86140448e5322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/hibernate/HibernateTransactionManager.java:52-62 | jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/mongo/MongoTransactionManager.java:56-66 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/hibernate/HibernateTransactionManager.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87c546d575f92c1c97dafa2613abec6bc0597844ca5c25ed86ddd4c88660d68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java:239-246 | jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java:267-274 \u2014 before extracting anything, compare \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java\u0060 and \u0060jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 97 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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3332f950b3cfa0b683299088302d66412beda8c59e1b04fbe7d46d1de5c27d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/bit/LocalByteArrayMap.java:31-35 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/bit/LocalIntegerArrayMap.java:31-35 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/bit/LocalLongArrayMap.java:31-35 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/bit/LocalByteArrayMap.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b843417dad593c71ec673a6266d853f7b10493353f921cdd489ac30773c228d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/configuration/string/JsonConfigurator.java:51-55 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/configuration/string/YamlConfigurator.java:51-55 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/configuration/string/JsonConfigurator.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/configuration/string/YamlConfigurator.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 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/configuration/string/JsonConfigurator.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa17b34e52ef81258c1e9a8de396f235f369773fbca6cc1737ce92a7757971f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileAttributeNode.java:49-54 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/mind/TopicAttributeNode.java:49-54 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileAttributeNode.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/mind/TopicAttributeNode.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060node\u0060 to \u0060FileNode\u0060 in one and \u0060TopicNode\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileAttributeNode.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"93efea901184567bf7effc1078a47aeb1326dbe942b0c688b28a51ccccc7d394"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileAttributeNode.java:56-63 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/mind/TopicAttributeNode.java:56-63 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileAttributeNode.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/mind/TopicAttributeNode.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060node\u0060 to \u0060FileNode\u0060 in one and \u0060TopicNode\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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileAttributeNode.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db025bd6a4279fb6a0ffbb9f1f7594ccf720dde0b8bf353e18ec1ddc3c266e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileAttributeNode.java:31-38 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/mind/TopicAttributeNode.java:31-38 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/swing/SwingAttributeNode.java:29-36 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileAttributeNode.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/mind/TopicAttributeNode.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileAttributeNode.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"19635f03c17825e52b2f996820d26fc026d2cf873f5c5b522348bdc370b63443"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileAttributeNode.java:40-47 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/mind/TopicAttributeNode.java:40-47 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/swing/SwingAttributeNode.java:38-45 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileAttributeNode.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/mind/TopicAttributeNode.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileAttributeNode.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2677df3dc3ee1956a834d1c897856a8fa6de403c858b9b85634ebe60abb37767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileNavigator.java:183-190 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/mind/TopicNavigator.java:183-190 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/swing/SwingNavigator.java:183-190 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileNavigator.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/mind/TopicNavigator.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileNavigator.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb85ffec342df31822a1d81f7652db94779a256bd5906e25c98c9d2e22f02310"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileNavigator.java:149-156 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/html/HtmlNavigator.java:175-182 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/mind/TopicNavigator.java:149-156 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/swing/SwingNavigator.java:149-156 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileNavigator.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/mind/TopicNavigator.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileNavigator.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c89147c6b121ddfd9b623dc32cdd16aa14cb5ecc61a2658887343b9126c474"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileNavigator.java:60-67 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/mind/TopicNavigator.java:60-67 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/swing/SwingNavigator.java:60-67 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileNavigator.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/mind/TopicNavigator.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileNavigator.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0c8d0570ade6b154174e440eda965e9e28ad8907c03d29c1a7ef84d8f93961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileNavigator.java:70-77 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/mind/TopicNavigator.java:70-77 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/swing/SwingNavigator.java:70-77 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileNavigator.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/mind/TopicNavigator.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/file/FileNavigator.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a036bc1b2c8301f8d7b206731f76c2504dc59aef2f20cbeb74e99f1d1ede0727"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/AtomicDoubleArray.java:215-226 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/AtomicFloatArray.java:215-226 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/AtomicDoubleArray.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/AtomicFloatArray.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/AtomicDoubleArray.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a4a35da42c26e507d599fad4bab1b39a23662c436951d6a0bd994a824fca28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/AtomicDoubleArray.java:199-210 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/AtomicFloatArray.java:199-210 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/AtomicDoubleArray.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/AtomicFloatArray.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/AtomicDoubleArray.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7e216e41ec0376a3ab30c5dd04665910cb33e56c15cd8a5d709f569b05946c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayDouble.java:79-85 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayFloat.java:79-85 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayInteger.java:79-85 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayLong.java:79-85 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayDouble.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayFloat.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/DelayDouble.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a573fd904aaa5f4d45cd0107c02cb0ccc6e7b42d2d3840948771dd185fce777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/specification/ClassDefinition.java:141-145 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/specification/PropertyDefinition.java:67-71 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060that\u0060 to \u0060ClassDefinition\u0060 in one and \u0060PropertyDefinition\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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/specification/ClassDefinition.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43f837eccfb428ca2ca488d4b46b16a5f3d0995d70ec976c8192b7553219369"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:129-135 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:120-126 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:129\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":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40196374dcda0afe14ec5bb442a67618c701c9ba719dde6ae6a457fdd10fa5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:140-146 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:131-137 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java:140\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":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58e8a2d7896b75907882c3026ff892e86f721ada4aadabfa4cb2dff78dfc9e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:53-57 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java:53-57 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/schema/LuceneXmlParser.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dacd03c9b620d3f99192c2b5901eab9f7fb1c23434ad543c0058b2c5b34880"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 12): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:265-272 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:288-295 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:317-324 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:333-340 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:360-367 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:380-387 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:268-275 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:291-298 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:320-327 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:336-343 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:363-370 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:383-390 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:265\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94f516b4f597b74a73df8bd8ba8e7f86eef87888a9b508b10a5d31cc7cc7e42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:83-87 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:86-90 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bae8cb35a80ed7835956cde4f0ec3a7928963ea17428169a0590bc91e0e662"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:225-229 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:228-232 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:225\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"72619c2ebef24c40d9fb666156aafda6f2d40ac53a28c784e244596df79157ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:154-163 | jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:182-191 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:157-166 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:185-194 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 150 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java:154\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneAccessor.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"266e220328415c2a7b861796e3afb397a13962e0b3e8d463293adc00e2c225fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:53-57 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java:53-57 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/schema/MongoXmlParser.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3971f1ba4cacc6ae58841bb8844848dce4516a8db41933b7d4af5c8c332bf472"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:367-373 | jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:367-373 \u2014 before extracting anything, compare \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 and \u0060jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 221 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 \u0060jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java:367\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":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"6788268e2c599bbd2647fd9f1e8ddd2c2f7cfddcf13f78ea70f0e020e43b9956"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/beanshell/BeanShellExpression.java:38-45 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/beanshell/BeanShellFunction.java:39-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/beanshell/BeanShellExpression.java:38\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":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/beanshell/BeanShellExpression.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5cc7c1b791b88dab8dc71a2a5733acbd7753eb15e5a884f30f2b4f0ab1260f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyExpression.java:42-46 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyFunction.java:39-43 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/kotlin/KotlinExpression.java:38-42 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/kotlin/KotlinFunction.java:39-43 \u2014 before extracting anything, compare \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyFunction.java\u0060 and \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/kotlin/KotlinFunction.java\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 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 \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyExpression.java:42\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":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/groovy/GroovyExpression.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de524713b9971c2429bfca012622aa591283f65d35fa455c3945044cd30aaf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/js/JsExpression.java:42-46 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/js/JsFunction.java:39-43 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/lua/LuaExpression.java:42-46 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/lua/LuaFunction.java:45-49 \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 \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/js/JsExpression.java:42\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":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/js/JsExpression.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e03ef53a0f2176f9341364788642b266b454956d2c196977f5f847e7f2e0ce0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/lua/LuaFunction.java:53-58 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/mvel/MvelFunction.java:32-37 \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":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/lua/LuaFunction.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"994418744450cf30e43c1042636778a71cb0e108b96bc598425169706ddf8eeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/python/PythonExpression.java:42-46 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/python/PythonFunction.java:39-43 \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 \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/python/PythonExpression.java:42\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":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/python/PythonExpression.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"703837fbcbc1def0c34d2fc653a138967e4102219a6fb9d11940227e1a90f5a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/ruby/RubyExpression.java:49-54 | jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/ruby/RubyFunction.java:45-50 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/ruby/RubyExpression.java:49\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/ruby/RubyExpression.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"965e735d1a35a181f28239cf7075c6b56d961d805b12ae14b5e2d865ce3db7ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:56-61 | jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java:56-61 \u2014 before extracting anything, compare \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java\u0060 and \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarExpression.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java:56\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunarExpression.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a30be921ffa665544404aecbacb11cc2c3b01e25c2ce138542e07ada867eae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/ArrayConverter.java:73-77 | jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/CollectionConverter.java:63-67 \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 \u0060jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/ArrayConverter.java:73\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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/standard/converter/ArrayConverter.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e374c024ffce2859a8178d9f62095c14d5d87986f399a40dbfbf917ed28df16f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArray: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroContentCodecTestCase.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f7b8a5c675aab68054c72bd412f9b65d5682253d48541d2bfb2b796debf5c9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testBoolean: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroContentCodecTestCase.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7ee05fa35e55e8615bf1543a31e13fc2df17ec4f60d92fc97584ba6dd4a22b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testComplex: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroContentCodecTestCase.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ab437ee7b4f95e9ae403d89b07f5987d155cbf753a4532a86b287ba5112976"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testEnum: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroContentCodecTestCase.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4275707196cc0d41e3ee3c6ee532e96b2b9ea1d7681cc43e9f49d7c7d02fd137"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testInstant: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroContentCodecTestCase.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"24be5bc2705d131aaf9acfc56a94c969ae8837abdd7d94b4cc03a65911116615"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testNull: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroContentCodecTestCase.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"81146efc64157fb354af052eafca8716fb8e49697b9c44c122fbfe220cfad733"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testNumber: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroContentCodecTestCase.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7681e9778cd41e41660880d431ce8864d26039dd4fb2feaae034bd2aa35657a2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testPerformance: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroContentCodecTestCase.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb749c7e22529c42f27d404c0456cb312c3332d47ecd3b478aa9c44e54ac467"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testString: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroContentCodecTestCase.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb14fde11a0524cc82ab56660b6de6bd8707b92c3884f997111fa29af7818b4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testType: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroContentCodecTestCase.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d8a934215a1f3edb0c0fdb82c240f9f4306fc4ca4e6f965d85a3d8e0fe4852"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testUniMi: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroContentCodecTestCase.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a70f897f319b6769b3ccaf0a0004740a8475fb252feff5511843df87c800b7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArray: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroTestCase.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6248e41231fb4fb84c5a8d0154306d22ff591a26c04c37984c27e23df99845"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testAvro: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroTestCase.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"43273aa661c7d7d1761039aac06b318ba42021628a1f74aa26db3b23d0518a59"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testBoolean: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroTestCase.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb4de8b3c87e77ce0d563f8189a8367a84fbd5437257c7087cf6dee478e97c6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testComplex: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroTestCase.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a08248b84096f8fcfab9fa1493130796c26d5d5e8743c30fd642500e4257ab7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testInstant: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroTestCase.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8676131955c9af329631be35d69e1f638301c742a00ccfb8eb5c41810923554"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testNull: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroTestCase.java"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4c856af1f4fb403dbeb3d56422745dcf44607492515a61484093f28fece3ae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testNumber: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroTestCase.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"b343d629c3d031e7769298b8deabc645bcd527375c2479454a4e4a8fa2073f32"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testString: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroTestCase.java"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6913383322a70c28e395fb352ee0884d50dc9122b824e45c8c4fb2056645c6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testType: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroTestCase.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f89d9e77da5a803ced2e305dbdba15de927c343e79a603030aa5705f90472d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testUniMi: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/avro/AvroTestCase.java"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"0390c5adc7845bc28539c1944345e4ad81cc14714657d029b7088d55124d9fae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testArray: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/ContentCodecTestCase.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"310ae137d877270e6f0d66c94625c403c3abf0f32b2cd733a95b7315892a9288"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testBoolean: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/ContentCodecTestCase.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad616fc13c2618e813eb40e80d2086c3154602fce0a4e77bdc3099c3697ee49c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testComplex: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/ContentCodecTestCase.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3099723c47a1da73be7df113b35d914ea47d15331f85bd5b20c75f3a29436c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testInstant: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/ContentCodecTestCase.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"da291a99721ddc08e95d4bd7e6c9ae3f64f7a9da4b27bfac4e5f7d5ff3d78b2e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testNull: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/ContentCodecTestCase.java"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e52045b948c8b846172e757755da467cc0b49727b5374aa627b1e65a0d0450"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testNumber: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/ContentCodecTestCase.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9fecf2d21beff591ccfbb726d0551d142a030961d5ea65faf27552a78ecbe8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testPerformance: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/ContentCodecTestCase.java"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bbbcf38f702d293f63c7ea89acdb46da358fcb4b4796595014f37e4a18211d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testString: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/ContentCodecTestCase.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f35e35f98bb1ab7797bfcae40be6a16a974a9968ec9224046c903522d9e2f3d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testType: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/ContentCodecTestCase.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be6778eb3282cff0e62b48221c7ac6b4a353ec7af9bbb58be5e6023c696e5b6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: testUniMi: No conventional assertion call was detected, and 31 of 33 tests in \u0060jstarcraft-core-codec\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":"jstarcraft-core-codec/src/test/java/com/jstarcraft/core/codec/ContentCodecTestCase.java"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7bd90039998b1c29b15d01d524fd2724c4da96315cc267ccec690ba257e629"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPerformance: 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":"jstarcraft-core-common/src/test/java/com/jstarcraft/core/common/conversion/csv/CsvUtilityTestCase.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b4d8ea8e1b02f702a3cbc117eb180b0c737fd749384103448775689dd15812"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testConvertType: 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":"jstarcraft-core-common/src/test/java/com/jstarcraft/core/common/conversion/json/JsonUtilityTestCase.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6795ca934a8c6ac51ce2d1e4b1ab502bbb6f5421d7df98ce3e5d29584c4e9084"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testStringCollision: 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":"jstarcraft-core-common/src/test/java/com/jstarcraft/core/common/hash/HashUtilityTestCase.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"681be2a0fcc62fee6508d062859e1d6af46d606ec9677c89d12f05c67ad3f88a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPerformance: 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":"jstarcraft-core-common/src/test/java/com/jstarcraft/core/common/lockable/CompareLockTestCase.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa90f3d9ebcce6e5d485f150c20ab887fe8e2de1fda61bdfb85729998b61a07"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testConvertString: 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":"jstarcraft-core-common/src/test/java/com/jstarcraft/core/common/reflection/TypeUtilityTestCase.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c83dfe4f269978d76bdc71a04f28a182a0c113fc3cbdd25943e5336a6273b5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testConvertType: 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":"jstarcraft-core-common/src/test/java/com/jstarcraft/core/common/reflection/TypeUtilityTestCase.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbbd00113112a65220fead0d77fbb4945ac4a2e3a0382359ca227b1a25f4c41"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMessageCodec: 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":"jstarcraft-core-communication/src/test/java/com/jstarcraft/core/communication/message/CommunicationMessageTestCase.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3612ca4f4eb2310dcf1ff4b5228fbe23fc51fb78a7bea5c2ca59d846256066d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testConnect: 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":"jstarcraft-core-communication/src/test/java/com/jstarcraft/core/communication/netty/NettyTestCase.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b2527bd223c6bc5b3bfa9bf9648e29073fe4ba47904a0935360a93f1ae3708"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testQueue: 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":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/test/java/com/jstarcraft/core/event/rocket/RockMqTestCase.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7972287edd3c027bdbc6fce5fe4afd78f104b0b65549c1e2c4b43dc9b732bb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTopic: 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":"jstarcraft-core-event/jstarcraft-core-event-rocket/src/test/java/com/jstarcraft/core/event/rocket/RockMqTestCase.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6fd77a5c77d315fc254e516a476d33b7ba2367a6efde8a5c410a473308b136"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: waiveResource: 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":"jstarcraft-core-io/src/test/java/com/jstarcraft/core/io/git/GitLocalStreamManagerTest.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd05249c5af85be4ec0c7918b5086851eb7cbe54fc0a83465ee7bbcbf7a0f883"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test: 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":"jstarcraft-core-monitor/src/test/java/com/jstarcraft/core/monitor/measure/MicrometerTestCase.java"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"514584a843295915b7a3c2d50caee08a12076fdfbf08f0e339a0cc928f5d7c7a"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): testMethod: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-monitor/src/test/java/com/jstarcraft/core/monitor/trace/SecurityManagerTracerTestCase.java"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31cde07f05cf8c424f1466357bc4f001fc43884197371b54e93166246f8cefa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMigrate: 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/test/java/com/jstarcraft/core/storage/berkeley/migration/MigrationTestCase.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a821e2393c83590390494ab70f82f5858877e3b3ca4bd7d692977822a2518023"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTransactor: 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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/test/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessorTestCase.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae49561ba86a88fc6d76a8b47e7e0d57629fe3187e3af56919dbed69256d609f"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): testQueryParser: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/test/java/com/jstarcraft/core/storage/lucene/LuceneQueryTestCase.java"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8e0952591e1b30d454d15e4d94f6295b38245ce93969a06cb03e9407ac9903"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5E94\u8BE5\u8BB0\u5F55\u65E5\u5FD7,\u9632\u6B62\u4E22\u5931\u6570\u636E \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7426c28a040f4179b4eaf068cee0b7df9ac0bfe6fefd0b91c0bc3e9918cd133"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4FDD\u8BC1\u5355\u5143\u6D4B\u8BD5 \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b84d8ace1c02790acefd1dcbdcb8bf4fa6b08a429a4b3b86d31de7073145e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u8003\u8651\u4E2D\u65AD\u7B56\u7565\u4E0D\u9700\u8981\u5904\u7406? \u73B0\u5728\u662F\u7531state\u7EF4\u62A4. \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"154f26ab57b1797e7f36ff5fa518efbc42cb4f46aee78dd1fa055920a22f4244"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u8003\u8651\u662F\u5426\u518D\u6B21\u628A\u5143\u7D20\u63D0\u4EA4\u5230\u961F\u5217?\u4EE5\u53CA\u5F71\u54CD. \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/persistence/QueuePersistenceManager.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"6526fbc63ba6d074ddb44926ed25fc34590b76f8e1b90ce02f9bfdc6e8676819"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u7D22\u5F15\u53D8\u66F4\u90E8\u5206 \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistRegionProxy.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbada35815661110ee8868dbab392225371fd685ec00e35aaccbcf70cb9c8eec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u7D22\u5F15\u53D8\u66F4\u90E8\u5206 \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistRegionProxy.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0693f27fc3166499649eaea5387b24a6be50722aad154774d9360f76e7b1df03"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u7D22\u5F15\u53D8\u66F4\u90E8\u5206 \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistEntityProxy.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bcc1d14fc911bcfb4e8997b56f470282091779df94cc97e22f8014053ca541"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u7D22\u5F15\u53D8\u66F4\u90E8\u5206 \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistEntityProxy.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ac9551731b193a7a056f79acc0cfa9b3166e10b38ba5bd93957df011c91db6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6570\u636E\u53D8\u66F4\u90E8\u5206 \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistRegionProxy.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c988193514080ec668fd800da71816e27847d80846a8bd3c7f3f1503e8d2d87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6570\u636E\u53D8\u66F4\u90E8\u5206 \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistRegionProxy.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a189da1d2dace20e699a1674f8abd1c0e7093ed1575e1879f4db42f77ca053a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6570\u636E\u53D8\u66F4\u90E8\u5206 \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistEntityProxy.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f58d0d5e0aa41577ebd76011f82225698597aebb177b1765c684ff9d13fe8a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6570\u636E\u53D8\u66F4\u90E8\u5206 \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistEntityProxy.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bec11e02efad012afd0a02a6d8b5e22d42d7d22180d538b1b801b3603f2e459"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u8FD4\u56DE\u503C\u90E8\u5206 \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistRegionProxy.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebacb15eb284b99469a62e2d8b6c1996add5fc8ae9632b6154ac16680e4bc187"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u8FD4\u56DE\u503C\u90E8\u5206 \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistRegionProxy.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"01270954c4a00dc2aa7f45f136de1b5b4f601a18f8a773dd11cc07f18886e4b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u8FD4\u56DE\u503C\u90E8\u5206 \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistEntityProxy.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"871aba9d41046a3ec70273a2a05cacbca66c684871dd0b30740b9b335904dc59"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u8FD4\u56DE\u503C\u90E8\u5206 \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/proxy/JavassistEntityProxy.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9d14d514f74d4b98da7e0b344313192d651744b5f629ec931ec4ec16faab3e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u8003\u8651\u6B64\u5904\u53EF\u80FD\u4F1A\u963B\u585E\u6E05\u7406\u7EBF\u7A0B \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/transience/DelayedHashMap.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5f53ef42e35b04462152f0cc4d4ad24eb2e01f08188e7072245ef27b7008d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5F02\u5E38\u9700\u8981\u8BB0\u5F55 \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":"jstarcraft-core-cache/src/main/java/com/jstarcraft/core/cache/transience/DelayedHashMap.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27dadfcaef30156c79920001181146a0ebec1420db4febf486cf2ee09c4f1a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u91CD\u5199\u662F\u4E3A\u4E86\u4FEE\u590D\u5B98\u65B9JsonEncoder\u65E0\u6CD5\u5904\u7406\u6570\u7EC4\u7684Bug \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/avro/AvroDatumWriter.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e45b03d616559ee8ed3357ee5f1caf02dfe10c2d6acc6c3feb614661eb0b6d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u91CD\u5199\u662F\u4E3A\u4E86\u4FEE\u590D\u5B98\u65B9JsonDecoder\u65E0\u6CD5\u5904\u7406\u6570\u7EC4\u7684Bug \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/avro/AvroDatumReader.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae0facd5bdf83bcff770bb8916b29dda3e9fe1b447301df5336296731d4f150"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u8003\u8651\u4F7F\u7528ReflectData.getSchema\u66FF\u4EE3 \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/avro/converter/AvroConverter.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a69a3ef716302e0c4d9fb58545c172a57e39f74d375cb02ed3745c20c2ca96"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5904\u7406null \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ObjectConverter.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb890af8ef4c4ce3d3eba0a2cd169a613e45c977329fc9b19cf7696938f1620"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5904\u7406null \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ObjectConverter.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4908176d2735e06640d207f02d15ce39cc7de1c6beb016f8f8eead25905a7c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5904\u7406null \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/NumberConverter.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76328982d55ec25407269c85efb8ac28cecc8f4d129624b827caeed8ecd0447"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5904\u7406null \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/NumberConverter.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"416fa49ba2e4105137717d97119479aa5cb8713249cbf2243437c4538874a44c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5904\u7406null \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/MapConverter.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2b03ff85dd665887b9f5d2c1133a9d0b2a12dd851c8444527e43bff5926f7f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5904\u7406null \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/CollectionConverter.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b74e52a17d912b6a4cf1f3b4ff0d9b95a9af74e21f1fbb8ae07e94fcd5040a4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5904\u7406null \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/CollectionConverter.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba1bb38c753e39712b2a9affd43ea88a43151876b749138ad76764842f0b0b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5904\u7406null \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/BooleanConverter.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5ba76e3be390d44d5b6630b37fbf4a208d65d2d863e09c13d9b4075c4d8cec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5904\u7406null \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/BooleanConverter.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c0746b8aa5a370cce8e96362a7c1989703e125fb1e6b5f4f7c2cbad870a990"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5904\u7406null \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ArrayConverter.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b16de6ca0afef370c155b3bd54d8ada3be7cb492e1d1d72be5c14114d28ad2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5904\u7406null \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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/csv/converter/ArrayConverter.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5925267f0e7ac3a11ccb59641f7dfab56b21112f897f8cc1eea0bb7ce35f22e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 17 files: The identical TodoComment appears in 17 files (25 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 25 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022// TODO\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":"jstarcraft-core-codec/src/main/java/com/jstarcraft/core/codec/kryo/KryoContentCodec.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36109aaa90f5274ac870ff66df74aeefaccd0a1736a23d49ab020750e240925"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u8003\u8651\u5B9E\u73B0Int2BooleanMap\u63A5\u53E3 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/bit/BitMap.java"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"22176b26eb8f92928e275c90eae71eaece28f267af1bff1712ce0848162dacc7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u8003\u8651\u6539\u540DOption \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/configuration/Configurator.java"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cab2934b78e12e0913794560f70db9525f3631416be5038864a044ac2a6441"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u9700\u8981\u4F18\u5316 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b5c6de82dae9edf232e2697765e9c07c545628f351f5280e2c7b2a2d228255"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u9700\u8981\u4F18\u5316 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/conversion/csv/CsvUtility.java"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcf4328eeb9fb70a24ed9e7e2c162c14ca9b15dfa53b26947117e41f30de8dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u9700\u8981\u4F18\u5316 \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":"jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df84b7cab4651a3d315fcd106fa8025888e23b56d0b7ef37e25093a3418d8f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u9700\u8981\u4F18\u5316 \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":"jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6207301eb352176225e5cc3377ae898bfddd99ceab1c71484b0c06431438f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6CE8\u610FbpStringHash32\u4ECElong\u6539\u5230int\u7684\u65F6\u5019,\u5355\u5143\u6D4B\u8BD5\u7684\u51B2\u7A81\u53D8\u5316\u975E\u5E38\u5927. \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a8af8a2a3f0fd78c713c6b2a136d6c7596d411ab2cf783f9821e0087cfc999"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6CE8\u610FbpStringHash32\u4ECElong\u6539\u5230int\u7684\u65F6\u5019,\u5355\u5143\u6D4B\u8BD5\u7684\u51B2\u7A81\u53D8\u5316\u975E\u5E38\u5927. \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0bf7e01896d28283787b0354d13eca9f331e34a57ca6e52bc2c4ae7c464a6e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5F02\u5E38 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/identification/IdentityDefinition.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fd587199f183239ef07c03a91ce041ee207b2910c748e894cd604b453d3c0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5F02\u5E38 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/identification/IdentityDefinition.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf4c92759780de78e7bb4c38e47fbfd83955119ef3773c165bfdef39050a996"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5F02\u5E38 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/identification/IdentityDefinition.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be1db6b87bda3d324067d424dab0d7e3222c188bfb58ff2a19571bd6ed8fbdf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5F02\u5E38 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/identification/IdentityDefinition.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d804d098fc46c4a087fba77f6fa1c011e9f43cc0e74cec970ee33902ab976b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u8003\u8651\u53D6\u6D88\u6B64\u65B9\u6CD5, \u76F4\u63A5\u4F7F\u7528Lock4Element \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/lockable/LockableParameter.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"933e67008b482b3d6e646bb6e8dafb5d66c8e0e834af94c60d9cb29026d0391f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u662F\u5426\u8981\u68C0\u67E5\u53C2\u6570\u7684\u7C7B\u578B\u4E3A\u6570\u7EC4/\u96C6\u5408/\u6620\u5C04 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/lockable/HashLockableStrategy.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d630894866e925f68b8bbfbde73f4d36cfd4c4c046c7810b1bd883c384c0e2ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u662F\u5426\u8981\u68C0\u67E5\u53C2\u6570\u7684\u7C7B\u578B\u4E3A\u6570\u7EC4/\u96C6\u5408/\u6620\u5C04 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/lockable/ChainLockableStrategy.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb3dc58391e063abbea2cfd4a50055dd6fa75760c3a3e6ca0770205c406f2bd"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd860a027053e06e7daf48a2785154c2607aa31448bb9f9b24926d11a297fcd3"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"62faf8b06e2a6e7dc0d293a3f9b2903a68517816bb395e6a5c28a81c359370ca"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1dd03eca0244ab374b3beeabeb13224c9413f9f5ac0d8b17d8e9ac4bac1590"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63c4c2bee809b28ac0fc3dd4b665133722311b25da1d21befde4cdd7c701378"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"127d0d8a0aadb7cddab1e1d27ef7d97fc8a384833139a7a211402e4045ace29b"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0355d9070e86ae63143a5bb0b412f20855b4cdcc5b1cd6cbed908a7c26d7509"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c269aeb182a8d44568da0059c59d1282e5e54514258942583276885ebf06f4"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ebd77f6ff4f5fd3ba09abf97112fd7acdc64b8e17589e39330143e3dcea1b2"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ce98e927a27a2a159a05c356103941de799d83b60d805464b019287aa87ba6"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85dc21d1373d3f4b56aeca62a5c16eef8512396c06824f2f09bc4a23494607d"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1464358935e149ddf84fbfab8d722a0071024d30b46e7e7db91ea396f43445db"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7072e41165d5130067d03eeebea219b8207d9bf98468dd6c9736a0a2adeccc7"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"303b215e3392a7ba79713ae53f2ef9c779b501f5ada29cb2fa5a7272888a4bc3"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"151c07db2f259d50644a2b5cf1b9e357120780e14c23453223711c2686cc00bc"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"db05a48aa80db31cd43d987f3041dc913899157d19053170449936b0e2f0618c"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b448f05c146370905a99c48f48bf95e998b317dd7344a6493f4e0f83a185e5"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c643cc35227c9261ef5b67b24ac52e9954fa9076738598252d793b8f33990715"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c68bf408b28512176b229e4885a570e08d8ae274b72aea50b1f88d3733042f7"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a2d0dcf1c0dd9e94213b48c2745b22121d457c1815aaee855ec5356ebfacba"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"442ecfba1659f772cdc1a269235da051fb7ed61ccc2d182fd7d3edb31632a2b5"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a53ec8b871bf60ab9151a7b7b9bf1ad131a9c9e4ce21058f6f9f096ddba76c"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"94273de305795b0a394f01a0611893858eb1526883d8d6496684766da710c4e0"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"7545492fb3b3fcd5f2c029c6abfbadf7d91de0d222423edb19812b37879dd009"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d11eab202c493d0b8d1fd9dad013fdc89f2add4af47f971f51676e7a999c4b3"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigObject.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce36c5ba44c88bc8e22d6b7f3a2820432a5f98cc256a65e28f530e912632239d"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b906f13ce49fb390183ecc82f32d1ffa7780bf9ef97670bb6d9c07ea70bb4a5"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b4fafcfc534dc1919569c86e6e15f9405981ff24507205313ca42e7ee12b9d"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d17bb74c4a9f6352edeae103d75f52a31a1f725dcceb328e03cc485ef7e996"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9750e3d91af02c7f2b6174b9b1a25840db9911b814b458f096d14ae1384f03f8"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"447869344a54343b7419f126a97d1e24e17bcc86b1d9aab9fe9d03542199c233"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ba0820e11f08c174ab258fdc0439d67885da6a53bf70193679329e02e98a05"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"48359a27017797c1ac85d8d9ded77c20abbaea31b93f02096673804adc3a3f75"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74a4f334ddae3a044f5ae882959fbd7706b9c1832f1de45d264ad473ed1bee9"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f54297d762b36d7f0a356ae6149677483fc0496c8e3afbc787545de771f91a"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"32042e6ca749dfca06f2782b742dde9b5886438304d3b3e36113dea83d9773b3"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8829aa980b290a0639be19740ca240c7c0b7af9673d404c1a2991ffc42f315ad"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5af74acf7e9e983070b8a18e69f4a5b486ba9218c8d6b3de89c2ab81499155"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14364c10bb462a0703506fa4159c35aa09754c4f3fbb27c90a363fa14d60aac"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38fa685c72b208d7b7ebd415b1cbb17e2e5ef4e19a603c489fba198451eec3f"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f5c5b3ce4e09234b8d005e35017c754b9bd572840a7867225c231c5583b6cc"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72ef1908dcc56e96e7c1a961eaa7690df5ab319ce8049a9329e7ef80b62518f"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f694a717b49a372c381a1c0d4bde4f9eb2088440ca0c6d5393c26a996942e587"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06ba4167d252124f7c32d506f4d54e58a9ad625052fcb1fea88652d1a46c8c0"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c927f0505d2cbd44a1e7213c0d14e794ca7c68c5e95ffdf917fd42e873bc6396"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1c7e79c2f0485c1507f586d4111b932dda85a991cbbf9cc55efd6c25d1db50"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a843fa9b00f8d8465164d09ebe9d644d2ec2f147e942b17e5988d93658865f3"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a38824f99ca749f73a23c55186655d426e39e739ec9772d8ef270e56bcfb9f"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56fdd3c5e0d4677789549a2efb74045325676b68f7e3dc7040b1ca490b08c4f"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd42957224bd7270228109cd077209a95329c786d5a5ea349469ffd2e1f6e28e"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c382990c7c8f5ec18b1c54f381aeff833c2edfdcdb52e37ea1e559228cb019a8"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b08ddcac8f9d3d10e193c58cb5e0b3044744b634cd1b5a2f45bdfea60759d58"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f7d6408771777e125f3b3785ce9d5bafa5cef63e92cfbd70517a99ea33f9db"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c6ca40b7e3da25027f4be6a186235922c2a7bf06dfa2428e88bc2311a59c51"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee43e7f0d5da3a5c57243226dea20ed71dd3c5fb99ad92531281d59227aaeb5b"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6ab9fc0d5c374bd84d321c378e05d9992e8398f7ab9ee047ef90c565e7a49b"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca64bf25107a0cad89f65585c44653035e777017d2071c77d2ce36f752c61028"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/jsonpath/hocon/TypesafeConfigArray.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"48edfec4b0103152faa44ae0cb7eb0af4ff2617cc3cb838e6b32b1c2ac9c4386"}},{"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":"jstarcraft-core-io/src/main/java/com/jstarcraft/core/io/zookeeper/ZooKeeperStreamManager.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7f1f2920de82454fdac46e6923d9974ab499b07a2b8fcc4a486055bab80a58"}},{"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":"jstarcraft-core-io/src/main/java/com/jstarcraft/core/io/zookeeper/ZooKeeperStreamManager.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3efb7f4d09ba1a1ba37c59210627a609654f8c4be7eaa2e05813a330c8d69d6"}},{"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":"jstarcraft-core-io/src/main/java/com/jstarcraft/core/io/zookeeper/ZooKeeperStreamManager.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"af438e70110aa4e092386d689f77c564b5a4ce764e39fe33fe3939e06d03ff8f"}},{"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":"jstarcraft-core-io/src/main/java/com/jstarcraft/core/io/zookeeper/ZooKeeperStreamManager.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f769ab20f0f1fea2603e461324b44b65ed3bc23e99a516208b9965121240e672"}},{"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":"jstarcraft-core-io/src/main/java/com/jstarcraft/core/io/zookeeper/ZooKeeperStreamManager.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9c4a2618397f85d3d962a53b0a2e97775b92bab91eaf48b5d9d2e7a2235674"}},{"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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/BooleanStoreConverter.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de1ae5fe2720b096f4902090e905584903c2bd41a2b7ca863007fdf9b00ffac"}},{"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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/BooleanStoreConverter.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9045196a5881997a5c8b6210c09c7fc709291d877ff7d4b0ed06430050455bd"}},{"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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/BooleanStoreConverter.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2295a25c09712fa7ce6add3098fef4280037daa128a847a5e1c27557219d1f76"}},{"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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/BooleanStoreConverter.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"562f45a2d0921404dd25b2c13dc3d07f0d5671892b58004f6cba624de7fb3741"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u8003\u8651\u901A\u8FC7\u7EE7\u627F\u548C\u53CD\u5C04\u652F\u6301\u5176\u5B83\u7C7B\u578B \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/selection/xpath/SeimiXpathSelector.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"83fdefcc16cc2c676b4ea741265674895c900b0b5aea0c9d83b832b1df70ceb7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u8003\u8651\u662F\u5426\u4F7F\u7528\u6982\u7387\u5206\u5E03\u66FF\u4EE3 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/RandomUtility.java"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1a76ef6a762e61eed155729369f6ff1f66d470106304a6bc48e9a7c08f15c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5F85\u91CD\u6784 \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/PressUtility.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dc2a1cdd98ea76d0db6c2f5c115db0749eafe10e4428e798b9f89667af812b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(user): replace with code below when jdk5 support is dropped. \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/AtomicFloatArray.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e844c8ca16a486c6cd2283a904e528d504300d770737d9899d6a2e1d343829f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(user): replace with code below when jdk5 support is dropped. \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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/utility/AtomicDoubleArray.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94b40558c9204cfd19e0b9b46852bafcdabff844dbe0f26c7990573969ebb62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904cron-utils\u5B58\u5728Bug,\u5BFC\u81F4\u6D4B\u8BD5\u65E0\u6CD5\u901A\u8FC7,\u7B49\u5F85\u4FEE\u590D. \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":"jstarcraft-core-common/src/test/java/com/jstarcraft/core/common/instant/CronExpressionTestCase.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b524d994c9d84a3509ca0bd2251350a903e3a8746b7ae4fec97abcfb1422e9b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904cron-utils\u5B58\u5728Bug,\u5BFC\u81F4\u6D4B\u8BD5\u65E0\u6CD5\u901A\u8FC7,\u7B49\u5F85\u4FEE\u590D. \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":"jstarcraft-core-common/src/test/java/com/jstarcraft/core/common/instant/CronExpressionTestCase.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2dbf2d71a253cb4f3a5864121e3f5ddc6d928181cc08d2f88f4bba42fec8e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904cron-utils\u5B58\u5728Bug,\u5BFC\u81F4\u6D4B\u8BD5\u65E0\u6CD5\u901A\u8FC7,\u7B49\u5F85\u4FEE\u590D. \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":"jstarcraft-core-common/src/test/java/com/jstarcraft/core/common/instant/CronExpressionTestCase.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01240b5993736d90b101467b04e03e56446a1f743a4948c13362a3b240c8891"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904cron-utils\u5B58\u5728Bug,\u5BFC\u81F4\u6D4B\u8BD5\u65E0\u6CD5\u901A\u8FC7,\u7B49\u5F85\u4FEE\u590D. \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":"jstarcraft-core-common/src/test/java/com/jstarcraft/core/common/instant/CronExpressionTestCase.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5706beb97211ed9cf189d3b048f5700f9936a6513747749ca4374367c122c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u56E0\u4E3ATapestryJsonProvider\u8981\u6C42\u6839\u5143\u7D20\u5FC5\u987B\u4E3A{},\u6240\u4EE5\u72EC\u7ACB\u6D4B\u8BD5. \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":"jstarcraft-core-common/src/test/java/com/jstarcraft/core/common/selection/jsonpath/JsonPathTestCase.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbc93dc812a4c50d9c0242a1cbc3962e8379db88ad6dffca0585cd1d34cee7b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5B58\u5728\u7D22\u5F15\u53D8\u91CF,\u7C7B\u578B\u5FC5\u987B\u4E3AArray\u6216\u8005Collection \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/InputDefinition.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d025167599b3df2b328c83081325f1f358920dd79af6c1a023516c7c33ad5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6D88\u606F\u5C3E \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/CommandDispatcher.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c22536589f1e3c9255a476d453a311d0d4f1ca9a10b1c1cb926676bd88a6e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6D88\u606F\u5C3E \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/CommandDispatcher.java"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de66e34d9d020b542086b791763ceedd7d71d1046d36f3574ac8856591e42a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u914D\u7F6E\u6709\u6548\u671F \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/CommandDispatcher.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18a820c429c3cb1d35462d01db22f845ceaf4ee9267210358b432b61554f2a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6539\u4E3A\u7531\u63A5\u6536\u8005,\u53D1\u9001\u8005\u8D1F\u8D23\u7EF4\u62A4\u4F1A\u8BDD,\u8C03\u5EA6\u8005\u53EA\u8D1F\u8D23\u8C03\u5EA6\u4F1A\u8BDD\u4E0E\u53D1\u5E03\u4E8B\u4EF6 \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/CommandDispatcher.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83f9d6a6b7cb1193bcd9dd6b4f0d1739958e4e2d06da2696be975c1f27e1d91"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6539\u4E3A\u7531\u63A5\u6536\u8005,\u53D1\u9001\u8005\u8D1F\u8D23\u7EF4\u62A4\u4F1A\u8BDD,\u8C03\u5EA6\u8005\u53EA\u8D1F\u8D23\u8C03\u5EA6\u4F1A\u8BDD\u4E0E\u53D1\u5E03\u4E8B\u4EF6 \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/command/CommandDispatcher.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"844ad320eff3fdb100d10a0dcf4c400fce88e4c257bb4bcdb29ba18ad239d819"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u53EF\u80FD\u91CD\u6784\u4E3Along\u7C7B\u578B \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/message/MessageHead.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a12fba43ca3c2940b4b8405d84c1e7cb827077db4000eb04c9c3694a52c9b2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u6D88\u606F\u957F\u5EA6\u002B20\u662F\u7531\u4E8Echeck\u4E0EheadData.length,bodyData.length,tailData.length\u5360\u7528\u7684\u5B57\u8282\u957F\u5EA6 \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/message/CommunicationMessage.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c2925ba0b19ea93196131e0721d9df0414dad754dc6ab1f16c10e373349ce9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u9700\u8981\u8003\u8651\u5F02\u5E38\u5904\u7406 \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80e6b7ce13e772bd3d197ca3f1eff9e4c5b0fbca652b466620ab29aeb8ba1ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u9700\u8981\u8003\u8651\u5F02\u5E38\u5904\u7406 \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab744f738c500eca642b40488c0669f654f97c5da1d617292f14b5245e403c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u9700\u8981\u8003\u8651\u5F02\u5E38\u5904\u7406 \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"14dcb80d004d287af7d210877f56eb562bb599769e3772d1a5c5f718ff1076ec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u9700\u8981\u8003\u8651\u5F02\u5E38\u5904\u7406 \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9de15755d41d49575cbf7b86a75c802df40b15ccd2d6b0f09b6a4d1a1901e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u9700\u8981\u8003\u8651\u5F02\u5E38\u5904\u7406 \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2d6f56d69f0b9032f6fe1967e64567c6d07f9176a0cfb9e7587fdcb039a399"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u9700\u8981\u8003\u8651\u5F02\u5E38\u5904\u7406 \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"339e9b87969f6d7cb1d4c27c32f5325413aa203b21ae868cd6e83b547dcec21b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u9700\u8981\u8003\u8651\u5F02\u5E38\u5904\u7406 \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c6cc54f8cfed1f28af1421cd4c79a316fb84d586ff97869624af710b6f117f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u9700\u8981\u8003\u8651\u5F02\u5E38\u5904\u7406 \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7b031da7bb47f71b60ab04a1d521ac757ff78e90769569576f50c9fb8df1f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u53EF\u80FD\u5B58\u5728Bug,\u6309\u7167\u73B0\u5728\u7684\u903B\u8F91,\u5982\u679C\u901A\u9053\u4E0D\u5B58\u5728\u4E0D\u5E94\u8BE5\u518D\u653E\u5230\u53D1\u9001\u961F\u5217. \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpServerConnector.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba9d439f16f8d65b55f939acd19341e331004e70e0a507b4bbee4ea862ff1de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u53EF\u80FD\u5B58\u5728Bug,\u6309\u7167\u73B0\u5728\u7684\u903B\u8F91,\u5982\u679C\u901A\u9053\u4E0D\u5B58\u5728\u4E0D\u5E94\u8BE5\u518D\u653E\u5230\u53D1\u9001\u961F\u5217. \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8874681bcfed0024c39bec4bef8783ffd8bb6eb91ce6a06d35f37c882096f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u53EF\u80FD\u5B58\u5728Bug,\u6309\u7167\u73B0\u5728\u7684\u903B\u8F91,\u5982\u679C\u901A\u9053\u4E0D\u5B58\u5728\u4E0D\u5E94\u8BE5\u518D\u653E\u5230\u53D1\u9001\u961F\u5217. \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpServerConnector.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ee4d0352580a4183ea7b9ba10d8f4f7687538af3db9075ab4e3341b66482bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u53EF\u80FD\u5B58\u5728Bug,\u6309\u7167\u73B0\u5728\u7684\u903B\u8F91,\u5982\u679C\u901A\u9053\u4E0D\u5B58\u5728\u4E0D\u5E94\u8BE5\u518D\u653E\u5230\u53D1\u9001\u961F\u5217. \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a864094e900bf6362df18506bff08d11ff2dae9633868e7f24411787b6bc29"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5C06\u4F1A\u8BDD\u653E\u5230\u5B9A\u65F6\u961F\u5217 \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/tcp/NettyTcpClientConnector.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"122f011ec6e683c6f299088cc41741cf665fbde187e65c36b6290f62bdd01d0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u9700\u8981\u91CD\u6784. \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/netty/udp/NettyUdpClientConnector.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a29a66b1cb740fbaf98f79a8e0298b81a3e7ce42d6bfe3cde3cdabde81cdd5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u914D\u7F6E\u6570\u91CF \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":"jstarcraft-core-communication/src/main/java/com/jstarcraft/core/communication/schema/CommunicationDispatcherFactory.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9740646144a3b5cbfdce81e56a054e0250f1e1aa7419a0a76cdc0cf767a8d47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u6D4B\u8BD5\u5E94\u8BE5\u8C03\u6574 \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":"jstarcraft-core-communication/src/test/java/com/jstarcraft/core/communication/command/CommandDefinitionTestCase.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"238f242bd50988c7144dd1d901b745bb1539efae9f996b11612ed1ea657c6745"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // // TODO \u6B64\u5904\u4F9D\u8D56\u4E8E\u8FDE\u63A5\u5668\u6E05\u7406\u65F6\u95F4,\u53EF\u80FD\u9700\u8981\u91CD\u6784. \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":"jstarcraft-core-communication/src/test/java/com/jstarcraft/core/communication/netty/NettyTestCase.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b719dfb7fdfcef72c74eb8da2c9c05472c7a430ad6ba6febf69cdf10402ca442"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u662F\u5426\u7B49\u5F85\u670D\u52A1\u7AEF? \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":"jstarcraft-core-communication/src/test/java/com/jstarcraft/core/communication/netty/NettyTestCase.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab537cd101fc18d4f33895c57a3403c51f864b5b65410ef8e6f701d847d9644"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 18 files: The identical TodoComment appears in 18 files (50 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 50 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022// TODO \u9700\u8981\u9632\u6B62\u8DEF\u5F84\u51B2\u7A81\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":"jstarcraft-core-event/jstarcraft-core-event-amqp/src/main/java/com/jstarcraft/core/event/amqp/AmqpEventChannel.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efe01aa084e40d3c38697cae650c941b111ba74c72450e332743e8d31cff175"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u662F\u4E3A\u4E86\u9632\u6B62auto.offset.reset\u4E3Alatest\u65F6,\u53EF\u80FD\u4F1A\u4E22\u5931\u7B2C\u4E00\u6B21poll\u4E4B\u524D\u7684\u6D88\u606F. \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":"jstarcraft-core-event/jstarcraft-core-event-kafka/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3e68f85f53afc0a9fc9a5cdbd91a9bcd4b51ce132f464ca8ef309313ea05c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u662F\u4E3A\u4E86\u9632\u6B62auto.offset.reset\u4E3Alatest\u65F6,\u53EF\u80FD\u4F1A\u4E22\u5931\u7B2C\u4E00\u6B21poll\u4E4B\u524D\u7684\u6D88\u606F. \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":"jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/kafka/KafkaEventChannel.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8d10000a638aa1e9dcb8090284f0ee9b46c1eed92089c2cce519a5fe02f5f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u65E0\u9700\u6D4B\u8BD5\u961F\u5217\u6A21\u5F0F \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":"jstarcraft-core-event/jstarcraft-core-event-mqtt/src/test/java/com/jstarcraft/core/event/mqtt/MqttEventChannelTestCase.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba8c1f143794b94a7ddd32dd23b4b1e1f05387f87f3c598a4dad0cf470b9828"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u65E0\u9700\u6D4B\u8BD5\u961F\u5217\u6A21\u5F0F \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":"jstarcraft-core-event/jstarcraft-core-event-stomp/src/test/java/com/jstarcraft/core/event/stomp/StompEventChannelTestCase.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4534215aa09ecc604c1c7c4d668b803775f797ea6a11e64729cfe87c4ce83ecb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u65E0\u9700\u6D4B\u8BD5\u961F\u5217\u6A21\u5F0F \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":"jstarcraft-core-event/src/test/java/com/jstarcraft/core/event/mqtt/MqttEventChannelTestCase.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d8a6fd582ff90d13586221e7634780658fd8a3daa4c6c1ad793e623a2f52c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u65E0\u9700\u6D4B\u8BD5\u961F\u5217\u6A21\u5F0F \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":"jstarcraft-core-event/src/test/java/com/jstarcraft/core/event/stomp/StompEventChannelTestCase.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aebaff6a0b7ca26973db4da539b78f27053976f56b2df17e7284dec16e4e25d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u76EE\u524D\u5B58\u5728\u4E00\u4E2ABug,\u6D88\u8D39\u8005\u6CE8\u518CQueue\u6A21\u5F0F\u7684\u65F6\u5019,\u4F1A\u53D8\u6210Topic. \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":"jstarcraft-core-event/jstarcraft-core-event-stomp/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c162f1ed91044dea12696271a86e1cbd2bed9ecfb12c5e028c8785c9b96911f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u76EE\u524D\u5B58\u5728\u4E00\u4E2ABug,\u6D88\u8D39\u8005\u6CE8\u518CQueue\u6A21\u5F0F\u7684\u65F6\u5019,\u4F1A\u53D8\u6210Topic. \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":"jstarcraft-core-event/src/main/java/com/jstarcraft/core/event/stomp/StompEventChannel.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4cd7289b853d41e40da6b3b36d5be4708e90068295d3a2932544bd4a8f0ace"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u9700\u8981\u60F3\u529E\u6CD5\u7B49\u5F85Spring,\u9632\u6B62\u65E5\u5FD7\u4E22\u5931. \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":"jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java2Storage.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d797c60cc6c434aba11a36cf548b62b7291a405b139bd01f37c97ab45e50fe4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // @PluginFactory 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":"jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java2Storage.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bfc861184a7726dd84fab97f5feb5f6a4596896e9add64b74f22717c9975ec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u5E94\u8BE5\u4E0D\u53EF\u80FD\u6267\u884C \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":"jstarcraft-core-monitor/src/main/java/com/jstarcraft/core/monitor/trace/Log4Java1Storage.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"747811eb98d5b06553fa795877bdc3712f6fb5497006a435c6608866b527dd4f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5C06applicationContext\u8BBE\u7F6E\u4E3AStorageManagerFactory\u7684\u5DE5\u5382. \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":"jstarcraft-core-resource/jstarcraft-core-resource-api/src/main/java/com/jstarcraft/core/resource/schema/ResourceStorageFactory.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8d853c72f09acf87d54253b5f6f0430e242e6304f647a91924d32f51fb641a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5C06applicationContext\u8BBE\u7F6E\u4E3AStorageManagerFactory\u7684\u5DE5\u5382. \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":"jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/schema/ResourceStorageFactory.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8753b771e46b7a848a5d9d6909c3f61e0283e09b2af33444663eff022473397"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u4E0D\u652F\u6301\u7684\u516C\u5F0F\u7C7B\u578B \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":"jstarcraft-core-resource/jstarcraft-core-resource-excel/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4b91ef5ee92853d02a38fd89385e6384d36a6e5f5e3b06440a29a4ca8a1e35"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u4E0D\u652F\u6301\u7684\u516C\u5F0F\u7C7B\u578B \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":"jstarcraft-core-resource/jstarcraft-core-resource-xlsx/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43f00ad9d31b1ed22cc779561a69b3657048b2659695407769ea4b742f7b18f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u4E0D\u652F\u6301\u7684\u516C\u5F0F\u7C7B\u578B \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":"jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/XlsxFormatAdapter.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb4116368f20170534ea01e3494691011eb99cec6b08bb8ff6f1d6c0521a723"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6682\u65F6\u65E0\u6CD5\u5B8C\u6574\u652F\u6301\u6240\u6709Collection\u7C7B\u578B \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":"jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7466caf5fea617394fa5f7fd57a48356efb3a683ab92279dd9b12227fa219c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6682\u65F6\u65E0\u6CD5\u5B8C\u6574\u652F\u6301\u6240\u6709Collection\u7C7B\u578B \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":"jstarcraft-core-resource/jstarcraft-core-resource-property/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"679863352d146159308312216a7d16979765bd55a51db6fd2f65c7f464634ebc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6682\u65F6\u65E0\u6CD5\u5B8C\u6574\u652F\u6301\u6240\u6709Collection\u7C7B\u578B \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":"jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf9fc2c5faf45ff3d29eaa7e31be5db1583fdc8a2fdabb7ff84187f3433305d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6682\u65F6\u65E0\u6CD5\u5B8C\u6574\u652F\u6301\u6240\u6709Collection\u7C7B\u578B \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":"jstarcraft-core-resource/src/main/java/com/jstarcraft/core/resource/format/PropertyFormatAdapter.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf62a641866ad47b23171e0303626765c9cef75262a20f7d296d8d40f3cc9de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u914D\u7F6EJRuby\u73AF\u5883,\u53C2\u8003org.jruby.embed.PropertyName \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":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/ruby/RubyFunction.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95ac526bd7dc77ab36229b2f882d0de83c463a56a391fa12bdec58549c75ed1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u914D\u7F6EJRuby\u73AF\u5883,\u53C2\u8003org.jruby.embed.PropertyName \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":"jstarcraft-core-script/src/main/java/com/jstarcraft/core/script/ruby/RubyExpression.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8478235dad6900514176719c6d231d2c6c3d3b35a7de22551416514de04de756"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u8003\u8651\u53D6\u6D88 \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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"6950e1c09276d03aad8494c12b3a903a21b68ef18e8662eecf3baf6211bd0515"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u8003\u8651\u53D6\u6D88 \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyMetadata.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b8b3e11d56dbf76f93e584e70a346174a8ceb18b27247a3cfe56b0d2ebef58"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5220\u9664\u4FDD\u5B58\u7684\u5B9E\u4F8B \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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1688504005ecb32774ab54af2109f90d9d8aec109d09fca6e931ae276cc78b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5220\u9664\u4FDD\u5B58\u7684\u5B9E\u4F8B \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c50621f79f9dcd30ddeee1bde1ee158895c67ace9cf128bbc2ffe4f43457e36"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5E94\u8BE5\u8003\u8651\u5B9E\u4F8B\u91CD\u590D\u8BA1\u7B97\u7684\u60C5\u51B5. \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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"787d179f507e20f6247351b05f3c2102162c24ac1f89058b2c7d34eeda92ab1c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5E94\u8BE5\u8003\u8651\u5B9E\u4F8B\u91CD\u590D\u8BA1\u7B97\u7684\u60C5\u51B5. \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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d66fcb7b74ca5af2650e4f4b4dd09299bdf661f94a0736b26318fb726c27086"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5E94\u8BE5\u8003\u8651\u5B9E\u4F8B\u91CD\u590D\u8BA1\u7B97\u7684\u60C5\u51B5. \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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2506f8e7d698bbd39c8e57590da0296cf6282aeafb3a72b7f4dede8d3d87e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5E94\u8BE5\u8003\u8651\u5B9E\u4F8B\u91CD\u590D\u8BA1\u7B97\u7684\u60C5\u51B5. \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07271ae2b299df7c9dc6eabd5c99d136a66011808cd4ddc7edf3a369b34a8ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5E94\u8BE5\u8003\u8651\u5B9E\u4F8B\u91CD\u590D\u8BA1\u7B97\u7684\u60C5\u51B5. \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21a956598ae6a50e45bae5a8ad00c4b1dc008a0c0e3ddeb472a0d9391ccb435"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u5E94\u8BE5\u8003\u8651\u5B9E\u4F8B\u91CD\u590D\u8BA1\u7B97\u7684\u60C5\u51B5. \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyManager.java"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16582f7c788ffa01f4772ec383389881d2ec302944def4f7cdf3c326ff46b27"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6CE8\u610Ftemporary\u914D\u7F6E\u4E0E\u4E8B\u52A1/\u5EF6\u8FDF\u5199\u914D\u7F6E\u4E4B\u95F4\u7684\u51B2\u7A81 \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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d8ae675fc7c7cc6e653caa9491816b5fc527af157cedb0915d3fef410502a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6CE8\u610Ftemporary\u914D\u7F6E\u4E0E\u4E8B\u52A1/\u5EF6\u8FDF\u5199\u914D\u7F6E\u4E4B\u95F4\u7684\u51B2\u7A81 \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/BerkeleyAccessor.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc2ba00f38b73e6d8561f551d08393308d4d6cff4857dafddca6433e6421891"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u53EF\u80FD\u5B58\u5728\u6B21\u7EA7\u952E\u539F\u56E0\u5BFC\u81F4\u9501\u51B2\u7A81,\u7B49\u5F85100\u6BEB\u79D2\u8FDB\u884C\u91CD\u8BD5 \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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae20c70f61d8ad807ce08b83ff102e084fd42d1e967b9a6b29d49f3ae199ac1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u53EF\u80FD\u5B58\u5728\u6B21\u7EA7\u952E\u539F\u56E0\u5BFC\u81F4\u9501\u51B2\u7A81,\u7B49\u5F85100\u6BEB\u79D2\u8FDB\u884C\u91CD\u8BD5 \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationWriteTask.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cde2c0d17467ac49e40519e86390a014be6e05a5cff93419a000ed4bf0d1054"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6BD4\u8F83yield\u4E0Esleep\u7684\u533A\u522B \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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"df17650780752eebdfd268eba4c056edf676c63f10e52e5aa2df9f83db5c9baf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6BD4\u8F83yield\u4E0Esleep\u7684\u533A\u522B \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/MigrationContext.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cb5f8a05fc0517d6fb342c96ee16afb2a275ea4e7710f9abf43bc8ca1e65b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u591A\u4E2ANewName\u5BF9\u5E94\u4E00\u4E2AOldName\u65F6,\u540D\u79F0\u5982\u4F55\u8F6C\u6362? \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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b84f65278809719beeb3e4b8a2e3ae47dc53a5c4372c59fcecda642b7010cfd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u591A\u4E2ANewName\u5BF9\u5E94\u4E00\u4E2AOldName\u65F6,\u540D\u79F0\u5982\u4F55\u8F6C\u6362? \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f73d5d3272b7eb447aa04a9f5a3bc6cb52d8d48cd06e71b5e529581d8b0c289"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u53EF\u80FD\u9700\u8981\u9A8C\u8BC1oldSuper\u4E0EnewSuper\u7684\u7C7B\u578B\u662F\u5426\u4E00\u81F4 \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":"jstarcraft-core-storage/jstarcraft-core-storage-berkeley/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a136d10a8ffd2736e9af4d593399a587d65b95523051bc4038efc1613e79e8e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u53EF\u80FD\u9700\u8981\u9A8C\u8BC1oldSuper\u4E0EnewSuper\u7684\u7C7B\u578B\u662F\u5426\u4E00\u81F4 \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/berkeley/migration/BerkeleyConverter.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1a9e626052ba2527bcb94c0806d181aad5e6523df788ad4a6240c64525e896"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u5206\u9875\u5927\u5C0F\u53D6\u51B3\u4E8EElasticsearch\u914D\u7F6E \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":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"009ab3af32aff0e13c04329eb2fef04f5354be0742ecb9b04ad45ab9181fce90"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u5206\u9875\u5927\u5C0F\u53D6\u51B3\u4E8EElasticsearch\u914D\u7F6E \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":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca736539068bbc2610763637bba00f5708036578d8e4ccefa162df90f90ae8cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u5206\u9875\u5927\u5C0F\u53D6\u51B3\u4E8EElasticsearch\u914D\u7F6E \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72b8fd6a3b1db20769a8d8938ff327f7e0c7e3705e87034558cb09f0f15ce3c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u5206\u9875\u5927\u5C0F\u53D6\u51B3\u4E8EElasticsearch\u914D\u7F6E \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchAccessor.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"9581e8e74668d9504301d87ae115511d51e8f52c7cf5b2c62a6c8a5339ec652d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Spring Data Elasticsearch 3.2.7\u76EE\u524D\u53EA\u517C\u5BB9\u5230Elasticsearch 6.8.8\u548CLucene 7.7.2 \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":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/test/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchApiTestCase.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f661b1c90a05fe096a5bdf60067250391fd0879bfc3e00dd86ea0e051513998"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Spring Data Elasticsearch 3.2.7\u76EE\u524D\u53EA\u517C\u5BB9\u5230Elasticsearch 6.8.8\u548CLucene 7.7.2 \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":"jstarcraft-core-storage/src/test/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchApiTestCase.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d097118302a43ad533d5d9f3fdbc2a07e6ed3087e887433e12d9ca143acdd8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6CE8\u610F:\u5728Spring Data Elasticsearch\u4E2D \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":"jstarcraft-core-storage/jstarcraft-core-storage-elasticsearch/src/test/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchApiTestCase.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"799f071bafb9c306b7e5b6529861e2825c59b366278719cb7a03b6b5d059dd0f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6CE8\u610F:\u5728Spring Data Elasticsearch\u4E2D \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":"jstarcraft-core-storage/src/test/java/com/jstarcraft/core/storage/elasticsearch/ElasticsearchApiTestCase.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f3f6d138aed1502386060733d9f0a5708885f8f04cc6af28c9b79a4246e26d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u9700\u8981\u8003\u8651\u4E2D\u65AD \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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81272aa93abfab9b11f3789b324745bc636bdf096b715eac1ff32e899b3ecc8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u9700\u8981\u8003\u8651\u4E2D\u65AD \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":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"e888ed16958653d3166f724e5fb1c4f7e362f3720b1cb9dd085a26397e1dc62b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u9700\u8981\u8003\u8651\u4E2D\u65AD \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":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9a17f879d3ecc9f6a0fd1e11a296448a6544600bb75671e8fb4cabb3eac2a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u9700\u8981\u8003\u8651\u4E2D\u65AD \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":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b5bae86ba98da3db912b412f7e4b7926f522061ecb79ae86db397c4858b448"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u9700\u8981\u8003\u8651\u4E2D\u65AD \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f4c8e15262e7d6136aa06f8507fc6c0c9a94b572b40da941d6a751cbd6287f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u9700\u8981\u8003\u8651\u4E2D\u65AD \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eccb201de274f62ea061e072e8be0427a26f19317ae26d8a2c9dc0417fed61a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u9700\u8981\u8003\u8651\u4E2D\u65AD \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a6ffe5f0b0e45f2a9ceffcb5194af001fb5e6f49b197fa0ff6016acd07b3bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u9700\u8981\u8003\u8651\u4E2D\u65AD \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c37c307b4cb88ff666189e1d19a2428c8361aab4afe949514302658abae654"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u53EF\u4EE5\u4F18\u53CD\u5C04\u6B21\u6570. \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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d1994543c629b3cef4ac1d0e6e27bc0945dda3330fecb7b24ed407374e4401"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u53EF\u4EE5\u4F18\u53CD\u5C04\u6B21\u6570. \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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78bf564e6639e1571d655731b6de85901945085ae854e6eef3ed9cc11967b66"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u53EF\u4EE5\u4F18\u53CD\u5C04\u6B21\u6570. \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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b47499afa66288416e426bf8fb509f18926aa36391f5089425aedec6209e875"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u53EF\u4EE5\u4F18\u53CD\u5C04\u6B21\u6570. \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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5515d711c9700dc38468d13ab655c4a2e8280314e780873124b4d662e3985ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u53EF\u4EE5\u4F18\u53CD\u5C04\u6B21\u6570. \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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ObjectIndexConverter.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3020ef16f4f69fa3452383b787e883017a22a9a0464dc17ded9aeb2d46a39951"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u53EF\u4EE5\u4F18\u53CD\u5C04\u6B21\u6570. \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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/ObjectSortConverter.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b19380b3fcea66a1616904aeebf6788ae48a5b43c0e70588723076acb69c01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u53EF\u4EE5\u4F18\u53CD\u5C04\u6B21\u6570. \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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"465117ee57dac3ba9cfc98fddc545feceecaa0ea7d85565c9790c1044d2fb041"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u53EF\u4EE5\u4F18\u53CD\u5C04\u6B21\u6570. \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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"efec6b79721736827dea19f372729fc25078a38aa92b33a4961ed68227477838"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u53EF\u4EE5\u4F18\u53CD\u5C04\u6B21\u6570. \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe83c1d7fe4d55d23a1fe994464c16b050c8eb5fe2351d35e759d63c04be9a50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u53EF\u4EE5\u4F18\u53CD\u5C04\u6B21\u6570. \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"0707c1177fa98bc410cbd3492498ff8ac9fb3fa5334ab04ad41bc346d3043718"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u53EF\u4EE5\u4F18\u53CD\u5C04\u6B21\u6570. \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"4947da1d3965e923356814591acca4afaf7c86fa306514ae8d3c84fc68e5361f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u53EF\u4EE5\u4F18\u53CD\u5C04\u6B21\u6570. \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/LuceneMetadata.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f81e694f2df88289be7a854f71cb6efa8a6672c80aa6ab4ea52736c387ec67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u53EF\u4EE5\u4F18\u53CD\u5C04\u6B21\u6570. \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ObjectIndexConverter.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e48cb1b0535152116fe5fc110e18e9d2cb206bf87af52d3774bef0ab43a279"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u53EF\u4EE5\u4F18\u53CD\u5C04\u6B21\u6570. \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/sort/ObjectSortConverter.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec6e3df7d9f518e4b4a7e46fc1b09008322559e53adfd2d0d74f20236e9f20a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u53EF\u4EE5\u4F18\u53CD\u5C04\u6B21\u6570. \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc82a48a97db5581e890758f94fe786f6e9e84fcc338ae4371d88598f99d10b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u4EE3\u7801\u53EF\u4EE5\u4F18\u53CD\u5C04\u6B21\u6570. \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ObjectStoreConverter.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bfcd0aab0aa77d364f0b1003cbc8a922c133e522fd173c7926ddf1b738f4fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 14 files: The identical TodoComment appears in 14 files (20 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 20 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022// TODO \u6B64\u5904\u9700\u8981\u4EE3\u7801\u91CD\u6784\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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/index/ObjectIndexConverter.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06e82f87fcfd0eb9006ca78a0393f389168adabbff6a709afad7fb1c9cb2466"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u4EE3\u7801\u9700\u8981\u91CD\u6784,\u907F\u514D\u5B57\u7B26\u4E32\u62FC\u63A5. \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":"jstarcraft-core-storage/jstarcraft-core-storage-lucene/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4878a828639ac914d7c40a10b9f8ba44fde536962d059e63b7ad2539d3cdda"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u4EE3\u7801\u9700\u8981\u91CD\u6784,\u907F\u514D\u5B57\u7B26\u4E32\u62FC\u63A5. \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/lucene/converter/store/ArrayStoreConverter.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d733cff2b143ac2acd39d94db77e68d014eec61a0255b414ff4241c79171242d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u5B58\u5728\u95EE\u9898(\u9700\u8981\u5904\u7406values) \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":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d324c3a5ca1203aacfda8f0302f28708ef9217aed6206f974a1b9d31116cd537"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u5B58\u5728\u95EE\u9898(\u9700\u8981\u5904\u7406values) \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":"jstarcraft-core-storage/jstarcraft-core-storage-mongo/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6795eda80ac700999155647700c6cd6ad6171311d7ea7aa1559d888288420e30"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u5B58\u5728\u95EE\u9898(\u9700\u8981\u5904\u7406values) \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e205b3a3cdb90da7be8800587defef9c17b6e43f7e82f358b8a765c6eaaf956"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6B64\u5904\u5B58\u5728\u95EE\u9898(\u9700\u8981\u5904\u7406values) \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/mongo/MongoAccessor.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b498065bbb6cecdc88276db2b8e3fd17af36448e2f4b7533776159bade6222"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6CE8\u610F:Neo4j-OGM\u5BF9\u539F\u59CB\u7C7B\u578B\u652F\u6301\u4F3C\u4E4E\u6709\u95EE\u9898,\u5FC5\u987B\u4F7F\u7528\u5305\u88C5\u7C7B\u578B,\u5426\u5219Session.load\u65E0\u6CD5\u88C5\u8F7D\u5230\u6307\u5B9A\u5BF9\u8C61. \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":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f166231a3498c8d0ba2a3e1748240ec24022407d46b7ba91b4dc642181245c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6CE8\u610F:Neo4j-OGM\u5BF9\u539F\u59CB\u7C7B\u578B\u652F\u6301\u4F3C\u4E4E\u6709\u95EE\u9898,\u5FC5\u987B\u4F7F\u7528\u5305\u88C5\u7C7B\u578B,\u5426\u5219Session.load\u65E0\u6CD5\u88C5\u8F7D\u5230\u6307\u5B9A\u5BF9\u8C61. \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":"jstarcraft-core-storage/jstarcraft-core-storage-neo4j/src/test/java/com/jstarcraft/core/storage/neo4j/MockNode.java"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b144a2c31a9fa15ef6f13d2595ec1425a1a269af47260f010ad9d9f929db7d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6CE8\u610F:Neo4j-OGM\u5BF9\u539F\u59CB\u7C7B\u578B\u652F\u6301\u4F3C\u4E4E\u6709\u95EE\u9898,\u5FC5\u987B\u4F7F\u7528\u5305\u88C5\u7C7B\u578B,\u5426\u5219Session.load\u65E0\u6CD5\u88C5\u8F7D\u5230\u6307\u5B9A\u5BF9\u8C61. \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":"jstarcraft-core-storage/src/main/java/com/jstarcraft/core/storage/neo4j/Neo4jAccessor.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06f6f988e281815c8cb2b24a1f168cbd64578ebd59ecb00a569f484630892ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6CE8\u610F:Neo4j-OGM\u5BF9\u539F\u59CB\u7C7B\u578B\u652F\u6301\u4F3C\u4E4E\u6709\u95EE\u9898,\u5FC5\u987B\u4F7F\u7528\u5305\u88C5\u7C7B\u578B,\u5426\u5219Session.load\u65E0\u6CD5\u88C5\u8F7D\u5230\u6307\u5B9A\u5BF9\u8C61. \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":"jstarcraft-core-storage/src/test/java/com/jstarcraft/core/storage/neo4j/MockNode.java"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1764642a5aaa584097cf3528570dae1863a6a089f1d9bfc80c84aba9f4c6ffcb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u601D\u8003\u89E3\u9501\u5F02\u5E38\u662F\u5426\u5E94\u8BE5\u56DE\u6EDA\u4EFB\u52A1? \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":"jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/TransactionManager.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"61af7bbb38c7aa0c2c55b97c639165150e78b885149a790ec5be1ef8291c40f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u8BB0\u5F55\u65E5\u5FD7,\u9501\u5DF2\u5B58\u5728 \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":"jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/cassandra/CassandraTransactionManager.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeca2b348a02617e84a464d0765cbc7964955a097c72dbd1f3e6bb5c0b6a7bce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u8BB0\u5F55\u65E5\u5FD7,\u9501\u4E0D\u5B58\u5728 \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":"jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/cassandra/CassandraTransactionManager.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ca8a972dfa035ce92d024e7f33c6fca758ae9bca3a5bd541b1600681f36e96"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u8BB0\u5F55\u65E5\u5FD7 \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":"jstarcraft-core-transaction/src/main/java/com/jstarcraft/core/transaction/zookeeper/ZooKeeperTransactionManager.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd0ba6facdb289f790671d77b7d015b927504f3c4c2ce1653abd5ec35253aa3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Cassandra\u76EE\u524D\u4ECD\u7136\u4E0D\u517C\u5BB9Java 11,\u6267\u884C\u5355\u5143\u6D4B\u8BD5\u9700\u8981Java 8\u73AF\u5883. \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":"jstarcraft-core-transaction/src/test/java/com/jstarcraft/core/transaction/cassandra/CassandraTransactionManagerTestCase.java"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"de64b939f81627816d12a382f428ac185d6c87379cfad1692d76f93ea81d5cba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6267\u884C\u5220\u9664\u64CD\u4F5C\u603B\u662F\u5F02\u5E38,\u6682\u672A\u6392\u67E5 \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":"jstarcraft-core-transaction/src/test/java/com/jstarcraft/core/transaction/cassandra/CassandraTransactionManagerTestCase.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d13401a8290eb7190960e52561596691164d0948ea0c2bebfe5349d80b2e0c2"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no installation or build instructions: The README begins with a welcome and an outline but does not provide installation, build, or setup instructions. Add a short install/dependency section covering Maven coordinates, Gradle dependencies, 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 document is descriptive with no runnable example showing how to run the framework. Include an \u0027Usage\u0027 or \u0027How to Run It\u0027 section with a minimal code path demonstrating one core feature, such as creating a cache."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1355eb4e127a4bc9236772ce1c46f09510aa9286e7a06d1e47f308229df19049"}},{"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":"d38acdfe95475f05e589ee1cefa12b20012ea661da5c66c44ede737995bac706"},"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":"c3bfdc065c6e6b396da5aba542dfb3bf100574409a50cd4cefcd710ed1a23b1f"},"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":"120799d38e2772aaf60bcfcd1c79176a6a78385db815ea772101a548f67b375c"},"taxa":[{"id":"CWE-611","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":"34fa305b2cae1b089f14dfa8b06ffecd931bc64c0041f93a6f2b86274c7dec52"},"taxa":[{"id":"CWE-327","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":"1135ae3dd21cb7009437802d475b2d9da5b64af199b496aa53a0933d0279a79f"},"taxa":[{"id":"CWE-327","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":"22665eb5db512338daf35509414d8c874cb8259390ae80467e7349e17c9e4cf8"},"taxa":[{"id":"CWE-327","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":"9c2116ed3bc17b77e1236707a10482aef817a58f327a631a0839125c7f35ce9c"},"taxa":[{"id":"CWE-327","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":"d1a19059c1c804f04440c8aa0df1a1b7ded4f60334f2433d3f7a7285807feef3"},"taxa":[{"id":"CWE-326","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":"01d10833f6a41c867e30a83857eab9b15258ac94f4e51d4cd5f4f98552db5ba2"},"taxa":[{"id":"CWE-326","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":"f6c5864430c76155ac3431892581ab45e5bb199740e0eea5773c226100dd4262"},"taxa":[{"id":"CWE-326","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":"7a9d60748fb85a0a23ac3ab28e277f603b74ad5809f228d0d15815ac0cd9fe4e"},"taxa":[{"id":"CWE-326","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":"4ac65f8561f16aff633974559f9bc40a6a6afdc2ca93d278a9466c4151b1c191"},"taxa":[{"id":"CWE-328","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":"351d9d8647076339b5cac254c6bdcd0eb311d5afdc64e74bb3a4ef310e947dcc"},"taxa":[{"id":"CWE-328","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":"bb95f0109772e7d98a4c278b0bffe222cc29381008f7511c5774ef7a30254665"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 312 of 312 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 312 separate risks. Counted over 312 of the 794 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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/hash/HashUtility.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d226cc072bdd534b60dc43faa23767fbdbeb08d2cf6192d0416b8e2f6fb751"}},{"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":"jstarcraft-core-common/src/main/java/com/jstarcraft/core/common/instant/LunisolarDate.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af08fe8f68ed60b71e5e54c345c775ab6440396a01442e724f652dffa45259d"}},{"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":"jstarcraft-core-storage/jstarcraft-core-storage-hibernate/src/main/java/com/jstarcraft/core/storage/hibernate/HibernateAccessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88def7aa7fcb7ed2b4337885e5690c7396869ecbb4b684e6fb9cd7c03d0c14a9"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"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-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-326","guid":"7ee78bef-7589-f65f-a9d7-619f3485e844","name":"CWE-326","shortDescription":{"text":"CWE-326"},"helpUri":"https://cwe.mitre.org/data/definitions/326.html"},{"id":"CWE-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"CWE-327","shortDescription":{"text":"CWE-327"},"helpUri":"https://cwe.mitre.org/data/definitions/327.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-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-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":14,"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."]}]}