{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM8","name":"Value-object opportunities","shortDescription":{"text":"Value-object opportunities"},"helpUri":"https://codehealth.canine.dev/dimensions/DM8"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"AttributeParser.processProperties (cyclomatic 109): AttributeParser.processProperties has cyclomatic complexity 109 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/attribute/AttributeParser.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"80832059ee158d8e6cadc4b93025c93778edb40851a512b646517e05025365ce"}},{"ruleId":"D1","level":"warning","message":{"text":"TableLayout.writeTotalRow (cyclomatic 77): TableLayout.writeTotalRow has cyclomatic complexity 77 (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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":2225}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adb1f524e7d6b963c2e933d5daad00afc5eaf199597947a3264ff26445fbfba"}},{"ruleId":"D1","level":"warning","message":{"text":"AttributeParser.processProperty (cyclomatic 77): AttributeParser.processProperty has cyclomatic complexity 77 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/attribute/AttributeParser.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db5d979beee02891cdfc81f0d75eb764cac816e640f22f788651612ebdd6b62"}},{"ruleId":"D1","level":"warning","message":{"text":"XslFoTreeBuilder.parseChildrenElement (cyclomatic 67): XslFoTreeBuilder.parseChildrenElement has cyclomatic complexity 67 (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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/XslFoTreeBuilder.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1db981e178789f11761e54f5e7ada7cb834ef60959f75d780eea726976f2ff"}},{"ruleId":"D1","level":"warning","message":{"text":"XslfoTable.setHeaderBodyFooterBordersProperties (cyclomatic 65): XslfoTable.setHeaderBodyFooterBordersProperties has cyclomatic complexity 65 (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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/table/XslfoTable.java"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c3a5ddc058089e54ac43c43952068cf0964fb91d43495ea649e583613e6e77"}},{"ruleId":"D1","level":"warning","message":{"text":"TableLayout.writeGroupBound (cyclomatic 57): TableLayout.writeGroupBound has cyclomatic complexity 57 (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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e167d165fefcd4abeb104f063b917e96ef4db2cc32f778c9fc614dd8956585d"}},{"ruleId":"D1","level":"warning","message":{"text":"BlockProperties.addBlock (cyclomatic 54): BlockProperties.addBlock has cyclomatic complexity 54 (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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/foproperties/BlockProperties.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adda28f6372525309ac467dba236462ff165e70a9edbc8fc2a333131b620a0d"}},{"ruleId":"D1","level":"warning","message":{"text":"JsModelGenerator.getTypeName (cyclomatic 38): JsModelGenerator.getTypeName has cyclomatic complexity 38 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/generator/JsModelGenerator.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac032f5714bce10c27937d2095485cdd0ed3f4fd5db8240c5eb5dc707dd8dd4"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractEcoreGenerator.getEType (cyclomatic 37): AbstractEcoreGenerator.getEType has cyclomatic complexity 37 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/AbstractEcoreGenerator.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"636e242a6bc63fb964b3a369297c51384999ca670e9687c962895694f1659b29"}},{"ruleId":"D1","level":"warning","message":{"text":"GenericArea.preProcessProperties (cyclomatic 33): GenericArea.preProcessProperties has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/element/area/GenericArea.java"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5e676ff8b0eb585d725fbbeed3e7d64d7477ef34be2d5b64b4a76c334691df"}},{"ruleId":"D1","level":"warning","message":{"text":"ReportParameterConverter.parse (cyclomatic 33): ReportParameterConverter.parse has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-birt/src/main/java/ru/croc/ctp/jxfw/reporting/birt/impl/ReportParameterConverter.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9577dd9bd88cb9e4c86c1a93bc2c8a0f25df0db425845d66d89a67a7893a306"}},{"ruleId":"D1","level":"warning","message":{"text":"AreaTreeBuilder.parseChildrenElement (cyclomatic 32): AreaTreeBuilder.parseChildrenElement has cyclomatic complexity 32 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"9253032241b6dbd73b6b50ad453fa879b3e720bfb9303bce01f620d35fff1fbb"}},{"ruleId":"D1","level":"warning","message":{"text":"WordRenderer.completeListItem (cyclomatic 32): WordRenderer.completeListItem has cyclomatic complexity 32 (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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d36de7b94a089c191fdcda49aa6d603f0246a0a12f53a93abb05a517a09de86"}},{"ruleId":"D1","level":"warning","message":{"text":"WordRenderer.treeRenderer (cyclomatic 30): WordRenderer.treeRenderer has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb8e50d8b901a11c48386d27d97fbc53967e7bf900affd9dc84b3d1f59ccfe9"}},{"ruleId":"D1","level":"warning","message":{"text":"GenericLayoutManager.calculateAreaSize (cyclomatic 29): GenericLayoutManager.calculateAreaSize has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/layout/layoutmanager/GenericLayoutManager.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"47dceddd5d6b1fc51842c93ae21162b6877b263475107c8610c3bedc1aef920b"}},{"ruleId":"D1","level":"warning","message":{"text":"ToServiceGenerator.createPropertyValueByType (cyclomatic 27): ToServiceGenerator.createPropertyValueByType 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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ec3763494983e08e7e10e52e855bad4a02dbbd37221cc7cb70393ce211310b"}},{"ruleId":"D1","level":"warning","message":{"text":"TransferToServiceGenerator.createPropertyValueByType (cyclomatic 27): TransferToServiceGenerator.createPropertyValueByType 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43c6f210a6109c11d6efb1c53c061311a2ee2e3aba39410cdbc5ccb5779f735"}},{"ruleId":"D1","level":"warning","message":{"text":"ListItemArea.postProcessProperties (cyclomatic 27): ListItemArea.postProcessProperties 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/element/area/list/ListItemArea.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"146d3a3810554afb11f0422b98d8fbe2edd18d84e93a8fb471c02f948a5ee499"}},{"ruleId":"D1","level":"warning","message":{"text":"PredicateComposer.getOperator (cyclomatic 26): PredicateComposer.getOperator has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposer.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"508c8fe865922e917db2d1734f21987bf8274799e79f0a78b61e41390c824b10"}},{"ruleId":"D1","level":"warning","message":{"text":"ExcelRenderer.renderAreaToCells (cyclomatic 25): ExcelRenderer.renderAreaToCells 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/rendering/excel/ExcelRenderer.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c435cfee5954f65f57c268d5cdfe3fc28cda2afbb882bf3500a20513caccf6f"}},{"ruleId":"D1","level":"warning","message":{"text":"PredicateComposer.createPredicate (cyclomatic 24): PredicateComposer.createPredicate 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":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposer.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b52f6da8e9193b32918f0cd494337e972e0cb1c30df0e9bf947217d7a8a508"}},{"ruleId":"D1","level":"warning","message":{"text":"EcoreGenerator.addRelationAnnotation (cyclomatic 24): EcoreGenerator.addRelationAnnotation 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":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ad2b2085bae605ebe41c79b1cc9cf5b826c8052f0de8adae6c19777d5b227a"}},{"ruleId":"D1","level":"warning","message":{"text":"TableLayout.writeSubTitleRow (cyclomatic 23): TableLayout.writeSubTitleRow has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79beda67a8a5d8aef284cf32e0d54173608c1419d6a0c4da0feb132699e9ca9"}},{"ruleId":"D1","level":"warning","message":{"text":"WordRenderer.addTableCell (cyclomatic 23): WordRenderer.addTableCell has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e7e601e5133f19954fa49ca2f8e90fde296b8bec46f9477c61bdd4290f4251"}},{"ruleId":"D1","level":"warning","message":{"text":"XfwMetadataHolder.init (cyclomatic 22): XfwMetadataHolder.init 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":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/metadata/XfwMetadataHolder.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"db957ee6b0f8c5812f1775b934d9e3cf5b2c0d0713204973d398593608147a40"}},{"ruleId":"D1","level":"warning","message":{"text":"FoFont.setFontSize (cyclomatic 21): FoFont.setFontSize has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/foproperty/font/FoFont.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0feb904a80105eac2e09765c9493f04a029a4837c6760a12076d3b1288f078"}},{"ruleId":"D1","level":"warning","message":{"text":"AreaTreeBuilder.processStaticContentArea (cyclomatic 21): AreaTreeBuilder.processStaticContentArea 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fe5e9beabf4fd9ce6feee6d096963bc86f6e9c7029be28c98bff1534d65df2"}},{"ruleId":"D1","level":"warning","message":{"text":"BlockProperties.completeBlock (cyclomatic 21): BlockProperties.completeBlock 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/foproperties/BlockProperties.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85815e945c0e9840ae6d374a12959e83b04837fb610db30b53b2bff7f754c6d"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutTable.getAggregatedValue (cyclomatic 20): LayoutTable.getAggregatedValue 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/LayoutTable.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4872aa35fe2f2958fcb0863aa12632f3e8111663a2b5462303171726932441aa"}},{"ruleId":"D1","level":"warning","message":{"text":"TableLayout.writeRows (cyclomatic 20): TableLayout.writeRows 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a430463785ae1ee68aa8678eb27831b2ddc814f8c9051bb23e9be03925416448"}},{"ruleId":"D1","level":"warning","message":{"text":"ListItemArea.calculateMargins (cyclomatic 20): ListItemArea.calculateMargins 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/element/pagesequence/listblock/ListItemArea.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee02cb687ea4149872c3e07cb8f511d7703cf173223983e9605cacb9382a95fb"}},{"ruleId":"D1","level":"warning","message":{"text":"TableProperties.setSpannedForCell (cyclomatic 20): TableProperties.setSpannedForCell 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/foproperties/TableProperties.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8cbd4185b756a31cd2400b84ea8959ab793c5da1cd08a4c4ad3a706d8cb8ef"}},{"ruleId":"D1","level":"warning","message":{"text":"WordRenderer.addCatchWord (cyclomatic 20): WordRenderer.addCatchWord 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"131e1ce358b14accbdac8c202b97d46d0f0e4f14d182f4211291562559103148"}},{"ruleId":"D1","level":"warning","message":{"text":"AttributeParser.processShorthandProperties (cyclomatic 19): AttributeParser.processShorthandProperties has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/attribute/AttributeParser.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b47348592114c8d77e4f672fa4e678dd84d5f87b15170bc1320b31fc27466f"}},{"ruleId":"D1","level":"warning","message":{"text":"TransferPropertyResolverImpl.addTypedValue (cyclomatic 18): TransferPropertyResolverImpl.addTypedValue 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":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferPropertyResolverImpl.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c17559fe9e862bfdb06eafc5db86f07cdcf5602f7d7c290d1c369b40174e89"}},{"ruleId":"D1","level":"warning","message":{"text":"XslFoProfileWriter.writeLayoutMaster (cyclomatic 18): XslFoProfileWriter.writeLayoutMaster 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/XslFoProfileWriter.java"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b839bd5a0dc68becc868e82edb8bd652204e2c75423b08ff6d5e349c5bb106e"}},{"ruleId":"D1","level":"warning","message":{"text":"GenericArea.moveChildMarginsToParentPaddings (cyclomatic 18): GenericArea.moveChildMarginsToParentPaddings 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. This is NOT this file\u0027s highest cyclomatic complexity: GenericArea.getDefaultPropertyValue (cyclomatic 27) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/element/area/GenericArea.java"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e03a6a657e84470265e4a4e7b2fceeaa860fd5738b562b83e3f46d16ab7f5f6"}},{"ruleId":"D1","level":"warning","message":{"text":"DataSourceEcoreGenerator.setupParametersOfDataSource (cyclomatic 18): DataSourceEcoreGenerator.setupParametersOfDataSource 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":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/impl/DataSourceEcoreGenerator.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1ce84c755e25a234ffb06d12274ca82f704a7ece13fb44157f8782da88ccde"}},{"ruleId":"D1","level":"warning","message":{"text":"XslFoProfileWriter.setRegionAttributes (cyclomatic 17): XslFoProfileWriter.setRegionAttributes has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/XslFoProfileWriter.java"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8a2444c4c9eb3ca52be326e95ea7a45f6ea45adf7be74d8e3c2f247f9c998b"}},{"ruleId":"D1","level":"warning","message":{"text":"ReportParam.setValue (cyclomatic 17): ReportParam.setValue has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/impl/ReportParams.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"105b34c3622916932ab0973087012ab5653ccd78c9dfa2a5a6a816de7fa3b533"}},{"ruleId":"D1","level":"warning","message":{"text":"GenericLayoutManager.calculateTableWidthFromCells (cyclomatic 17): GenericLayoutManager.calculateTableWidthFromCells has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/layout/layoutmanager/GenericLayoutManager.java"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ff8430877e5e2f2f15697f28b4351740d961ba83ea19848ee625809a48e58d"}},{"ruleId":"D1","level":"warning","message":{"text":"WebClientDataSourceCreator.generateControllerMethod (cyclomatic 16): WebClientDataSourceCreator.generateControllerMethod 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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientDataSourceCreator.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6c1fc4e1c5059fdb291c8d1ea15b36f296c5445df6650fcab08c3bb728ab9b"}},{"ruleId":"D1","level":"warning","message":{"text":"JsModelGenerator.getTypeParams (cyclomatic 16): JsModelGenerator.getTypeParams 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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/generator/JsModelGenerator.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"be38ef9d10a9c4dc28c0d1f10d676d6999b66cf04d48f550a02be4120f541634"}},{"ruleId":"D1","level":"warning","message":{"text":"PageBootloader.parseLoaderConfig (cyclomatic 16): PageBootloader.parseLoaderConfig 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":"jxfw-wc-loader/src/main/java/ru/croc/ctp/jxfw/wc/web/bootloader/PageBootloader.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a45274a6561e4f24119f8048c49a161fab43b9b7952eae6c520715a56480fd"}},{"ruleId":"D1","level":"warning","message":{"text":"TableLayout.insertColumn (cyclomatic 16): TableLayout.insertColumn 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"007524f091ea5d97fdab0786de4798dae0500c4c92a3a6f97628af5fbb71c850"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineAreasExcelRenderer.handleValueTypeAndSetText (cyclomatic 16): InlineAreasExcelRenderer.handleValueTypeAndSetText 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/rendering/excel/InlineAreasExcelRenderer.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3351121146c9f077e5613fd04476b04bba276b4aa0a6870d40dea56499e523"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseExportDataProvider.formatPrimitive (cyclomatic 16): BaseExportDataProvider.formatPrimitive 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":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/export/impl/BaseExportDataProvider.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ade2293fe965b2015ebb7510cddc9564b1d8c7852667a6ecf6d8102a314431f"}},{"ruleId":"D2","level":"warning","message":{"text":"TableLayout.writeTotalRow (cognitive 366): TableLayout.writeTotalRow has cognitive complexity 366 (threshold 15). Drivers by points: if/else 68 (310 pts), loops 9 (44 pts), ternaries 2 (5 pts), boolean chains 4, error handling 1 (3 pts) (nesting depth added 282). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java holds 10 of the 121 methods over the threshold \u2014 including the worst \u2014 and 711 of the 2284 points over it (31%), 4.8\u00D7 the next-largest file (jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":2225}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbdd48240082c53186e8bb360eebcdcf1c56587cdfc889e350f394be721bd3c"}},{"ruleId":"D2","level":"warning","message":{"text":"TableLayout.writeGroupBound (cognitive 200): TableLayout.writeGroupBound has cognitive complexity 200 (threshold 15). Drivers by points: if/else 39 (160 pts), loops 11 (29 pts), match/switch 2 (6 pts), boolean chains 5 (nesting depth added 143). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java holds 10 of the 121 methods over the threshold \u2014 including the worst \u2014 and 711 of the 2284 points over it (31%), 4.8\u00D7 the next-largest file (jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa7ea4e1867c712f0ff34daba724daa6595c7e00fb85edcbdd0ee0d24fda0b3"}},{"ruleId":"D2","level":"warning","message":{"text":"XslfoTable.setHeaderBodyFooterBordersProperties (cognitive 125): XslfoTable.setHeaderBodyFooterBordersProperties has cognitive complexity 125 (threshold 15). Drivers by points: if/else 25 (53 pts), loops 15 (48 pts), boolean chains 24 (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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/table/XslfoTable.java"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3153bbb4f2743c52996e146a5502299042f8d0c6583fd37d5963274865fbe2"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockProperties.addBlock (cognitive 91): BlockProperties.addBlock has cognitive complexity 91 (threshold 15). Drivers by points: if/else 30 (70 pts), loops 3 (8 pts), boolean chains 6, ternaries 3 (4 pts), match/switch 1 (3 pts) (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/foproperties/BlockProperties.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"193badca27903ea8f2d6bee3534e262f3e0f688376c0211e452bd2aa60a1f53a"}},{"ruleId":"D2","level":"warning","message":{"text":"PredicateComposer.createPredicate (cognitive 85): PredicateComposer.createPredicate has cognitive complexity 85 (threshold 15). Drivers by points: if/else 18 (53 pts), ternaries 4 (24 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 57). 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":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposer.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"11243400b925dd0b460e2c957d5f64e338c0e48143dd71998eebb9517a25f0e9"}},{"ruleId":"D2","level":"warning","message":{"text":"TableLayout.writeRows (cognitive 81): TableLayout.writeRows has cognitive complexity 81 (threshold 15). Drivers by points: if/else 14 (50 pts), ternaries 4 (16 pts), loops 4 (14 pts), boolean chains 1 (nesting depth added 58). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java holds 10 of the 121 methods over the threshold \u2014 including the worst \u2014 and 711 of the 2284 points over it (31%), 4.8\u00D7 the next-largest file (jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f13f582784eb1f376764ac13da4f398b1138c3f69732bb65679d29f76e7b58e"}},{"ruleId":"D2","level":"warning","message":{"text":"XslFoTreeBuilder.parseChildrenElement (cognitive 80): XslFoTreeBuilder.parseChildrenElement has cognitive complexity 80 (threshold 15). Drivers by points: if/else 24 (65 pts), boolean chains 12, match/switch 1 (2 pts), loops 1 (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/XslFoTreeBuilder.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d386fc47ff1a5a75cf87f37d489404da9bc9cc3a3711bab891df2ad43055d150"}},{"ruleId":"D2","level":"warning","message":{"text":"ReportParameterConverter.parse (cognitive 80): ReportParameterConverter.parse has cognitive complexity 80 (threshold 15). Drivers by points: if/else 13 (42 pts), error handling 10 (35 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 55). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-birt/src/main/java/ru/croc/ctp/jxfw/reporting/birt/impl/ReportParameterConverter.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"19078d3835a9398be6b96532db90417c3bbce6b50ce75abd894fb6d0d884a1a8"}},{"ruleId":"D2","level":"warning","message":{"text":"XslFoProfileWriter.writeLayoutMaster (cognitive 62): XslFoProfileWriter.writeLayoutMaster has cognitive complexity 62 (threshold 15). Drivers by points: if/else 12 (38 pts), ternaries 4 (20 pts), error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 44). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/XslFoProfileWriter.java"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56de20cfb465e82ad1a75638e8be3a74030ab954621eedd528502fe2db6d6e4"}},{"ruleId":"D2","level":"warning","message":{"text":"WordRenderer.completeListItem (cognitive 62): WordRenderer.completeListItem has cognitive complexity 62 (threshold 15). Drivers by points: if/else 17 (41 pts), loops 5 (14 pts), boolean chains 4, match/switch 1 (3 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"a793e9b5a6c44aae26c3ddcb0cefa82eb68f6cb07564923be88c2f5acf1d0be9"}},{"ruleId":"D2","level":"warning","message":{"text":"TableLayout.writeSubTitleRow (cognitive 59): TableLayout.writeSubTitleRow has cognitive complexity 59 (threshold 15). Drivers by points: if/else 16 (44 pts), loops 3 (8 pts), error handling 1 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 36). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java holds 10 of the 121 methods over the threshold \u2014 including the worst \u2014 and 711 of the 2284 points over it (31%), 4.8\u00D7 the next-largest file (jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"9654ef3e7288c378c0798a40770ab1ea4c1ee4f5f750c21d6c6340465db70730"}},{"ruleId":"D2","level":"warning","message":{"text":"ToServiceGenerator.createPropertyValueByType (cognitive 52): ToServiceGenerator.createPropertyValueByType has cognitive complexity 52 (threshold 15). Drivers by points: if/else 21 (28 pts), ternaries 1 (17 pts), boolean chains 7 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"89da5b05a1a86ab3cb783d5b620ec13b88ed70d47aa40bb8a4a68e35eeac9aaa"}},{"ruleId":"D2","level":"warning","message":{"text":"TransferToServiceGenerator.createPropertyValueByType (cognitive 52): TransferToServiceGenerator.createPropertyValueByType has cognitive complexity 52 (threshold 15). Drivers by points: if/else 21 (28 pts), ternaries 1 (17 pts), boolean chains 7 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b18bea7ddd06ad6bd682ec4787d8ca775e2321154966bdcf1220277b3a06da"}},{"ruleId":"D2","level":"warning","message":{"text":"TableProperties.setSpannedForCell (cognitive 52): TableProperties.setSpannedForCell has cognitive complexity 52 (threshold 15). Drivers by points: if/else 15 (42 pts), loops 3 (7 pts), boolean chains 3 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/foproperties/TableProperties.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae5a9681831f2f571f5677eac1d31c70ce671f2c9b92e1ad84827ecbba49854"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericLayoutManager.calculateAreaSize (cognitive 49): GenericLayoutManager.calculateAreaSize has cognitive complexity 49 (threshold 15). Drivers by points: if/else 20 (37 pts), ternaries 3 (5 pts), boolean chains 3, match/switch 1 (3 pts), loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/layout/layoutmanager/GenericLayoutManager.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a5b11179c9c313ac997ecc103417250afe85f4534857afe7116b8aa88a3ecc"}},{"ruleId":"D2","level":"warning","message":{"text":"DataSourceEcoreGenerator.setupParametersOfDataSource (cognitive 47): DataSourceEcoreGenerator.setupParametersOfDataSource has cognitive complexity 47 (threshold 15). Drivers by points: if/else 18 (38 pts), loops 3 (7 pts), boolean chains 1, ternaries 1 (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":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/impl/DataSourceEcoreGenerator.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc70d1c65133051248463a895815052138d6681a95f7c4160932cf57a2c900f0"}},{"ruleId":"D2","level":"warning","message":{"text":"TableLayout.hideColumns (cognitive 46): TableLayout.hideColumns has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (40 pts), loops 3 (6 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java holds 10 of the 121 methods over the threshold \u2014 including the worst \u2014 and 711 of the 2284 points over it (31%), 4.8\u00D7 the next-largest file (jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffa485f8c76a3592a38d65d58543ab048f72050d344ac03249eee898ba076b4"}},{"ruleId":"D2","level":"warning","message":{"text":"EcoreGenerator.addRelationAnnotation (cognitive 45): EcoreGenerator.addRelationAnnotation has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (35 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9dfb07c906e3b7790b38b6b1c9f92185ee36dc1c2d8791576e25da039b6cca"}},{"ruleId":"D2","level":"warning","message":{"text":"DomainToXmlParser.parseDomainTo (cognitive 42): DomainToXmlParser.parseDomainTo has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (34 pts), loops 2 (7 pts), boolean chains 1 (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/xml/DomainToXmlParser.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9e1269520709f9bd42e60ec9bf19b3274ee38217dbb110195188c454bae068"}},{"ruleId":"D2","level":"warning","message":{"text":"AreaTreeBuilder.processStaticContentArea (cognitive 42): AreaTreeBuilder.processStaticContentArea has cognitive complexity 42 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 4 (10 pts), ternaries 2 (5 pts), match/switch 2 (4 pts), boolean chains 3 (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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bf4c726e30ec620460c1bba292b528a4fcf886eb14c8db7a4b85c779f995a9"}},{"ruleId":"D2","level":"warning","message":{"text":"ReportParameterConverter.format (cognitive 41): ReportParameterConverter.format has cognitive complexity 41 (threshold 15). Drivers by points: if/else 18 (40 pts), boolean chains 1 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-birt/src/main/java/ru/croc/ctp/jxfw/reporting/birt/impl/ReportParameterConverter.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b5305d6bf7dfa266b040fe56a3f355f762f8f662b1a50709806e928acc574d"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericArea.preProcessProperties (cognitive 40): GenericArea.preProcessProperties has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 8 (24 pts), if/else 5 (10 pts), boolean chains 3, match/switch 1 (2 pts), loops 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/element/area/GenericArea.java"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1f8be73bc445ae04bc550f54e7ed6e80799a90b303463f7c41622b3f7c7740"}},{"ruleId":"D2","level":"warning","message":{"text":"ListItemArea.postProcessProperties (cognitive 39): ListItemArea.postProcessProperties has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (25 pts), ternaries 5 (10 pts), boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/element/area/list/ListItemArea.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5ba72c1a79294fdefe86d11b2fbb3a6f7466e14355d3caf6aa0409e63482f4"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportSequenceGroupContextSplitterAndAggregator.topologicalSort (cognitive 38): ImportSequenceGroupContextSplitterAndAggregator.topologicalSort has cognitive complexity 38 (threshold 15). Drivers by points: if/else 7 (25 pts), loops 4 (10 pts), ternaries 1 (3 pts) (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":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/ImportSequenceGroupContextSplitterAndAggregator.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"44647f99e553c14ca4860a3c080a5c7b80ef6b10cb40c3bbbe3700c5549ac780"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericArea.moveChildMarginsToParentPaddings (cognitive 38): GenericArea.moveChildMarginsToParentPaddings has cognitive complexity 38 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 4 (14 pts), boolean chains 4, match/switch 1 (nesting depth added 23). 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/element/area/GenericArea.java"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9b57b2b9ed8a815d02e142a1cd59834baa1fb05c4b3759b08b7acaca3dd575"}},{"ruleId":"D2","level":"warning","message":{"text":"ExcelRenderer.renderAreaToCells (cognitive 38): ExcelRenderer.renderAreaToCells has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (25 pts), loops 2 (6 pts), boolean chains 5, ternaries 2 (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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/rendering/excel/ExcelRenderer.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cd9cdc62720da9880e5bea14d074b3d77ac3d86448a5091e93fd784172c3d3"}},{"ruleId":"D2","level":"warning","message":{"text":"WordRenderer.addCatchWord (cognitive 37): WordRenderer.addCatchWord has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (26 pts), ternaries 2 (6 pts), match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"54772220336f07db10083af83a0f2175aa8ef358e5ca1c301ecefbaf9938e86f"}},{"ruleId":"D2","level":"warning","message":{"text":"XfwXslfoReport.writeReport (cognitive 36): XfwXslfoReport.writeReport has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (34 pts), loops 1 (2 pts) (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/impl/XfwXslfoReport.java"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"5462de79d11faeece9ccd8386e78168fee00406fdfb4d556ebcfe6475f201956"}},{"ruleId":"D2","level":"warning","message":{"text":"MasterDetailLayout.writeLayout (cognitive 36): MasterDetailLayout.writeLayout has cognitive complexity 36 (threshold 15). Drivers by points: if/else 5 (21 pts), loops 4 (15 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/MasterDetailLayout.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"057d7f0b8268269c384342a763e8a9e71be4a354f11b99c72a87903902a522cc"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutTable.getAggregatedValue (cognitive 35): LayoutTable.getAggregatedValue has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (26 pts), boolean chains 3, match/switch 1 (3 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/LayoutTable.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ef7bd0b5ca81351c1dc02dfba0aa29dcaca16733ece490d4a546dcab60c725"}},{"ruleId":"D2","level":"warning","message":{"text":"TableLayout.writeGroupBoundSeparatorEx (cognitive 35): TableLayout.writeGroupBoundSeparatorEx has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 5 (11 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java holds 10 of the 121 methods over the threshold \u2014 including the worst \u2014 and 711 of the 2284 points over it (31%), 4.8\u00D7 the next-largest file (jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":2741}}}],"partialFingerprints":{"codehealthFindingId/v1":"c737a432b1f2c798bb424993280d2647466de74862ce1d32ffb3431fb2811cf1"}},{"ruleId":"D2","level":"warning","message":{"text":"AttributeParser.processProperties (cognitive 35): AttributeParser.processProperties has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (34 pts), match/switch 1 (nesting depth added 18). 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/attribute/AttributeParser.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac44d4be242984b061aa38e0cdd659f3806f889e3268ae9a2e457078267284d"}},{"ruleId":"D2","level":"warning","message":{"text":"WordRenderer.addPage (cognitive 35): WordRenderer.addPage has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (24 pts), ternaries 2 (8 pts), error handling 1 (3 pts) (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ced5f8cef5cda164257e91675e96f04199d393df4b82c86f77b41073ba4f5a"}},{"ruleId":"D2","level":"warning","message":{"text":"JsModelGenerator.getTypeParams (cognitive 34): JsModelGenerator.getTypeParams has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 2 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/generator/JsModelGenerator.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c487528b7842d1dfdc23f6b365930052f7e3b3f4c82be92bf57a72a81ed6326"}},{"ruleId":"D2","level":"warning","message":{"text":"PageBootloader.parseLoaderConfig (cognitive 33): PageBootloader.parseLoaderConfig has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (28 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-wc-loader/src/main/java/ru/croc/ctp/jxfw/wc/web/bootloader/PageBootloader.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04355e93b29dda4f41d82c7623c1524f53237f227ed4bd689c6bdef0f56a0c3"}},{"ruleId":"D2","level":"warning","message":{"text":"XfwMetadataHolder.init (cognitive 33): XfwMetadataHolder.init has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (23 pts), loops 3 (4 pts), boolean chains 3, error handling 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":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/metadata/XfwMetadataHolder.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce48a48b8150df1d9315df5c606aa77f68c839438570621ec4d64a5231faeb1"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericLayoutManager.calculateTableWidthFromCells (cognitive 31): GenericLayoutManager.calculateTableWidthFromCells has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 6 (11 pts), boolean chains 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/layout/layoutmanager/GenericLayoutManager.java"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c03d898a6f20ddc292cf0628238fb3999612cad2e372f4823fa25f476c0987"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockProperties.completeBlock (cognitive 31): BlockProperties.completeBlock has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 4, match/switch 1 (3 pts), loops 1 (2 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/foproperties/BlockProperties.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"443bef81311543f928d42b9ba0e701a4e5c6ca6cbb837cdc6c240e3eccc0caed"}},{"ruleId":"D2","level":"warning","message":{"text":"XslFoProfileWriter.setRegionAttributes (cognitive 30): XslFoProfileWriter.setRegionAttributes has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (30 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/XslFoProfileWriter.java"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bced83016a9bf559f7e8211c2cf15b1d5cd1857087953259286527df3de430"}},{"ruleId":"D2","level":"warning","message":{"text":"WordRenderer.addListBlock (cognitive 30): WordRenderer.addListBlock has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (8 pts), match/switch 1 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d407879ac3b23de5506051fae38eaacbce7bbe5d9f5ad81650a21d67ddbb319"}},{"ruleId":"D2","level":"warning","message":{"text":"EcoreGenerator.generate (cognitive 30): EcoreGenerator.generate has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (17 pts), ternaries 4 (11 pts), boolean chains 1, loops 1 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c124373c9005a1dd6ec30c2d2b290f8705ac92c9ff5494a2f008a0faa370877"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericLayoutManager.calculateTableHeightFromCells (cognitive 29): GenericLayoutManager.calculateTableHeightFromCells has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 4 (10 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/layout/layoutmanager/GenericLayoutManager.java"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"c948d10c4fe8fb9b6bd9c9b95ba7c55c3c8c379798a3462c83dafe1be8e626bc"}},{"ruleId":"D2","level":"warning","message":{"text":"ListItemArea.calculateMargins (cognitive 29): ListItemArea.calculateMargins has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (19 pts), ternaries 2 (6 pts), boolean chains 4 (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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/element/pagesequence/listblock/ListItemArea.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c737d865560cfa3f66551f2b0c1d775cb1f48edf831b7abacd121112cd464be"}},{"ruleId":"D2","level":"warning","message":{"text":"WordRenderer.calcShapeSize (cognitive 29): WordRenderer.calcShapeSize has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 4 (18 pts), if/else 5, loops 2 (3 pts), match/switch 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"6751f6dd33baddcf3e48247017166ecc03fd87bcf5e9e9b72744f60a93c0912c"}},{"ruleId":"D2","level":"warning","message":{"text":"WordRenderer.addTableCell (cognitive 28): WordRenderer.addTableCell has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (18 pts), match/switch 3 (8 pts), loops 1 (2 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed676e5e4b9d318a6020797a875581f340e92abb426e4b32c1d50634f3aa5db9"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeComparator.compare (cognitive 28): RuntimeComparator.compare has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (20 pts), error handling 1 (5 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/store/impl/comparator/RuntimeComparator.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af3f3f700e625270a762dff6235da965e68a1ebecbeb0b4ae7c4ba9d232d810"}},{"ruleId":"D2","level":"warning","message":{"text":"ExcelView.setupStyles (cognitive 28): ExcelView.setupStyles has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 4 (8 pts), boolean chains 2, error handling 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":"jxfw-export-poi/src/main/java/ru/croc/ctp/jxfw/export/poi/impl/views/ExcelView.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"793a2eb788b74c9ac9b7491083accc0c0801d3477294fb4019811da94b941eae"}},{"ruleId":"D2","level":"warning","message":{"text":"PageBootloader.parseRuntimeMatchSpec (cognitive 27): PageBootloader.parseRuntimeMatchSpec has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (19 pts), error handling 1 (6 pts), loops 1 (2 pts) (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-wc-loader/src/main/java/ru/croc/ctp/jxfw/wc/web/bootloader/PageBootloader.java"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"9055cd2c52df631c5c2577610955203532de7aae4028ef1f60d12e276d7f30ec"}},{"ruleId":"D2","level":"warning","message":{"text":"AttributeParser.processBorderAttribute (cognitive 27): AttributeParser.processBorderAttribute has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (20 pts), ternaries 4 (5 pts), boolean chains 1, 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/attribute/AttributeParser.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ff777aca5281e5774941e6f217796734bffb31f87404ebc2672cb31a993222"}},{"ruleId":"D2","level":"warning","message":{"text":"AttributeParser.processBorderAttribute (cognitive 27): AttributeParser.processBorderAttribute has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (20 pts), ternaries 4 (5 pts), boolean chains 1, 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/attribute/AttributeParser.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fe592fbb156c5f16748b4b1e190bb9df97642ce71f40cabfe0750cb80c9047"}},{"ruleId":"D2","level":"warning","message":{"text":"AreaTreeBuilder.processInstreamForeignObject (cognitive 26): AreaTreeBuilder.processInstreamForeignObject has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 8 (20 pts), if/else 3, boolean chains 2, error handling 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11d2c696d4f3db5eb8ce2f602d7857d9e0c17137701306f3be20b26587b5425"}},{"ruleId":"D2","level":"warning","message":{"text":"ExcelRenderer.renderImage (cognitive 26): ExcelRenderer.renderImage has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 5 (nesting depth added 11). 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/rendering/excel/ExcelRenderer.java"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1f81ee4ba83d16eec894fe12de4424f6730878850cacb496f03483a2c8ef6e"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineAreasExcelRenderer.handleValueTypeAndSetText (cognitive 26): InlineAreasExcelRenderer.handleValueTypeAndSetText has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (16 pts), error handling 2 (7 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/rendering/excel/InlineAreasExcelRenderer.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"873badf191516eec9ad46ab2ccc6742e803ec17aceeb06dbbeacb250f06f761d"}},{"ruleId":"D2","level":"warning","message":{"text":"XMMEditor.updateProblemIndication (cognitive 26): XMMEditor.updateProblemIndication has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 2 (8 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-eclipse-bundles/bundles/jxfw-metamodel.editor/src/ru/croc/ctp/jxfw/XtendMetaModel/presentation/XMMEditor.java"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0546430e89feaf6947b7bf6a8112d0e9c71d0faf1d9a96a67fe0cf44d26a69"}},{"ruleId":"D2","level":"warning","message":{"text":"TransferPropertyResolverImpl.addTypedValue (cognitive 25): TransferPropertyResolverImpl.addTypedValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (22 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 8). 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":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferPropertyResolverImpl.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acb71897844dc0d58ad14eaaf45e9b71e721db002708df7431938499c6f0f21"}},{"ruleId":"D2","level":"warning","message":{"text":"DebugComparators.verifyTransitivity (cognitive 25): DebugComparators.verifyTransitivity has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 5 (9 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/store/impl/comparator/DebugComparators.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"840d4189032e6bcb8cda354fb45a4479ba014f8148e89044a8f152b003202979"}},{"ruleId":"D2","level":"warning","message":{"text":"ToServiceGenerator.populateNavigables (cognitive 24): ToServiceGenerator.populateNavigables has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (23 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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e26460a93bccdb0fcc344f9298c4e9593ceaf93e1e1d86a144e49750f470d16"}},{"ruleId":"D2","level":"warning","message":{"text":"FoColor.getColorFromString (cognitive 24): FoColor.getColorFromString has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 3 (9 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/core/common/FoColor.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a980b7611e73d819682b13a272196d5d2b5c61f88ac8a76b3c790969d193cc"}},{"ruleId":"D2","level":"warning","message":{"text":"AreaTreeBuilder.processFlowWithStaticContentAreas (cognitive 24): AreaTreeBuilder.processFlowWithStaticContentAreas has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 3 (5 pts), boolean chains 2, ternaries 1 (2 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b45fbfa13b0148aaf5a20108c83bc621f54612447de4b51ef6d2c3d04c70b3"}},{"ruleId":"D2","level":"warning","message":{"text":"XslfoTable.setTableBordersProperties (cognitive 24): XslfoTable.setTableBordersProperties has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 5 (11 pts), boolean chains 2 (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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/table/XslfoTable.java"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"729bc8ba17e138bf042bcca5c795714aa90b2e46202eb1e319e407c3a296e752"}},{"ruleId":"D2","level":"warning","message":{"text":"XfwMetadataHolder.buildColumnsToFieldsMap (cognitive 24): XfwMetadataHolder.buildColumnsToFieldsMap has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), error handling 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/metadata/XfwMetadataHolder.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbaf6b5b044516806dbb8e4a15436896ffc437b64c7dcb20abdb7a151fef496d"}},{"ruleId":"D2","level":"warning","message":{"text":"ToServiceGenerator.createToToFieldBlockCode (cognitive 23): ToServiceGenerator.createToToFieldBlockCode has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 1 (nesting depth added 5). 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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d531697bab06d1577e07386374512e2cbe368b0d55e0450341527c86eabfa5"}},{"ruleId":"D2","level":"warning","message":{"text":"WebClientDataSourceCreator.generateControllerMethod (cognitive 23): WebClientDataSourceCreator.generateControllerMethod has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 4 (8 pts), boolean chains 2, match/switch 2, ternaries 1 (nesting depth added 6). 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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientDataSourceCreator.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"4932014016e183b0c324602ec44ae0cb6ab7c4e6ac6da1bd6cceb86ebf75d87a"}},{"ruleId":"D2","level":"warning","message":{"text":"WebClientCookieLocaleResolver.parseLocaleCookieIfNecessary (cognitive 23): WebClientCookieLocaleResolver.parseLocaleCookieIfNecessary has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 4 (11 pts) (nesting depth added 14). 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":"jxfw-wc-loader/src/main/java/ru/croc/ctp/jxfw/wc/config/locale/WebClientCookieLocaleResolver.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcc32a95f7a18649b9fbcf6944dfa4cfae4c9b747a2bf2ae940eb4a8dd8eb4c"}},{"ruleId":"D2","level":"warning","message":{"text":"PageBootloader.parseFilesMatchConfig (cognitive 23): PageBootloader.parseFilesMatchConfig has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (22 pts), 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":"jxfw-wc-loader/src/main/java/ru/croc/ctp/jxfw/wc/web/bootloader/PageBootloader.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67ce21b0e5763945a4e01119b35044ce527deb3db8648aa10030bee35f431d6"}},{"ruleId":"D2","level":"warning","message":{"text":"TransferToServiceGenerator.createToToFieldBlockCode (cognitive 23): TransferToServiceGenerator.createToToFieldBlockCode has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 1 (nesting depth added 5). 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a88aa1fc0f6ef4b5424e106512bcc4466226637f0df9449db66cc06117e8611"}},{"ruleId":"D2","level":"warning","message":{"text":"FoBorder.changeStyle (cognitive 23): FoBorder.changeStyle has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 3 (11 pts), if/else 5 (7 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/foproperty/border/FoBorder.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c8b0f65c2e2606f03de459a44d1d757c00bf0484ce92492c885ad1a3214c3c"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonTable.pasteColumnsGroup (cognitive 22): CommonTable.pasteColumnsGroup has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 2, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/CommonTable.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf7f04eb3a789f0a753073dd0f131983d1725ad02fc353d4b806faf6f76f4ec"}},{"ruleId":"D2","level":"warning","message":{"text":"XfwHelp.documentSynopsys (cognitive 22): XfwHelp.documentSynopsys has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-cli/src/main/java/ru/croc/ctp/jxfw/cli/command/XfwHelp.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"018cbf13e03d7f40b62db8ec398b33300573344d4aefb77e69ceb73cf7c7f835"}},{"ruleId":"D2","level":"warning","message":{"text":"TableLayout.calculateTotalCell (cognitive 21): TableLayout.calculateTotalCell has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, ternaries 1 (2 pts), error handling 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java holds 10 of the 121 methods over the threshold \u2014 including the worst \u2014 and 711 of the 2284 points over it (31%), 4.8\u00D7 the next-largest file (jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":1596}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f2a6e70d2bde98873618a4217a8d3cfdf2b181b97f3fabd91a00f19b65d606"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericLayoutManager.doCalculateAreaCoordinates (cognitive 21): GenericLayoutManager.doCalculateAreaCoordinates has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (5 pts), match/switch 1 (2 pts), boolean chains 1, 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/layout/layoutmanager/GenericLayoutManager.java"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49168cfa9f14557ae681f68ec3267ca6e42618bccf0a12c39eb597828539ca6"}},{"ruleId":"D2","level":"warning","message":{"text":"WordRenderer.addTableRow (cognitive 21): WordRenderer.addTableRow has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 2 (4 pts), loops 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"e182d98dd4a03141a9a0fe636f839417d01605dd853f8e8f1f74ea9e654fc3c8"}},{"ruleId":"D2","level":"warning","message":{"text":"XMMEditor.handleChangedResources (cognitive 21): XMMEditor.handleChangedResources has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 1 (4 pts), boolean chains 2, loops 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":"jxfw-eclipse-bundles/bundles/jxfw-metamodel.editor/src/ru/croc/ctp/jxfw/XtendMetaModel/presentation/XMMEditor.java"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"8349b84a2786dde71186d220a16df7430db6509c0d91c486b3605361ed8e5862"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractEcoreGenerator.getEType (cognitive 21): AbstractEcoreGenerator.getEType has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 8). 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":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/AbstractEcoreGenerator.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a386a40b8052f32ba63bd1cb04f8ea8491be22a26d89baf63236eef6312ad8"}},{"ruleId":"D2","level":"warning","message":{"text":"ToServiceGenerator.populateOpposite (cognitive 20): ToServiceGenerator.populateOpposite has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd0cc093af0d71ad0fd6a6f763abad427600d5054153bb223190a132af8d828"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutFinder.findLayout (cognitive 20): LayoutFinder.findLayout has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/LayoutFinder.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78e6191fb502d2108bccbd7c35d7cdd369c8cf69250047c8296262ff47f9ff7"}},{"ruleId":"D2","level":"warning","message":{"text":"MasterDetailLayout.writeMasterData (cognitive 20): MasterDetailLayout.writeMasterData has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (7 pts), boolean chains 1, ternaries 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/MasterDetailLayout.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0242023bd9155ca56b3047b8e75043c9a84ff469c7fe29d4250eb35439758b4"}},{"ruleId":"D2","level":"warning","message":{"text":"TableLayout.setVarValues (cognitive 20): TableLayout.setVarValues has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (6 pts), match/switch 1 (3 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java holds 10 of the 121 methods over the threshold \u2014 including the worst \u2014 and 711 of the 2284 points over it (31%), 4.8\u00D7 the next-largest file (jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":2884}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33acbc87d14300d5e878ffe0fd56cf89291f0ec7193e9411bdd16b8e8326ceb"}},{"ruleId":"D2","level":"warning","message":{"text":"ReportParamDefintionProcessor.processAnd (cognitive 20): ReportParamDefintionProcessor.processAnd has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (6 pts), ternaries 1 (5 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. This shape REPEATS in the file: one other method here (ReportParamDefintionProcessor.processAndNot) 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/paramprocessors/ReportParamDefintionProcessor.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02751da1ef6152d307805f10070fd42d77a529e62a91cdf4b6393f56bce5953"}},{"ruleId":"D2","level":"warning","message":{"text":"ReportParamDefintionProcessor.processAndNot (cognitive 20): ReportParamDefintionProcessor.processAndNot has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (6 pts), ternaries 1 (5 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. This shape REPEATS in the file: one other method here (ReportParamDefintionProcessor.processAnd) 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/paramprocessors/ReportParamDefintionProcessor.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b48e1752d5c6573d1d92ce553a3105ff4d2e73e620cc2d79b45564474a2bdf7"}},{"ruleId":"D2","level":"warning","message":{"text":"ExcelView.fillHeaderAndRows (cognitive 20): ExcelView.fillHeaderAndRows has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 4 (7 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":"jxfw-export-poi/src/main/java/ru/croc/ctp/jxfw/export/poi/impl/views/ExcelView.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5d33b7d1c38e8a025541628b2ff40e7590d828666347d0df14f38287f96584"}},{"ruleId":"D2","level":"warning","message":{"text":"BootloaderController.index (cognitive 19): BootloaderController.index has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2, error handling 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":"jxfw-wc-loader/src/main/java/ru/croc/ctp/jxfw/wc/web/mvc/controllers/BootloaderController.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5b634f92feaecf0cce73314ffc00dd9f08612e6a9f1aa3477e82a2b4f33113"}},{"ruleId":"D2","level":"warning","message":{"text":"Catchword.doExecute (cognitive 19): Catchword.doExecute has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, loops 1 (2 pts), 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/common/catchword/Catchword.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acd0ee0678695921fb545aeda40a7ac87ec38702ba4b5c39cadfd04aa92540c"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericLayoutManager.processTableColumnsProperties (cognitive 19): GenericLayoutManager.processTableColumnsProperties has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 2, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/layout/layoutmanager/GenericLayoutManager.java"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4c0bbe386f374ef219341afe6a9b8c0d10b70fe4032c70b1fd8c23a7b86ad3"}},{"ruleId":"D2","level":"warning","message":{"text":"AttributeParser.processProperty (cognitive 19): AttributeParser.processProperty has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), error handling 1 (2 pts), match/switch 1 (nesting depth added 9). 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/attribute/AttributeParser.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d15792dd0da0614f3f09d520cc769d665c72ced19a6d9684a713903adbd47ec"}},{"ruleId":"D2","level":"warning","message":{"text":"WordRenderer.addFlow (cognitive 19): WordRenderer.addFlow has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cfdb19b78d2c19356897890ad3f6c98f5ab83dce1b4a02c3fb253162f81e1e"}},{"ruleId":"D2","level":"warning","message":{"text":"EcoreModelEmitterSolr.addKeyFieldDetails (cognitive 19): EcoreModelEmitterSolr.addKeyFieldDetails has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-fulltext-service/src/main/java/ru/croc/ctp/jxfw/fulltext/generator/solr/EcoreModelEmitterSolr.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e651eca0dfd2531ab564849b0c96749813c2864729ea78755c944f244859f54"}},{"ruleId":"D2","level":"warning","message":{"text":"JsModelGenerator.appendDefaultValue (cognitive 18): JsModelGenerator.appendDefaultValue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 1 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/generator/JsModelGenerator.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be664f5ee2a1cbb0f0cc780b031ac735d7ffdcf88d6cb833ade2aa53884dd6f"}},{"ruleId":"D2","level":"warning","message":{"text":"EnumGenerator.generate (cognitive 18): EnumGenerator.generate has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (12 pts), if/else 1 (3 pts), ternaries 1 (3 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":"modelgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/mojo/modelgen/EnumGenerator.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8379cbeddb2881424edbaff09ed467511c6ce82ef4af01d6f11e84488b78da"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskExecutorWithInterrupt.\u003Cinit\u003E (cognitive 18): TaskExecutorWithInterrupt.\u003Cinit\u003E has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (6 pts), error handling 2 (5 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/TaskExecutorWithInterrupt.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96bee489baf4481caf6af957f9c8728b60624de2715dff233fa3f9f251d494b"}},{"ruleId":"D2","level":"warning","message":{"text":"TransferToTransformerImplWithXmlns.toXml (cognitive 18): TransferToTransformerImplWithXmlns.toXml has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (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":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImplWithXmlns.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e1e17eff99f63cfce351431a9e1d6dbd4299c21035a3ed7ca72cede3b578cc"}},{"ruleId":"D2","level":"warning","message":{"text":"TransponedTable.addCell (cognitive 18): TransponedTable.addCell has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/TransponedTable.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3070f798048fc78a60366ac4dbddff01865cb03b872edabb9ef4e2d4638b024"}},{"ruleId":"D2","level":"warning","message":{"text":"XmlTextReader.skip (cognitive 18): XmlTextReader.skip has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 1 (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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/core/common/XmlTextReader.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf08fa294d35b54dcb8bee1b24d5db95e8d61c1283946fd95568ccbcea830c8"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericLayoutManager.makeEqualChildrenSizes (cognitive 18): GenericLayoutManager.makeEqualChildrenSizes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 2 (5 pts), loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/layout/layoutmanager/GenericLayoutManager.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38b8e3360fe45bdf9934318f77b5352f30c649d698c4c2da5d795d6199433ff"}},{"ruleId":"D2","level":"warning","message":{"text":"AreaTreeBuilder.parseChildrenElement (cognitive 18): AreaTreeBuilder.parseChildrenElement has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 1 (2 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c19d0fc8b4df5097cf5c69808075e6822b640c68e5e3de3574228c52ca276e"}},{"ruleId":"D2","level":"warning","message":{"text":"ExcelRenderer.setPageBreak (cognitive 18): ExcelRenderer.setPageBreak has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4 (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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/rendering/excel/ExcelRenderer.java"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff2848f8707ac167d22580927d2bed07264679792c5e659572e0687d5f73099"}},{"ruleId":"D2","level":"warning","message":{"text":"ListItemArea.adjustPaddings (cognitive 18): ListItemArea.adjustPaddings has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/element/pagesequence/listblock/ListItemArea.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"190a9fbce57567b11f136298d6bb191445ee0a8ea91f9548ea654f9a36279672"}},{"ruleId":"D2","level":"warning","message":{"text":"WordRenderer.addRegionBody (cognitive 18): WordRenderer.addRegionBody has cognitive complexity 18 (threshold 15). Drivers by points: error handling 1 (5 pts), loops 2 (5 pts), if/else 3 (4 pts), match/switch 1 (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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"861c65480c4a1268eae7e8a66d507e479dee745ca54f9ca2eb8dd85f6e0ee071"}},{"ruleId":"D2","level":"warning","message":{"text":"ExceptionDescriptorImpl.updateTableMetadataFromStoreContext (cognitive 18): ExceptionDescriptorImpl.updateTableMetadataFromStoreContext has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (18 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":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/ExceptionDescriptorImpl.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"53397515af2dc17e068733678bc0effe5572343f60cd4e66f6ad7905181a99d8"}},{"ruleId":"D2","level":"warning","message":{"text":"PackageModel.getImports (cognitive 17): PackageModel.getImports has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (5 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":"modelgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/mojo/modelgen/ModelGenerator.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"05048370526510eaa5db66b44b63410e05d478fffa55482550916ddf20ff73cb"}},{"ruleId":"D2","level":"warning","message":{"text":"TransponedTable.pasteColumnsGroup (cognitive 17): TransponedTable.pasteColumnsGroup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/TransponedTable.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ee634be802472d2cddf50a8c44fc4ec0d9b51e0e3ef739349560e5ff348a3e"}},{"ruleId":"D2","level":"warning","message":{"text":"TableLayout.insertColumn (cognitive 17): TableLayout.insertColumn has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (8 pts), boolean chains 5, if/else 2, loops 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This file is where this pass\u0027s cognitive complexity CONCENTRATES: jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java holds 10 of the 121 methods over the threshold \u2014 including the worst \u2014 and 711 of the 2284 points over it (31%), 4.8\u00D7 the next-largest file (jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13f0d00b40c5b5a29fea84737a63fee1c0f37fa20ab02cd81ae5688588ce4ed"}},{"ruleId":"D2","level":"warning","message":{"text":"InstreamForeignObjectArea.createSvg2Image (cognitive 17): InstreamForeignObjectArea.createSvg2Image has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/element/pagesequence/block/InstreamForeignObjectArea.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4259268da8986afc6add2f2472bf36cca2ecb30c631f4e06dd7da9f99e11b338"}},{"ruleId":"D2","level":"warning","message":{"text":"WordRenderer.addTable (cognitive 17): WordRenderer.addTable has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2508ac5464905bb359d1ead16a9ecc9e5f6b8275a0c09674604aea5f61e938"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseExportDataProvider.formatPrimitive (cognitive 17): BaseExportDataProvider.formatPrimitive has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/export/impl/BaseExportDataProvider.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"634c01bac2f2c1e08ba4d7dde900b240e6a87e4bd22d2b4ae19dfef7c66090d4"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractDomainObjectFactory.create (cognitive 17): AbstractDomainObjectFactory.create has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/facade/webclient/AbstractDomainObjectFactory.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe56b9110e32e2a49c9d52e32b196fd7c4ad899363a30fd1c2e38c913073eea"}},{"ruleId":"D2","level":"warning","message":{"text":"MaxValidatorForNumber.isValid (cognitive 17): MaxValidatorForNumber.isValid has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2 (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":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/validation/validator/MaxValidatorForNumber.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0418fe4335d1fd6391a542f2f62b7fc09d4cce0cb3e168a760aebfd2a8ebc82f"}},{"ruleId":"D2","level":"warning","message":{"text":"MinValidatorForNumber.isValid (cognitive 17): MinValidatorForNumber.isValid has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2 (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":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/validation/validator/MinValidatorForNumber.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9903008d97a4812f936b4be871dff316ed73332f2790d8aa8f798554362f7b8"}},{"ruleId":"D2","level":"warning","message":{"text":"EcoreGenerator.setupFieldsOfClass (cognitive 17): EcoreGenerator.setupFieldsOfClass has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 1 (5 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e89f2b7b78573b645f9537e05d0502096a2316b25ac1f809207e25b96d641f"}},{"ruleId":"D2","level":"warning","message":{"text":"XfwHelp.documentOptions (cognitive 17): XfwHelp.documentOptions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (4 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":"jxfw-cli/src/main/java/ru/croc/ctp/jxfw/cli/command/XfwHelp.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c9b6de91a36c6973e8c20288f31c596e05defef5c1c34e295a0c555ffa10a5"}},{"ruleId":"D2","level":"warning","message":{"text":"PageBootloader.parseConfigMatchSpec (cognitive 16): PageBootloader.parseConfigMatchSpec has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 4, error handling 1 (3 pts), match/switch 1 (2 pts) (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":"jxfw-wc-loader/src/main/java/ru/croc/ctp/jxfw/wc/web/bootloader/PageBootloader.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2d78178ce7d23564147571ae56f4ff01f7f3f3275aedc85fe0b5ab4a350403"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptMatcher.isMatch (cognitive 16): ScriptMatcher.isMatch 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":"jxfw-wc-loader/src/main/java/ru/croc/ctp/jxfw/wc/web/bootloader/ScriptMatcher.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"162dcd90c18d7c43afd785f8c2dc5741a5bbb3bab62e15636a98baac8f604e4b"}},{"ruleId":"D2","level":"warning","message":{"text":"XfwXslfoReport.insertScripts (cognitive 16): XfwXslfoReport.insertScripts has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (5 pts), match/switch 1 (5 pts), error handling 1 (4 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/impl/XfwXslfoReport.java"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"46eb8e01e381ff6ec8f1687dc0104ffd20fde190c21e9ef02df5a96954719093"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutColumn.resetTotals (cognitive 16): LayoutColumn.resetTotals has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java holds 10 of the 121 methods over the threshold \u2014 including the worst \u2014 and 711 of the 2284 points over it (31%), 4.8\u00D7 the next-largest file (jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java at 147). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"9702738b1b26e4eeae7cd65451b8de330720a5654e94ae2540b61fac5789b5c7"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericLayoutManager.distributeHeightGap (cognitive 16): GenericLayoutManager.distributeHeightGap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 1 (3 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (GenericLayoutManager.distributeWidthGap) 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/layout/layoutmanager/GenericLayoutManager.java"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e69bb036913b18520ac2d48219b0fadf2272ab5f0e04e1dfca5ee42342d3c7d"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericLayoutManager.distributeWidthGap (cognitive 16): GenericLayoutManager.distributeWidthGap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 1 (3 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (GenericLayoutManager.distributeHeightGap) 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/layout/layoutmanager/GenericLayoutManager.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00239f6b7d59090ccfa5a7fca840e147f67c3706599be39556d3d9b0f547840"}},{"ruleId":"D2","level":"warning","message":{"text":"AreaTreeBuilder.checkAreaProgressionDirection (cognitive 16): AreaTreeBuilder.checkAreaProgressionDirection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc772eefd9c4c04f5f97847a156a2c74f222b3ef02125e227dbc4a6bb78424e"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineAreasExcelRenderer.doRenderInlineAreas (cognitive 16): InlineAreasExcelRenderer.doRenderInlineAreas has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, loops 1 (2 pts), ternaries 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/rendering/excel/InlineAreasExcelRenderer.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a5314ede039c5b89e29bfb97da3277b7236da02644e0fb966c13f3bba498f9"}},{"ruleId":"D2","level":"warning","message":{"text":"WordRenderer.addRegion (cognitive 16): WordRenderer.addRegion has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (16 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b2662dea696628bc235ac4d1dece496fb57ea9e8d47878d308b84a1459deb5"}},{"ruleId":"D2","level":"warning","message":{"text":"PredicateComposer.createMultiplyExpressions (cognitive 16): PredicateComposer.createMultiplyExpressions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposer.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb4ac980e4de082962aa8a66074e6c14d9e228df96e716c7a706c8bb240b7d6"}},{"ruleId":"D2","level":"warning","message":{"text":"QTupleDataSourceResultSerializer.serialize (cognitive 16): QTupleDataSourceResultSerializer.serialize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/facade/webclient/QTupleDataSourceResultSerializer.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3d89e88b10142e2943a1a0ec38759020dd57ff4db169e49ac36ae6da3cad9a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ToServiceGenerator: ClassTooLong \u2014 1198 significant lines (blank, comment-only and punctuation-only lines excluded), 83 methods. The bar is 400 significant lines; this is 798 over it, 3.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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f562a2b153fb3c00d1a5e40f68ea6f64ebd4f435765dfbd3d401c300d62efc4f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ToServiceGenerator: TooManyMethods \u2014 83 methods. The bar is 30 methods; this is 53 over it, 2.77\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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d82677ea3029c372d98579bbaa3780a8fa25476fb5a04af6a2aa205ad08ef4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layouts/TableLayout.java: FileTooLong \u2014 1280 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 780 over it, 2.56\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd22a6f362beda2bbd3205c4629b5d05ef7335c71852a37477628cf96e19d7f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: facade/ToServiceGenerator.java: FileTooLong \u2014 1278 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: ToServiceGenerator (93-2116). The bar is 500 significant lines; this is 778 over it, 2.56\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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c171fd748ea7601f051f7ed5068f47d66672c86ccd561993c402fc56134611e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WordRenderer: ClassTooLong \u2014 1014 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 614 over it, 2.54\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"286525bea3f427e9326afce4ce8fad7184cdfb309015bf8150e71b30eec89490"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AttributeParser.processProperties: MethodTooLong \u2014 processProperties runs 241 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 141 over it, 2.41\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/attribute/AttributeParser.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fac5afb9e1303ac32e68024be9e769c34f175c35882723cb2a75e3316a79b3e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TransferToServiceGenerator: TooManyMethods \u2014 72 methods. The bar is 30 methods; this is 42 over it, 2.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b94a780136da01aec4016752640514889183e7b1d28c730b21951333123e7c4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TransferToServiceGenerator: ClassTooLong \u2014 897 significant lines (blank, comment-only and punctuation-only lines excluded), 72 methods. The bar is 400 significant lines; this is 497 over it, 2.24\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd90c48ebf88d45985a48023e5c217705e11d91cd9ab50272f254d7ff50c873"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rendering/WordRenderer.java: FileTooLong \u2014 1120 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: WordRenderer (115-2026). The bar is 500 significant lines; this is 620 over it, 2.24\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6700553dd36d27c47b54be2744a86ebc7bf746663ed46f616e60f75f9ddbace9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LoggerOverReflection: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/xtend/logging/impl/LoggerOverReflection.java"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"de332ee1b376ef84a0f552dcab1ecd919f9d71cf1871f63654a9d3cd46beccbd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: transfer/TransferToServiceGenerator.java: FileTooLong \u2014 970 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: TransferToServiceGenerator (85-1716). The bar is 500 significant lines; this is 470 over it, 1.94\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51328659b45a518f3c4251dc9f1e6580a6d2b509074691e66a0542f1e42a872"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WebClientControllerCreator.create: MethodTooLong \u2014 create runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2481f4e42e514b812241d8a829633916ba2cf09c90717a916350a0ba06936366"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BlockProperties.addBlock: MethodTooLong \u2014 addBlock runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/foproperties/BlockProperties.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f11136121a6a539565cfbb52683f4884a5a7166779ad5fb872f541e81b296c7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: XMMEditor: ClassTooLong \u2014 699 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 299 over it, 1.75\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":"jxfw-eclipse-bundles/bundles/jxfw-metamodel.editor/src/ru/croc/ctp/jxfw/XtendMetaModel/presentation/XMMEditor.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee638f232e52ee1ed53a5bc495e5df5edc03ca9b4c7c4d9c1c98283aeccce7e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AreaTreeBuilder: ClassTooLong \u2014 660 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 260 over it, 1.65\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aafb21035a90767cdeb7ff60ecb7511332922f2026cc136766821b8ec903c73"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: XslFoProfileWriter: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/XslFoProfileWriter.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bb576fd6396876969c4e36b1296170fbce8ef8df62f79cb0feed1e8bb7ac2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/XMMEditor.java: FileTooLong \u2014 814 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: XMMEditor (168-1818). The bar is 500 significant lines; this is 314 over it, 1.63\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":"jxfw-eclipse-bundles/bundles/jxfw-metamodel.editor/src/ru/croc/ctp/jxfw/XtendMetaModel/presentation/XMMEditor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b784cb426bddc6db03c45602c10208ae1d9fd235518400191982a84d5992b268"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AttributeParser.processProperty: MethodTooLong \u2014 processProperty runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/attribute/AttributeParser.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ca4e25fc42dcb88dadf12cf199812613794b49daf4b975f55edd25d81af7d5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: XslfoTable: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/table/XslfoTable.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e9054c9f3b66832cce1f6c54915d3acd192443a712511d4dc2983d4eef5dd2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: XMMEditor.createPages: MethodTooLong \u2014 createPages runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\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":"jxfw-eclipse-bundles/bundles/jxfw-metamodel.editor/src/ru/croc/ctp/jxfw/XtendMetaModel/presentation/XMMEditor.java"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bdb8b9e69f0fdcf6d05bef844e4813d03032cffaf16a2b973fcc1a72007296"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tree/AreaTreeBuilder.java: FileTooLong \u2014 752 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: AreaTreeBuilder (101-1390). The bar is 500 significant lines; this is 252 over it, 1.50\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcaf6b4c7d6ba9b27a8b81ab06f58c3742b147f8ce6c74c2772b8615d036131f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: XMMEditor: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-eclipse-bundles/bundles/jxfw-metamodel.editor/src/ru/croc/ctp/jxfw/XtendMetaModel/presentation/XMMEditor.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"606c12fa7c45ee6532c1e4b87f287c24623708e93312fcac93d53dfc77177169"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LayoutColumn: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79a4e4a047878f6008f9f3fa395bd0be173d01a7b45ca0fe0d70e59aa8dff26"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GenericArea: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/element/area/GenericArea.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d0f8b046b93e0d2163c2cb2efddd35607733ee57f3cca28b576984c17a3c9d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EcoreGenerator: ClassTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 135 over it, 1.34\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":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9c233cb60f08017ecb291cba85661066c1b7a5d4e1429ba14acec16d2a21f2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsModelGenerator: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/generator/JsModelGenerator.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3273c5afca81bb32d61e7c28694abd21eeadfa8564f2e4fe030a0d0203d699ea"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GenericLayoutManager: ClassTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 101 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/layout/layoutmanager/GenericLayoutManager.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b488cb73fb024a3eb7d59502002dc688a9fbd1a61df14e505ca132fe33ac2599"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: XslFoProfileWriter: ClassTooLong \u2014 492 significant lines (blank, comment-only and punctuation-only lines excluded), 49 methods. The bar is 400 significant lines; this is 92 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/XslFoProfileWriter.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de21bd5e595e1d40fd143c9999d9a652e8328de7c30a049976ec47660f45fba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WordRenderer: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8866460d458988a3240dbb9e9184137441e6e597c54ff103a4b3024c98e52b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: generator/EcoreGenerator.java: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: EcoreGenerator (74-961). The bar is 500 significant lines; this is 98 over it, 1.20\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":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2909e743a587fc8e61713fc502b146dc4ce574ad53310aaee5f0a10de289f8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AreaTreeBuilder.parseChildrenElement: MethodTooLong \u2014 parseChildrenElement runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2df7f7fcbe8cde7996832d7c1582a694107d874d99c465e45c87bba4894de5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WebClientControllerCreator: ClassTooLong \u2014 469 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 69 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8531063ece9371cd14a635c9b614659f0ee478bc8519833804a590bf216e2b64"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WebClientDataSourceCreator.create: MethodTooLong \u2014 create runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientDataSourceCreator.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"287c4c99ca88ce01dd550bfb6e133366bddbaab29c3eb736cb8205a6a5cc8497"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ObservableList: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/domain/impl/ObservableList.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"642b3bcb40e0a7d58d2d24058d65388d06fd1a866bbb7f9f55d4c964824bd3ad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TransferToServiceGenerator.createToToFieldBlockCode: MethodTooLong \u2014 createToToFieldBlockCode runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"58657aad7ffb84fed46d591961e4e3a207a9f350e4146acc46cebfdae3ab54c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ToServiceGenerator.populateNavigables: MethodTooLong \u2014 populateNavigables runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a29eb860f24501a96f6879e6369267e8eb1e1efbeb8efb5a832cc8e0ea3387"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: XfwClassImpl: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-eclipse-bundles/bundles/jxfw-metamodel/src/main/java/ru/croc/ctp/jxfw/metamodel/runtime/impl/XfwClassImpl.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce96f44dfa1ffc898175fab758fa48d9f337b769aebfd7be45857ba26087e941"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: facade/WebClientControllerCreator.java: FileTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: WebClientControllerCreator (87-682). The bar is 500 significant lines; this is 45 over it, 1.09\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94be24211fc21db7bab8364992dae351043b7be18beb11aef8eeb085357a1c14"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AttributeParser: ClassTooLong \u2014 428 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 28 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/attribute/AttributeParser.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"688305faab36901d5d4c8c66b5c3c1f1a0a73a68a9c65bbb6911810670c035cb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ToServiceGenerator.createToToFieldBlockCode: MethodTooLong \u2014 createToToFieldBlockCode runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e1ac59fc25481161d1eeb1f834985b3294bb80bafefe8fe44bacf5a189c57d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layoutmanager/GenericLayoutManager.java: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: GenericLayoutManager (34-1095). The bar is 500 significant lines; this is 26 over it, 1.05\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/layout/layoutmanager/GenericLayoutManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f74309d27bda944c4bf772dd9c1239b519e7a346c5c1f31cfb1ae87d6c6255a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WordRenderer.completeListItem: MethodTooLong \u2014 completeListItem runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c82e1122e61b7cc4fafeb8d8297e3c29cd6e469e902f559a170d80b9dd14f7e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fowriter/XslFoProfileWriter.java: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: XslFoProfileWriter (36-1271). The bar is 500 significant lines; this is 18 over it, 1.04\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/XslFoProfileWriter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9be9642394120f6e01a51248321a22332ee31616e5d9c64150ea27a1888177"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ToServiceGeneratorSolr: ClassTooLong \u2014 412 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 12 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/solr/ToServiceGeneratorSolr.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"911af0c9439dea3d3b619b303ff7bade1028ffc422a7d43c4c1813a44eb98177"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: attribute/AttributeParser.java: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: AttributeParser (89-798). The bar is 500 significant lines; this is 8 over it, 1.02\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/attribute/AttributeParser.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"100e2cd18745ac1571e52e91fd7f54fb3f73dc4f0859fcba4cd229d15f52f72c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (36 shared lines): wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/solr/ToServiceGeneratorSolr.java:275-360 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:412-464 \u2014 These two members are variants of one another: 36 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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/solr/ToServiceGeneratorSolr.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e83fc486b9e25009c56a1000a91a293bf7a61f7bb01186fb7373a785958700"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (96 corresponding lines): wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1473-1568 | jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1187-1282 \u2014 These two members are one piece of code written twice and then edited apart: 96 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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"15144ed50d0ef11e4735e119ec28bffd1e82e96583077483c131599049f4f10a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:364-385 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:619-638 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1173-1189 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1201-1217 \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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4b9330aef33680953484fc31fd5e6cbef92323c7090d1e9c8b99ce61a0568a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java:139-156 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java:166-188 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java:197-216 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java:226-247 \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":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34f35d87ed07aee34e82d22c8dd22d2d3d9bb94ee1dd21ab008c2fef98c56c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/dialect/XfwH2Dialect.java:58-73 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/dialect/XfwMySqlDialect.java:55-70 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/dialect/XfwOracle10gDialect.java:55-70 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/dialect/XfwPostgreSql9Dialect.java:55-70 \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":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/dialect/XfwH2Dialect.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6694bf105517d32bd2725a3b9a1cb140e9a4e5333a3a2c96bb5aeba61dba31d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java:469-485 | jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java:487-503 | jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java:505-521 | jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java:523-539 \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":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea33d80b7cb16d675b986f2f6671d1e0d1ff533ac920f0c8abec66711b585a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (84\u201386 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:652-737 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:711-794 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:652\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df8820d1eb1df5c67e77ccc0c03c6604af3b215280c2277e008306c05a53f45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (68 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:967-1034 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1055-1122 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c81eb4169530d873f5cae03ba9e7ae2bacf8a5ff88659929e12a6f03377316b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1189-1242 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1475-1528 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1189\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30a27f26727085f2a11416b131facb3bf7013322468e824c29a47d0f797e312"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/foproperty/font/FoFont.java:301-341 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/attribute/FoFont.java:218-258 \u2014 before extracting anything, compare \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/foproperty/font/FoFont.java\u0060 and \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/attribute/FoFont.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/foproperty/font/FoFont.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/foproperty/font/FoFont.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"6985f4b9ed3f949a3e25c5efdd715c456d283449ddbf7d54e44bab38c0ba0ba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201335 lines \u00D7 3): jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImpl.java:98-122 | jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImplWithXmlns.java:123-147 | scriptgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/solr/MapFieldToSolr.java:21-55 \u2014 before extracting anything, compare \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImpl.java\u0060 and \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImplWithXmlns.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImpl.java:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImpl.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa943a40be727ef0355724397c93b7a19faa8cdd71d5aaf527d15cb79c52ec48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/jpa/TransferToServiceGeneratorJpa.java:63-95 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/jpa/ToServiceGeneratorJpa.java:68-100 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/jpa/TransferToServiceGeneratorJpa.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/jpa/ToServiceGeneratorJpa.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/jpa/TransferToServiceGeneratorJpa.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"404ffe5f15181e70df781217ecde5eeeacbd961047f9b3afe17cc1d154205f2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1516-1546 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1802-1832 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"0532b067815147977a87f37563fcef292ccd5b5659a143142de4b09a4643b4fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:746-775 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:799-828 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:746\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb575bca55e5eaf177d458e6a745b71ac9a09d49a3dd5a36ede8e4afc453e38a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1253-1282 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1539-1568 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1253\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"052e9d2979b015dc3032b688c7689fe23dab3891c91f070515d249ce6f899a49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2456-2485 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2538-2567 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2456\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":2456}}}],"partialFingerprints":{"codehealthFindingId/v1":"671ac3873c6250ae0d23c8d6f16d2ca63261562109de802d5483c85408b6b8b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/jpa/TransferToServiceGeneratorJpa.java:106-133 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/jpa/ToServiceGeneratorJpa.java:117-144 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/jpa/TransferToServiceGeneratorJpa.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/jpa/ToServiceGeneratorJpa.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/jpa/TransferToServiceGeneratorJpa.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7cbfca44846e3318d7d865671ced9addf3d9f60ec86e236eeaad9b4a68d52c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:209-235 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:215-241 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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, \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:237\u0060 calls \u0060builder\u0060, \u0060addMember\u0060, \u0060build\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:242\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be29531b6c37d52849295a4a007f5f3f7e27409a4e15c128f4874dbe72fc11d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/ImportSequenceGroupContextSplitterAndAggregator.java:74-100 | jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/SimpleImportContextSplitterAndAggregator.java:105-131 \u2014 before extracting anything, compare \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/ImportSequenceGroupContextSplitterAndAggregator.java\u0060 and \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/SimpleImportContextSplitterAndAggregator.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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 \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/ImportSequenceGroupContextSplitterAndAggregator.java:74\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":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/ImportSequenceGroupContextSplitterAndAggregator.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bda3b933053d3d1e5da5acfcc8049fbaac5895201e3aa81a586dbb8bc1fa1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:294-318 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:298-321 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:294\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, \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:297\u0060 calls \u0060addMethod\u0060, \u0060createEqualsObjectMethod\u0060, \u0060build\u0060 and \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:292\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc682d21e4af2c84b384b1d948a6fd49eb83fcf703087be4d0e3178259ad25b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2419-2442 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2500-2523 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2638-2661 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2524\u0060 calls \u0060getLayoutTable\u0060, \u0060getCurrentRow\u0060, \u0060getCurrentCell\u0060 and \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2444\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":2419}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd2dccabce6321537f678ff9c31feda170d56e36fe810e0c48a98b81ca926fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1376-1397 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1399-1420 \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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a22d65f89f51ffa5ba46520c5d5bb8406b7461101f409de2150640fa739f97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2081-2102 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2230-2249 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2081\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":2081}}}],"partialFingerprints":{"codehealthFindingId/v1":"998c49b54172d117d4b02c250dccc7a8dcd2ba6bbec066ceda1e063c472887c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1235-1255 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1260-1279 \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 \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1235\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"3190b23cf8e15cc7989b78432f50807fa792d6b3a22a45c2ae2cd7335b9400ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:412-431 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:420-439 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:410\u0060 calls \u0060setFields\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:418\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"af182d5a4a8d4ba899c5bdc94720f99d35057a11153fd617b210076df7e441c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java:561-580 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java:641-660 \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 \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java:561\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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4de34d0e910b73c4dcc1c029b4b2bdc612c37e3a0be81e016a38378c012daea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): jxfw-eclipse-bundles/bundles/jxfw-metamodel.editor/src/ru/croc/ctp/jxfw/XtendMetaModel/presentation/XMMEditor.java:1104-1123 | jxfw-eclipse-bundles/bundles/jxfw-metamodel.editor/src/ru/croc/ctp/jxfw/XtendMetaModel/presentation/XMMEditor.java:1174-1193 \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 \u0060jxfw-eclipse-bundles/bundles/jxfw-metamodel.editor/src/ru/croc/ctp/jxfw/XtendMetaModel/presentation/XMMEditor.java:1104\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":"jxfw-eclipse-bundles/bundles/jxfw-metamodel.editor/src/ru/croc/ctp/jxfw/XtendMetaModel/presentation/XMMEditor.java"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7f526bdfd51095a8ef498b57ab309137b1505d904353c586344153211a48a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:552-570 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:561-579 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:552\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f22da1447317cef6a1b54e068738291d6b2462891577cc2e3dcc94f3f6a71e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:918-936 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:988-1006 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:918\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"0645fba09574e987b7b3f68121d904ac9b464204bc177cd90a59ef15d5cd4570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1444-1461 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1730-1747 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"286cd527d12f8296a70f19a2b8f0236220b7abe0fc24c8a50b8e71799e498dbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/attribute/AttributeParser.java:185-202 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/attribute/AttributeParser.java:228-244 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/attribute/AttributeParser.java:185\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/attribute/AttributeParser.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"442a4d51a2274e7cd9eff8c628d24ca5af6f21e3be339e47e8aaf0900ee4076d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/validation/jdk7/validator/MaxExclusiveValidator.java:29-46 | jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/validation/validator/MaxExclusiveValidator.java:29-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060LocalDate\u0060 names \u0060java.time.LocalDate\u0060 in one and \u0060org.threeten.bp.LocalDate\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":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/validation/jdk7/validator/MaxExclusiveValidator.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc464756023427e5fdce5d691810c9ae90676ee910f297b7a5bfffcb2946b4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/validation/jdk7/validator/MinExclusiveValidator.java:29-46 | jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/validation/validator/MinExclusiveValidator.java:29-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060LocalDate\u0060 names \u0060java.time.LocalDate\u0060 in one and \u0060org.threeten.bp.LocalDate\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":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/validation/jdk7/validator/MinExclusiveValidator.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24bf140f7643b79f7497bd01b0d4da30deffae28281dac202474e5c30f1713c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/validation/jdk7/validator/MinInclusiveValidator.java:29-46 | jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/validation/validator/MinInclusiveValidator.java:29-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060LocalDate\u0060 names \u0060java.time.LocalDate\u0060 in one and \u0060org.threeten.bp.LocalDate\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":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/validation/jdk7/validator/MinInclusiveValidator.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9158680e546a7bfc3ed1f12d777235fde6b8d1141a3b561a1af3d8438d87b899"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2422-2438 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2503-2519 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2641-2657 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2760-2776 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2524\u0060 calls \u0060getLayoutTable\u0060, \u0060getCurrentRow\u0060, \u0060getCurrentCell\u0060 and \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2444\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":2422}}}],"partialFingerprints":{"codehealthFindingId/v1":"a288a8b5b03ae9274e43b22af001300eef52d0fc542b764a010554131a155f8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:534-550 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:544-559 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:534\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, \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:543\u0060 calls \u0060addStatement\u0060 and \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:534\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"31eae7809c2d1f7aa4aa8121fe08ba7fc1cfd6c3dbe6eb546dc0e631d1d6902a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/TransferServiceImpl.java:184-200 | jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/TransferServiceImpl.java:233-249 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/TransferServiceImpl.java:184\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \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":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/TransferServiceImpl.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d57222a3d5e116ff6718eebfb964c540589887720918a104d60c342c873cdaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1037-1053 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1119-1135 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1037\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060area\u0060 to \u0060ListItemBodyArea\u0060 in one and \u0060ListItemLabelArea\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"d669233a362f437d6d2bad953c56366c84bb4a29c61a2bf5293cb0f62f09c6b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jxfw-reporting-birt/src/main/java/ru/croc/ctp/jxfw/reporting/birt/impl/BirtReportServiceImpl.java:138-154 | jxfw-reporting-birt/src/main/java/ru/croc/ctp/jxfw/reporting/birt/impl/BirtReportServiceImpl.java:199-215 \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 \u0060jxfw-reporting-birt/src/main/java/ru/croc/ctp/jxfw/reporting/birt/impl/BirtReportServiceImpl.java:138\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":"jxfw-reporting-birt/src/main/java/ru/croc/ctp/jxfw/reporting/birt/impl/BirtReportServiceImpl.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d200cad185c90f76872319ff215f9116f492305158315a0feefc6bcfc84850"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/validation/jdk7/validator/MaxInclusiveValidator.java:29-45 | jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/validation/validator/MaxInclusiveValidator.java:29-45 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: \u0060LocalDate\u0060 names \u0060java.time.LocalDate\u0060 in one and \u0060org.threeten.bp.LocalDate\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":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/validation/jdk7/validator/MaxInclusiveValidator.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58d090db67039435adc333491c9476c1d2aa1af316842116cd358eb75af2075"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2350-2365 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2394-2408 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2574-2589 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2697-2712 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2350\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":2350}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbd34dd886f6bfc82f3159ea6ac77bc2d7b3f1f09914a8b01bb12fb3fa0a7a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:441-456 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:449-464 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/solr/ToServiceGeneratorSolr.java:345-360 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:441\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"8316095b35abf2a9954edccd9659cfef017f35bb82683307e8cce8683559bad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:348-363 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:350-365 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8068329f0de6c9dd84759515f42d4a3302caaa92c1fd07a8b3a183af2ce7350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:369-384 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:371-386 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd15b358a05460bdcefafbfb2385140e045d97d283b31790738ba36b45d25fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:390-405 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:392-407 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d5e47e4c6000126053752c35c8aa45554787d4104ab93d950df8e2f5ad610d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 2): wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:666-676 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1024-1039 \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 \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:666\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4d3713eb1bb58c3a29d7dcea58fac5673acb278f5c5bebd75c8280c297c77f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImpl.java:33-48 | jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImplWithXmlns.java:47-62 \u2014 before extracting anything, compare \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImpl.java\u0060 and \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImplWithXmlns.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImpl.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImpl.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"91abce6030b685b3193db248f1aa52f7b1d3edfbfde6d2b3e928ca774f1828b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:608-618 | jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:928-943 \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 \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:608\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a33157634379da7cab0369ad80f1fb79a7dd32ded11c2a8d18180ba29d48b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/foproperty/font/FoFont.java:150-165 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/attribute/FoFont.java:119-135 \u2014 before extracting anything, compare \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/foproperty/font/FoFont.java\u0060 and \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/attribute/FoFont.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/foproperty/font/FoFont.java:150\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/foproperty/font/FoFont.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a420b9509d60883c47bc8a045700f7b2062c533139a1c05bb812681d78448ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/foproperty/font/FoFont.java:435-450 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/attribute/FoFont.java:380-395 \u2014 before extracting anything, compare \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/foproperty/font/FoFont.java\u0060 and \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/attribute/FoFont.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/foproperty/font/FoFont.java:435\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/foproperty/font/FoFont.java"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b8356d84e7f641dd2db72108b54b283985aa14da92e47ae07fc04c5c123ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java:1208-1223 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java:1263-1278 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java:1208\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0f26dc567444be6dd01278b89bd3f884c449dc38a343138822fe960fd8f042"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/exception/dto/ExceptionToSerializer.java:40-55 | jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/exception/dto/XExceptionToSerializer.java:38-53 \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 \u0060jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/exception/dto/ExceptionToSerializer.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 \u0060to\u0060 to \u0060ExceptionTo\u0060 in one and \u0060XExceptionTo\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/exception/dto/ExceptionToSerializer.java:38\u0060 calls \u0060writeObjectField\u0060, \u0060getParentClasses\u0060 and \u0060jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/exception/dto/XExceptionToSerializer.java:36\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":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/exception/dto/ExceptionToSerializer.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8985712c9f2971174eb11af60deb9737e1a44b2178dbb1d33f52020cc465a9da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/dialect/XfwH2Dialect.java:59-73 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/dialect/XfwMySqlDialect.java:56-70 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/dialect/XfwOracle10gDialect.java:56-70 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/dialect/XfwPostgreSql9Dialect.java:56-70 \u2014 before extracting anything, compare \u0060jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/dialect/XfwH2Dialect.java\u0060 and \u0060jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/dialect/XfwMySqlDialect.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. 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":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/dialect/XfwH2Dialect.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f1358474c1cf8feaa25b015b311a5150fd54d34c67171468674c8fa373996c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:278-292 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:281-295 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:278\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:297\u0060 calls \u0060addMethod\u0060, \u0060createEqualsObjectMethod\u0060, \u0060build\u0060 and \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:294\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a184d8d7b22a5df84960942b1498ba0b1d6ee0129867670054dec70d371e623"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:595-609 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:653-667 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:595\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, \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:592\u0060 calls \u0060addStatement\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:652\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c95a0a70f049f6c9d3682dc668e5c489435a9c8491baa4af865db6b8bc1a347"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:613-627 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:671-685 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:613\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"34160dd3e94fc65d3d25e69bb9a75e4baf924dd1379dd0a85bd3d6e61c80cc91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/formatters/HrefEvaluator.java:73-87 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/formatters/ImageEvaluator.java:64-78 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/formatters/HrefEvaluator.java:88\u0060 calls \u0060escapeHtml4\u0060, \u0060getCurrentValue\u0060, \u0060toString\u0060 and \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/formatters/ImageEvaluator.java:79\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/formatters/HrefEvaluator.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cc0e513f453973c4590cb2ce5a4f30f0f3aa9557473f24ae5fb8f513c5391b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2152-2166 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2172-2183 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2152\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":2152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44a0d40640fb72ed6192cd3bbd7fac8a5838f573c7df5af9c41cdc1c7aceb74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java:1050-1064 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java:1115-1129 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java:1050\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69b52d4de91626360ce64676093fb98854e2bc7f3df02546b3040ac82070346"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/rendering/excel/ExcelRenderer.java:600-614 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/rendering/excel/ExcelRenderer.java:661-674 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/rendering/excel/ExcelRenderer.java:600\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/rendering/excel/ExcelRenderer.java"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"392ab9aa7d439675f27e74d8d043de75f1a4750004af561a79b26f88dff4ec59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1175-1189 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1203-1217 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060area\u0060 to \u0060PageNumberArea\u0060 in one and \u0060PageNumberCitationArea\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3ddcd9682cdbb9605c736bd690fed8349585df664ee6d408b2a916cc5ac6a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jxfw-eclipse-bundles/bundles/jxfw-metamodel.editor/src/ru/croc/ctp/jxfw/XtendMetaModel/presentation/XMMEditor.java:1023-1037 | jxfw-eclipse-bundles/bundles/jxfw-metamodel.editor/src/ru/croc/ctp/jxfw/XtendMetaModel/presentation/XMMEditor.java:1057-1071 \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":"jxfw-eclipse-bundles/bundles/jxfw-metamodel.editor/src/ru/croc/ctp/jxfw/XtendMetaModel/presentation/XMMEditor.java"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99695e6b4d03c4eae90318e933271d54af7e4f440336fc965b8a4927b0064b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:422-435 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:430-443 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/solr/ToServiceGeneratorSolr.java:326-339 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:422\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"c320f933d5c4b9f9b54a26feaa5ee4fec51163315e7da7267789faee3b2e9a42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImpl.java:134-147 | jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImplWithXmlns.java:159-172 \u2014 before extracting anything, compare \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImpl.java\u0060 and \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImplWithXmlns.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImpl.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3105a3545c9e2ec0b45851d7cf2ed5f2831fc09fc6cae4f1daf890a1a167d5e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java:1191-1204 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java:1246-1259 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java:1191\u0060 it does not close everything it opens, so those exact 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/tree/AreaTreeBuilder.java"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"04be9539266a8e511eccd1955cf73d5cfd7a95ef11e771743d8102ce709874db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 5): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2419-2430 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2500-2511 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2614-2626 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2638-2649 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2760-2768 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2419\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":2419}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cfceec66e974ca03361a2bbb59859bfc29e55a8eba956196f055f98e495607"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1648-1660 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1930-1942 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"6444055a806e6c626ddbefbd8f3c559c60c7900e50311104be66452fc038dcf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java:536-548 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java:638-650 \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 \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java:536\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, \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java:535\u0060 calls \u0060addParameter\u0060, \u0060createExpandParameter\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java:637\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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dfd2081b52581ba9b8427dea14a4182ce7b7e4f16054c04a1064ea63ea521d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2333-2345 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2374-2386 \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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":2333}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7d07fb5bb7aeea21c8b839d211a971d28411fb75d6acf3a7a5f17e14ef43c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:577-589 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1529-1541 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:577\u0060 it does not close everything it opens, so those exact 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 \u0060area\u0060 to \u0060FlowArea\u0060 in one and \u0060StaticContentArea\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5420ed09c735ecc64abe7bb5d81251a5edf20e4ea6475687866dcac36f88ed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1065-1077 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1141-1153 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1065\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060area\u0060 to \u0060ListItemBodyArea\u0060 in one and \u0060ListItemLabelArea\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"737ae6953fed953f854a207bd3a82ff122831bc6c0792565f90950dcd55adfbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:847-858 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:916-927 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d94a882493ed8cf4e80183ac0bbe338ff6f1ffa7cfa9cb7d3029bb26619aeeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:938-949 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1034-1045 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:938\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"1629bb75944c7189e3b0689d4bedf2d6b28b4702c69b245252b3bae1c03003c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ControllerGenerationUtils.java:171-181 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java:568-579 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java:648-659 \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 \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ControllerGenerationUtils.java:171\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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ControllerGenerationUtils.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d3fe44529e2067e4a84ccd8b20a6b8e146dc8380d30898243ce6edfa365fae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java:141-150 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java:199-208 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java:228-238 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java:151\u0060 calls \u0060setConstraint\u0060 and \u0060jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java:209\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":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"03423a1288790985c981d3e548ea664f3055ce6b4d0c7111c638ece751fadff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:490-500 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:497-507 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:490\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, \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:496\u0060 calls \u0060addAnnotation\u0060 and \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:489\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"8baac45fcfd6acad98391b699b3c9c2cb75c47aa631e82cda7872f410873a90e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:868-878 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:935-945 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:868\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab01f935cd62291bb1095d4409599a76f6397bc80d182e914db1145dd2ad49ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1597-1607 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1883-1893 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebce18e38bb4ecb30ff14730ea89a96ad632ee8a2c0632ce098a456c85b96104"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/TransferServiceImpl.java:160-170 | jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/TransferServiceImpl.java:220-230 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/TransferServiceImpl.java:160\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060ExecuteImportRequest\u0060 in one and \u0060ExecuteExportRequest\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":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/TransferServiceImpl.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bfeb84d1940be323140d657ad819d7c33bb3857d31126a106ea807257ee179"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/facade/webclient/ReportController.java:60-70 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/facade/webclient/ReportControllerNew.java:61-71 \u2014 before extracting anything, compare \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/facade/webclient/ReportController.java\u0060 and \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/facade/webclient/ReportControllerNew.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/facade/webclient/ReportController.java:60\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/facade/webclient/ReportController.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d21e747ce7a5d9794c1d4f9ed59237eb805582c6b6789ce49dff81b8d5ff45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/CommonTable.java:118-128 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/TransponedTable.java:129-139 \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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/CommonTable.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ca4841b4a50b7060153c248e2a1aa7ffcf8c199d2c539afa7a9b58ae4898b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/element/area/list/ListItemArea.java:60-68 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/element/area/list/ListItemArea.java:79-89 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/element/area/list/ListItemArea.java:60\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/element/area/list/ListItemArea.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e7f10066879d0c636a896b9554ba83d9cfc13c41fa07b033d70f362ab32352"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): jxfw-reporting-birt/src/main/java/ru/croc/ctp/jxfw/reporting/birt/impl/BirtReportServiceImpl.java:109-118 | jxfw-reporting-birt/src/main/java/ru/croc/ctp/jxfw/reporting/birt/impl/BirtReportServiceImpl.java:177-187 | jxfw-reporting-birt/src/main/java/ru/croc/ctp/jxfw/reporting/birt/impl/BirtReportServiceImpl.java:239-248 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060jxfw-reporting-birt/src/main/java/ru/croc/ctp/jxfw/reporting/birt/impl/BirtReportServiceImpl.java:174\u0060 calls \u0060addFileDownLoadCookieAndHeader\u0060, \u0060getExtension\u0060 and \u0060jxfw-reporting-birt/src/main/java/ru/croc/ctp/jxfw/reporting/birt/impl/BirtReportServiceImpl.java:235\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":"jxfw-reporting-birt/src/main/java/ru/croc/ctp/jxfw/reporting/birt/impl/BirtReportServiceImpl.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5a3196f3ec42250db75b1552d14523de23cb3c4d778178b714981526ad1386"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/solr/ToServiceGeneratorSolr.java:530-539 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/solr/ToServiceGeneratorSolr.java:552-560 \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 \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/solr/ToServiceGeneratorSolr.java:530\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/solr/ToServiceGeneratorSolr.java"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"413314478b8a57c8bb801a2e34564d7b77d05542ba27215eccddc21eaae83a1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1398-1407 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1684-1693 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1398\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cbfc1a4f35975a15d463a2b4263c3fa365f056820bd2c62381bff1bb63d375"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientDataSourceCreator.java:175-184 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientDataSourceCreator.java:574-583 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientDataSourceCreator.java:573\u0060 calls \u0060equals\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientDataSourceCreator.java:173\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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientDataSourceCreator.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce46b7b60bf132066ba88b73b13e2f5f834f9e558a0b6b787c064e649166542"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImpl.java:54-63 | jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImplWithXmlns.java:79-88 \u2014 before extracting anything, compare \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImpl.java\u0060 and \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImplWithXmlns.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImpl.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":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImpl.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9382440a58f91b9bf29b326ff8c88dc660c552ce268a06ee826532ce5cbe852c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jxfw-solr-runtime/src/main/java/ru/croc/ctp/jxfw/solr/facade/webclient/CriteriaComposer.java:306-315 | jxfw-solr-runtime/src/main/java/ru/croc/ctp/jxfw/solr/facade/webclient/CriteriaComposer.java:334-343 \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 \u0060jxfw-solr-runtime/src/main/java/ru/croc/ctp/jxfw/solr/facade/webclient/CriteriaComposer.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. 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":"jxfw-solr-runtime/src/main/java/ru/croc/ctp/jxfw/solr/facade/webclient/CriteriaComposer.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d148f5fe0133f2191486c6e99fe2609e5d41e19606d6e270cfad2396fb08794"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/TransponedTable.java:91-99 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/TransponedTable.java:157-166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/TransponedTable.java:91\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/TransponedTable.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7e3a7dbbce4a086b56e1ec22c729e0a1eaeeeb24adabc2c2a499be9b13c0a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/TransponedTable.java:102-111 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/TransponedTable.java:169-178 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/TransponedTable.java:102\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/TransponedTable.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d853d2f7e9f48cc82dd92e93d7f33a4fb6d1d09aa582bb573ecfd18541a2ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1581-1589 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1867-1875 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2207b9e52c099e9d59e85d56f013201c2a94e572ff6c43b00643a190a239486"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:825-833 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1681-1689 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:825\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 \u0060tableNode\u0060 to \u0060Table\u0060 in one and \u0060XslfoTable\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"09aa48ff3bb0a78afd1df066553b6fe010f7d09845845e32ca210742c8a2d916"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jxfw-eclipse-bundles/bundles/jxfw-metamodel/src/main/java/ru/croc/ctp/jxfw/metamodel/runtime/impl/XfwEnumerationImpl.java:129-137 | jxfw-eclipse-bundles/bundles/jxfw-metamodel/src/main/java/ru/croc/ctp/jxfw/metamodel/runtime/impl/XfwEnumerationImpl.java:195-203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-eclipse-bundles/bundles/jxfw-metamodel/src/main/java/ru/croc/ctp/jxfw/metamodel/runtime/impl/XfwEnumerationImpl.java:129\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":"jxfw-eclipse-bundles/bundles/jxfw-metamodel/src/main/java/ru/croc/ctp/jxfw/metamodel/runtime/impl/XfwEnumerationImpl.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e235f41c83c59e0e61ce9c4f9fad0161b310108e9027815551ec536d1bcc42a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): jxfw-reporting-birt/src/main/java/ru/croc/ctp/jxfw/reporting/birt/impl/BirtReportServiceImpl.java:140-147 | jxfw-reporting-birt/src/main/java/ru/croc/ctp/jxfw/reporting/birt/impl/BirtReportServiceImpl.java:201-208 | jxfw-reporting-birt/src/main/java/ru/croc/ctp/jxfw/reporting/birt/impl/BirtReportServiceImpl.java:261-268 \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 \u0060jxfw-reporting-birt/src/main/java/ru/croc/ctp/jxfw/reporting/birt/impl/BirtReportServiceImpl.java:140\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":"jxfw-reporting-birt/src/main/java/ru/croc/ctp/jxfw/reporting/birt/impl/BirtReportServiceImpl.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f33b20a2859e56117577600df606e73fc449282d51df343715241fff250dcad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java:145-152 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java:174-181 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java:233-240 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcd46bca1ac60c6e4d2ab0284a1f72297a24026a4a8544d733cfadc2d880517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1065-1072 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1153-1160 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1065\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a47fbcdd83c64ee652d6fc2ed1f5600fba788773f6053dd7f50a31d20db30c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java:182-188 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java:270-277 \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 \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java:182\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4084ddb35ca7c26639fb2bc5a6c61ad47a9861156d42a0ea217881c116bb6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): scriptgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/mojo/GenerateCqlScriptsMojo.java:118-125 | scriptgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/mojo/GenerateSolrSchemaMojo.java:113-120 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scriptgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/mojo/GenerateCqlScriptsMojo.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3292dc63a006868f7fed26b7eee4ce6b9281467fdc6759b97c6f3e56c532d87e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/MasterDetailLayout.java:153-163 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/MasterDetailLayout.java:239-246 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/MasterDetailLayout.java:153\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/MasterDetailLayout.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"788e62f4316b757bf140fc5a77271fa872964f285211914677c9018bd5a57177"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/foproperty/font/FoFont.java:426-433 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/attribute/FoFont.java:371-378 \u2014 before extracting anything, compare \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/foproperty/font/FoFont.java\u0060 and \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/attribute/FoFont.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/foproperty/font/FoFont.java:426\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/foproperty/font/FoFont.java"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea40ff35f66aa956e1c19241eb2f7c1e27bb7988b59a1d2e511473c7d8f9497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/logging/AreaLogHelper.java:99-106 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/logging/AreaLogHelper.java:130-137 \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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/logging/AreaLogHelper.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"05053ad709dd095b2e8fdac162788635283c8785ad74cff99d93acda9720906e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/element/root/GenericArea.java:171-178 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/element/root/GenericArea.java:198-205 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/element/root/GenericArea.java:171\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/element/root/GenericArea.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab83e7032f13cdcf9d12015edecddf4543b85b8c7a53441a64710c1a3d5248b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:374-381 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:627-634 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:374\u0060 it does not close everything it opens, so those exact 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 \u0060area\u0060 to \u0060CharacterArea\u0060 in one and \u0060InlineArea\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a8118b956fabb7420723346a6d7a550c201b26e3b384b4e1a07d160526d489"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:909-916 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:979-986 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:909\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a63f75d1a779d7d283333b5ba1808ff3625b2ed210df5dea6345d02244cfe64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/facade/webclient/impl/DomainFacadeIgnoreServiceImpl.java:128-134 | jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1063-1069 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1151-1157 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060facadeIgnoreAnnotation\u0060 to \u0060XfwAnnotation\u0060 in one and \u0060EAnnotation\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":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/facade/webclient/impl/DomainFacadeIgnoreServiceImpl.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4c09ceb988700066a8d838ff6484115fedc6e8bb5edf747811debfd98f39d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1078-1084 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1154-1160 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1435-1441 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1078\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060area\u0060 to \u0060ListItemBodyArea\u0060 in one and \u0060ListItemLabelArea\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"6824a1a53922095726163a7b6c6b2fac15e64cfeebb0473c2e2ef9b895597ca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/impl/DataSourceClassEcoreGenerator.java:54-60 | jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/impl/DataSourceEcoreGenerator.java:64-70 | jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/impl/EnumEcoreGenerator.java:38-44 \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 \u0060jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/impl/DataSourceClassEcoreGenerator.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":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/impl/DataSourceClassEcoreGenerator.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c796681d07a51461fec18b9647d178c68dd80a32afa828abe0eba197d919575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:923-929 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1019-1025 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:923\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c0c329c13d29c023f142731b2cfe0f522f04083077f2b522dadbcdd9198b28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1317-1323 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1604-1610 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4f6903f1f9f11d324e10b34013da12f39c55ac380c32b35cd1b61fd7bd0b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/generator/JsModelGenerator.java:469-475 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/generator/JsModelGenerator.java:485-491 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/generator/JsModelGenerator.java"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b47456000ddb3c3856ab7be0b77f96877dbc0da5011911156ae966b6a10958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2144-2150 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2384-2390 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:2144\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":2144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7402e05f2285d0f5d075162f42078a452e7afb5db2f37c4e71ee960e6cec1a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:951-957 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:960-966 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:951\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"486e644c84b7de0d55db146b492c3841c3e2255515902341fe874e5f7a620243"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): jxfw-cass-runtime/src/main/java/ru/croc/ctp/jxfw/cass/facade/webclient/SelectComposer.java:318-323 | jxfw-cass-runtime/src/main/java/ru/croc/ctp/jxfw/cass/facade/webclient/SelectComposer.java:344-350 \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 \u0060jxfw-cass-runtime/src/main/java/ru/croc/ctp/jxfw/cass/facade/webclient/SelectComposer.java:318\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-cass-runtime/src/main/java/ru/croc/ctp/jxfw/cass/facade/webclient/SelectComposer.java"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"613055cea91f6cff56762482cc133faa1151c2cd4eaf77db4c0698790ced37b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/table/XslfoTable.java:366-371 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/table/XslfoTable.java:380-385 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/table/XslfoTable.java:636-641 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/table/XslfoTable.java:652-657 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/table/XslfoTable.java:366\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/table/XslfoTable.java:643\u0060 calls \u0060getRowFormat\u0060, \u0060getBorders\u0060, \u0060setLineStyle\u0060 and \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/table/XslfoTable.java:373\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/table/XslfoTable.java"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a74c6d29c0010e976ac3a077b65180422d819a31db5d64434bb0326574fa20a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java:141-146 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java:168-174 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java:199-204 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java:228-234 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java:175\u0060 calls \u0060group\u0060 and \u0060jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java:148\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":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/H2DbExceptionParser.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"84320ed0449c50cc61a0be603cca2fbb18b7b2641d9244ea9be25ad31a878290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java:474-479 | jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java:492-497 | jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java:510-515 | jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java:528-533 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java:474\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"0135e79321b60d570e6a22e4e89b85ff0ecc210be71bfbe314ccb4a00185364b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:630-635 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1180-1185 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1208-1213 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060area\u0060 to \u0060InlineArea\u0060 in one and \u0060PageNumberArea\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:1187\u0060 calls \u0060insertField\u0060 and \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:637\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0aefbe688995d91438536e5d42622fe6eee2d5965127286f8ef3f9c6a2cff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:413-418 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/solr/ToServiceGeneratorSolr.java:276-281 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:420\u0060 calls \u0060autowireServiceBySetter\u0060, \u0060autowireFieldsBySetters\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/solr/ToServiceGeneratorSolr.java:282\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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc3c40fdc70361c729de45bd275163638e3bf6a1e272c4270f93f553d3a4ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:630-635 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:689-694 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8aee628e522788b7c2e783d42cc868e7148314dce580dc9f4fda514d72d083"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1309-1314 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1596-1601 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b980e5280d5f041f612dbf4250db07fd84d15c6917042c7c52da983a05380e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/attribute/AttributeParser.java:168-173 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/attribute/AttributeParser.java:211-216 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/attribute/AttributeParser.java:168\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060StringUtils\u0060 names \u0060org.apache.commons.lang.StringUtils\u0060 in one and \u0060org.apache.commons.lang3.StringUtils\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/processing/attribute/AttributeParser.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7442f409e21ff4f33ffda50db8e3711c5026b973abbea8433b923a7ea59c673e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/foproperties/BlockProperties.java:242-247 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/foproperties/BlockProperties.java:252-257 \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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/foproperties/BlockProperties.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd57ecc2346514699b3f67a2881d5ece4c2a146ee691937ac1ec10393a74073"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:748-753 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:758-763 \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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb909875d63c19526ee6aaf5192c9bf60b442db9394f482ead801bcb5491a03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/export/impl/BaseExportDataProvider.java:177-182 | jxfw-eclipse-bundles/bundles/jxfw-metamodel/src/main/java/ru/croc/ctp/jxfw/metamodel/runtime/impl/XfwModelImpl.java:190-195 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060jxfw-eclipse-bundles/bundles/jxfw-metamodel/src/main/java/ru/croc/ctp/jxfw/metamodel/runtime/impl/XfwModelImpl.java:186\u0060 calls \u0060resolveMetadata\u0060 and \u0060jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/export/impl/BaseExportDataProvider.java:174\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/export/impl/BaseExportDataProvider.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b959f56cb454418f8062934f8e6b642203bee3db69c72cef9f3c71b59653666b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java:179-183 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java:628-639 \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 \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java:179\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a4d5a66ea8f88802161ceb618a59718b04a372567cdb51f47921b3e542fad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/ImportSequenceGroupContextSplitterAndAggregator.java:67-71 | jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/SimpleImportContextSplitterAndAggregator.java:98-102 \u2014 before extracting anything, compare \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/ImportSequenceGroupContextSplitterAndAggregator.java\u0060 and \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/SimpleImportContextSplitterAndAggregator.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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 \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/ImportSequenceGroupContextSplitterAndAggregator.java:67\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/ImportSequenceGroupContextSplitterAndAggregator.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebabff851e5ffbf6d7adb806ab12c28cf377911779caa7fcae4f4438a4a13bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:1345-1347 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:1354-1358 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:1368-1373 \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 \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:1345\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4dc827dbcee5c716d58a63e17827b44511b6240492fdc9e9ad73f12db8df9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:908-912 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:917-921 \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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"1715d9e774a8c672237cb1ecd5e12d865c4209f6298e28513b9c27a6f47a22ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:978-982 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java:987-991 \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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/rendering/WordRenderer.java"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"e482b0acdc41de672fb52126b59e54322adbe42284f3fbc8dd1dcba6349b2cb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/ExceptionBuilderImpl.java:89-94 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/ExceptionBuilderImpl.java:118-122 \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 \u0060jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/ExceptionBuilderImpl.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/ExceptionBuilderImpl.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f64c132cd96c2788dffc4531723a31c144c68a290191517af84cd43abdc8ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jxfw-cass-runtime/src/main/java/ru/croc/ctp/jxfw/cass/load/events/CassBeforeLoadEvent.java:29-42 | jxfw-cass-runtime/src/main/java/ru/croc/ctp/jxfw/cass/load/events/CassPreCheckSecurityEvent.java:29-42 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-cass-runtime/src/main/java/ru/croc/ctp/jxfw/cass/load/events/CassBeforeLoadEvent.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fe3bc1b49e1bd8b8de5de7dcdd16e3e0d29ff075eb3703843c7a456f70d2bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/datasource/DomainObjectDataSourceResult.java:33-66 | jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/datasource/GeneralDataSourceResult.java:32-54 | jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/datasource/PojoDataSourceResult.java:32-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, 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 \u0060data\u0060 to \u0060Iterable\u003CDomainObject\u003C? extends Serializable\u003E\u003E\u0060 in one and \u0060Iterable\u003CT\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/datasource/DomainObjectDataSourceResult.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc56457fc00582f792c989aaf5b60c5991e82dd5c7b2b13937928a3748ed4137"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/reporting/facade/webclient/ReportingController.java:1-52 | jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/reporting/facade/webclient/ReportingControllerNew.java:1-52 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/reporting/facade/webclient/ReportingController.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":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/reporting/facade/webclient/ReportingController.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a0c6b91476253e448503d58560b5bcb0aef0fbd92fd8bc3f9b65caa707c316"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/impl/sql/H2BitwiseAndSqlFunction.java:21-40 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/impl/sql/OracleBitwiseAndSqlFunction.java:21-40 \u2014 before extracting anything, compare \u0060jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/impl/sql/H2BitwiseAndSqlFunction.java\u0060 and \u0060jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/impl/sql/OracleBitwiseAndSqlFunction.java\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/impl/sql/H2BitwiseAndSqlFunction.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa81de63b5f5047586f6366ee39ed1b5d1b49de0cd9cc11082fe115890f14563"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/impl/sql/MySqlBitwiseAndSqlFunction.java:21-40 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/impl/sql/PostgreSqlBitwiseAndSqlFunction.java:21-40 \u2014 before extracting anything, compare \u0060jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/impl/sql/MySqlBitwiseAndSqlFunction.java\u0060 and \u0060jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/impl/sql/PostgreSqlBitwiseAndSqlFunction.java\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/hibernate/impl/sql/MySqlBitwiseAndSqlFunction.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0662c7d71073c532bf822a84b89d0b478dc6eae5e125f49b20e76946a2f8b71d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/load/events/JpaBeforeLoadEvent.java:29-40 | jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/load/events/JpaPreCheckSecurityEvent.java:29-41 \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":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/load/events/JpaBeforeLoadEvent.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af6b40bc1e3898ee8db9494317b0ef4793057b618ee554fc08e78943b694b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jxfw-solr-runtime/src/main/java/ru/croc/ctp/jxfw/solr/load/events/SolrBeforeLoadEvent.java:29-42 | jxfw-solr-runtime/src/main/java/ru/croc/ctp/jxfw/solr/load/events/SolrPreCheckSecurityEvent.java:28-41 \u2014 before extracting anything, compare \u0060jxfw-solr-runtime/src/main/java/ru/croc/ctp/jxfw/solr/load/events/SolrBeforeLoadEvent.java\u0060 and \u0060jxfw-solr-runtime/src/main/java/ru/croc/ctp/jxfw/solr/load/events/SolrPreCheckSecurityEvent.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-solr-runtime/src/main/java/ru/croc/ctp/jxfw/solr/load/events/SolrBeforeLoadEvent.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b603e3d501e9439bf7ccce44ac407f998d860bebfc96360abfdebe8ca9f815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (93 lines \u00D7 2): jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/config/JsonXfwTransferConfig.java:1-95 | jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/config/XmlXfwTransferConfig.java:1-93 \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 \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/config/JsonXfwTransferConfig.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":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/config/JsonXfwTransferConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f6f07665691b5b6d2438853e775f54d549e20fefc739b5ab8d164389046cf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/jpa/TransferToServiceGeneratorJpa.java:164-171 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/jpa/ToServiceGeneratorJpa.java:176-183 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/jpa/TransferToServiceGeneratorJpa.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/jpa/ToServiceGeneratorJpa.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/jpa/TransferToServiceGeneratorJpa.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f48cb8f286293ba810b1aa807f0997bc36e9dbd31c1703bf3661f382c318681"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/jpa/TransferToServiceGeneratorJpa.java:155-161 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/jpa/ToServiceGeneratorJpa.java:167-173 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/jpa/TransferToServiceGeneratorJpa.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/jpa/ToServiceGeneratorJpa.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/jpa/TransferToServiceGeneratorJpa.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d21051e1a5d62cfbe0e3fe04decc8ec873706cebe3a08f5e010f142a11d8a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:818-825 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:886-893 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"89774b92191a77163873acfd7fed97bcf815818d5da82a7927b964e35793ee07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1350-1356 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1637-1643 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d830c135024ebe216b75c3325cf8dcdb916e737ce8f2cb6ac4b5b788880442"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:895-902 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:975-982 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2ab49486cfa49408efdf0650b65548b37909de56b0c0f71097a927b858bf55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1573-1578 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1859-1864 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":1573}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dab036c05430ef9e4621550039a917fd32a44c6f6c5cc5d9a12a3bda51c47de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1562-1566 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1848-1852 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"581e3335c9dca0880a0ed442b8068a224137dad2a554be2e379cb7886493a190"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:1081-1088 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:1169-1176 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97ede46651ba04857a60371245895c5d6e510cd9d4aaf6c7f5c532205574300"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:241-247 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:244-250 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 727 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java:237\u0060 calls \u0060builder\u0060, \u0060addMember\u0060, \u0060build\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:241\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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceGenerator.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03d2316b5a0b8b6d9b7897088ab8a4a6c9dccbb4a64ee9b306e1763db18b0f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/generator/AbstractFacadeGenerator.java:97-104 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/generator/FacadeGenerator.java:182-189 \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":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/generator/AbstractFacadeGenerator.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5640280d89d9bf2054461ff39f8d9060d12022740ae15e7e5f1ceccbdecf9ce3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/generator/AbstractFacadeGenerator.java:111-118 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/generator/FacadeGenerator.java:173-180 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/generator/AbstractFacadeGenerator.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe67bab3cabd507ff9370c6d93c1a7f8bcad43a3fe52078a19962ac0a6bfbaa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/ImportSequenceGroupContextSplitterAndAggregator.java:40-46 | jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/SimpleImportContextSplitterAndAggregator.java:42-48 \u2014 before extracting anything, compare \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/ImportSequenceGroupContextSplitterAndAggregator.java\u0060 and \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/SimpleImportContextSplitterAndAggregator.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/ImportSequenceGroupContextSplitterAndAggregator.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc029e8f80513ece031621b5c8ea6a56456c54c992668f9d357040eb809ef13f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): jxfw-solr-runtime/src/main/java/ru/croc/ctp/jxfw/solr/facade/webclient/CriteriaComposer.java:477-486 | jxfw-solr-runtime/src/main/java/ru/croc/ctp/jxfw/solr/load/impl/SolrLoadServiceImpl.java:65-74 \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":"jxfw-solr-runtime/src/main/java/ru/croc/ctp/jxfw/solr/facade/webclient/CriteriaComposer.java"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ebf9241e734ad1eeb7ec4498d70922fcf60dff327b15872a3b9e93046cea1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/MasterDetailLayout.java:349-362 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java:929-942 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060layoutProfile\u0060 to \u0060MasterDetailLayoutClass\u0060 in one and \u0060TableLayoutClass\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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/MasterDetailLayout.java"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9322e832708d3e9a988d8d48f2ba9358511df443396e392cd187f79f0f93eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/element/area/list/ListItemBodyArea.java:41-55 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/element/area/list/ListItemLabelArea.java:41-55 \u2014 before extracting anything, compare \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/element/area/list/ListItemBodyArea.java\u0060 and \u0060jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/element/area/list/ListItemLabelArea.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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/element/area/list/ListItemBodyArea.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"802fa3606774f173912a2d983014888a2b5e2a26b5922336007a659bb68a037e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/exception/dto/ExceptionToSerializer.java:57-65 | jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/exception/dto/XExceptionToSerializer.java:55-63 \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":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/exception/dto/ExceptionToSerializer.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0414702474c988b24693d9fc16f027672da2db0624650dc3ab54957629932485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/store/impl/UnitOfWorkMultiStoreServiceImpl.java:65-70 | jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/store/impl/UnitOfWorkSingleStoreServiceImpl.java:37-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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/store/impl/UnitOfWorkMultiStoreServiceImpl.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd5b4445b43eec2471e0dcf716838e28d3ba438f287d058938219c0495624c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java:960-968 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/TransientXfwObjectToGenerator.java:79-86 \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 \u0060builder\u0060 to \u0060Builder\u0060 in one and \u0060MethodSpec.Builder\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":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a364885431bb9c029bb7114f4821e0b44303af55e968e6f68ad899d748d2c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): jxfw-cass-runtime/src/main/java/ru/croc/ctp/jxfw/cass/predicate/CassandraQueryContext.java:43-49 | jxfw-solr-runtime/src/main/java/ru/croc/ctp/jxfw/solr/predicate/SolrQueryContext.java:44-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-cass-runtime/src/main/java/ru/croc/ctp/jxfw/cass/predicate/CassandraQueryContext.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":"jxfw-cass-runtime/src/main/java/ru/croc/ctp/jxfw/cass/predicate/CassandraQueryContext.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f291d3fc2528ec8c94fd1f6a68710a38df3e75a8157e6456d70786357b78d215"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/core/common/AreaType.java:214-218 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/core/common/FoPropertyType.java:569-573 \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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/core/common/AreaType.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a357fc41c5a06a0b3eb4a7c298af74be739086019bd7d02cded3eec94f1f56fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/element/area/GenericArea.java:309-315 | jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/word/processing/tree/element/root/GenericArea.java:251-256 \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":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/core/element/area/GenericArea.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d566d6db363dd67a67ea6969d943673144195b3d275c078f6fb45fdf657f63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/jpa/TransferToServiceGeneratorJpa.java:143-148 | wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/jpa/ToServiceGeneratorJpa.java:154-159 \u2014 before extracting anything, compare \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/jpa/TransferToServiceGeneratorJpa.java\u0060 and \u0060wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/jpa/ToServiceGeneratorJpa.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/jpa/TransferToServiceGeneratorJpa.java:143\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/jpa/TransferToServiceGeneratorJpa.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb657d42d7c6fc730609d5b04a4c026bc0e4ed09260c3116fe18d7351fb566e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImpl.java:83-87 | jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImplWithXmlns.java:108-112 \u2014 before extracting anything, compare \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImpl.java\u0060 and \u0060jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImplWithXmlns.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 80 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/service/TransferToTransformerImpl.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"46473516a544038df1d0882f6f3b8741a7399a357666a4b760c47f9c819d06a4"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 no coverage collector is wired up: Coverage NOT MEASURED: \u0060--collect:\u0022XPlat Code Coverage\u0022\u0060 names a data collector that ships in the \u0060coverlet.collector\u0060 package, and this repository wires up none \u2014 no test project references it and no runsettings declares one. The absence of coverage here is therefore not evidence about the suite or about our analyzer environment: without a collector, \u0060--collect\u0060 produces nothing even from a suite that builds and passes. Add a \u0060coverlet.collector\u0060 PackageReference to the test project(s) (or commit the Cobertura/OpenCover/lcov report your CI produces) and real coverage will be measured. It is excluded from the score rather than counted as a near-zero defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: caseIgnoreAndCaseSensitiveOperators: 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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposerTest.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4ed2d0e4ec480b013270a0ffa2cbdcea05face0d7215e3ffcd291d490c628d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testContainsAndMultipleNotContainsOnOneField: 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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposerTest.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e230f9cc519612e20b988d5dae61b76d106eeda519c39d7e077361d0606d19dd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMassiveInequalities: 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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposerTest.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e3f88f2808819e5a60bd9f5412084b000b08a2117f33b7002892f6dac0366f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMultiMapOrderedStringOperatorsWithIgnoreCase: 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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposerTest.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fd16f2a4ca61a9159e6aac6ecfffb798a0156af1a3590440bd310926ee4d6f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMultiMapOrderedStringOperatorsWithoutIgnoreCase: 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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposerTest.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc6adb6200c92c1e8039439630758139758b00edcf5636d3c4ebeb927656633"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMultipleContainsAndMultipleNotContainsOnOneField: 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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposerTest.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"04883b2d7588e3048fa4339a8f2a77dad5d98001ae029fcbda18d498d0e4c718"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMultipleContainsAndNotContainsOnOneField: 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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposerTest.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9a9f040b4ad3781ab3c49d698e5ef365bf12c0bbe11a8f8a30024be97a6f5f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOp2: 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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposerTest.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"664c5f134c9e6c50487d38fbbd68f07c291312df28ef6362098850c7ff0e4048"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOperatorAnyOfListWithNullOperator: 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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposerTest.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"85021d6bb27effe7be898a68ca6810d154d51c320f6b039e1a5b368470f59e12"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOperatorValueIsNull: 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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposerTest.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b8dfaaa117c2e19a8d2589f9462737fe3c630871574c75316429f934eb4d8e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOperatorsOfComparing: 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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposerTest.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb20edbfe3dcdc6a6e60599e3f66a6c4c55e60d2757ac5d3714b58b3b71b1d5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOperatorsOfFlags: 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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposerTest.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4928fe8e73fb6c95c4fd4a87bc4974d94b657ce30616e93aba17d4c28936552"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: storeContextCreation: 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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/store/StoreContextTest.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ed8253fc801259331a4b09044c4a2fb8ac11affdfeeb8a1a71f8ac0c1c4c91"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGetEnumValueFail: 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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/util/TestCmfEnumUtil.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7021f0b3328db80ef495d545a62e15e9008ee4cd87b75f1d8ef615ce51cbcc62"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testValueOfInvalidValue: 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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/util/TestCmfEnumUtil.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82e41ab8d8ebc0bf19fbc97b964e53102cb6c242d27d6d951ec138364f3971c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: beforeStoreFailTest: 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":"jxfw-jpa-runtime/src/test/java/ru/croc/ctp/jxfw/jpa/store/impl/UnitOfWorkJpaStoreServiceImplTest.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86325d1e2b795e250ee285e369d0391523a5b6f8d7433a0ebd0bc1b95e4ac88"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: validateReportProfile: 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":"jxfw-reporting-xsl-fo/src/test/java/ru/croc/ctp/jxfw/reporting/xslfo/impl/XslfoReportProfileTest.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9f4c6c78ddd5328a3a123354d6c0865bd49835f7882282d34f95b91bee109c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: validateReportProfileAlien: 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":"jxfw-reporting-xsl-fo/src/test/java/ru/croc/ctp/jxfw/reporting/xslfo/impl/XslfoReportProfileTest.java"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5f44e746eabcb5970012771fbc5679c90d1ff8ec1c2f8484585b2d09de0b5f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: throwExceptionIfAggregateFunctionIsUnknown: 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":"jxfw-reporting-xsl-fo/src/test/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/LayoutTableTest.java"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9d265097646557100656caec5f7020cce33b9608bf0e3c081006bf0505e361"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: addSomeInfoToXmlTextReader: 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":"jxfw-reporting-xsl-fo/src/test/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/core/common/XmlTextReaderTest.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"accf80b72bf868163f96f415b6b037a5962982e84dd584399e1a373e0810b17f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: createXmlTextReader: 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":"jxfw-reporting-xsl-fo/src/test/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/core/common/XmlTextReaderTest.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c78765abfd4c5396b22e2dd8089f7d90134a2c780d4ab71fb8dd3e561197cf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: rowHeightStrategyDefaultIsUsed: 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":"jxfw-reporting-xsl-fo/src/test/java/ru/croc/ctp/jxfw/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/XslFo2ExcelRendererTest.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"146b0a8186435d310e127d49c0151368b7ff827c77c9be796c4fa8655b545818"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFewNotResolveDependencies: 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":"jxfw-transfer/src/test/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/ImportDependencyManagerTest.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa96475544fba2adc220200784acd5f06a81191d9085a666e1491510c60c6d3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFewNotResolveDependenciesWithNotLoadedDto: 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":"jxfw-transfer/src/test/java/ru/croc/ctp/jxfw/transfer/impl/imp/context/ImportDependencyManagerTest.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdb95e09677c75dc25352dd0e72a7e7cb9b6e837d1da39262868acb62452045"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: checkEcorePriorityEclipseCaseExpectException: 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":"modelgen-maven-plugin/src/test/java/ru/croc/ctp/jxfw/mojo/modelgen/AggregateTest.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ad9a904886ce15ae0019e9535cead87725d9e573b5a6415174a5a893b3b7d6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: checkEcorePriorityExpectException: 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":"modelgen-maven-plugin/src/test/java/ru/croc/ctp/jxfw/mojo/modelgen/AggregateTest.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"97001ef52505a927138986806c78f0361a171a261e737362e558646f7149892f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCheckFileAutogenerated: 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":"wcgen-maven-plugin/src/test/java/ru/croc/ctp/jxfw/mojo/EcoreProcessorTest.java"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4edbc486e8ed6c9373d5a69cdec2d1cb0a1f619bf8ccf2ae3c4e020014be96f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //FIXME: predicateByID \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-cass-runtime/src/main/java/ru/croc/ctp/jxfw/cass/facade/webclient/SelectComposer.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10497226b217afc31e4f02aaa8f001837b836258d3b0f8ba831dda82f7ddd48"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //FIXME: predicateByID \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-solr-runtime/src/main/java/ru/croc/ctp/jxfw/solr/facade/webclient/CriteriaComposer.java"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ade29e0ddf4da83ecb8d8bae7af9c7c4aeee105a06cb7a87c52e892fbdeb37e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u0421\u043E\u0437\u0434\u0430\u0435\u043C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u0443\u044E \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u043E\u0431\u044A\u0435\u043A\u0442, \u0442\u0430\u043A \u043A\u0430\u043A \u043C\u044B \u043D\u0435 \u0437\u043D\u0430\u0435\u043C \u043F\u043E\u0440\u044F\u0434\u043E\u043A \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edee4f6fcd67f0a0acc0d8150f81b93b2c87ab37a7d35229274747ba5ae08df"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //FIXME  XfwValueType.UNDEFINED \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D \u0432 JXFW-953, \u0433\u0434\u0435 \u0437\u0430\u0442\u0440\u0430\u0433\u0438\u0432\u0430\u044E\u0442\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u043A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u044B\u0435 \u0442\u0438\u043F\u044B"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5db10b2f6b91965704d648fc15a1329fc3ddd2029d271a7fad156e0fa05ccd"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // fixme \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3b3da7de180c8276f6d1a2c150335e35b76fe008945f337e29d6dc04d0a2b8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/EcoreGenerator.java"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a8e28055db3d295ff51e41a775c22ff9d508799688176c6e24daeca0c00e8b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u0423\u0431\u0440\u0430\u0442\u044C, \u0442\u0430\u043A \u043A\u0430\u043A \u0443\u0436\u0435 \u0435\u0441\u0442\u044C \u0432 {@link PersistenceModuleContext} \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/AbstractEcoreGenerator.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e03143033f35d495825373ca35e4551e812a74b3d2fbb16e38f4be0b1f9efb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u041F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044C Lob \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/AbstractEcoreGenerator.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a185774afd7ef845807ee33a2217700d0b2a61a4b557629dd426cbb3d3ca81"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u041E\u0434\u043D\u0430\u0436\u0434\u044B \u0441\u043E\u0437\u0434\u0430\u043D\u043D\u044B\u0435 enum \u0434\u0430\u043B\u044C\u0448\u0435 \u043D\u0435 \u043E\u0431\u043D\u043E\u0432\u043B\u044F\u044E\u0442\u0441\u044F. \u0421\u0434\u0435\u043B\u0430\u0442\u044C \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/AbstractEcoreGenerator.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd614c9e1cb6113eb5988214e9255853a98b96538fc47e06e9c6b81172b4617"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO JXFW-861: \u0423\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0430 \u0432\u0430\u043B\u0438\u0434\u0430\u0446\u0438\u0438\u044F. \u0412 \u044D\u0442\u0443 \u0447\u0430\u0441\u0442\u044C \u043A\u043E\u0434\u0430 \u0437\u0430\u0445\u043E\u0434\u0438\u0442\u044C \u043D\u0435 \u0434\u043E\u043B\u0436\u043D\u044B."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-compile/src/main/java/ru/croc/ctp/jxfw/core/generator/impl/DataSourceEcoreGenerator.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"83813441a06835d4530e423f2cfc6f90738905f709fe0784f3333ed3a93d176b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME JXFW-1206"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/export/impl/BaseExportDataProvider.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95e81a5c6555c2f961dbdbd3e5852a421e138689438c16e7b31404db16415b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u0432\u044B\u044F\u0441\u043D\u0438\u0442\u044C \u0432 \u043A\u0430\u043A\u0438\u0445 \u0441\u043B\u0443\u0447\u0430\u044F\u0445 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposer.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"461df5d4cae8ef07533ff9f5b1ce7db8823ee987e8ba896fa26aec5271a38716"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u0432\u0441\u0435 \u043E\u0431\u044A\u0435\u043A\u0442\u044B \u0432 / \u0438\u0437 \u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u043F\u0440\u043E\u0438\u0441\u0445\u043E\u0434\u0438\u0442 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435, \u0434\u043E\u043B\u0436\u043D\u044B \u0431\u044B\u0442\u044C \u0434\u043E\u043C\u0435\u043D\u043D\u044B\u043C\u0438 \u003CT extends DomainObject\u003C?\u003E\u003E { \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/facade/webclient/DomainToMapper.java"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed97dc386c5556e79241f25e12b639d0f776a92db27ae512b7247011e1834a4e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME JXFW-1215 \u0447\u0442\u043E \u0442\u0443\u0442 \u0431\u0443\u0434\u0435\u0442 \u0441 \u043A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u044B\u043C\u0438 \u043A\u043B\u044E\u0447\u0430\u043C\u0438 \u0432 CASS \u0438 SOLR?"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/facade/webclient/impl/WebclientQueryParamsBuilder.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d23d6acd20eb2ef01395b458c3ccf5bf5662546d693603ee689f9fd26b7555"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/load/LoadServiceSupport.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5b0c7401335bd6f2b330255d722dc802a4f4d263c63c903571fc88dc096b4f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u043D\u0430\u0434\u043E \u0440\u0430\u0437\u043E\u0431\u0440\u0430\u0442\u044C\u0441\u044F \u0441 \u0434\u043E\u043C\u0435\u043D\u043D\u044B\u043C\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043C\u0438 \u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043C\u0438 \u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E \u043F\u043E\u0438\u0441\u043A\u0430, \u0443\u0431\u0440\u0430\u0442\u044C \u044D\u0442\u0443 \u0441\u043F\u0435\u0446\u0444\u0438\u043A\u0443 \u0432 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/load/impl/LoadServiceImpl.java"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"6698cd89f021f5f067180f19f1e44671e909e81ededc52ec766c681cb626fcee"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME JXFW-1223 \u0441\u044E\u0434\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u043F\u043E\u0439\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F =\u003E \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u044B \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u043C\u0435\u0442\u044C \u043E\u0431\u0449\u0443\u044E \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u044E"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/store/StoreResult.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6e62f553ecee0578e6c5a5bea3b406d34ad67b279d54735cc0a7332cae8f49"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u043F\u0435\u0440\u0435\u043D\u0435\u0441\u0442\u0438 \u043A\u043E\u043D\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u044F \u0432 \u0444\u0430\u0441\u0430\u0434 WebClient \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/main/java/ru/croc/ctp/jxfw/core/store/impl/UnitOfWorkMultiStoreServiceImpl.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b905cf71e35db23328b1ec2c95246ddfb3a1a07c9db816466a13c1fd8fe0f1"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/domain/TestDomainObject.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d75debfc9fdbae84a60c9198452895b5765759a9706fcadf7959447698a5eb2"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/domain/TestDomainObject.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9a6f439115bc67ab7c4ba242f17fd360c42c0a94231f5ef455a0c389e7af70"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/domain/TestDomainObject.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ae6cdf9a3e3628a0e5080e4a0510ae69cefc713116dbff41681798bad090c4"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/domain/TestDomainObject.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af871e42eefa5a2b4384f4b2847047be43f9396b92b69036a57f49dcbb93a29"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/domain/TestDomainObject.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbef01f69f8a3060ed82153efcbc555bb1394eb2b143ae962c489ff8964eef65"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/domain/TestDomainObject.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9c3a6361cc10a255738d9902557cad6437802645ba8b5c320f7b9505bbe891"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/domain/TestDomainObject.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb83252f195c8919748e2d4ab191dda21969877aa2d5bdb5ce5766d0f34fca29"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/domain/TestDomainObject.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba1f1c98abeeaddd77cf8b63e1b1a7ea7f0f06d526fc482d749d9d96fb9eaf0"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/domain/TestDomainObject.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"df97909f8dc55649abd32cb4b40482896fe033e708525ac1ce2e578a38eb6fb3"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/domain/TestDomainObject.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa54e3fea6574292e1510684bb855855e5e8a4f3399e8b5f96fde4bc2ca1880"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/services/TestObject.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7e2a2df6cff87b1c965cec5dcd509b5a4f5a4b1aa30cdf3ca61c04c9d00753"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/services/TestObject.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c969c96ca16e7e66f1bf27122340301bbf0f74cc27b5f55601906c8c88a3ad0e"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/services/TestObject.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"85222d8728784d6a8e2bb0d157afaef09cf12b80ab3b7d99ca06742ee3132020"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/services/TestObject.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f51a6e70c9639200f92f89b2401c0a6d8a8433af8db5f46e2c3808f0daa8be"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/services/TestObject.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3401a1d66ec88296860b25fdd9f9b44588d99d6b86e55a17088b853b6b14340"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/services/TestObject.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"051eb4289cba85c467f8140b9767b4ec59e43b67211517b45007989f29de7df9"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/services/TestObject.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47167cf81529c279e5c6471ea2239bc2d9a4616089754a8fad798e31257f272"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/services/TestObject.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb9a16ca10cdd7f17444174f3eedebc1e30501322a202a2e158bcd4f8695bef"}},{"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":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/services/TestObject.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"37befd8ab0c6a3ab57e5a5eb892bc059603316daa87e67bcc338545e3c0990e9"}},{"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":"jxfw-wc-loader/src/main/java/ru/croc/ctp/jxfw/wc/web/bootloader/PageBootloader.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"404da657ddc764dfc48688ee098a51b7ba481bdbd1b8babd23b978552de9d236"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u043F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u043A\u0430\u043A \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0447\u0435\u0440\u0435\u0437 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043C\u0435\u0442\u043E\u0434\u0430 (\u0432 \u0442\u0435\u0441\u0442\u0435) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposerTest.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0ced452e6cae0796c6d86f019ce0f4e39e033555b7d102544f368bcb70077c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u043F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u043A\u0430\u043A \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0447\u0435\u0440\u0435\u0437 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043C\u0435\u0442\u043E\u0434\u0430 (\u0432 \u0442\u0435\u0441\u0442\u0435) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/facade/webclient/PredicateComposerTest.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"57804a21a02c93cb40a569d2a7e5acf77cc013baad2e5f442b7d4889b476874d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u043F\u043E\u0434\u0443\u043C\u0430\u0442\u044C, \u043A\u0430\u043A \u0434\u043E\u0434\u0435\u043B\u0430\u0442\u044C \u0442\u0435\u0441\u0442, \u0447\u0442\u043E\u0431\u044B \u0443\u0447\u0438\u0442\u044B\u0432\u0430\u043B \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/load/LoadServiceTest.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb775c89fc9e36e31c5dc864c55c9bde562b8cff3f0227daacfe03a95651ed4f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME JXFW-1223"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-core-runtime/src/test/java/ru/croc/ctp/jxfw/core/load/events/EventsTest.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b795892a7008497964e7412ac0b8660fb503e9bf6871f80927f46ccb0de07a0f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //FIXME \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-eclipse-bundles/bundles/jxfw-metamodel/src/main/java/ru/croc/ctp/jxfw/metamodel/XFWConstants.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abc92bf51bb22d529d410806079d419fca95c5fe38c254fd72087b205cc7525"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //FIXME \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/solr/ToServiceGeneratorSolr.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a2dde2a60c95215bb0d77e1a02f7e2276c11f8a9e8b4334c22e1fcd3a5782e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u043A\u0430\u043A \u043B\u0443\u0447\u0448\u0435 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C \u0448\u0438\u0440\u0438\u043D\u0443 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-export-poi/src/main/java/ru/croc/ctp/jxfw/export/poi/impl/views/ExcelView.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed44aeff207f70f5fb75c44f368ae45c4029653009697f10070bc6bb42374f64"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u0434\u043B\u044F check_violation \u041D\u0435\u0442 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E API jdbc \u0434\u043B\u044F \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/exception/impl/PostgreDbExceptionParser.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db810ca2a09d27b6114a3851ce944b8221663243e894a4933314148942bb28c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u043F\u043E\u0434\u0443\u043C\u0430\u0442\u044C \u043D\u0430\u0434 \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u043E\u043C \u0432 \u0434\u043E\u043C\u0435\u043D\u043D\u044B\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/facade/webclient/DomainToServiceJpaImpl.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7992d1216b9657dcf68c4610c066a5050f7cd2cfd93f898a31c2178b084265"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043E\u0442\u0430\u0442\u044C \u0434\u043B\u044F \u0441\u0443\u0449\u043D\u043E\u0441\u0442\u0435\u0439 \u0441 \u043A\u0430\u0441\u0442\u043E\u043C\u043D\u044B\u043C \u043C\u0430\u043F\u043F\u0438\u043D\u0433\u043E\u043C \u043D\u0430 \u0442\u0430\u0431\u043B\u0438\u0446\u0443 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-jpa-runtime/src/main/java/ru/croc/ctp/jxfw/jpa/store/impl/VersionActuator.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1451e16524ef5d064d337f95ab8ea1fd07def4aab06fdda44e0e6c08a8994409"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u043F\u043E\u0441\u0442\u0430\u0440\u0430\u044E\u0441\u044C \u043E\u0431\u043E\u0439\u0442\u0438 \u0435\u0433\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 - \u0430 \u0432\u0434\u0440\u0443\u0433 \u043F\u043E\u0432\u0435\u0437\u0451\u0442 private Data.XStorageConnection m_Storage; \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/data/impl/DataProvider.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7e46b6fe8accdcf5b985435705fef3a272f859a707af7c03c98370396447ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u0412\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u0441\u0442\u043E\u0438\u0442 \u043A\u0430\u043A\u0438\u043C-\u0442\u043E \u0431\u043E\u043A\u043E\u043C \u043F\u0440\u0438\u0446\u0435\u043F\u0438\u0442\u044C customData? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/data/impl/DataProvider.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9703762096243f233de17e4ea20530a8f1f20ac201edb9f4fdb5e554d64cff6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u0417\u0430\u0432\u043E\u0434\u0438\u0442\u044C \u0441\u0432\u043E\u0451 \u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/data/impl/DataProvider.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f612921ffdf8c6bd3c5db001b9526571b53f7ed5a9b5c51b5869bfad450d0f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u0420\u0435\u0430\u043B\u0438\u0437\u043E\u0430\u0432\u0442\u044C \u043C\u0435\u0442\u043E\u0434 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u044F DataReader \u0438\u043B\u0438 DataTable \u0432 Map \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/data/impl/DataProvider.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d22531ce17a49acb08a4b1d5bf43d45f654430e7f71849f9bb9598ffc771f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u043F\u043E\u043A\u0430 \u043F\u0440\u0438\u0448\u043B\u043E\u0441\u044C public \u0441\u0434\u0435\u043B\u0430\u0442\u044C - \u0431\u044B\u043B\u043E internal \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/XslFoProfileWriter.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a7e68d9d7a3a1ffdbd61b4596468f4bf493f8ddc257c29e7a2571a9b2b6f59"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u043F\u043E\u043A\u0430 \u043F\u0440\u0438\u0448\u043B\u043E\u0441\u044C public \u0441\u0434\u0435\u043B\u0430\u0442\u044C - \u0431\u044B\u043B\u043E internal \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/XslFoProfileWriter.java"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cbaa93773354aad89ad097affbeb23cfba8dcdc304f7a00b6c19c4c43e6a24"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u043D\u0430\u0434\u043E \u0431\u0443\u0434\u0435\u0442 \u0432\u044B\u0432\u043E\u0434 \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E TransformerFactory \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/XslFoProfileWriter.java"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a7d22bff60f7e8cdcb8a00fde2a828523b3772155e486fcf56ef7c9e0f34f4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u043D\u0430\u0434\u043E \u0431\u0443\u0434\u0435\u0442 \u0432\u044B\u0432\u043E\u0434 \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E TransformerFactory \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/TransponedTable.java"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"994dc9c1914996a51fbb390c2c17211286fdcd85e725838a5d5c985b3e32214b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u043D\u0435\u0437\u043D\u0430\u044E, \u043D\u0430\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043F\u043E\u043B\u043D\u043E\u0446\u043D\u043D\u0430\u044F \u0437\u0430\u043C\u0435\u043D\u0430 writeRaw \u043D\u0430 writeCharacters \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/XslFoProfileWriter.java"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b5245c4fc2d75e65258c14d49c1fb824b81a3780a03efe472849ec361f1559"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0430, \u043D\u0430 \u043D\u0430\u043B\u0438\u0447\u0438\u0435 page-master\u0027a \u0441 \u0442\u0430\u043A\u0438\u043C \u0438\u043C\u0435\u043D\u0435\u043C? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/XslFoProfileWriter.java"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2047eaef00bcea99b7be7b441afdfced51a5fea3e34a9f67497dff29a90c227"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0442\u0443\u0442 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u043B\u0438\u0441\u044C \u0432\u044B\u0437\u043E\u0432\u044B AppendLine(string value) - \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043C\u043E\u0436\u043D\u043E \u043F\u043E\u043A\u043E\u0432\u044B\u0440\u044F\u0442\u044C\u0441\u044F. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/XslFoProfileWriter.java"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"7254632e41e0f3915e6a176f1a9affde325a8b9f881690e947b19e74197ab4ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO:\u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0441\u0442\u0438\u043B\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/fowriter/XslFoProfileWriter.java"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"91957935ec2572f6602db080f7a4733fffe77403564d62de3d6f628a90624cec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0435\u0441\u043B\u0438 \u0432\u0435\u0440\u043D\u0443\u0442 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435, \u0442\u043E \u043D\u0430\u0434\u043E \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/impl/XfwXslfoReport.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d3a79f8c4375637328642c2e1a7ea63d1b1c4f0c639ef1787407a22f857651"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u043F\u0435\u0440\u0435\u0434\u0435\u043B\u0430\u0442\u044C \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/impl/util/MacroProcessor.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"88656c5f64b06a5b756fac750baca1ed7f1685abdde2e55327769ec458153c30"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0441\u0442\u0440\u0430\u043D\u043D\u043E, \u0447\u0442\u043E \u043D\u043E\u0432\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430 \u0437\u0430\u043F\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u0443 \u043F\u0435\u0440\u0435\u0434\u0430\u043D\u043D\u043E\u0439 \u0442\u0430\u0431\u043B\u0438\u0446\u044B, \u0430 \u043D\u0435 \u0443 \u043A\u043B\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/layouts/TableLayout.java"},"region":{"startLine":2088}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cbb1bf999082f4a757a588ba308f2e9a06c264fca31bd3347bb8b30ca39ef7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u043F\u043E\u0445\u043E\u0436\u0435 \u043C\u043E\u0436\u043D\u043E \u0437\u0430\u043F\u0438\u0441\u044B\u0432\u0430\u0442\u044C InputStream \u0432\u043C\u0435\u0441\u0442\u043E \u0437\u0430\u043F\u0438\u0445\u0438\u0432\u0430\u043D\u0438\u044F \u0432\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0439 \u0444\u0430\u0439\u043B \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/core/common/Svg2Image.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e2bf2ba55772170e23dec4210c5d2a2c79293b9f6cf748dd3abb78e97676ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u043D\u0435 \u0437\u043D\u0430\u044E \u043A\u0430\u043A \u044D\u0442\u043E \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u0442\u044C, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0435\u043C \u0431\u0435\u0437 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/XslFo2ExcelRenderer.java"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"090e00d3697c20c792979fb57f928645ec9ae03a61cfdb3026951952ce0a6a18"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u043D\u0430\u0444\u0438\u0433\u0430 \u044D\u0442\u043E \u043D\u0430\u0434\u043E? \u041E\u043D\u043E \u0438 \u0442\u0430\u043A \u0432\u044B\u0437\u043E\u0432\u0435\u0442\u0441\u044F... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-reporting-xsl-fo/src/main/java/ru/croc/ctp/jxfw/reporting/xslfo/renderer/excel/common/layout/ColumnWidth.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"57118fe5e7e6f8366ac38fdcd5ff4c4bcb96aef334b8056e589a76763e77ea86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u0440\u0435\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-security/src/main/java/ru/croc/ctp/jxfw/security/impl/facade/webclient/file/LocalResourceStorePerUser.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"606b6207ec3b87ce6d599900d9eb9f044c7e78c65c2dbed43bfa881fabdb88d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u043D\u0430\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0446\u0435\u043B\u0435\u0441\u043E\u043E\u0431\u0440\u0430\u0437\u043D\u043E \u0433\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C To \u0441\u0435\u0440\u0432\u0438\u0441\u044B \u0434\u043B\u044F \u0438\u043C\u043F\u043E\u0440\u0442\u0430 \u0434\u0430\u043D\u043D\u044B\u0445 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceCreator.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3460011640d8e87f980a482e840ffa0854d2a3f7f2c106476ab69fc1c919cb73"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO CASS, CMIS, FULLTEXT, SOLR \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/TransferToServiceCreator.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9661f99102a7ba2d88a2e8dfad8a4edc84968267f9afc605c499170b7ce00d5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //FIXME: \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0442\u044C\u0441\u044F \u043F\u043E \u043D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u044E \u043F\u043E\u043B\u044F \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer-facade-gen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/transfer/jpa/TransferToServiceGeneratorJpa.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fd1aaee128a39f6f10fcaca470266f74715f25bb670c03b07fc8c39179172a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //FIXME: \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0442\u044C\u0441\u044F \u043F\u043E \u043D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u044E \u043F\u043E\u043B\u044F \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/jpa/ToServiceGeneratorJpa.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0bdcfd09f24c89515aaedeb6f1b2a8b166f99cf1467259c1a3d186e888a34b4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u0447\u0438\u0442\u0430\u0435\u043C \u0448\u0430\u043F\u043A\u0443, \u0430 \u043D\u0435 \u043F\u0440\u043E\u0441\u0442\u043E \u043F\u0440\u043E\u043B\u0438\u0441\u0442\u044B\u0432\u0430\u0435\u043C \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/json/JsonFileDtoReader.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e626bac4d2c1445a8757bcb0c0ce805485bdb6838d19bf279d11c3d1ddbc331b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u043D\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F, \u0442\u0440\u0430\u043D\u0441\u0444\u043E\u0440\u043C\u0438\u0440\u0443\u0435\u043C \u0442\u043E\u043B\u044C\u043A\u043E \u0432 json \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-transfer/src/main/java/ru/croc/ctp/jxfw/transfer/impl/imp/xml/XmlImportFileTransformer.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"965cbc415ce26d1c337c9e2cb21d9e528866abb5839b60eb80c168d4df210a54"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u0432\u044B\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u0435 \u0434\u0435\u0444\u043E\u043B\u0442\u043D\u043E\u0433\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0432 \u0440\u0430\u043D\u0442\u0430\u0439\u043C \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-wc-loader/src/main/java/ru/croc/ctp/jxfw/wc/web/config/XFilesModuleConfig.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f54220e9369e2e0068536769018c6d598feafb15dd1b07211f85315864601ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u041F\u043E\u043B\u0443\u0447\u0430\u0442\u044C \u0432\u0435\u0440\u0441\u0438\u044E \u0431\u0438\u043B\u0434\u0430 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jxfw-wc-loader/src/main/java/ru/croc/ctp/jxfw/wc/web/config/ConfigSettings.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cccf301dfd81c1b50c92315f68df33ab457b9429ac3d5a24dfb3da045384815"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u0442\u0438\u043F\u044B \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scriptgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/solr/SchemaMetadata.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec81e426b150640faf393efa92209d675ce10c68f0825753fe3bcf7cf56f576"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u043C\u0430\u043F\u043F\u0438\u043D\u0433\u0438 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scriptgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/solr/SchemaMetadata.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb224bedf3a36d5ced53a88638d2e9aaa3f949206b79d80af702b985a9cda2de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u0440\u0430\u0437\u043E\u0431\u0440\u0430\u0442\u044C\u0441\u044F \u0441 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435\u043C \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/WebClientControllerCreator.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63a10a59ae7cd7545ee27d05c8111d81290721c3ac7c6adb90fb0ef0135fe3b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u0437\u0430\u0445\u0430\u0440\u0434\u043A\u043E\u0436\u0435\u043D\u043E \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/ToServiceGenerator.java"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"257b695ca583d9c6be4c8809b5b2659b2c7fc510e90901ce233eaa21ffefa8bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO JXFW-1177"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/solr/ToServiceGeneratorSolr.java"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3b2ba8502dbfc642300e1b0a814cf6b2af75b3bdd0c02216f5b13accd787f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO JXFW-1177"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/solr/ToServiceGeneratorSolr.java"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"c056df4bc6186ff64a41f698cc9ff9e81a1870f2874aed28ea1b4e251efdd1db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO JXFW-1177"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/solr/ToServiceGeneratorSolr.java"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"541fe1bfbc93807cc2a5102275c9ccbd069bf2169a5674385472ca0df9be646f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u0440\u0430\u0437\u043E\u0431\u0440\u0430\u0442\u044C\u0441\u044F \u0432 \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0438 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/facade/solr/ToServiceGeneratorSolr.java"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9aea5e9fc6515aac2b6957625f535d7a0f380681c33cba640acd41c327af60"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u0423\u0431\u0440\u0430\u0442\u044C \u043A\u043E\u043F\u0438\u043F\u0430\u0441\u0442 \u0438\u0437 EcoreGenerator \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wcgen-maven-plugin/src/main/java/ru/croc/ctp/jxfw/generator/JsModelGenerator.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91f9ca1911eda339a0f31df14544c3578409df22e003206eedd315f35240010"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no usage examples: There are no usage examples showing how to invoke jXFW or what output it produces. Write a short \u0027how to run it\u0027 example with input and expected output."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1355eb4e127a4bc9236772ce1c46f09510aa9286e7a06d1e47f308229df19049"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3061bafa7ca6783d46b841cfdd709f02a73eb749ceccf7fa5f909bb05b883403"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e7dcd5735cf114ef3980248b467651a08a0b3e7ab007321183a2f967ba12fded"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a83aa590465047284cecc777d0163bfe47667bed60885c4106a1d9758f1de46"},"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":"cd21ab0681797722deffc775ce9909a99be5a2f6e78fd0673361448e9bf0e9fe"},"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":"654f872d77826b3f7c7b0bb77fa1d69e74336589ef77b5cc390bf7ccbd012d06"},"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":"667c9302e78b7a04c0cbfa91a9a2549a959577ccb3e581da5a91e72dd6580232"},"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":"cb47c8b4b81168e6fe60d88a0bdda020e2995d768e2e90b2ef628897d1c79f44"},"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":"54a43b8db9f470c895383578b37eed201e236f81ff41b5d15abd6f68adc5fb79"},"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":"689f20bf0be709bc68e27805d494ae2d19b07fc9a596968568b63715db6a1736"},"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":"7a89e17ad9cd2eab97c32ba6c3de6a4158667d6ce30623275d05a20a956f699e"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"86ee1dad3f746737cd6d6787a2d37c3e6d91fdd06cde12d56c85456528fc2c99"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4be574a896601f8e41a7313dd520230e16797531efb80aa17d5b6b235e30a4e"},"taxa":[{"id":"CWE-352","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":"02386fcf8eb2a9500a2071863f06644eec8a5d1279f2f9f94f5979b677328eb0"},"taxa":[{"id":"CWE-352","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":"036df3d044e3867026d07d5e856cb59ee80ac7bdc3e269496e61c41fe27f5a61"},"taxa":[{"id":"CWE-352","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":"5127db5adf5d04f9d2d503f28dd834d78b969630777e5d58766af82324102e93"},"taxa":[{"id":"CWE-352","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":"2470db6e4905bc208da79498e03a987517182357032c61b4dea81e5e47c4d0d7"},"taxa":[{"id":"CWE-352","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":"bbdfd3cfe1d519e88e2f730113e6f52a9b753900f0bc888e1d7a5a792c797fae"},"taxa":[{"id":"CWE-352","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":"7e7ca97834d1d76c0c588d0127281dd4b8011c2f8a1b26a49527c4fc8faf34e1"},"taxa":[{"id":"CWE-1004","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":"38bb768a225669bc3a5aecd168310eda2a5ae5017c871ec69d82118dce0a9cf7"},"taxa":[{"id":"CWE-614","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"ruleId":"M1","level":"note","message":{"text":"Thin README: The root README is 38 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, it found no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise \u2014 or with no heading at all \u2014 is not seen and this row may understate what the document covers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5fc8f78bec0b6b3daab9d9139ba49b687f61b54f8310b64c159df9616f47e38e"}},{"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":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 1036 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":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"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-1004","guid":"872195c9-bb07-cf51-8a32-865f4bb753ca","name":"CWE-1004","shortDescription":{"text":"CWE-1004"},"helpUri":"https://cwe.mitre.org/data/definitions/1004.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"CWE-1104","shortDescription":{"text":"CWE-1104"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"CWE-1329","shortDescription":{"text":"CWE-1329"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-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-352","guid":"2afe7bdb-7330-195f-b3bf-8cf5b789b3ae","name":"CWE-352","shortDescription":{"text":"CWE-352"},"helpUri":"https://cwe.mitre.org/data/definitions/352.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-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-614","guid":"faa8a6a5-7e9d-5d5e-afc9-020ff49d250a","name":"CWE-614","shortDescription":{"text":"CWE-614"},"helpUri":"https://cwe.mitre.org/data/definitions/614.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":24,"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."]}]}