{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"GaugeBuilder.build (cyclomatic 186): GaugeBuilder.build has cyclomatic complexity 186 (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":"Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"437efbd93b6956060610406b428035c349a288863eca1ef767bb9db6b57a4dd5"}},{"ruleId":"D1","level":"warning","message":{"text":"TidyUtils.isXMLLetter (cyclomatic 156): TidyUtils.isXMLLetter has cyclomatic complexity 156 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"969177ee65d12b3136e32ac9c21335f3aea610f3f1caab3c4f37b68f0ecf6183"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.getToken (cyclomatic 146): Lexer.getToken has cyclomatic complexity 146 (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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":1912}}}],"partialFingerprints":{"codehealthFindingId/v1":"7006939cf8b1abfa4baab16c0be5bf4965a52fe41da4bac02d805c393ca500c5"}},{"ruleId":"D1","level":"warning","message":{"text":"PPrint.printChar (cyclomatic 135): PPrint.printChar has cyclomatic complexity 135 (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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5625493b051b6a650c0176e965a5513707cecdeda0b9293404e13a928da8d92"}},{"ruleId":"D1","level":"warning","message":{"text":"Helper.drawRadialTickMarks (cyclomatic 117): Helper.drawRadialTickMarks has cyclomatic complexity 117 (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":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"7789831f467a9c0d602b510654fc1fbd508b889af5d31f065ffcaf9805639043"}},{"ruleId":"D1","level":"warning","message":{"text":"QuarterSkin.drawTickMarks (cyclomatic 115): QuarterSkin.drawTickMarks has cyclomatic complexity 115 (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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa0bfe4c64e33f626191e515bb889e6ea0c31e710e3be5e68861deb5ca3b3e9"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseInline.parse (cyclomatic 104): ParseInline.parse has cyclomatic complexity 104 (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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6dc7e1429743aad1ba11800589d54eabc0b6bec280a66ea31ef327c6228ef7"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseBlock.parse (cyclomatic 93): ParseBlock.parse has cyclomatic complexity 93 (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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2012}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36d54e461bc44b0bb6e30c0cb39ba8cf0d846955bb8bed9716ea23101a39867"}},{"ruleId":"D1","level":"warning","message":{"text":"ClockBuilder.build (cyclomatic 93): ClockBuilder.build has cyclomatic complexity 93 (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":"Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ded58e4a99075a7fbc17487e1558cf7a2bb18651713e56ab0b6e4f882b3a30d"}},{"ruleId":"D1","level":"warning","message":{"text":"TidyUtils.isXMLNamechar (cyclomatic 86): TidyUtils.isXMLNamechar has cyclomatic complexity 86 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"afeb9055b5e45cb0661512ccc1e50bf8a713ff75b70db25bdca2456fed4028f2"}},{"ruleId":"D1","level":"warning","message":{"text":"PPrint.printTree (cyclomatic 72): PPrint.printTree has cyclomatic complexity 72 (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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":2084}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8e0b651477972e8d129a85cd688732f7be79656b7ad2ddf68e4a8656d3040a"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseBody.parse (cyclomatic 58): ParseBody.parse has cyclomatic complexity 58 (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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9e4ec8aaeba76a1116ef954a5ed28a62e294cdb1deeebb8893542c7eb72ae8"}},{"ruleId":"D1","level":"warning","message":{"text":"SSLSocketFactoryFactory.getSSLContext (cyclomatic 57): SSLSocketFactoryFactory.getSSLContext 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":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62e9817a225b14c2d1a2127dcb65dbe60fa2b0013e3bbea15f39418b6647ad1"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.parseValue (cyclomatic 56): Lexer.parseValue has cyclomatic complexity 56 (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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":3210}}}],"partialFingerprints":{"codehealthFindingId/v1":"261b8d68659377c4017e2d15a4979bd2c064ded71dd2a459c1328e215d6e40ce"}},{"ruleId":"D1","level":"warning","message":{"text":"EPCollider.collide (cyclomatic 51): EPCollider.collide has cyclomatic complexity 51 (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":"Libs_XUI2D/src/org/jbox2d/collision/Collision.java"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9a07fad341f0244661e9c411a813e3ee96373899dd58dc87cd8c4220c2c757"}},{"ruleId":"D1","level":"warning","message":{"text":"QuarterSkin.drawAreasAndSections (cyclomatic 51): QuarterSkin.drawAreasAndSections has cyclomatic complexity 51 (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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"133924d8df560f2ebcf576f0c596ea651b120d12358757058b14f0fccd65d0f9"}},{"ruleId":"D1","level":"warning","message":{"text":"Report.warning (cyclomatic 49): Report.warning has cyclomatic complexity 49 (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":"Libs_JTidy/src/org/w3c/tidy/Report.java"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d237cc20b7de7cbd7b4de99853907fec2c66f3b9405218d7ca742132cad83bc3"}},{"ruleId":"D1","level":"warning","message":{"text":"World.solveTOI (cyclomatic 47): World.solveTOI has cyclomatic complexity 47 (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":"Libs_XUI2D/src/org/jbox2d/dynamics/World.java"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c98b6fb8cdbd1c2426080895ceec2211ab2e66036fc8d1b6db621002c2fc001"}},{"ruleId":"D1","level":"warning","message":{"text":"HSkin.resize (cyclomatic 43): HSkin.resize has cyclomatic complexity 43 (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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea78cb13958ffa37da2764753845317154dd8fd225242b6830f058c4f74b9c58"}},{"ruleId":"D1","level":"warning","message":{"text":"Tidy.mainExec (cyclomatic 42): Tidy.mainExec has cyclomatic complexity 42 (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":"Libs_JTidy/src/org/w3c/tidy/Tidy.java"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5c8da91c5fbf8700c1f7d4d0fcab90487f3799456e629da36b36c42b13922f"}},{"ruleId":"D1","level":"warning","message":{"text":"Tidy.parse (cyclomatic 39): Tidy.parse has cyclomatic complexity 39 (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":"Libs_JTidy/src/org/w3c/tidy/Tidy.java"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce289a2934f9f22d602af10d4ca168c63d582d9eac9180bb9df6eedffe5f36f"}},{"ruleId":"D1","level":"warning","message":{"text":"VSkin.resize (cyclomatic 39): VSkin.resize has cyclomatic complexity 39 (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":"Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdff5397fa3b1295fdcb59b4ac2e3f839d186acece8e362ce429d83201fdf1ae"}},{"ruleId":"D1","level":"warning","message":{"text":"Clean.cleanWord2000 (cyclomatic 37): Clean.cleanWord2000 has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":2110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2377c36d59b744594de40444e2d59c668c6ad234484187c161da85427304eb8c"}},{"ruleId":"D1","level":"warning","message":{"text":"Scalr.resize (cyclomatic 37): Scalr.resize has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jXUI/src/org/imgscalr/Scalr.java"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bd4adb0655ac2416676fa8eea8018f95ecdbff70004af79269cd8ab67fb3d4"}},{"ruleId":"D1","level":"warning","message":{"text":"GaugeSkin.drawAreasAndSections (cyclomatic 37): GaugeSkin.drawAreasAndSections has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f3ee192812830aac7dba96d7a0e1623984aee4c4c98cc383dcd25761af299e"}},{"ruleId":"D1","level":"warning","message":{"text":"HSkin.drawAreasAndSections (cyclomatic 37): HSkin.drawAreasAndSections has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"9213ffb73cbe52e4ed3eab289044fc30607ea151d9c62d8924a6a016d3eb4500"}},{"ruleId":"D1","level":"warning","message":{"text":"VSkin.drawAreasAndSections (cyclomatic 37): VSkin.drawAreasAndSections has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd344795ee82235c4375b27c9ddc44f1bb2ae08d043fed03038c52e5c2f4a00f"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseHTML.parse (cyclomatic 36): ParseHTML.parse has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba552407f4243295a2f9b31fb4e41628fd7bb2b5d5106bd48a5bab9161e2e73"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.fixDocType (cyclomatic 35): Lexer.fixDocType has cyclomatic complexity 35 (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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fff12dc548ba87774915242d10f712d694181928403cc7f90b1c835ea68c4e"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseRow.parse (cyclomatic 34): ParseRow.parse has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2887}}}],"partialFingerprints":{"codehealthFindingId/v1":"265c182b41d6288c015e4bedc572ae6f6d67fbeac7dcf46043910ff0a61631be"}},{"ruleId":"D1","level":"warning","message":{"text":"ParticleSystem.solveZombie (cyclomatic 34): ParticleSystem.solveZombie has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"5919d799fee6208d4a693e0d225ab1040d344b9e1663b8604628bd76b4a30373"}},{"ruleId":"D1","level":"warning","message":{"text":"QuarterSkin.resize (cyclomatic 33): QuarterSkin.resize 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3632997df5005fe183331562175a1ab5b5bc788a9055f98edd62c213895071"}},{"ruleId":"D1","level":"warning","message":{"text":"EncodingUtils.decodeUTF8BytesToChar (cyclomatic 31): EncodingUtils.decodeUTF8BytesToChar has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/EncodingUtils.java"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"620716a5028895a7bb5d49c4217577946695685b5deec878bb5d0a9a8b5cdf46"}},{"ruleId":"D1","level":"warning","message":{"text":"QuarterSkin.resizeValueText (cyclomatic 31): QuarterSkin.resizeValueText has cyclomatic complexity 31 (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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfda273ef1b1a748adee29ce3e14f76652b7502a9611bf0f4b8a141b5e772d08"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.getCDATA (cyclomatic 30): Lexer.getCDATA has cyclomatic complexity 30 (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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"be68bd3967cad53e0f05b803a53bbe244671f4f054e58b4a0453d56644409336"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseRowGroup.parse (cyclomatic 30): ParseRowGroup.parse has cyclomatic complexity 30 (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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2730}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2aee4349c33251bd148fd4e09bcf2a32643abacf8bd5fe2ed54aaf7c20756ab"}},{"ruleId":"D1","level":"warning","message":{"text":"PPrint.printAttrValue (cyclomatic 29): PPrint.printAttrValue 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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"a260830201e9e2b498bdf5f7c59cbbe82f656c83e7bb05bd2e8355b73f4bc942"}},{"ruleId":"D1","level":"warning","message":{"text":"Report.errorSummary (cyclomatic 29): Report.errorSummary 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":"Libs_JTidy/src/org/w3c/tidy/Report.java"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9053d4a6c6d03eca976701051dc3ef690ad30744ebe5cf5635d80aee2fb2965"}},{"ruleId":"D1","level":"warning","message":{"text":"World.solve (cyclomatic 29): World.solve 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":"Libs_XUI2D/src/org/jbox2d/dynamics/World.java"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f13b8a729ca26bca5d6b2e2d9df461d078285ebcb7925f3736735f4a6c365cb"}},{"ruleId":"D1","level":"warning","message":{"text":"PPrint.printXMLTree (cyclomatic 28): PPrint.printXMLTree has cyclomatic complexity 28 (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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":2381}}}],"partialFingerprints":{"codehealthFindingId/v1":"771331385904cc8f42a52ee78c29747c5dc27fe29ca88c4dcd7f66c9f8fa4f29"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.parseEntity (cyclomatic 27): Lexer.parseEntity 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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c4ba2918375258d466719724f7375b58936d16bbdb2117bb5b77888acc6419"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseTableTag.parse (cyclomatic 27): ParseTableTag.parse 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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2509}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1213f176a9ccf2b3d3943a3bcb8e9c11fab729d284069d6284e30a4ab1c3f5b"}},{"ruleId":"D1","level":"warning","message":{"text":"ModernSkin.highlightValue (cyclomatic 27): ModernSkin.highlightValue 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d259874697c0e7c368ebc31e4d58097f91bab43d33f4baeed5ef24567ea021"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutBuilder.loadLayoutHeader (cyclomatic 26): LayoutBuilder.loadLayoutHeader has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/LayoutBuilder.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf48191c01c987d0c8aa9396e3033ab5e994479fdc97823c9fb62c5f81f60fed"}},{"ruleId":"D1","level":"warning","message":{"text":"StringUtils.LoadCSV2 (cyclomatic 26): StringUtils.LoadCSV2 has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/StringUtils.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c8f2012a8b25bcab250a1d496722cc5c62c02f16517a39f0a5a3493ef10c30"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.parseAttribute (cyclomatic 26): Lexer.parseAttribute has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":2959}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb22a4c1cf871130769c64cb5047c1d6dcc658aa53b5ee6cca4c5ae5d584ca6"}},{"ruleId":"D1","level":"warning","message":{"text":"1.run (cyclomatic 25): 1.run 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":"Libs_Net/src/anywheresoftware/b4a/net/SMTPWrapper.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7082e96271f7378d0ea9a0b4f759c22a072da9180086129e12b3fb3b642b0d"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.setXHTMLDocType (cyclomatic 25): Lexer.setXHTMLDocType 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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50b5a70a45e905159c439d1a08b9769d1f77d42839e3cbb1e3318344d993077"}},{"ruleId":"D1","level":"warning","message":{"text":"OS.isOs (cyclomatic 25): OS.isOs 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":"Libs_Shell/src/org/apache/commons/exec/OS.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dc61b1a56dd905bd181e6fba1e5f4764d05dd2793a295e83f7c549ede5d99f"}},{"ruleId":"D1","level":"warning","message":{"text":"PolygonShape.set (cyclomatic 25): PolygonShape.set 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":"Libs_XUI2D/src/org/jbox2d/collision/shapes/PolygonShape.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b650e3283638b33dd792cb587a4691be28c2751c25ba51287a323efbd12c2d"}},{"ruleId":"D1","level":"warning","message":{"text":"AIN.run (cyclomatic 24): AIN.run 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":"Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/AsyncStreams.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ed477e98911a26bb3bb5e911fb8b98c1fda90116d159637bc0f8f82aa46eed"}},{"ruleId":"D1","level":"warning","message":{"text":"Island.solve (cyclomatic 24): Island.solve 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":"Libs_XUI2D/src/org/jbox2d/dynamics/Island.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"f055ccec66b8f054d2166abe41676d3a0dd0149bd491e77cad50936e4dd56a60"}},{"ruleId":"D1","level":"warning","message":{"text":"VoronoiDiagram.generate (cyclomatic 24): VoronoiDiagram.generate 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":"Libs_XUI2D/src/org/jbox2d/particle/VoronoiDiagram.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"55530a11a93e8d45ba61ced51d1c0ebbb0341718d83a247a79dd389f6f809ebb"}},{"ruleId":"D1","level":"warning","message":{"text":"PPrint.printScriptStyle (cyclomatic 23): PPrint.printScriptStyle 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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6900a483be8ffda95cd1a76a47ca5c94edd063903cd4419e3fce3c55345c84"}},{"ruleId":"D1","level":"warning","message":{"text":"FTPClient._openDataConnection_ (cyclomatic 23): FTPClient._openDataConnection_ 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":"Libs_Net/src/org/apache/commons/net/ftp/FTPClient.java"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0f5cc896c383686ea68a70a7648816f33c0bc802adbbc1e9752af748aadf2f"}},{"ruleId":"D1","level":"warning","message":{"text":"Clock.checkAlarms (cyclomatic 23): Clock.checkAlarms 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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a0a09eb6d2102bb4e5228ceea0c0165245c4270049c80be37dd51d1a28dba1"}},{"ruleId":"D1","level":"warning","message":{"text":"FGaugeBuilder.build (cyclomatic 23): FGaugeBuilder.build has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/FGaugeBuilder.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca4070325dd33ad5f9ea27ae649e1fb4e2c7f87cdd00fc73ee296878b76d26e"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerWrapper.Start (cyclomatic 22): ServerWrapper.Start 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":"Libs_Server/src/anywheresoftware/b4j/object/ServerWrapper.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be7931e2ba5d6bb5328bdf2f08b39fe0f8290a0531ebe085d19d9e7cdec5d47"}},{"ruleId":"D1","level":"warning","message":{"text":"World.drawDebugData (cyclomatic 22): World.drawDebugData 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":"Libs_XUI2D/src/org/jbox2d/dynamics/World.java"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"639a88173a9e37f1e85b9745915512079e3ada366e86cb69b66bda36e0111cb8"}},{"ruleId":"D1","level":"warning","message":{"text":"DigitalSkin.drawTickMarks (cyclomatic 22): DigitalSkin.drawTickMarks 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96354580317da4e33b2abcfbe7a37e08d323046b169ba3d32d905294259dbc5"}},{"ruleId":"D1","level":"warning","message":{"text":"NodeWrapper.SetSize (cyclomatic 21): NodeWrapper.SetSize 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":"Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ce50540e33a0eeb7708c4b13505c307161a4b83ed4d4b1f798a855ee802d67"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientComms.shutdownConnection (cyclomatic 21): ClientComms.shutdownConnection has cyclomatic complexity 21 (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":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/ClientComms.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa1ee1e539919cda92e01d1b1d85d73be8cdbde6573f1654135c2cd5423c31f"}},{"ruleId":"D1","level":"warning","message":{"text":"MLSxEntryParser.parseFTPEntry (cyclomatic 21): MLSxEntryParser.parseFTPEntry 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":"Libs_Net/src/org/apache/commons/net/ftp/parser/MLSxEntryParser.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d31d321bfb28fcf89c75d43b8bb1bbc2027d843856003b48afc5922f784472"}},{"ruleId":"D1","level":"warning","message":{"text":"GaugeSkin.handleEvents (cyclomatic 21): GaugeSkin.handleEvents 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a30d4256d947b634629a106268f9f68c774a7d56c307878730f1eede69a777"}},{"ruleId":"D1","level":"warning","message":{"text":"HSkin.handleEvents (cyclomatic 21): HSkin.handleEvents 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5602129b66ddcfa3645393d61bc79318346691c93631d3c6d1fc3ca2c0ebd16"}},{"ruleId":"D1","level":"warning","message":{"text":"QuarterSkin.handleEvents (cyclomatic 21): QuarterSkin.handleEvents 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d91830589e1e29bc1dabb991c6e55c6e335d2934e9cbecf5c21ad94aeb2cfd"}},{"ruleId":"D1","level":"warning","message":{"text":"VSkin.handleEvents (cyclomatic 21): VSkin.handleEvents 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c7ca9f6063ab22f72ceed029ce7161e819f2754d1588a271824dde39c4c455"}},{"ruleId":"D1","level":"warning","message":{"text":"Common.NotInitialized (cyclomatic 20): Common.NotInitialized 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":"jCore/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9ee948b8acd81439c9e2a4479f8cccd976f3f5324e031edfe36a3b78f4cbe7"}},{"ruleId":"D1","level":"warning","message":{"text":"CheckColor.check (cyclomatic 20): CheckColor.check 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":"Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa03ad73af07873e07eb2d0ab18a2a9425ea46e8ee4c597509a4f5b7740664d"}},{"ruleId":"D1","level":"warning","message":{"text":"DOMNodeImpl.replaceChild (cyclomatic 20): DOMNodeImpl.replaceChild 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":"Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"553c7b2d74e9dfb44e01989cfa26731ae1d0cfabbe6ce6f9d637ae205265d4d9"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.findGivenVersion (cyclomatic 20): Lexer.findGivenVersion 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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"943446f5a524dcf63f102982114bae467db4181c25742f5571ccecb2eb6d119a"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseList.parse (cyclomatic 20): ParseList.parse 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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"410a434d8be2bc3f6497d62cb82ddcd5111102ae95538a1226e379db77a32e02"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseDefList.parse (cyclomatic 20): ParseDefList.parse 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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97e1eeddd1415b459854abe0b3327590a752ff84c76eabcc878dd79fe131b5b"}},{"ruleId":"D1","level":"warning","message":{"text":"ParsePre.parse (cyclomatic 20): ParsePre.parse 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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"961cd3a06f73900e19299e60e74d36230df4babdff3ba84504428b6d7a238a23"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseNoFrames.parse (cyclomatic 20): ParseNoFrames.parse 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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":3053}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba1b416dd9ba587aa2ef25421a4ea37d8e5d835e4aff74355a44b940668c99e"}},{"ruleId":"D1","level":"warning","message":{"text":"GaugeSkin.drawKnob (cyclomatic 20): GaugeSkin.drawKnob 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"38880b74f5c6e1542f8934da8d000c5a08703d14d5014b1a038df580aa222e58"}},{"ruleId":"D1","level":"warning","message":{"text":"HSkin.drawKnob (cyclomatic 20): HSkin.drawKnob 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58b6154a612d9ae0d3e24c41d5ca69a3b8dbcb8cd66d2f12ae6c6a131802edc"}},{"ruleId":"D1","level":"warning","message":{"text":"QuarterSkin.drawKnob (cyclomatic 20): QuarterSkin.drawKnob 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"8593259ba1ca29c3e530d39e9e8d4e705729d5fe4b8243b8c50e151bdb2837d8"}},{"ruleId":"D1","level":"warning","message":{"text":"VSkin.drawKnob (cyclomatic 20): VSkin.drawKnob 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"7210aa53aab89ee57b95d745bfdf57b6e8161e2579b37cd5f296e4dcbd065a38"}},{"ruleId":"D1","level":"warning","message":{"text":"FXMLBuilder.setEventsAndVariables (cyclomatic 19): FXMLBuilder.setEventsAndVariables has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/FXMLBuilder.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e740f91054fa1ac3b15826688020ef31348df14d29c7bc2c6ed0a6b32c1bde"}},{"ruleId":"D1","level":"warning","message":{"text":"B4XSerializator.writeObject (cyclomatic 19): B4XSerializator.writeObject has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/B4XSerializator.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfdc86710dc1f5efeffa94534a8693c6a4ca145082d41a066e7ce16d4bbbc6a"}},{"ruleId":"D1","level":"warning","message":{"text":"DirectionsRequest.convertToJavascriptString (cyclomatic 19): DirectionsRequest.convertToJavascriptString has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsRequest.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4b63e1f38b4eb49b87b364545c5343bcbd13fcd1830bb219a2ce8ea6a9d89d"}},{"ruleId":"D1","level":"warning","message":{"text":"UnixFTPEntryParser.parseFTPEntry (cyclomatic 19): UnixFTPEntryParser.parseFTPEntry has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c520fbd1a40d1ed05a049939021fb7233a97c55f81f5c5160abd1423fa534619"}},{"ruleId":"D1","level":"warning","message":{"text":"ContactSolver.solveVelocityConstraints (cyclomatic 19): ContactSolver.solveVelocityConstraints has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"51300a79817137468a93a334a64d514c2af15c518dd6924a3a3e45da91f11d1f"}},{"ruleId":"D1","level":"warning","message":{"text":"ParticleSystem.createParticleGroup (cyclomatic 19): ParticleSystem.createParticleGroup has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb0e3cb70562005cb31d6cca674f7014cf90714d028327c6c355d57c73c030b"}},{"ruleId":"D1","level":"warning","message":{"text":"ParticleSystem.solve (cyclomatic 19): ParticleSystem.solve has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"06836cb1b651a3a5deea16f2463049fb6249d09831632bf8bc0e108f5a468cd3"}},{"ruleId":"D1","level":"warning","message":{"text":"HSkin.drawMarkers (cyclomatic 19): HSkin.drawMarkers has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9771624c121756635d2f7a7906406cd8694aac12fbf481872e007a94224226"}},{"ruleId":"D1","level":"warning","message":{"text":"LinearSkin.setBar (cyclomatic 19): LinearSkin.setBar has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60b4d6b20894cf64daed78d34737bb4829fa05291afff5f393e332a5310820e"}},{"ruleId":"D1","level":"warning","message":{"text":"VSkin.drawMarkers (cyclomatic 19): VSkin.drawMarkers has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d38c6dd77892bba999dcdb371b6ecb3fc1eb3d96636a6186101953fe56cd519"}},{"ruleId":"D1","level":"warning","message":{"text":"NodeWrapper.buildFont (cyclomatic 18): NodeWrapper.buildFont 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":"Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cce6410770fcbd71a55a2cc74e8bb4dd1249c71cd580ac650b134ddc3df9090"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.canPrune (cyclomatic 18): Lexer.canPrune has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":3892}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1c6ceaf95d98dffa7fd8b3e973c3ade8a9ad5a2b7f62210f2edb8e5dbdbacc"}},{"ruleId":"D1","level":"warning","message":{"text":"PPrint.printAttribute (cyclomatic 18): PPrint.printAttribute has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9b5d025f638a0d88bde491589f653f3d1eec2f43db98818637790953f6fade"}},{"ruleId":"D1","level":"warning","message":{"text":"Base64.encode (cyclomatic 18): Base64.encode 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":"Libs_Net/src/org/apache/commons/net/util/Base64.java"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"1beb75f33ff19efb4ab624328b328bd6b00ee6bd00dff3eddb19042b9e715a56"}},{"ruleId":"D1","level":"warning","message":{"text":"TimeOfImpact.timeOfImpact (cyclomatic 18): TimeOfImpact.timeOfImpact 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":"Libs_XUI2D/src/org/jbox2d/collision/TimeOfImpact.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"303686bc4c2107d6e851473380838ad39e44ab94e7aaf0c4f2c7f0ec9a7fe222"}},{"ruleId":"D1","level":"warning","message":{"text":"DigitalSkin.setBar (cyclomatic 18): DigitalSkin.setBar 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd058ba8e62506fb865376a717fd1ea6af7b7180f472e6ed6eab1ae5e937b68"}},{"ruleId":"D1","level":"warning","message":{"text":"GaugeSkin.drawMarkers (cyclomatic 18): GaugeSkin.drawMarkers has cyclomatic complexity 18 (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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"6688c2b3cbb656bde0945409d0bd4935e1c3db743932210d1a5f4bfb6daa56d0"}},{"ruleId":"D1","level":"warning","message":{"text":"GaugeSkin.drawNeedle (cyclomatic 18): GaugeSkin.drawNeedle 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55abc87e36b08e8605ec9ded82ef94837344a9c160304ca4e2c32aad95607ea"}},{"ruleId":"D1","level":"warning","message":{"text":"LinearSkin.resize (cyclomatic 18): LinearSkin.resize 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48afa9602e5e1c13f4b5d872cb8d8997adb04f3ab13ddffc62261f8b0a5031b"}},{"ruleId":"D1","level":"warning","message":{"text":"QuarterSkin.drawMarkers (cyclomatic 18): QuarterSkin.drawMarkers has cyclomatic complexity 18 (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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9970a2e26c7c7972869a44d9d079ffb3df589f834bbb6902a080f57379c2df9f"}},{"ruleId":"D1","level":"warning","message":{"text":"SimpleDigitalSkin.setBar (cyclomatic 18): SimpleDigitalSkin.setBar 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bbd024cddea90ed1508731e220ff19214cfe864c2c0bd6e570aaa277cbfef6"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuBarWrapper.createMenuItem (cyclomatic 17): MenuBarWrapper.createMenuItem 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":"Libs_jFX/src/anywheresoftware/b4j/objects/MenuItemWrapper.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd8d5f6bc0224e50a1cc9f94589428ca9f7a86619d15ff449c03387800556ef"}},{"ruleId":"D1","level":"warning","message":{"text":"Base64.encodeBytesToBytes (cyclomatic 17): Base64.encodeBytesToBytes 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":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"e498c66a3bcbe4db807248d70d5119bd593f8ca8c4dc5807b3cc26078249af2f"}},{"ruleId":"D1","level":"warning","message":{"text":"InputStream.read (cyclomatic 17): InputStream.read 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":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4074a0d0b4cff050f4c3b2329976903cc8d40ebcca294adf71ae2ba413be6e"}},{"ruleId":"D1","level":"warning","message":{"text":"CheckUrl.check (cyclomatic 17): CheckUrl.check 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":"Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a249b02b0f4358ebd7c3a0a76c7b53dfa949bb0469513934a4e0a6ebfa7f67e"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer.parseServerInstruction (cyclomatic 17): Lexer.parseServerInstruction 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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":3099}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdd72e60257583435854d33d47ff21fe763f80dcd278424a0c05f3c8f3918b3"}},{"ruleId":"D1","level":"warning","message":{"text":"Node.repairDuplicateAttributes (cyclomatic 17): Node.repairDuplicateAttributes 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":"Libs_JTidy/src/org/w3c/tidy/Node.java"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa39d33ff66d7c1566d6550af7b07719e952f0bc0376121d8e89b09f2d0f315"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseHead.parse (cyclomatic 17): ParseHead.parse 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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2426fb1d3827b727ca11563c685108190b36878859fdf373129c5ea28ce515"}},{"ruleId":"D1","level":"warning","message":{"text":"MqttWireMessage.createWireMessage (cyclomatic 17): MqttWireMessage.createWireMessage has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttWireMessage.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"789be9aee192a7b0547233e19873a12e1e38ea26868ea9444c57ac5ad3af78ac"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultFTPFileEntryParserFactory.createFileEntryParser (cyclomatic 17): DefaultFTPFileEntryParserFactory.createFileEntryParser has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f6403c6014fbe052963a90f7c0517dba49786c931dca1e96aed27a2dbe00d8"}},{"ruleId":"D1","level":"warning","message":{"text":"StringUtils.stringSubstitution (cyclomatic 17): StringUtils.stringSubstitution 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":"Libs_Shell/src/org/apache/commons/exec/util/StringUtils.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b68310839f4c6579732b118d56e016d0f05a843d0e9500d7f18c314fdff677"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandLine.translateCommandline (cyclomatic 17): CommandLine.translateCommandline 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":"Libs_Shell/src/org/apache/commons/exec/CommandLine.java"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66d2b0d1b4e98e98cfd27d1f92cf6df0b7c64bf047745a6a19287058e5b2ab3"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicTree.balance (cyclomatic 17): DynamicTree.balance 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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd39582f8966083344bd9497a4d40721076e87ce1a77ac90956eb25ee6de5e4"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicTree.raycast (cyclomatic 17): DynamicTree.raycast 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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9e7b311e84c0f268f63b7aaf37f75cf2702ca6530d333a685a4d5b503a6934"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicTreeFlatNodes.balance (cyclomatic 17): DynamicTreeFlatNodes.balance 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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce18e65f244a573c1ada14942c552e84da9a260cce809ec7512f9aab81df918"}},{"ruleId":"D1","level":"warning","message":{"text":"ContactManager.addPair (cyclomatic 17): ContactManager.addPair 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":"Libs_XUI2D/src/org/jbox2d/dynamics/ContactManager.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4da2828eaafd5fc4dd932e58f7e7c7324ea0759877475997fcc1feb60e90318"}},{"ruleId":"D1","level":"warning","message":{"text":"ConicalGradient.getRoundImage (cyclomatic 17): ConicalGradient.getRoundImage 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":"Libs_jGauges/src/eu/hansolo/medusa/tools/ConicalGradient.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"419a1b68d45b8a7941335089670e80d2cc4c41c717911aaaa239cfd252296783"}},{"ruleId":"D1","level":"warning","message":{"text":"EncodingUtils.encodeCharToUTF8Bytes (cyclomatic 16): EncodingUtils.encodeCharToUTF8Bytes 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":"Libs_JTidy/src/org/w3c/tidy/EncodingUtils.java"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"3306b842cfe7a91a581f6d90b1d9ece1d3665f5c20d2333845bd61953606906d"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicTreeFlatNodes.raycast (cyclomatic 16): DynamicTreeFlatNodes.raycast 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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"736eb6a7f1b9a80d90e0ee942800376fa6d822006a94420fbbdd5a0397f16c13"}},{"ruleId":"D1","level":"warning","message":{"text":"Distance.distance (cyclomatic 16): Distance.distance 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":"Libs_XUI2D/src/org/jbox2d/collision/Distance.java"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38021c78284573e0d5e24518bf02fb5ee62d32f761f9a6f613c25c18dd55b71"}},{"ruleId":"D1","level":"warning","message":{"text":"ParticleSystem.computeDepthForGroup (cyclomatic 16): ParticleSystem.computeDepthForGroup 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":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"445cb69bfc786de65bb7e1b37cd5bc8e8cfb5cbade4072dac23c4e9acb2251b9"}},{"ruleId":"D1","level":"warning","message":{"text":"Scalr.apply (cyclomatic 16): Scalr.apply 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":"Libs_jXUI/src/org/imgscalr/Scalr.java"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1d387819d09c462d8c17b4088e6f7dac8e1a98380612abdb3eb93f8cb45a3f"}},{"ruleId":"D1","level":"warning","message":{"text":"AmpSkin.drawTickMarks (cyclomatic 16): AmpSkin.drawTickMarks 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"e353520612b63b9f9e1cbebd1063633d762abd9fda632b07daddba9900b18572"}},{"ruleId":"D1","level":"warning","message":{"text":"PlainAmpSkin.drawTickMarks (cyclomatic 16): PlainAmpSkin.drawTickMarks 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da00292770d494480957d3bb7a760952599cebd6e47b0d574d704878241afce"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.getToken (cognitive 407): Lexer.getToken has cognitive complexity 407 (threshold 15). Drivers by points: if/else 108 (358 pts), boolean chains 22, loops 6 (22 pts), ternaries 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 269). 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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":1912}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83217a3034fa26854b8b435858483d13b481c028d5730b7cf5d8263ee785566"}},{"ruleId":"D2","level":"warning","message":{"text":"Helper.drawRadialTickMarks (cognitive 333): Helper.drawRadialTickMarks has cognitive complexity 333 (threshold 15). Drivers by points: if/else 63 (172 pts), ternaries 39 (130 pts), match/switch 6 (19 pts), boolean chains 8, loops 2 (4 pts) (nesting depth added 215). 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":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef98c58102aa17831eb58253a462a13fa9ba29d9f8931c81c0f20e7c0a05d22"}},{"ruleId":"D2","level":"warning","message":{"text":"QuarterSkin.drawTickMarks (cognitive 311): QuarterSkin.drawTickMarks has cognitive complexity 311 (threshold 15). Drivers by points: if/else 59 (153 pts), ternaries 38 (128 pts), match/switch 6 (18 pts), boolean chains 8, loops 2 (4 pts) (nesting depth added 198). 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f71c01167a5af6ee966dfa98e5979945362eee479eefea8cf54e51e6c97a64"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseInline.parse (cognitive 245): ParseInline.parse has cognitive complexity 245 (threshold 15). Drivers by points: if/else 76 (208 pts), boolean chains 28, loops 3 (9 pts) (nesting depth added 138). 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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e92253499efb29c2a0592b0c77afe392c1d01827abdda5ab2b7181739daa4ec"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseBlock.parse (cognitive 244): ParseBlock.parse has cognitive complexity 244 (threshold 15). Drivers by points: if/else 68 (199 pts), loops 6 (23 pts), boolean chains 22 (nesting depth added 148). 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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2012}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd6a95100bbd547c33481ec3e73cdd909dc3584b9db498b558f4aa9669670a3"}},{"ruleId":"D2","level":"warning","message":{"text":"GaugeBuilder.build (cognitive 162): GaugeBuilder.build has cognitive complexity 162 (threshold 15). Drivers by points: if/else 155 (159 pts), match/switch 1 (2 pts), loops 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":"Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee734c70559eb358a40f2c46d0dfccad62c750600f693fefd3589ac2b3ee5623"}},{"ruleId":"D2","level":"warning","message":{"text":"TidyUtils.isXMLLetter (cognitive 155): TidyUtils.isXMLLetter has cognitive complexity 155 (threshold 15). Drivers by points: boolean chains 155. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"53644fbf0c8976a2bbb7a642f9c99a784657d4df6e8ad8e340e3fb7fd7185af9"}},{"ruleId":"D2","level":"warning","message":{"text":"PPrint.printChar (cognitive 154): PPrint.printChar has cognitive complexity 154 (threshold 15). Drivers by points: if/else 47 (86 pts), boolean chains 45, match/switch 3 (12 pts), loops 4 (11 pts) (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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2b3c5814a55fb96a371884088e650d80dc408988cf5c4b2e47404ee6016c26"}},{"ruleId":"D2","level":"warning","message":{"text":"PPrint.printTree (cognitive 150): PPrint.printTree has cognitive complexity 150 (threshold 15). Drivers by points: if/else 43 (86 pts), loops 7 (27 pts), boolean chains 24, ternaries 3 (13 pts) (nesting depth added 73). 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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":2084}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b833cecb5a87b631ac7a980d3abc769e7a034ecc6a8fd0a238b722a18afeee"}},{"ruleId":"D2","level":"warning","message":{"text":"QuarterSkin.drawAreasAndSections (cognitive 136): QuarterSkin.drawAreasAndSections has cognitive complexity 136 (threshold 15). Drivers by points: ternaries 22 (78 pts), if/else 19 (41 pts), boolean chains 13, loops 2 (4 pts) (nesting depth added 80). 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4e306741e7d5ba8553de5277c7d68422757eb3b63cb338883aa7426caa2074"}},{"ruleId":"D2","level":"warning","message":{"text":"World.solveTOI (cognitive 128): World.solveTOI has cognitive complexity 128 (threshold 15). Drivers by points: if/else 28 (98 pts), loops 8 (18 pts), boolean chains 12 (nesting depth added 80). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/World.java"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca3b8ef5db9f85769996b7d81c26055e5b9e79098c8cb282f1d1cd1d8fa2fd3"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseBody.parse (cognitive 124): ParseBody.parse has cognitive complexity 124 (threshold 15). Drivers by points: if/else 43 (106 pts), boolean chains 17, loops 1 (nesting depth added 63). 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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"7545dd7bf50d1de3c942fc402f129c38d898c9cdfce4d7e2d941481f6234e34f"}},{"ruleId":"D2","level":"warning","message":{"text":"SSLSocketFactoryFactory.getSSLContext (cognitive 121): SSLSocketFactoryFactory.getSSLContext has cognitive complexity 121 (threshold 15). Drivers by points: ternaries 20 (55 pts), if/else 25 (38 pts), error handling 12 (26 pts), boolean chains 2 (nesting depth added 62). 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":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a504bf57bc360d2401586994af6168f30429c4c6603cc19914ebe4dbdfa280"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.parseValue (cognitive 115): Lexer.parseValue has cognitive complexity 115 (threshold 15). Drivers by points: if/else 41 (91 pts), boolean chains 13, loops 5 (9 pts), ternaries 1 (2 pts) (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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":3210}}}],"partialFingerprints":{"codehealthFindingId/v1":"3524a39d0c456e48bff91fcf63685d462c76864c0c62c495735045e3c6133083"}},{"ruleId":"D2","level":"warning","message":{"text":"GaugeSkin.drawAreasAndSections (cognitive 110): GaugeSkin.drawAreasAndSections has cognitive complexity 110 (threshold 15). Drivers by points: ternaries 14 (58 pts), if/else 19 (41 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 68). 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca551d72543793536a0c7cc920e6287568314a1b016dc8669aa9c241fdceb4ae"}},{"ruleId":"D2","level":"warning","message":{"text":"HSkin.drawAreasAndSections (cognitive 110): HSkin.drawAreasAndSections has cognitive complexity 110 (threshold 15). Drivers by points: ternaries 14 (58 pts), if/else 19 (41 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 68). 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb2317e9d5a0128acf682d3ca00e176fef0922ecf45c06c5af6894bf629292f"}},{"ruleId":"D2","level":"warning","message":{"text":"VSkin.drawAreasAndSections (cognitive 110): VSkin.drawAreasAndSections has cognitive complexity 110 (threshold 15). Drivers by points: ternaries 14 (58 pts), if/else 19 (41 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 68). 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7f48c44958c5889cbdb5437a89eb8d78d5b5bfe8f79c512cb4bf617ebcd2c3"}},{"ruleId":"D2","level":"warning","message":{"text":"EPCollider.collide (cognitive 97): EPCollider.collide has cognitive complexity 97 (threshold 15). Drivers by points: if/else 50 (76 pts), boolean chains 13, loops 3 (4 pts), ternaries 2 (4 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/Collision.java"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8840d079e3b4732846ecb6a8f466aaacb309fcdefa5c3a34645a8194b198b37"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutBuilder.loadLayoutHeader (cognitive 89): LayoutBuilder.loadLayoutHeader has cognitive complexity 89 (threshold 15). Drivers by points: if/else 24 (76 pts), loops 3 (8 pts), error handling 1 (4 pts), boolean chains 1 (nesting depth added 60). 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":"Libs_jFX/src/anywheresoftware/b4j/objects/LayoutBuilder.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0fa6b52b58790f3c099c70549a701e303482c42e367719d5ebe68c9b92ea72"}},{"ruleId":"D2","level":"warning","message":{"text":"HSkin.resize (cognitive 87): HSkin.resize has cognitive complexity 87 (threshold 15). Drivers by points: ternaries 25 (73 pts), if/else 6 (8 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 53). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ae98b376614b490ff5163e214edad4d979a02ecd18f85008af84d5426869e0"}},{"ruleId":"D2","level":"warning","message":{"text":"TidyUtils.isXMLNamechar (cognitive 85): TidyUtils.isXMLNamechar has cognitive complexity 85 (threshold 15). Drivers by points: boolean chains 85. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f27b860805711ff3712660e0e77a608386ef6328236df636937fa4464eab254"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseHTML.parse (cognitive 81): ParseHTML.parse has cognitive complexity 81 (threshold 15). Drivers by points: if/else 29 (71 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"97199662489e0cf99f2fbb89670f8ea755e877f369fc6fb6d6fbddf121d1b9e8"}},{"ruleId":"D2","level":"warning","message":{"text":"ClockBuilder.build (cognitive 80): ClockBuilder.build has cognitive complexity 80 (threshold 15). Drivers by points: if/else 76 (77 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b9739d7916f143a22ef55df2caf914ba92ad51bd83bcc456f4a3f35ced73c1"}},{"ruleId":"D2","level":"warning","message":{"text":"AIN.run (cognitive 79): AIN.run has cognitive complexity 79 (threshold 15). Drivers by points: if/else 20 (61 pts), loops 3 (9 pts), ternaries 1 (5 pts), error handling 2 (4 pts) (nesting depth added 53). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/AsyncStreams.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82469d79a09fa03f05dd1a5060bdcb59ed48afb1be392f27d13a44dbf5e890f"}},{"ruleId":"D2","level":"warning","message":{"text":"Clean.cleanWord2000 (cognitive 77): Clean.cleanWord2000 has cognitive complexity 77 (threshold 15). Drivers by points: if/else 23 (59 pts), boolean chains 13, loops 2 (5 pts) (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":2110}}}],"partialFingerprints":{"codehealthFindingId/v1":"80faef15a230cc2314ad6ae8377031e3c0eb072999fa1a97604463363f882d9d"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.getCDATA (cognitive 74): Lexer.getCDATA has cognitive complexity 74 (threshold 15). Drivers by points: if/else 23 (56 pts), loops 4 (14 pts), boolean chains 4 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b30fcf607c0ce42a85ad067ce4facd9bfd8e7c5d4ac1bfb6d35aa61814a5c2"}},{"ruleId":"D2","level":"warning","message":{"text":"Tidy.parse (cognitive 74): Tidy.parse has cognitive complexity 74 (threshold 15). Drivers by points: if/else 34 (66 pts), boolean chains 8 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Tidy.java"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"02daf62b2295d08010a0e0a349b83df2589deecc0b0f6d7ca1ad4d86c2fe56f7"}},{"ruleId":"D2","level":"warning","message":{"text":"Tidy.mainExec (cognitive 72): Tidy.mainExec has cognitive complexity 72 (threshold 15). Drivers by points: if/else 22 (42 pts), error handling 3 (8 pts), loops 3 (8 pts), boolean chains 5, match/switch 1 (5 pts), ternaries 1 (4 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Tidy.java"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e7ee30b1e115ea3f802b5ddfcba8a52c2c77fb3ef82b0510d3f99ebf2a6495"}},{"ruleId":"D2","level":"warning","message":{"text":"VSkin.resize (cognitive 70): VSkin.resize has cognitive complexity 70 (threshold 15). Drivers by points: ternaries 21 (56 pts), if/else 6 (8 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"6291749b864e6868176d5eda16a7a4c95f78cffd0404b3f9e52e6e442abfc049"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystem.solveZombie (cognitive 67): ParticleSystem.solveZombie has cognitive complexity 67 (threshold 15). Drivers by points: if/else 21 (51 pts), loops 14 (15 pts), boolean chains 1 (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":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd838a6fe6637cb0369553efbc1c5b0a7c91b019700a1a636192d0f850296832"}},{"ruleId":"D2","level":"warning","message":{"text":"VoronoiDiagram.generate (cognitive 67): VoronoiDiagram.generate has cognitive complexity 67 (threshold 15). Drivers by points: if/else 14 (51 pts), loops 9 (16 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/VoronoiDiagram.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb3a143bcb046843d7d2ec71e41905405239effc3d1563da928c6e6a4433da0"}},{"ruleId":"D2","level":"warning","message":{"text":"PPrint.printAttrValue (cognitive 64): PPrint.printAttrValue has cognitive complexity 64 (threshold 15). Drivers by points: if/else 23 (49 pts), loops 2 (6 pts), ternaries 2 (5 pts), boolean chains 4 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d80b8aa0d10f03684dfdf6577e2d34c06c9e9f749a4e5d8346a61c265219ab"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseRow.parse (cognitive 64): ParseRow.parse has cognitive complexity 64 (threshold 15). Drivers by points: if/else 20 (48 pts), boolean chains 10, loops 3 (6 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2887}}}],"partialFingerprints":{"codehealthFindingId/v1":"e949562c2db41d2366b5a149f822f3308db37e5db0c2405d25bc9bb204c9859f"}},{"ruleId":"D2","level":"warning","message":{"text":"World.solve (cognitive 64): World.solve has cognitive complexity 64 (threshold 15). Drivers by points: if/else 15 (45 pts), loops 10 (16 pts), boolean chains 3 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/World.java"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"a349179f475680ca922f4930bf089eee006de8fc97033b6e7cfe9e392914f9df"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.fixDocType (cognitive 60): Lexer.fixDocType has cognitive complexity 60 (threshold 15). Drivers by points: if/else 26 (53 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90d699d703aa62f4b88953262e23c4a8c4a2c01eded8c707084911f1c9fcc3f"}},{"ruleId":"D2","level":"warning","message":{"text":"StringUtils.LoadCSV2 (cognitive 59): StringUtils.LoadCSV2 has cognitive complexity 59 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 6 (11 pts), ternaries 2 (6 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/StringUtils.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f181c7933948028d7dada383c17981f0ebb4f66437f4b0161e3940fabe63c524"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseRowGroup.parse (cognitive 59): ParseRowGroup.parse has cognitive complexity 59 (threshold 15). Drivers by points: if/else 20 (48 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2730}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c23073f3de054a939f6a5d64a4110d5a1a4060363d60d7f4a6294a01fcc2f1"}},{"ruleId":"D2","level":"warning","message":{"text":"DigitalSkin.drawTickMarks (cognitive 58): DigitalSkin.drawTickMarks has cognitive complexity 58 (threshold 15). Drivers by points: if/else 13 (34 pts), ternaries 7 (20 pts), boolean chains 3, loops 1 (nesting depth added 34). 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"733cf631eac2bc88ad7c53427a9a085a1c2730df2434f73c69c1a46676072d0b"}},{"ruleId":"D2","level":"warning","message":{"text":"EncodingUtils.decodeUTF8BytesToChar (cognitive 57): EncodingUtils.decodeUTF8BytesToChar has cognitive complexity 57 (threshold 15). Drivers by points: if/else 23 (42 pts), loops 3 (8 pts), boolean chains 7 (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":"Libs_JTidy/src/org/w3c/tidy/EncodingUtils.java"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c3d2e7d7ce967a7845417219961c6bf3253eb3071a709c10ac841e27b08b01"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.parseEntity (cognitive 55): Lexer.parseEntity has cognitive complexity 55 (threshold 15). Drivers by points: if/else 20 (42 pts), boolean chains 8, ternaries 1 (4 pts), loops 1 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"e896f374e9adfc36d8cab9b6323dadd8d9512a44c679421f431f0875b7a5df85"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.repairDuplicateAttributes (cognitive 53): Node.repairDuplicateAttributes has cognitive complexity 53 (threshold 15). Drivers by points: if/else 17 (45 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Node.java"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"6765fac9c175c43fffdeca8fd7dca000c8285049aace93892cd1323d5a1866d8"}},{"ruleId":"D2","level":"warning","message":{"text":"Scalr.resize (cognitive 51): Scalr.resize has cognitive complexity 51 (threshold 15). Drivers by points: if/else 29 (41 pts), boolean chains 8, 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":"Libs_jXUI/src/org/imgscalr/Scalr.java"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"dede849094d8afac19283d874f6e285e5be666e1fd58ebd9bc790385c697b87a"}},{"ruleId":"D2","level":"warning","message":{"text":"QuarterSkin.resize (cognitive 51): QuarterSkin.resize has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 15 (40 pts), match/switch 3 (6 pts), if/else 3 (5 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd17aa92ab8f4a852a9b6d8bea20b199465f05f86f6704a56f65235f75373b6"}},{"ruleId":"D2","level":"warning","message":{"text":"StringUtils.stringSubstitution (cognitive 50): StringUtils.stringSubstitution has cognitive complexity 50 (threshold 15). Drivers by points: if/else 13 (34 pts), ternaries 1 (6 pts), loops 2 (5 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Shell/src/org/apache/commons/exec/util/StringUtils.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cd7d8e78d5fa49473ed31f6bf055b3c1d6ba97c4cd7191140dba5bc814ed8e"}},{"ruleId":"D2","level":"warning","message":{"text":"ContactSolver.solveVelocityConstraints (cognitive 49): ContactSolver.solveVelocityConstraints has cognitive complexity 49 (threshold 15). Drivers by points: if/else 9 (34 pts), boolean chains 6, loops 3 (6 pts), ternaries 1 (3 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63fd403cde89df179ab14988f1165c2c0d7a881a20b556066650d1e2fc07140"}},{"ruleId":"D2","level":"warning","message":{"text":"Report.errorSummary (cognitive 48): Report.errorSummary has cognitive complexity 48 (threshold 15). Drivers by points: if/else 25 (45 pts), boolean chains 3 (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":"Libs_JTidy/src/org/w3c/tidy/Report.java"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"801bd6889a8816e4b077c224d5534280528c8e917afd069810f57e946a768ebc"}},{"ruleId":"D2","level":"warning","message":{"text":"TimeOfImpact.timeOfImpact (cognitive 48): TimeOfImpact.timeOfImpact has cognitive complexity 48 (threshold 15). Drivers by points: if/else 15 (41 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/TimeOfImpact.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f3cc51142e36f78267f62e0a1992e893647c8a11c88c24acaf5aa2c36e94da"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseTableTag.parse (cognitive 47): ParseTableTag.parse has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 10, loops 2 (4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2509}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d88c8792049000c685fa64f6041c420934dcfe8173ff52b415d726b4c8c1f9d"}},{"ruleId":"D2","level":"warning","message":{"text":"LinearSkin.resize (cognitive 47): LinearSkin.resize has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 10 (30 pts), if/else 7 (16 pts), boolean chains 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ad5eb4822a017294bee9dc5fdb661c7705b33838dc681a42e4be0711cff68b"}},{"ruleId":"D2","level":"warning","message":{"text":"ModernSkin.highlightValue (cognitive 47): ModernSkin.highlightValue has cognitive complexity 47 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 10, ternaries 3 (8 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"358abe2436063123d7cb92f5ef9556652601f8b3966df9ae5133c4ee197f1aec"}},{"ruleId":"D2","level":"warning","message":{"text":"InputStream.read (cognitive 44): InputStream.read has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (32 pts), loops 3 (10 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2af7a8151f304a8db312f48a1cfa7fcf4cea7ca290abbf2679a12e0984ab622"}},{"ruleId":"D2","level":"warning","message":{"text":"MLSxEntryParser.parseFTPEntry (cognitive 44): MLSxEntryParser.parseFTPEntry has cognitive complexity 44 (threshold 15). Drivers by points: if/else 16 (28 pts), loops 3 (11 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/parser/MLSxEntryParser.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b63ef38c1992fd15580f825c6f38c162f5fbe7931b8cc2e7e13fab97558cb29"}},{"ruleId":"D2","level":"warning","message":{"text":"Clock.checkAlarms (cognitive 44): Clock.checkAlarms has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (35 pts), boolean chains 5, loops 2, match/switch 1 (2 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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ace0648adbf0b8d013b9d5384931c066c7fd8aaa990dda28313f286e2422c10"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckColor.check (cognitive 43): CheckColor.check has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (31 pts), loops 3 (8 pts), boolean chains 4 (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":"Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"9391cbcb3f5c421fc392a58a71f65c80267aa2ec8ac74c632e1e91bbb47c5893"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.parseAttribute (cognitive 43): Lexer.parseAttribute has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (34 pts), boolean chains 6, loops 2, ternaries 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":2959}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee36dec5ae6640cb725103388d3b12c0eba536e53b69ebb53e0e2ac660f3648"}},{"ruleId":"D2","level":"warning","message":{"text":"World.drawDebugData (cognitive 43): World.drawDebugData has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (23 pts), loops 8 (20 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/World.java"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"a979889bfa6ab0e9bed4be7a11e5d71cf3830ab7854c7eae3e091976afdaa8f3"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.parseServerInstruction (cognitive 42): Lexer.parseServerInstruction has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (34 pts), loops 3 (7 pts), boolean chains 1 (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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":3099}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e658e1c6981bddeb99ed2f3aee6483ee93f7390bcc8f6105e422ed08b48d204"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.findGivenVersion (cognitive 41): Lexer.findGivenVersion has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 4 (13 pts), boolean chains 4 (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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb699442fa6642893409be0aba824254aab9a9bc996b512b6cbf9c5abe7c54ec"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseList.parse (cognitive 41): ParseList.parse has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (33 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"015d815a6a41fdfc1eb9c918042125935e066ae4e2c9273df75d57e1ad3924a3"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseDefList.parse (cognitive 41): ParseDefList.parse has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (34 pts), loops 2 (4 pts), boolean chains 3 (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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a6547f2a109666a7f52a1e082d8974f6e71a1e08a019a36024225af46cb152"}},{"ruleId":"D2","level":"warning","message":{"text":"ParsePre.parse (cognitive 41): ParsePre.parse has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (37 pts), boolean chains 3, 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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b94ee89fd69881412de33e7b0867614ae372d799ed702c189a14c1fa34128f"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseNoFrames.parse (cognitive 41): ParseNoFrames.parse has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (34 pts), boolean chains 6, 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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":3053}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ad3bbd7b7c6753e28161b562d06481a78a9383b1ddd63d4cdb39515bec6753"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystem.createParticleGroup (cognitive 41): ParticleSystem.createParticleGroup has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 6 (12 pts), ternaries 1 (5 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":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b16bebf2f512bb296b035c49c3fe526c48e631fd32cb5335f4148beac128749"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuBarWrapper.createMenuItem (cognitive 40): MenuBarWrapper.createMenuItem has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (33 pts), loops 2 (7 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/MenuItemWrapper.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e314ccabc8d32fb810866fd470296379020107b0d5b1774e1229a60738c3503"}},{"ruleId":"D2","level":"warning","message":{"text":"Common.NotInitialized (cognitive 40): Common.NotInitialized has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 8, error handling 2 (8 pts) (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":"jCore/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"0303f95c125fd5dbb59be04805042a732ec17b0893cd69a0cfcac714daebc466"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleSectionSkin.drawBackground (cognitive 40): SimpleSectionSkin.drawBackground has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 4 (20 pts), if/else 7 (15 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae4c8354be9c5e281ca5d5e483500cb3e295213fe96a2e832debc926ee742ce"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeWrapper.SetSize (cognitive 39): NodeWrapper.SetSize has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (25 pts), ternaries 4 (12 pts), error handling 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":"Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5531ef1a3c698561a144ec5eb9c7c70e82ff5c1a31f3e36bf298b72a8632d5"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicTree.raycast (cognitive 39): DynamicTree.raycast has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 8 (20 pts), if/else 8 (18 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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ee294ad1848879b93ab5d8f8c64774f939987d20ad6e0844bb0d3d648d1218"}},{"ruleId":"D2","level":"warning","message":{"text":"PolygonShape.set (cognitive 39): PolygonShape.set has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 7 (9 pts), boolean chains 4, ternaries 3 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/shapes/PolygonShape.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b843387edc56121b021e68b22ab57cff0a915f737a1748911a8cef93171716e"}},{"ruleId":"D2","level":"warning","message":{"text":"Island.solve (cognitive 38): Island.solve has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 10 (15 pts), boolean chains 4 (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":"Libs_XUI2D/src/org/jbox2d/dynamics/Island.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc0161c1f10208d0273071cb8cc3cbb77e29bd4d6bec84179e4ff557c4b6000"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.setXHTMLDocType (cognitive 37): Lexer.setXHTMLDocType has cognitive complexity 37 (threshold 15). Drivers by points: if/else 23 (33 pts), boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2ed224c919cce97319dc0cce7475bb81acc579c20d204ee8f4372ac4992a45"}},{"ruleId":"D2","level":"warning","message":{"text":"PPrint.printXMLTree (cognitive 37): PPrint.printXMLTree has cognitive complexity 37 (threshold 15). Drivers by points: if/else 20 (25 pts), boolean chains 6, loops 3 (6 pts) (nesting depth added 8). 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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":2381}}}],"partialFingerprints":{"codehealthFindingId/v1":"606b7fd6627370565b188d0c1f9a3fd53866da9abadccdd4477705b8c1dc6b5a"}},{"ruleId":"D2","level":"warning","message":{"text":"FTPClient._openDataConnection_ (cognitive 37): FTPClient._openDataConnection_ has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (31 pts), boolean chains 6 (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":"Libs_Net/src/org/apache/commons/net/ftp/FTPClient.java"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf471de6645015beedf11e41883c2abb7b6bbe26468d215c1c914aae6a6f6613"}},{"ruleId":"D2","level":"warning","message":{"text":"LinearSkin.setBar (cognitive 37): LinearSkin.setBar has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (31 pts), boolean chains 6 (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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f035c7141221585b3efbe1f6d31c62c1b5b7288423e8b7217f3c30acda491b5"}},{"ruleId":"D2","level":"warning","message":{"text":"1.run (cognitive 36): 1.run has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (19 pts), loops 5 (6 pts), ternaries 2 (5 pts), error handling 2 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/anywheresoftware/b4a/net/SMTPWrapper.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"044d977d4f8d0d1a497317738d5c9f1864416799f9ebb2e86a5dbde218b3ca2c"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicTreeFlatNodes.raycast (cognitive 36): DynamicTreeFlatNodes.raycast has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 8 (20 pts), if/else 7 (15 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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e12c96a76d27f18a4baddd508870e998119d6c855c728f272c96d70526f135c"}},{"ruleId":"D2","level":"warning","message":{"text":"GaugeSkin.handleEvents (cognitive 36): GaugeSkin.handleEvents has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (27 pts), loops 3 (8 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf60779b5403ee35b5c44aaaff7983b8ae937716594fa6c0455116c9f5c099eb"}},{"ruleId":"D2","level":"warning","message":{"text":"HSkin.handleEvents (cognitive 36): HSkin.handleEvents has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (27 pts), loops 3 (8 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef0b70b4eb6490e6180af70af9697d2990f622ccca006a12ac95f20be664ef5"}},{"ruleId":"D2","level":"warning","message":{"text":"QuarterSkin.handleEvents (cognitive 36): QuarterSkin.handleEvents has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (27 pts), loops 3 (8 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"636cf04d7ebd11be5c5db79e65f61e8377a6113a0196f242149d5d79e0457421"}},{"ruleId":"D2","level":"warning","message":{"text":"VSkin.handleEvents (cognitive 36): VSkin.handleEvents has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (27 pts), loops 3 (8 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db2cb69e90427023efeed973d4b028428768f654a9f9b387ca9429820a5e18a"}},{"ruleId":"D2","level":"warning","message":{"text":"FXMLBuilder.setEventsAndVariables (cognitive 35): FXMLBuilder.setEventsAndVariables has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (31 pts), loops 2 (4 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":"Libs_jFX/src/anywheresoftware/b4j/objects/FXMLBuilder.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"859119eba1db51175958e259749934e3fcd711d6bfaf96b2138fb5f81eb59981"}},{"ruleId":"D2","level":"warning","message":{"text":"DigitalSkin.setBar (cognitive 35): DigitalSkin.setBar has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 4 (10 pts), boolean chains 4 (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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e57f75629ebe7aab090f1a28717dcc3920f4396e67d0e0e52b922ebd07a7842"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleDigitalSkin.setBar (cognitive 35): SimpleDigitalSkin.setBar has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 4 (10 pts), boolean chains 4 (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":"Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e99bbee61a7bddbf1546161e6fecf1efc46e438d411d78cf01a08afae8a6c7"}},{"ruleId":"D2","level":"warning","message":{"text":"Base64.encode (cognitive 34): Base64.encode has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 4, loops 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/util/Base64.java"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"996c1166496689c2e093c2f769760139d56974bca94d4ce9872dc0c79388e042"}},{"ruleId":"D2","level":"warning","message":{"text":"HSkin.drawMarkers (cognitive 34): HSkin.drawMarkers has cognitive complexity 34 (threshold 15). Drivers by points: match/switch 5 (17 pts), if/else 8 (13 pts), loops 1 (2 pts), ternaries 2 (nesting depth added 18). 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c159076efaaae9694bf834b5978caf11bfcb25f5fd65f826d93ab3d3d464d9"}},{"ruleId":"D2","level":"warning","message":{"text":"VSkin.drawMarkers (cognitive 34): VSkin.drawMarkers has cognitive complexity 34 (threshold 15). Drivers by points: match/switch 5 (17 pts), if/else 8 (13 pts), loops 1 (2 pts), ternaries 2 (nesting depth added 18). 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"69016821e020fcd65ecd7aef5b8c56a13c9467dc8a043d1f1aaf31b2efe8701e"}},{"ruleId":"D2","level":"warning","message":{"text":"ConicalGradient.getRoundImage (cognitive 34): ConicalGradient.getRoundImage has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 3 (7 pts), ternaries 2 (4 pts), boolean chains 2 (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":"Libs_jGauges/src/eu/hansolo/medusa/tools/ConicalGradient.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08487cd07695450ddb3f956722d420ced1ad7c7a53774c2849ad3f149f61ad1"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseHead.parse (cognitive 33): ParseHead.parse has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (30 pts), boolean chains 2, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5325ad90b8b9c0b61df326ae1e2ea36e0989391fcdc4cfd887523f39a97517"}},{"ruleId":"D2","level":"warning","message":{"text":"BulletChartSkin.drawTickMarks (cognitive 33): BulletChartSkin.drawTickMarks has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (18 pts), ternaries 5 (14 pts), loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/BulletChartSkin.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f835f9b418cc66efa5325f650b01f0ab7232d5af433e6cea8ca00a19ff058a5"}},{"ruleId":"D2","level":"warning","message":{"text":"GaugeSkin.drawMarkers (cognitive 33): GaugeSkin.drawMarkers has cognitive complexity 33 (threshold 15). Drivers by points: match/switch 5 (17 pts), if/else 8 (13 pts), loops 1 (2 pts), ternaries 1 (nesting depth added 18). 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"a078d1d2a43b8d37bcc02aab69c5c596992cde21b410b64d309ddf940bcdb0a3"}},{"ruleId":"D2","level":"warning","message":{"text":"QuarterSkin.drawMarkers (cognitive 33): QuarterSkin.drawMarkers has cognitive complexity 33 (threshold 15). Drivers by points: match/switch 5 (17 pts), if/else 8 (13 pts), loops 1 (2 pts), ternaries 1 (nesting depth added 18). 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72e062c62432eb67434fb434abe9ae85375c918044396c72e86674999ed6924"}},{"ruleId":"D2","level":"warning","message":{"text":"PPrint.printScriptStyle (cognitive 32): PPrint.printScriptStyle has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a344754894549941b6dd53e14dcc6a74d296f8da7b7194541fe39fa5cfe380"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerWrapper.Start (cognitive 31): ServerWrapper.Start has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (24 pts), loops 4, ternaries 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/ServerWrapper.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56ec158c6aa204b73ffe191fa88ada9caf96bef2c2e60b2c1933f6ab376f659"}},{"ruleId":"D2","level":"warning","message":{"text":"UnixFTPEntryParser.parseFTPEntry (cognitive 31): UnixFTPEntryParser.parseFTPEntry has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (19 pts), error handling 3 (7 pts), loops 1 (2 pts), match/switch 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":"Libs_Net/src/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"23381ba3b5165b9a660bc591b02ff34dc0efd1164d92b000b6381ae47d40f5a3"}},{"ruleId":"D2","level":"warning","message":{"text":"OS.isOs (cognitive 31): OS.isOs has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 8 (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":"Libs_Shell/src/org/apache/commons/exec/OS.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e819f8bb0c81391ef59ff0753379160d1fc11de9dee06a09666f97fd22807cb"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientState.restoreState (cognitive 30): ClientState.restoreState has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (28 pts), loops 2 (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":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/ClientState.java"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b455ad9afbff8d6cd1732b5497a0cff165e2f7e38b938995ae63bb2aa430238"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicTree.balance (cognitive 30): DynamicTree.balance has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 7 (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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e156da6a7fdc7173f01406c57f7d7f375bbd6049f174d27debdf495b55f48f"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicTreeFlatNodes.balance (cognitive 30): DynamicTreeFlatNodes.balance has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 7 (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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cb089b1717957be5bc003f895d706f8fe4d9ebc9c9b74020cf0dc84d19a2ad"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateBodyContactsCallback.reportFixture (cognitive 30): UpdateBodyContactsCallback.reportFixture has cognitive complexity 30 (threshold 15). Drivers by points: if/else 4 (13 pts), ternaries 4 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":2017}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f668ef4625513865135a9592738a3fb4ff23b7ea15e26eb2b87aa7397673b7"}},{"ruleId":"D2","level":"warning","message":{"text":"GaugeSkin.drawKnob (cognitive 30): GaugeSkin.drawKnob has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 15 (29 pts), match/switch 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a06c0bf8b4dc55a1e2d72d25eb38935ae3cf741c1b29b26fa7cf12ab168ccb4"}},{"ruleId":"D2","level":"warning","message":{"text":"HSkin.drawKnob (cognitive 30): HSkin.drawKnob has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 15 (29 pts), match/switch 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9206967a3f50506558ce0be4b619e6500d6e0d24bff9c3bdf6397d283765ef"}},{"ruleId":"D2","level":"warning","message":{"text":"LinearSkin.drawTickMarks (cognitive 30): LinearSkin.drawTickMarks has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d3b4738f92d7f09c12b39e8c8a648bcd1e65383c18d1129b6a790f6526fe9d"}},{"ruleId":"D2","level":"warning","message":{"text":"QuarterSkin.drawKnob (cognitive 30): QuarterSkin.drawKnob has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 15 (29 pts), match/switch 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"812bfc1e3b4351e5868b71ef1b3a55b348ef753014d5a9e4d82dc56e24340b62"}},{"ruleId":"D2","level":"warning","message":{"text":"VSkin.drawKnob (cognitive 30): VSkin.drawKnob has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 15 (29 pts), match/switch 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8391560613f975f559750e6dbd59358b324ba67107de0d9e9314887f2585f83"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodCache.getMethod (cognitive 29): MethodCache.getMethod has cognitive complexity 29 (threshold 15). Drivers by points: error handling 3 (11 pts), if/else 6 (10 pts), loops 2 (4 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":"Libs_Reflector/src/anywheresoftware/b4j/object/JavaObject.java"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad350fa1cb812e2cb852db2ac2010f324d9393e3cbc93b024b6cfcf5875690f"}},{"ruleId":"D2","level":"warning","message":{"text":"Base64.encodeBytesToBytes (cognitive 29): Base64.encodeBytesToBytes has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (16 pts), error handling 4 (8 pts), loops 1 (2 pts), ternaries 1 (2 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":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf64d9c5a2e208dc599df7d62adbf50d92bad8d0cc01370071e3fe34f71bfef8"}},{"ruleId":"D2","level":"warning","message":{"text":"FTPWrapper.connectIfNeeded (cognitive 29): FTPWrapper.connectIfNeeded has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (28 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":"Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b437f1a04ca2e3e532fb8ab5ac817b77463451449d2e919a116554373700c50"}},{"ruleId":"D2","level":"warning","message":{"text":"Report.warning (cognitive 29): Report.warning has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 3, match/switch 1 (2 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":"Libs_JTidy/src/org/w3c/tidy/Report.java"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"2826ad50d7f8d64972d2dafa5edbe55fc7291bb462917cb1a2b282140cce1ef4"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystem.computeDepthForGroup (cognitive 29): ParticleSystem.computeDepthForGroup has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 6 (7 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":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"437d2390f94e3c0d4925f2dc269725f951131b97d08e4cd4a222858af313c802"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeTableViewWrapper.build (cognitive 28): TreeTableViewWrapper.build has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 4 (11 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/TreeTableViewWrapper.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c01b7d7306cc24736a7fa13737ca9665ad1db120667dccd3851ec823e0322e"}},{"ruleId":"D2","level":"warning","message":{"text":"Clean.bumpObject (cognitive 28): Clean.bumpObject has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (7 pts), boolean chains 3 (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":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":2355}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21322f8199439c0771f52de307800d2dc19c5929a40e550d176de217c919c6d"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.trimTrailingSpace (cognitive 28): Node.trimTrailingSpace has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (23 pts), boolean chains 5 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Node.java"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ff612e484ae6216b0ad450d888b5236db5ae2a50a159f4b8e28906d9689e8c"}},{"ruleId":"D2","level":"warning","message":{"text":"CommsSender.run (cognitive 28): CommsSender.run has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (17 pts), error handling 3 (9 pts), boolean chains 1, loops 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/CommsSender.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0295f12a40a76436fde071592f333b9aaf839d932f7255ad910c541c14107b71"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandLine.translateCommandline (cognitive 28): CommandLine.translateCommandline has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Shell/src/org/apache/commons/exec/CommandLine.java"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e3f07b7aa036e2a98b0070d6e409613c92d30d5ffca1a0aa6251e9133b0748"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystem.joinParticleGroups (cognitive 28): ParticleSystem.joinParticleGroups has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 4 (6 pts), ternaries 1 (5 pts), boolean chains 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d04f0e4f88c17df025bd6ea5310b400ae8c0cf0d3e42f38ce76e65eba37209"}},{"ruleId":"D2","level":"warning","message":{"text":"TextClockSkin.resize (cognitive 28): TextClockSkin.resize has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (19 pts), ternaries 2 (8 pts), boolean chains 1 (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":"Libs_jGauges/src/eu/hansolo/medusa/skins/TextClockSkin.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7d00480f1b7debb010a0af1e7db07e5c1ea97b210775f325075efbd71b4a83"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseColGroup.parse (cognitive 27): ParseColGroup.parse has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 2 (4 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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2642}}}],"partialFingerprints":{"codehealthFindingId/v1":"464a2edf618cb700b71c0522c5a675ffe41fdba2fb056ad3b95012f3840822df"}},{"ruleId":"D2","level":"warning","message":{"text":"BA.raiseEvent2 (cognitive 26): BA.raiseEvent2 has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (19 pts), error handling 4 (7 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jCore/src/anywheresoftware/b4a/BA.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bb6e4f445c5ff95ef602bca40d88732094e05b391637bfd4d0e87474d9a70a"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectionsRequest.convertToJavascriptString (cognitive 26): DirectionsRequest.convertToJavascriptString has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 6 (13 pts), if/else 7, boolean chains 4, loops 1 (2 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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsRequest.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4904ee92f3e24c293b9fd2d2ddc617823ce0349945689aa9244339949a609c22"}},{"ruleId":"D2","level":"warning","message":{"text":"TagTable.findAllDefinedTag (cognitive 26): TagTable.findAllDefinedTag has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (18 pts), boolean chains 4, match/switch 1 (3 pts), loops 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":"Libs_JTidy/src/org/w3c/tidy/TagTable.java"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c054eb88feec16e44da8c068e5342787e51c2ef8082cd045828f34e3f16b54"}},{"ruleId":"D2","level":"warning","message":{"text":"DotTerminatedMessageReader.read (cognitive 26): DotTerminatedMessageReader.read has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (26 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":"Libs_Net/src/org/apache/commons/net/io/DotTerminatedMessageReader.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabb777d3423af4e9350836c1da7085d307b4bab42aee787d9920ce26a742019"}},{"ruleId":"D2","level":"warning","message":{"text":"SectionSkin.drawSections (cognitive 26): SectionSkin.drawSections has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2c89b259e781fdd18d5da5112cc3d58950664fb82f2877bee2fad5ea473ef8"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleSkin.drawSections (cognitive 26): SimpleSkin.drawSections has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"be94e43977f276e2723a9f50abc6e988e13243341d444c58c026b50612ea0f77"}},{"ruleId":"D2","level":"warning","message":{"text":"1.invalidated (cognitive 26): 1.invalidated has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (23 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a3ee08e251b1cfc2979048d93bd505610bc3794d24d4ca1e9ab6a27497e95b"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeWrapper.buildFont (cognitive 25): NodeWrapper.buildFont has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (19 pts), ternaries 2 (4 pts), boolean chains 1, error handling 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":"Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab12c78e553046d16ecd0343eacb608c6420df2ec9e0d0f2d0fb5505947a10c"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckUrl.check (cognitive 25): CheckUrl.check has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"21568822f36e02182d16e85d3aac3525a07b46e5eb0cff81ad1c14345175fff3"}},{"ruleId":"D2","level":"warning","message":{"text":"Clean.center2Div (cognitive 25): Clean.center2Div has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (25 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70efdc69df2a83b48d5003e2af2cc3f32b6b42eb2502019926105b8e65c9464"}},{"ruleId":"D2","level":"warning","message":{"text":"DOMNodeImpl.replaceChild (cognitive 25): DOMNodeImpl.replaceChild has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 2, loops 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":"Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4f37de1f0728cb1776b58599e6b2bb67cbee5576e5e6d064c9aa3859c026bd"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckId.check (cognitive 24): CheckId.check has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 6, 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":"Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e4cd40fbd518bfaf111ad1cb184b2f5b3296c775fadc211463795d540b6b49"}},{"ruleId":"D2","level":"warning","message":{"text":"CommsCallback.run (cognitive 24): CommsCallback.run has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (18 pts), error handling 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/CommsCallback.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c702319ee9df82b719dcdbc1c10e2345b50b40d0e2b7b3c48740ba6a772187"}},{"ruleId":"D2","level":"warning","message":{"text":"Strings.containsAny (cognitive 24): Strings.containsAny has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/util/Strings.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfc65dfcef31e16adcb4e193eb87c5350070edd60927333215ec5e551bda376"}},{"ruleId":"D2","level":"warning","message":{"text":"AABB.raycast (cognitive 24): AABB.raycast has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/AABB.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8ef3fdf89cb5b18a2081d2db87ca2c34f341be04fb09f4d94655fd3d03df01"}},{"ruleId":"D2","level":"warning","message":{"text":"Distance.distance (cognitive 24): Distance.distance has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (5 pts), boolean chains 2, match/switch 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":"Libs_XUI2D/src/org/jbox2d/collision/Distance.java"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d8215a14b5b8ce308806a7cee797314719fa4fa4b0dceae40210a8c26d9f3f"}},{"ruleId":"D2","level":"warning","message":{"text":"CTrie.remove (cognitive 24): CTrie.remove has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 3 (10 pts), boolean chains 3 (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":"Libs_MqttBroker2/src/io/moquette/broker/subscriptions/CTrie.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b2c48f39a77017ae71f83afae9b2847a5f22ffbaab520ad9d7dbbf6b095284"}},{"ruleId":"D2","level":"warning","message":{"text":"AmpSkin.drawTickMarks (cognitive 24): AmpSkin.drawTickMarks has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, match/switch 1 (3 pts), ternaries 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85a2da2f417504b1e4aef04f6ba670a0c2cb2deea776f06b14b55a8c70f68f3"}},{"ruleId":"D2","level":"warning","message":{"text":"LinearSkin.drawSections (cognitive 24): LinearSkin.drawSections has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (8 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb49799b2e2b72b6907f9a6c7465daaf35c265d9b6b6f94a6b33365e2ecf9c5"}},{"ruleId":"D2","level":"warning","message":{"text":"PlainAmpSkin.drawTickMarks (cognitive 24): PlainAmpSkin.drawTickMarks has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, match/switch 1 (3 pts), ternaries 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8cdf32a87b00eefdba9d129f42ee2d3f6ca6a6bbb9cd6a1dec6b2b9d1d0e43"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerSocketWrapper.GetMyIP (cognitive 23): ServerSocketWrapper.GetMyIP has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (5 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Network/src/anywheresoftware/b4a/objects/SocketWrapper.java"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55aeacf9848feb5d3aaddabea3ae089a38ebb0800c56ad34651dfcf950f895e"}},{"ruleId":"D2","level":"warning","message":{"text":"B4XSerializator.writeObject (cognitive 23): B4XSerializator.writeObject has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19 (21 pts), ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/B4XSerializator.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b424647a6de34a778c41a7cfa56a4e7968e8d9ac63f05e84b7cf740f31bcd8"}},{"ruleId":"D2","level":"warning","message":{"text":"BA.TypeToString (cognitive 23): BA.TypeToString has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 1 (3 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jCore/src/anywheresoftware/b4a/BA.java"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ae7b6f0a82b4713b6ba519b551fcb591e231b8e1ab9572a9c50f597a9b5d98"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.trimInitialSpace (cognitive 23): Node.trimInitialSpace has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 3 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Node.java"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"252345ddbf6ca200d48b8b8ec2cbde9780b8d93c203693f7a15419a9f8b3764e"}},{"ruleId":"D2","level":"warning","message":{"text":"PPrint.printAttribute (cognitive 23): PPrint.printAttribute has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 4, ternaries 1 (3 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"442c783b94f4934cb1004d54b9bc40855f8c2d0dff41cf3709939180ed2aae4f"}},{"ruleId":"D2","level":"warning","message":{"text":"ParserImpl.parseXMLElement (cognitive 23): ParserImpl.parseXMLElement has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":3483}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee23463b190b155797ebf7c63908f5c3776160cdb3b1b0249e3236a443bdb69a"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseText.parse (cognitive 23): ParseText.parse has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":3216}}}],"partialFingerprints":{"codehealthFindingId/v1":"db81a7dfb26c39e55ecef336f6e1e17c3c41602bb0b94cb6d9877775b1b2abab"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientState.get (cognitive 23): ClientState.get has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, error handling 1 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/ClientState.java"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3acb44bb0d725545f450eb5679d6802e9dd520250cb3a038b7ef8f6fbba784"}},{"ruleId":"D2","level":"warning","message":{"text":"Contact.update (cognitive 23): Contact.update has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/Contact.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc891145b40d9c897eb8fbfe02fb37c01d46f46080a917a56a3a45196b38c3d4"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystem.updateContacts (cognitive 23): ParticleSystem.updateContacts has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 6 (10 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":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e10334fd0fedb6545046df9c46217cd11ab2c076799dcb6ca3a89646b0ef627"}},{"ruleId":"D2","level":"warning","message":{"text":"GaugeSkin.drawNeedle (cognitive 23): GaugeSkin.drawNeedle has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 11 (22 pts), match/switch 1 (nesting depth added 11). 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94151f72aa70cc424ecb2c4746e60c59ec1a8463472af64ff854e05d52ecb28"}},{"ruleId":"D2","level":"warning","message":{"text":"FGaugeBuilder.build (cognitive 23): FGaugeBuilder.build has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17 (18 pts), ternaries 3, boolean chains 1, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/FGaugeBuilder.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcd3d05eaf3ea573c90158d44a5020da8ceb6f60a8fc5cf9a4cfc06131ce322"}},{"ruleId":"D2","level":"warning","message":{"text":"Clean.blockStyle (cognitive 22): Clean.blockStyle has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e1555dc2c3a228678c773c723a83235d6d6d9b139321a70a3aa854dbbf8c04"}},{"ruleId":"D2","level":"warning","message":{"text":"Clean.createProps (cognitive 22): Clean.createProps has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 5 (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":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1118fccc1efd80104b7129dc31060f181f3afab274723cca4dbb5599ae6c1d"}},{"ruleId":"D2","level":"warning","message":{"text":"Clean.isWord2000 (cognitive 22): Clean.isWord2000 has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 3, loops 1 (2 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":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":2297}}}],"partialFingerprints":{"codehealthFindingId/v1":"7605074aedc4915ab22cedf22926ee1b92eab6ce23e3c5c62e9d73285f64806e"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.popInline (cognitive 22): Lexer.popInline has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":3737}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3089031f34d8bec281e5a3afc2679ec7b4ea72e6935053ea5f783028f3630ba"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseFrameSet.parse (cognitive 22): ParseFrameSet.parse has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 5, 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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e8544f506fe5ac265cf64b574e9b2a1bd26231d9c5aafb37db4e0e92f3576c"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientComms.shutdownConnection (cognitive 22): ClientComms.shutdownConnection has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (13 pts), error handling 4 (5 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/ClientComms.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc75da9ac131de7a3a9aa3e5f3a34578d5ecac681b7762e27d2876e36b7c60eb"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientState.send (cognitive 22): ClientState.send has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (17 pts), error handling 1 (2 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/ClientState.java"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"0442e6c36ef5b3648b442b1341b0d49ea45e2a32e352f3849143856a417ffdfb"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultFTPFileEntryParserFactory.createFileEntryParser (cognitive 22): DefaultFTPFileEntryParserFactory.createFileEntryParser has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (13 pts), error handling 4 (8 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd5f768449d67500535ec047420b967d3d308d0fecef6a0aa2e55c4a98cf4b0"}},{"ruleId":"D2","level":"warning","message":{"text":"DigitalSkin.drawBackground (cognitive 22): DigitalSkin.drawBackground has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (6 pts), ternaries 3 (6 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe45f502d0eea390efa524dfe36876c253df47223e9871b26a8ad61f50af938"}},{"ruleId":"D2","level":"warning","message":{"text":"Base64.decode (cognitive 21): Base64.decode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"955e55cef911322f080a80da638151b0748d70ebdb2139f82ec784949f0619cd"}},{"ruleId":"D2","level":"warning","message":{"text":"Base64.decode (cognitive 21): Base64.decode has cognitive complexity 21 (threshold 15). Drivers by points: error handling 5 (13 pts), if/else 3 (4 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d802612ea2a36b0a3ce81448fd36f565c2c6d2f77c024e8105c7011b454ff68d"}},{"ruleId":"D2","level":"warning","message":{"text":"AOUT.run (cognitive 21): AOUT.run has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 2 (5 pts), loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/AsyncStreams.java"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea9c0392f043e8d40cb60dd88a6259db24f3491707b9878a851e532245ad067"}},{"ruleId":"D2","level":"warning","message":{"text":"DOMNodeImpl.insertBefore (cognitive 21): DOMNodeImpl.insertBefore has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"156c8ab3fe9d3070492d80619839cd0eb45f9d0e16c3dfd139067ae63bd0aa68"}},{"ruleId":"D2","level":"warning","message":{"text":"PPrint.printSlide (cognitive 21): PPrint.printSlide has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 3 (5 pts), boolean chains 2, 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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":2601}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e005e106710fdb927478678aec100a6cd4050e12e849cd790dad96d2368777"}},{"ruleId":"D2","level":"warning","message":{"text":"PPrint.shouldIndent (cognitive 21): PPrint.shouldIndent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":1989}}}],"partialFingerprints":{"codehealthFindingId/v1":"34affd85a6487d414220ca6ec66c8e2d04e04212258af2d7a80d2f4d3515bf84"}},{"ruleId":"D2","level":"warning","message":{"text":"Base64.decode (cognitive 21): Base64.decode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/util/Base64.java"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2c1b5a18910c1a720f83da5bd8fb6d660a7261b0fb0c4ca4dc5041f4148488"}},{"ruleId":"D2","level":"warning","message":{"text":"VmsCommandLauncher.createCommandFile (cognitive 21): VmsCommandLauncher.createCommandFile has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (9 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":"Libs_Shell/src/org/apache/commons/exec/launcher/VmsCommandLauncher.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc429af573d00ae64d2f830b87857072ef9230968b7048c3dae64d23d69caade"}},{"ruleId":"D2","level":"warning","message":{"text":"ContactManager.addPair (cognitive 21): ContactManager.addPair has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/ContactManager.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1109d7095c54a9f695c9a66ad41083e6536eec1bcd51494ca4df22a0a46a26cf"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystem.solve (cognitive 21): ParticleSystem.solve has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (14 pts), loops 4, ternaries 1 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cbb1af11056b61c0295ec663163e49eb6949ee74198ce7874c2699f5de0c80"}},{"ruleId":"D2","level":"warning","message":{"text":"Scalr.apply (cognitive 21): Scalr.apply has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 2, 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":"Libs_jXUI/src/org/imgscalr/Scalr.java"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"5979d1edcfb0795f648ca4883441c7adf8429bcc49855c9685a698f3c994558c"}},{"ruleId":"D2","level":"warning","message":{"text":"Scalr.scaleImageIncrementally (cognitive 21): Scalr.scaleImageIncrementally has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2, loops 1, ternaries 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":"Libs_jXUI/src/org/imgscalr/Scalr.java"},"region":{"startLine":2212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed81be9e825fa4f7168b8b9875f043182763362b867c5522ffcc71698fa2de4"}},{"ruleId":"D2","level":"warning","message":{"text":"AmpSkin.drawSections (cognitive 21): AmpSkin.drawSections has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 1 (4 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe023a87534865c50bab8ae4bac469e3f81d370480f98a35e86dd41a357b2c9"}},{"ruleId":"D2","level":"warning","message":{"text":"AmpSkin.handleEvents (cognitive 21): AmpSkin.handleEvents has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (19 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6c7adbd951b8717f109b2d4c1cd5d7557ef7a6c288a395aa6df0425f1275cc"}},{"ruleId":"D2","level":"warning","message":{"text":"PlainAmpSkin.drawSections (cognitive 21): PlainAmpSkin.drawSections has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 1 (4 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2163a5842e60da42046ca33166c941b095a2c649d123932987613f33d347bb"}},{"ruleId":"D2","level":"warning","message":{"text":"PlainAmpSkin.handleEvents (cognitive 21): PlainAmpSkin.handleEvents has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (19 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cb4b486fe49ec580d7071273fc7aaa1e2e3f622e1e815719fb9793a7ff7280"}},{"ruleId":"D2","level":"warning","message":{"text":"QuarterSkin.resizeValueText (cognitive 21): QuarterSkin.resizeValueText has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 7 (19 pts), if/else 2 (nesting depth added 12). 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"11112389a174bb1fb3aceff92a75e8b72d01716ed162a7ad3ce15b0f505800fb"}},{"ruleId":"D2","level":"warning","message":{"text":"Helper.drawTimeAreas (cognitive 21): Helper.drawTimeAreas has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 4 (8 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Helper.drawTimeSections) 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":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9421a15c295b658e65349cf5457b9cae264e59791039c66944d4916b7b893473"}},{"ruleId":"D2","level":"warning","message":{"text":"Helper.drawTimeSections (cognitive 21): Helper.drawTimeSections has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 4 (8 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Helper.drawTimeAreas) 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":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"765e97ec83a2f48358c9d5bb0eb8dbfd721383af90f8229a273f456d55c5072b"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeWrapper.buildDrawable (cognitive 20): NodeWrapper.buildDrawable has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (20 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":"Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b7621e73cde722e3d57cc633eada68bf666e13067d191394a3b184f12c764d"}},{"ruleId":"D2","level":"warning","message":{"text":"Clean.nestedList (cognitive 20): Clean.nestedList has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 2 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"817f1b32b4ba5fbfb21ddcdf019c9055a864c0089b428cc8c9d676c66fffe646"}},{"ruleId":"D2","level":"warning","message":{"text":"Clean.purgeWord2000Attributes (cognitive 20): Clean.purgeWord2000Attributes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 7, 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":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a1153700f0e649f9ff9d9296de7a94b05dcbe6d709eae6d58d076310e9d192"}},{"ruleId":"D2","level":"warning","message":{"text":"ParserImpl.parseDocument (cognitive 20): ParserImpl.parseDocument has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":3346}}}],"partialFingerprints":{"codehealthFindingId/v1":"235519a2f2a76d923bd6a827bad023b5b3edb25c5f98f1bb4370b2f9ead543e5"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectActionListener.onFailure (cognitive 20): ConnectActionListener.onFailure has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2, error handling 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":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/ConnectActionListener.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38db7e1f3d5ae40575254caf2654d591bbfc445fdb1392a62398cdccb76dee6"}},{"ruleId":"D2","level":"warning","message":{"text":"VMSVersioningFTPEntryParser.preParse (cognitive 20): VMSVersioningFTPEntryParser.preParse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/parser/VMSVersioningFTPEntryParser.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"136b20e8c4fc28f23b622ba74f191bbf00e3eac7e29fd242835993adf4fccfa7"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicTree.insertLeaf (cognitive 20): DynamicTree.insertLeaf has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 2, boolean chains 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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba3ff110453221bdad5e9980fb9a5f12fd6e37612a4274ff9094a8f4a9e00b7"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicTreeFlatNodes.insertLeaf (cognitive 20): DynamicTreeFlatNodes.insertLeaf has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 2, boolean chains 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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b22fe7702a32b4c456c65a301b554c5ffa94a2501aab47c46b0dc5aae3a01cd"}},{"ruleId":"D2","level":"warning","message":{"text":"JoinParticleGroupsCallback.callback (cognitive 20): JoinParticleGroupsCallback.callback has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 4 (8 pts), boolean chains 2 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea78240399910cfad94218eddfb173e4d057a68abce04f2ade243c2bd9da055a"}},{"ruleId":"D2","level":"warning","message":{"text":"ConicalGradient.getImage (cognitive 20): ConicalGradient.getImage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (6 pts), ternaries 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":"Libs_jGauges/src/eu/hansolo/medusa/tools/ConicalGradient.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"726d70c0f63cfd2eb5b194cbdcc520782b3c042f5a69755cdfcfe77cd2ac014b"}},{"ruleId":"D2","level":"warning","message":{"text":"Gauge.setForegroundBaseColor (cognitive 20): Gauge.setForegroundBaseColor has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":1631}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebf032de7227d08ac6cbdf3f5ff72679059d42491d4ee7fe0a701205d08ed46"}},{"ruleId":"D2","level":"warning","message":{"text":"Common.WaitFor (cognitive 19): Common.WaitFor has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 4, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jCore/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a690eec8e4cc795be67bf7f8aad764a1da02f6a4bacfaf0ecfa0472e4e138c"}},{"ruleId":"D2","level":"warning","message":{"text":"EncodingUtils.encodeCharToUTF8Bytes (cognitive 19): EncodingUtils.encodeCharToUTF8Bytes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/EncodingUtils.java"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"3884ef9db812f234e7a096d11ee7fd58c7bee4cd440e7426962356141afd3d86"}},{"ruleId":"D2","level":"warning","message":{"text":"PPrint.printTag (cognitive 19): PPrint.printTag has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7, loops 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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ffd27fc93f43210d48db44ee8d3824dd345fe8c0ba117f7f2aecdb61dbd693"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientState.notifyReceivedMsg (cognitive 19): ClientState.notifyReceivedMsg has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 1 (3 pts) (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":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/ClientState.java"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c2b66b26a04b77484e5d5739c05da1c9a80869cdcaf78c11baead198d1a1d4"}},{"ruleId":"D2","level":"warning","message":{"text":"Token.waitForResponse (cognitive 19): Token.waitForResponse has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), error handling 1 (3 pts), loops 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":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/Token.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b468611da312ca0cb6b36595910b75ce055058462e6e1ef077a8339c47e0d50b"}},{"ruleId":"D2","level":"warning","message":{"text":"FTPTimestampParserImpl.parseTimestamp (cognitive 19): FTPTimestampParserImpl.parseTimestamp has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3 (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":"Libs_Net/src/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"746166c4be257c596537a35a491b4a104a8d28a1418ca9485d7d95dd0ed1accb"}},{"ruleId":"D2","level":"warning","message":{"text":"RevoluteJoint.initVelocityConstraints (cognitive 19): RevoluteJoint.initVelocityConstraints has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (17 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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5494bac405c513dc1d5793862c5ac9e46b42ab4af9a2b7047f825e4f3d562e77"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystem.raycast (cognitive 19): ParticleSystem.raycast has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1d88e2b6614b89bb3b97de520e6c521195c31f0557b8f41ce7d746292a69f8"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionRegistry.bindToExistingSession (cognitive 19): SessionRegistry.bindToExistingSession has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 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":"Libs_MqttBroker2/src/io/moquette/broker/SessionRegistry.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f721aaf3f5d700ad6fbb28730866c609873657c0c612218190d139da0e3b04"}},{"ruleId":"D2","level":"warning","message":{"text":"BulletChartSkin.drawSections (cognitive 19): BulletChartSkin.drawSections has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/BulletChartSkin.java"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"779b2f4309991bf10c51c721dfe080ab684e02ca02a9a339a3112d04acd71a98"}},{"ruleId":"D2","level":"warning","message":{"text":"DesignClockSkin.drawTicks (cognitive 19): DesignClockSkin.drawTicks has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9691e52e4a2dac2666f83e304d9360202e14e2beb1fd6c2f87928bcc503b6538"}},{"ruleId":"D2","level":"warning","message":{"text":"DigitalClockSkin.drawTime (cognitive 19): DigitalClockSkin.drawTime has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 5 (6 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7868ef8c4ffdbfba26bb761cb6c7093b90d3891e46ee65ac479004b4bef1a8c8"}},{"ruleId":"D2","level":"warning","message":{"text":"ModernSkin.drawMainCanvas (cognitive 19): ModernSkin.drawMainCanvas has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6a7d638daa452ec41b072dc25eea7e7e6d481d3dac072e29306bef24b8e6d3"}},{"ruleId":"D2","level":"warning","message":{"text":"PearClockSkin.drawTicks (cognitive 19): PearClockSkin.drawTicks has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"a660e6231d14c01e03fead6118d2d30d0575d4517da5b6461de3b781f3ec29c1"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleSectionSkin.setBar (cognitive 19): SimpleSectionSkin.setBar has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"10016f0ad416f281a70db92d6ba51ec9ccf9cb001504910527e210598d6a7e82"}},{"ruleId":"D2","level":"warning","message":{"text":"Configuration.printConfigOptions (cognitive 18): Configuration.printConfigOptions has cognitive complexity 18 (threshold 15). Drivers by points: error handling 3 (9 pts), if/else 5 (8 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Configuration.java"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"896f0fde49cea8f81e979429d01f2b12538500fa940c874bb33fc4b1e2225a49"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.parseAttrs (cognitive 18): Lexer.parseAttrs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":3620}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc1f05294a1310e52cf65ec94549bfb443e844d5dd70831df52eceb20f7e585"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.checkNodeIntegrity (cognitive 18): Node.checkNodeIntegrity has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Node.java"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2c82b228448aa162d4fb6d70cb30085e09db91efec1d24d495d15014a90e89"}},{"ruleId":"D2","level":"warning","message":{"text":"ParserImpl.parseXMLDocument (cognitive 18): ParserImpl.parseXMLDocument has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":3553}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e3b8bb73d8a65a3ffe4b90a0959c23f80dcc89a5fca84c102b7eb459f3c626"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseTitle.parse (cognitive 18): ParseTitle.parse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, 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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6473ab91f30838559c6cafbfbe841c7d63f222379c407324ea98f61994b772"}},{"ruleId":"D2","level":"warning","message":{"text":"FTPClient.initiateListParsing (cognitive 18): FTPClient.initiateListParsing has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/FTPClient.java"},"region":{"startLine":2934}}}],"partialFingerprints":{"codehealthFindingId/v1":"b716484f36f8385f157e8ec8e220715ebd6f283a08871c1f71833985ef652348"}},{"ruleId":"D2","level":"warning","message":{"text":"Collision.collideEdgeAndCircle (cognitive 18): Collision.collideEdgeAndCircle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (18 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":"Libs_XUI2D/src/org/jbox2d/collision/Collision.java"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb853658f3ac422e2d7a2870eab95d36eeb4fc8f289e2cf77b5830209c5cd484"}},{"ruleId":"D2","level":"warning","message":{"text":"ContactSolver.initializeVelocityConstraints (cognitive 18): ContactSolver.initializeVelocityConstraints has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 2 (6 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f752f5ba128d7f2e50043d10e6710118f6c819b0f058342f1bfb527abd459c"}},{"ruleId":"D2","level":"warning","message":{"text":"PrismaticJoint.initVelocityConstraints (cognitive 18): PrismaticJoint.initVelocityConstraints has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (18 pts) (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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc6df96b756b7544d6a886f74988f2e612cac8b784249239b6545b09a804ae2"}},{"ruleId":"D2","level":"warning","message":{"text":"Island.init (cognitive 18): Island.init has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 5, if/else 5, loops 2 (4 pts), ternaries 2 (4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/Island.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"067fd50a6236561402eb7785745ce85bab812895f1c583f995fea89a7a8eb959"}},{"ruleId":"D2","level":"warning","message":{"text":"World.drawShape (cognitive 18): World.drawShape has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 7). 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":"Libs_XUI2D/src/org/jbox2d/dynamics/World.java"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"f769ac5f362329680cc3a20aa655e4f73f8054cd8b68db22f35294036403a643"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthorizationsCollector.canDoOperation (cognitive 18): AuthorizationsCollector.canDoOperation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/security/AuthorizationsCollector.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb2e87ab8b9987d2b52cc558e69016974d0099aff382788a3b91d8e5451c7fa"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardSkin.setBar (cognitive 18): DashboardSkin.setBar has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3 (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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c5f602e750f7265b12e852ba21d1e5a59c433b6a9710c32c8ad4ecb7eaa664"}},{"ruleId":"D2","level":"warning","message":{"text":"IndustrialClockSkin.updateTime (cognitive 18): IndustrialClockSkin.updateTime has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef20d1dc9338c58b35915548add2ac49fc0fef211193df493a6ca08afcad3b6"}},{"ruleId":"D2","level":"warning","message":{"text":"ModernSkin.drawTickMarks (cognitive 18): ModernSkin.drawTickMarks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"838365bc5279c3ccb1f5dbefb01abf1e373bf89f993598bfc8b370a562e6a0d6"}},{"ruleId":"D2","level":"warning","message":{"text":"PearClockSkin.updateTime (cognitive 18): PearClockSkin.updateTime has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"b525640b92d6c3c367057b8f8dad0c9348aa09f138bbb13bf9f20caa95fca372"}},{"ruleId":"D2","level":"warning","message":{"text":"Gauge.setupBinding (cognitive 18): Gauge.setupBinding has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (12 pts), if/else 4 (5 pts), boolean chains 1 (nesting depth added 9). 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":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":5461}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a11ed59babc90a6e1dbcc8c5c2a9a0d803d5490596f47d508d73abcb6be4d01"}},{"ruleId":"D2","level":"warning","message":{"text":"createCss (cognitive 18): createCss has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, ternaries 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/clustered/js/markerclusterer.js"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"158e20a139739d89878761cd8720258cc446061d27a6d5ee94012f2f681c84ec"}},{"ruleId":"D2","level":"warning","message":{"text":"UDPSocket.GetBroadcastAddress (cognitive 17): UDPSocket.GetBroadcastAddress has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 3 (6 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":"Libs_Network/src/anywheresoftware/b4a/objects/SocketWrapper.java"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cae960ca65f5d50c72139464b0c6a03b3e8f72c9e1a2ef5417065f18f2eaa61"}},{"ruleId":"D2","level":"warning","message":{"text":"BA.printException (cognitive 17): BA.printException has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 1 (2 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jCore/src/anywheresoftware/b4a/BA.java"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f88016f6f2bdb24452c058594d01363d9c18f42b94cff8c0fa9bbf4e9363d3"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckLength.check (cognitive 17): CheckLength.check has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (7 pts), loops 1 (2 pts) (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a664a6ca874d8b97c1c70afc6aab31174b7f0953532287bdccaf283e67be96e"}},{"ruleId":"D2","level":"warning","message":{"text":"Clean.bQ2Div (cognitive 17): Clean.bQ2Div has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":1734}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4a7b2d3dd2680173bbdc0ef8dff142e3ef95db25a07a0b0e630645f5873e49"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.addGenerator (cognitive 17): Lexer.addGenerator has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (13 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe8ba1faf88596ebecf6b13636dbbbfffed399ec3d086582f5c4d3edfece070"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.canPrune (cognitive 17): Lexer.canPrune has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":3892}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca60915abba8830c8ba41e3a319bea521e4efc8ab11d30d1cdf5ffd877a13aa8"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer.isCSS1Selector (cognitive 17): Lexer.isCSS1Selector has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":3571}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f21711e95cdfa7c8efc48d188f62bc93e2d8456cf3fea8e2bbd81e3edb6865"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.toString (cognitive 17): Node.toString has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, 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":"Libs_JTidy/src/org/w3c/tidy/Node.java"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab476af22847b1964d9ad05d3bf06662428e038c04d8cb2fdea1dcfe6b77ab9f"}},{"ruleId":"D2","level":"warning","message":{"text":"JSONTokener.readLiteral (cognitive 17): JSONTokener.readLiteral has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"Libs_Json/src/org/json/JSONTokener.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4511cfa64899a3bdbf7848acf9c223d1f9e6c183a01e68e1dda8c72a7abc3f"}},{"ruleId":"D2","level":"warning","message":{"text":"JSONTokener.readObject (cognitive 17): JSONTokener.readObject has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, match/switch 1 (2 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":"Libs_Json/src/org/json/JSONTokener.java"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee746b097bacfdb39cfbb587d123ab443ea6af530186fb497ca11b83d9d35cd"}},{"ruleId":"D2","level":"warning","message":{"text":"MqttWireMessage.createWireMessage (cognitive 17): MqttWireMessage.createWireMessage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttWireMessage.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0620dbbd12f5cd5d7443cc3514ef248d55f36bb08bd4d9df045f81d0082884c3"}},{"ruleId":"D2","level":"warning","message":{"text":"FTPClient.initFeatureMap (cognitive 17): FTPClient.initFeatureMap has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 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":"Libs_Net/src/org/apache/commons/net/ftp/FTPClient.java"},"region":{"startLine":2059}}}],"partialFingerprints":{"codehealthFindingId/v1":"562e851657ab8136044530e53073df1619c8fe526400797b755e1c9a5a88ebe2"}},{"ruleId":"D2","level":"warning","message":{"text":"Util.copyStream (cognitive 17): Util.copyStream has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 pts), error handling 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/io/Util.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2b4d42fb0665e3c5ca6b4ca41bbb7b9651afc2025171dd0d93bb71430f4513"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicTree.query (cognitive 17): DynamicTree.query has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda15a606995b395dc503fdcb25cc7b390216c6865fa382d4497a210860546d7"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicTreeFlatNodes.query (cognitive 17): DynamicTreeFlatNodes.query has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd83569fb485eb0b8199f3b596cd9e0b608a9033cc886cb9406d66e585616462"}},{"ruleId":"D2","level":"warning","message":{"text":"RevoluteJoint.solveVelocityConstraints (cognitive 17): RevoluteJoint.solveVelocityConstraints 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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc669aac9bd14a3a147d3aebc43eaa7d52083e586f4f4cb74c4213f3be94cb4"}},{"ruleId":"D2","level":"warning","message":{"text":"WheelJoint.initVelocityConstraints (cognitive 17): WheelJoint.initVelocityConstraints has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (17 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/WheelJoint.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa43a0ae5105dc6d1e10668a1b0a7da04126372629ed848837c37502f227d03"}},{"ruleId":"D2","level":"warning","message":{"text":"ContactManager.collide (cognitive 17): ContactManager.collide has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/ContactManager.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0062d47c2219910ff3ab6654941fb028ec4ab0f497130cb1bcdd3f432048d03"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystem.solveCollision (cognitive 17): ParticleSystem.solveCollision has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (16 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c6e7da7a05ce04b5d6632246182d5883256e25baf91d0017edeec5215d3aa4"}},{"ruleId":"D2","level":"warning","message":{"text":"ClockSkin.updateTime (cognitive 17): ClockSkin.updateTime has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"45aafb736a5ead664cf0c881d61025457fb8ed4d07d04f90c7cfc3b17efb8836"}},{"ruleId":"D2","level":"warning","message":{"text":"FatClockSkin.drawTicks (cognitive 17): FatClockSkin.drawTicks has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3469b5b0a0391521b7bd5e2bf8381331cc00624924e9c2d3a2179fb6f53f6c"}},{"ruleId":"D2","level":"warning","message":{"text":"PlainClockSkin.updateTime (cognitive 17): PlainClockSkin.updateTime has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52678e9887e291f3532e1826098d70e239d7d8406217fa78a681fd21eec5283"}},{"ruleId":"D2","level":"warning","message":{"text":"RoundLcdClockSkin.drawBackground (cognitive 17): RoundLcdClockSkin.drawBackground has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 1, loops 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/RoundLcdClockSkin.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99ef5520a6b519180b93fcb01441fa79feb8b6067c27188e9a1a4a3037054fa"}},{"ruleId":"D2","level":"warning","message":{"text":"B4XSerializator.is_serializable (cognitive 17): B4XSerializator.is_serializable has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 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":"PyBridge/b4x_bridge/b4x_serializator.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a376af930e261e0f5e7db139d57ec2c4b929b1677b88d6f851785f160f96d5"}},{"ruleId":"D2","level":"warning","message":{"text":"SocketWrapper.Close (cognitive 16): SocketWrapper.Close has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 2, error handling 1 (2 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":"Libs_Network/src/anywheresoftware/b4a/objects/SocketWrapper.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa911afd0f1c4e7d640a0b0da0ff82618296537cd5d019057f0f85fb9c65f150"}},{"ruleId":"D2","level":"warning","message":{"text":"Common.SmartStringFormatter (cognitive 16): Common.SmartStringFormatter has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), match/switch 1 (3 pts), error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jCore/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"121ca1eb6ab70a9a3768723c70529a97a0efc64f25d84cf9106e59ff5fafc0a8"}},{"ruleId":"D2","level":"warning","message":{"text":"ElevationService.processResponse (cognitive 16): ElevationService.processResponse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f893fb0f62535cd3ae43d19aae4e88b506c507fafca2cf6b7a069f1471c2e2e"}},{"ruleId":"D2","level":"warning","message":{"text":"GeocoderRequest.convertToJavascriptString (cognitive 16): GeocoderRequest.convertToJavascriptString has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 6 (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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderRequest.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7547f4226a37098c747d01e7eac64636015bd1826a6636f62e5ecd1c0769f0ca"}},{"ruleId":"D2","level":"warning","message":{"text":"GeocodingService.processResponse (cognitive 16): GeocodingService.processResponse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocodingService.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8497f6942ed9d5afed91bae5bc6cf0243265a0f41a5bcd553fbb2788244f1079"}},{"ruleId":"D2","level":"warning","message":{"text":"AttVal.checkAttribute (cognitive 16): AttVal.checkAttribute has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5 (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":"Libs_JTidy/src/org/w3c/tidy/AttVal.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"194c1296b1ab8c456e33c996ea79f3c2fd137c1d94322d38f8cdcd2e42bd2130"}},{"ruleId":"D2","level":"warning","message":{"text":"Clean.cleanNode (cognitive 16): Clean.cleanNode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"631a942cd108234757552fe9718aa675eb0d4d92365aaf61d7ff329c7b01ebee"}},{"ruleId":"D2","level":"warning","message":{"text":"Clean.discardContainer (cognitive 16): Clean.discardContainer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 1 (2 pts) (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":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dae54da63f16c8f64abdbce9209c9a2c0bd379cfe9b866bba46b3639e8256db"}},{"ruleId":"D2","level":"warning","message":{"text":"Clean.normalizeSpaces (cognitive 16): Clean.normalizeSpaces has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37d413bbcc0e252c1a1623408a59fe463e86226b0274ca17ad7a8d3654fa32c"}},{"ruleId":"D2","level":"warning","message":{"text":"PPrint.printAttrs (cognitive 16): PPrint.printAttrs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98570372bf107f8f006813afe2e3a9b22964ab3e009d8c3fd0e909bd40390ca"}},{"ruleId":"D2","level":"warning","message":{"text":"PPrint.printDocType (cognitive 16): PPrint.printDocType has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"50765ebcc595b971c2b770af7c63a2ab20d9d465eee0e345268d1a569416d727"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckIMG.check (cognitive 16): CheckIMG.check has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TagCheckImpl.java"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"7634493796189e25f128b8ea549cd3ef45eb02184948f29b66b8266e236b8a0b"}},{"ruleId":"D2","level":"warning","message":{"text":"CommsReceiver.run (cognitive 16): CommsReceiver.run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/CommsReceiver.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"384ff720cbd01836f44a56770ae29739433f4da1d10b7c90cdb42c957d46ffa2"}},{"ruleId":"D2","level":"warning","message":{"text":"MqttDefaultFilePersistence.open (cognitive 16): MqttDefaultFilePersistence.open has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2, boolean chains 1, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/persist/MqttDefaultFilePersistence.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab620ac92c850c12729dad3b3c1a0979484be18c8e83a34ae97867f07bbb01d"}},{"ruleId":"D2","level":"warning","message":{"text":"FTPHTTPClient.tunnelHandshake (cognitive 16): FTPHTTPClient.tunnelHandshake has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 2 (5 pts), boolean chains 3 (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":"Libs_Net/src/org/apache/commons/net/ftp/FTPHTTPClient.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ddfec0b484051a19adadf03c9b7489f2714bef4a247ae8cc53afc35a49fdea"}},{"ruleId":"D2","level":"warning","message":{"text":"SocketClient.isAvailable (cognitive 16): SocketClient.isAvailable has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 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":"Libs_Net/src/org/apache/commons/net/SocketClient.java"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"78728949acceb4e3064c6d6c07ea5124cd8b334bbdbcb50790ea1a7e4fb3caf3"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicTree.rebuildBottomUp (cognitive 16): DynamicTree.rebuildBottomUp has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 4 (7 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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3bf88e516202d218ac096b531e4e10699e91f460f2aadc86be7a4773616aed"}},{"ruleId":"D2","level":"warning","message":{"text":"Collision.collidePolygonAndCircle (cognitive 16): Collision.collidePolygonAndCircle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 1, 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":"Libs_XUI2D/src/org/jbox2d/collision/Collision.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c466660c4e48898308bffcb5bf6360a37a4c506149b540f45533a5a15fb475"}},{"ruleId":"D2","level":"warning","message":{"text":"World.destroyJoint (cognitive 16): World.destroyJoint has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (14 pts), loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/World.java"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f97b3714f93ed0c506a343af946f81c73f231ad78ea2f315ea7055fd47ef81"}},{"ruleId":"D2","level":"warning","message":{"text":"VoronoiDiagram.getNodes (cognitive 16): VoronoiDiagram.getNodes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/VoronoiDiagram.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3c26406e1c845640a5e3ee8e09efe6f0c7a7da0e42a94c6da9d295cdffd8c5"}},{"ruleId":"D2","level":"warning","message":{"text":"GaugeSkin.resize (cognitive 16): GaugeSkin.resize has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (7 pts), if/else 4 (6 pts), match/switch 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f87b938b9a08fc641af156819386ab7ede1bc9145330e9f8634fef682eb9e04"}},{"ruleId":"D2","level":"warning","message":{"text":"IndicatorSkin.handleEvents (cognitive 16): IndicatorSkin.handleEvents 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edb8ef55190e7df7e60a5fba3860749b48ece01ae506d6b01c9d4736bdd382f"}},{"ruleId":"D2","level":"warning","message":{"text":"LinearSkin.handleEvents (cognitive 16): LinearSkin.handleEvents has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6931a42500ffd0d45fe3aa0aaf7e4822c172da481a232d5fb065348e4a19de80"}},{"ruleId":"D2","level":"warning","message":{"text":"TileSparklineSkin.handleEvents (cognitive 16): TileSparklineSkin.handleEvents has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 2 (4 pts) (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":"Libs_jGauges/src/eu/hansolo/medusa/skins/TileSparklineSkin.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d72b0789a88253e072d5dc369f7e3ece6900b7a2f53440e36d65e77d53ef52"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Gauge: TooManyMethods \u2014 434 methods. The bar is 30 methods; this is 404 over it, 14.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b57cfce32de12150d98f64dcf788a49d20da95a7b43294ef27f1e30ff950ec8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Gauge: ClassTooLong \u2014 3056 significant lines (blank, comment-only and punctuation-only lines excluded), 434 methods. The bar is 400 significant lines; this is 2656 over it, 7.64\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":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8230f6c8795538b42305a779a8caacbecf89ba37af0672b32d86983819bca365"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Clock: TooManyMethods \u2014 208 methods. The bar is 30 methods; this is 178 over it, 6.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c9ef1f131dd57bd6d6a342f1dbc1ec964a2a4be9220e12d8931cf07b2f450e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: medusa/Gauge.java: FileTooLong \u2014 3147 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Gauge (115-5867). The bar is 500 significant lines; this is 2647 over it, 6.29\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":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8c7e7e86628d364571ca6727d865137873765a3893a8aa2ac53975d12caf28"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GaugeBuilder.build: MethodTooLong \u2014 build runs 568 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 468 over it, 5.68\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":"Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"32748a8a95212cc0e220ac26b7b24f5c53fa696205989b368ebeaa6cd2e70cb8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Helper.drawRadialTickMarks: MethodTooLong \u2014 drawRadialTickMarks runs 534 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 434 over it, 5.34\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":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"32764ab90841de8980c61ba324bb37d2d0c3fe3fa39f31cf8e5714a483c8db1b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MorphingClockSkin: ClassTooLong \u2014 2115 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 1715 over it, 5.29\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e1f7bd258df4962eb2c069d9cbc3120d2b9cef726fc29cd6c86ca41e669d3a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Tidy: TooManyMethods \u2014 157 methods. The bar is 30 methods; this is 127 over it, 5.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":"Libs_JTidy/src/org/w3c/tidy/Tidy.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de817c6f5648395807acb8e177c624eb516923586d63d7a59bdcc5180237598"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GaugeBuilder: TooManyMethods \u2014 156 methods. The bar is 30 methods; this is 126 over it, 5.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":"Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"10da1ae37d574b4dcaa3668e649a58923c3b272de98b2ae4bfffb2be26ee3f95"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QuarterSkin.drawTickMarks: MethodTooLong \u2014 drawTickMarks runs 480 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 380 over it, 4.80\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9cebd488275ec074179c9bc752ecd8da611ae39ff7695d17cf440f80e96d32"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Lexer.getToken: MethodTooLong \u2014 getToken runs 478 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 378 over it, 4.78\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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":1912}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a344aaa25bc834b1b22b9b3405cc05799684186d6c541041e1a6b80b904802"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Lexer: ClassTooLong \u2014 1717 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 400 significant lines; this is 1317 over it, 4.29\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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70c540e954428a70db46d1f0970fc70ff4a524a95ba7168eb227fe66095a2e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skins/MorphingClockSkin.java: FileTooLong \u2014 2141 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: MorphingClockSkin (47-2361). The bar is 500 significant lines; this is 1641 over it, 4.28\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4448e5897da75af1c5cf410ca581803dc1ed79069e4ff6e0a86193e7aac52be1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ParticleSystem: ClassTooLong \u2014 1598 significant lines (blank, comment-only and punctuation-only lines excluded), 71 methods. The bar is 400 significant lines; this is 1198 over it, 4.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":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae17b7084c5a17e70c897217f52e649d9c8a3450e73e07b465700a20c9cea03a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: QuarterSkin: ClassTooLong \u2014 1597 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 1197 over it, 3.99\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea414fec92b20ec4f70d331381e8fedd704aa4f2415b6e22de43fec116dd2e0e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ParserImpl: ClassTooLong \u2014 1556 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 1156 over it, 3.89\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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c03263ab8576790b8c378fc5ac4cd52ff9255f448bd63247c6b2e31c3cac58"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FTPClient: TooManyMethods \u2014 116 methods. The bar is 30 methods; this is 86 over it, 3.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/FTPClient.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5a15c8288e8153dd39544c0deb550b32a11a2962c111457e0226f4aaf48ca0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tidy/Lexer.java: FileTooLong \u2014 1722 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: Lexer (77-4072). The bar is 500 significant lines; this is 1222 over it, 3.44\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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df58bfdf5669c3bcc1215f5c1b9ede401958b227cfb5e49f90986544ca4b88b9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Clock: ClassTooLong \u2014 1349 significant lines (blank, comment-only and punctuation-only lines excluded), 208 methods. The bar is 400 significant lines; this is 949 over it, 3.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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd94a006cf80bb52e3a60f1d8bfd49ffba226b6118bb662b4f54953ec7232b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skins/QuarterSkin.java: FileTooLong \u2014 1664 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: QuarterSkin (91-1964). The bar is 500 significant lines; this is 1164 over it, 3.33\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bccc2bee51ae18c9cd6aeca4015525da6c7d58efe7182193df63447ae5e089"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: World: TooManyMethods \u2014 99 methods. The bar is 30 methods; this is 69 over it, 3.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/World.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1250f62e238fd9b7934ff1ea8c30a2e7dc7fc118444d7f1cf11c4e90f94ad7a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: particle/ParticleSystem.java: FileTooLong \u2014 1620 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: ParticleSystem (43-2189). The bar is 500 significant lines; this is 1120 over it, 3.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":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5230a312ab5ac3f3d7126083a7e92e97ace1d8ca5b5959c80d15e6a553ada05e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Common: TooManyMethods \u2014 97 methods. The bar is 30 methods; this is 67 over it, 3.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":"jCore/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2465f11373a18b89bc7842870bd4afd17c3267a62cb7f8c988a31712033a9fa4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tidy/ParserImpl.java: FileTooLong \u2014 1557 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: ParserImpl (63-3629). The bar is 500 significant lines; this is 1057 over it, 3.11\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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ce4fb0e060ab5927ab46b3b1d620f2e56aca3953b1d53d2f5f23031c43cd0e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PPrint: ClassTooLong \u2014 1181 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 781 over it, 2.95\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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d457a90f8bbb32e5e9176b1da9b4805c8232a3965c9c024b636b9f6d1ab7286"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClockBuilder.build: MethodTooLong \u2014 build runs 291 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 191 over it, 2.91\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":"Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8fd1ed189b5165de1151ea58604d19dea2c8064adb610ce602a281c07f76e4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EPCollider.collide: MethodTooLong \u2014 collide runs 284 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 184 over it, 2.84\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":"Libs_XUI2D/src/org/jbox2d/collision/Collision.java"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc21db9bd3bd1ac2f6bcbad3ab6ae8cb16efda1d9e822b8b1c8c8c39ec04614c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: medusa/Clock.java: FileTooLong \u2014 1402 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: Clock (77-2418). The bar is 500 significant lines; this is 902 over it, 2.80\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfaa40a6d70452e97a546fb90377d47eddb22ee0e36b820021879f6ac50931a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: B4XViewWrapper: TooManyMethods \u2014 78 methods. The bar is 30 methods; this is 48 over it, 2.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jXUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"997cd148400b2ea74f0bde5a7c8e9a7bb72a35119584631f3918ac6e030a26d8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GaugeBuilder: ClassTooLong \u2014 1032 significant lines (blank, comment-only and punctuation-only lines excluded), 156 methods. The bar is 400 significant lines; this is 632 over it, 2.58\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":"Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d769f86e30365c449c98359b767d436f4427180c839d137f6d743989ff373330"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParseInline.parse: MethodTooLong \u2014 parse runs 257 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 157 over it, 2.57\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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"3975b128ac42fdc385c8c40fb256e1fcb0bde2fa3a27f0aafbd2fd48adcd2a6b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClockBuilder: TooManyMethods \u2014 77 methods. The bar is 30 methods; this is 47 over it, 2.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5aac9a11151771dc13767149f8e8deddccb33abe6a28e51335e5cc4ca0c4eb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Gauge.presetGaugeParameters: MethodTooLong \u2014 presetGaugeParameters runs 247 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 147 over it, 2.47\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":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":5568}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d71aa0377527be2fdb067f7b44383ad1e3dd8be1f37bd658ca6cd21b1ffd18"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FTP: TooManyMethods \u2014 73 methods. The bar is 30 methods; this is 43 over it, 2.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/FTP.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c217fae94b32411a49df77780a1f028fc9e6701f2389245c12f0bb6802729cef"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HSkin: ClassTooLong \u2014 963 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 563 over it, 2.41\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b35fae0e15ee0a4a01b13fb668fcf9cfbdeddfface4e701b934ecb7e56e5d1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VSkin: ClassTooLong \u2014 958 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 558 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c142ded88a417e309b6a80a1b3fc40a671e11dd57ec5c58de1750c84fd16301"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GaugeSkin: ClassTooLong \u2014 950 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 550 over it, 2.38\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2bd2d96e38c93bb365004e30bb062fbab42eb29d81e1ea7d99e6e9ccf9fc4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tidy/PPrint.java: FileTooLong \u2014 1186 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: PPrint (71-2798). The bar is 500 significant lines; this is 686 over it, 2.37\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e748a2747355ebd40f7dc66e6648d61d9808ee101941ca95585ef334df85a36f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StubServletRequest: TooManyMethods \u2014 71 methods. The bar is 30 methods; this is 41 over it, 2.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fc71bf1e38a903da6b447c9e02a7ebee763f907a351d51c7fdffc6e18d14f3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ParticleSystem: TooManyMethods \u2014 71 methods. The bar is 30 methods; this is 41 over it, 2.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"836d01b4c53d32c80f66339807701f24d59d2d1b8e756011a0df9416ed1e05a2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Clean: ClassTooLong \u2014 941 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 400 significant lines; this is 541 over it, 2.35\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":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18ae5801869d15047d25ed73c4fb79a3b77a3015dc52b9e2cf2289c140ea005"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Helper: ClassTooLong \u2014 929 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 529 over it, 2.32\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":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"db75ffdb47f315a7fc8686633796e2870cffe00b9f13d2ae1c1e8500a6b77f92"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PPrint.printChar: MethodTooLong \u2014 printChar runs 231 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 131 over it, 2.31\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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2778573c173681240b8b4ea2f5f95ce870d38a610d0904cd116c5a4624ca67"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: World: ClassTooLong \u2014 899 significant lines (blank, comment-only and punctuation-only lines excluded), 99 methods. The bar is 400 significant lines; this is 499 over it, 2.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":"Libs_XUI2D/src/org/jbox2d/dynamics/World.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f8ccb8ee861d2a770070990e4858b15b927ee6c0c6775cc68ef1ff88a07f91"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Body: TooManyMethods \u2014 67 methods. The bar is 30 methods; this is 37 over it, 2.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":"Libs_XUI2D/src/org/jbox2d/dynamics/Body.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4654c15fa0ee3a5013b34bcfb05ad3debf401e44b150529bed6952157d6160"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParseBlock.parse: MethodTooLong \u2014 parse runs 220 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 120 over it, 2.20\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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2012}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32c87ad0bf250bb74ad1c6f7ccc30053cd887d7edc2c68cd71007bba3ad8b88"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Base64: ClassTooLong \u2014 879 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 479 over it, 2.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec203ab6794cd7c6534d2d7b4df08c4d1f615c56fc6ce8842ec1023254fae6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: medusa/GaugeBuilder.java: FileTooLong \u2014 1068 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: GaugeBuilder (60-1433). The bar is 500 significant lines; this is 568 over it, 2.14\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":"Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6d039638cf431f524e550ef93df78fdbef028f5e6adf794d74ec59f7e3c3db"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Collision: ClassTooLong \u2014 852 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 452 over it, 2.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":"Libs_XUI2D/src/org/jbox2d/collision/Collision.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"476b3e0dc340be1a4facc2d8025de007245793d5d10ba5d6a2fe6794a271464d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TidyUtils.isXMLLetter: MethodTooLong \u2014 isXMLLetter runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"a764770d992c3c8efd5cfe769fdb7fb54e3768cf3998770d47c6291bae277b6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skins/HSkin.java: FileTooLong \u2014 1026 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: HSkin (87-1242). The bar is 500 significant lines; this is 526 over it, 2.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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20dc6b802d66c2b51dc9db0fde278a9294af15a4c3dec5cb3e344a9c885afc9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skins/VSkin.java: FileTooLong \u2014 1021 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: VSkin (87-1239). The bar is 500 significant lines; this is 521 over it, 2.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":"Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36692a94947fc9f9a3e2d151d6eb131873d6c1d3e512bf14673c89c8cdbff0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skins/GaugeSkin.java: FileTooLong \u2014 1013 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: GaugeSkin (87-1230). The bar is 500 significant lines; this is 513 over it, 2.03\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"186cca7fc4a3f6133f7f1acb270d3cf5f10911ae2119ea7e4c48b3eca1501ca2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MorphingClockSkin.updateArray: MethodTooLong \u2014 updateArray runs 201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d690e4c0685190462d7fdd238fd5464e0f63cdcf39198b0fc2a6c8141f0f29"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Gauge.init: MethodTooLong \u2014 init runs 200 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\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":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e14a395bd601b36589705fa9e7d88277827de01f0b565c4c7495b6345e55e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dynamics/World.java: FileTooLong \u2014 976 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: World (85-2007). The bar is 500 significant lines; this is 476 over it, 1.95\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":"Libs_XUI2D/src/org/jbox2d/dynamics/World.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1af6be5a867cdd382d8a2dfac0e5ef21c42aadf3d55c3f953118671b2b81cd1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/Helper.java: FileTooLong \u2014 975 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: Helper (70-1260). The bar is 500 significant lines; this is 475 over it, 1.95\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":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b45f6114748245c297093aa5d7717559bd7af92f5d1ecf2b43ffffe1988932"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FTPClient: ClassTooLong \u2014 765 significant lines (blank, comment-only and punctuation-only lines excluded), 116 methods. The bar is 400 significant lines; this is 365 over it, 1.91\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":"Libs_Net/src/org/apache/commons/net/ftp/FTPClient.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc531d91680144a174bf80c560eef89ad50bac9459520b6fa9c68116a956cd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tidy/Clean.java: FileTooLong \u2014 942 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: Clean (85-2408). The bar is 500 significant lines; this is 442 over it, 1.88\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":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20ab50006d17b445c4c6e7b4f9fcbb03e704aa4c8058099c74615b03fc9a911"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Report: ClassTooLong \u2014 725 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 325 over it, 1.81\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":"Libs_JTidy/src/org/w3c/tidy/Report.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14a8fa9048f12cd3a3907e40cb919523af7897225e284140300ee4e97587188"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Mat22: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/Mat22.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"787e27dfb0fa39859487abcdeb04fe6494abcec6a1b3cfddaa13d8411519439e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NodeWrapper: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efe5756d781d419af8dce87c03b93b2c7f853ef1b7b82e2fd65418f1a8e34de"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContactSolver.solveVelocityConstraints: MethodTooLong \u2014 solveVelocityConstraints runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\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":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"6977afcc42c7f77c3b540c66df58a7282640558f90620e79c2b3f9080786ac30"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: objects/Base64.java: FileTooLong \u2014 882 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: Base64 (170-2087). The bar is 500 significant lines; this is 382 over it, 1.76\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":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f729e10b40b53cfdae56eb14559ee958d5a9eb889340be0bdf959962c325a5af"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Clean: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"12197b25e90d9f03f9014c5f57b719b1b41a365dee2b5ab9cda3a9f00e41a4aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Marker: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Marker.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad913d51095830d551d3dadfbd88061bca19adfd5c8ff327b6bc1f4705e5686"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: collision/Collision.java: FileTooLong \u2014 865 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Collision (46-1444). The bar is 500 significant lines; this is 365 over it, 1.73\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":"Libs_XUI2D/src/org/jbox2d/collision/Collision.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f17cba6c6c14d5f5c43e0a8eb3fed8308a868f09b7dcc695d7f2d89ecaa8d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Report.warning: MethodTooLong \u2014 warning runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\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":"Libs_JTidy/src/org/w3c/tidy/Report.java"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b77093a0096f78d473dce7c09dadc3a97e4c66cde38e14be3778b168b924e7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Lexer: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb086f31d89c8c4fa2e70aa325511fc1379de5f6511fcd3160a563aa1c5b220"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LinearSkin: ClassTooLong \u2014 662 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 262 over it, 1.66\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d48b6d1f9c4941f2a26e4c2c33717a8f6725827ba29087ce237a7fa3e24765"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MorphingClockSkin.toZero: MethodTooLong \u2014 toZero runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"6033116bcdc66739d385e02c2ea264dab9a229c89adace53126f7d2d7a175077"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MorphingClockSkin.toOne: MethodTooLong \u2014 toOne runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5319a130283821bc3519da03a2de9698ec823484ec3b1906a2f1fca279dd386"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MorphingClockSkin.toTwo: MethodTooLong \u2014 toTwo runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0ae8d360ec0fb8628636b96c8bab8141d3223686669462c66b7ee54199d9a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MorphingClockSkin.toThree: MethodTooLong \u2014 toThree runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"787ed264ca962782e865ac150fac8c03123601c973321f53d6341cbebbf7a78f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MorphingClockSkin.toFour: MethodTooLong \u2014 toFour runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"067e0c22b72239b25a99fe78cf3dad399647c50e7d89258c488d3dfaec5eb423"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MorphingClockSkin.toFive: MethodTooLong \u2014 toFive runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a8e24d1e9e1990659f04869d1cf1f6977f55aafdd75b167380a786ca1b6d78"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MorphingClockSkin.toSix: MethodTooLong \u2014 toSix runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a07db39fa635e714ea80b7ce298c41e386a8067996052a7c4ea6ab3501b5e2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MorphingClockSkin.toSeven: MethodTooLong \u2014 toSeven runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java"},"region":{"startLine":1721}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98d8a224b6161e1d2150d43a06f2ff50ee7d2dfdc6d6b7245f096a32a4412a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MorphingClockSkin.toEight: MethodTooLong \u2014 toEight runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fc43c7deb7089f3fecf1c2d647ae5d8ebcb13401eb927ee7b42ccc25a2234a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MorphingClockSkin.toNine: MethodTooLong \u2014 toNine runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java"},"region":{"startLine":2073}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efeda94fd3b64eae239957a37785030023bf3f81683bf43cf2a37679c27b03e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ftp/FTPClient.java: FileTooLong \u2014 808 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: FTPClient (279-3409). The bar is 500 significant lines; this is 308 over it, 1.62\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/FTPClient.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee679fe5c2c7184b029017f14490ae47f219d0b921da424971a2d1ed29c6cd76"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Tidy: ClassTooLong \u2014 642 significant lines (blank, comment-only and punctuation-only lines excluded), 157 methods. The bar is 400 significant lines; this is 242 over it, 1.61\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":"Libs_JTidy/src/org/w3c/tidy/Tidy.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d6b1263ef5d7761edb9aa3d8dfe7bb099a3f8998aeffdc12d7c916acdc98dc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Section: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Section.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1604bea5f1da02476ba947e3a15760726d36d297c04658b977d13ce2862820e1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BA: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jCore/src/anywheresoftware/b4a/BA.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"497975f4f8f18697e650608fcabad89629495107190cf33c3078e1b734f5bc38"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: World.solveTOI: MethodTooLong \u2014 solveTOI runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\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":"Libs_XUI2D/src/org/jbox2d/dynamics/World.java"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcf70ece3d411865718a491a7c1ea3742882230081682c12a2ab52f136b61c5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SocketClient: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/SocketClient.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"86badea5dfd7788674223ddb5ceed28bd578fc9f6f0a5457a860b7ef48e7c813"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LcdSkin.resize: MethodTooLong \u2014 resize runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91045bd1e673c8e45db8af1e76eaa8ab0fd28b857d1e5b8d0e9048b2a5a460c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NodeWrapper: ClassTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 400 significant lines; this is 223 over it, 1.56\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":"Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2115f14dcee084f112f4a6e0078c82087d91c43ba8a6648d962d3437c6fe97c1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AmpSkin: ClassTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 216 over it, 1.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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b249a4ad077d8f4c168c0f2088554e7afa050a8a07f3ddf3d6de670ece73a16a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JSONObject: 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":"Libs_Json/src/org/json/JSONObject.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb208e0d9685491c2cb85a6ab23195ce7cd94c091a87c50946c7a90b1a50d34"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Needle.getPath: MethodTooLong \u2014 getPath runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\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":"Libs_jGauges/src/eu/hansolo/medusa/Needle.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"863e96016c6261c64109582bb19c1f4627fb1e921475bc460dd7b8770cd98d4a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModernSkin: ClassTooLong \u2014 603 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 203 over it, 1.51\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"77644303cfd94b6819eaed3a4c91015bf019d89dc7ff2e5a5b621ef8c300e953"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Node: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Node.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"323861227282539015bcee7150fd2df3108ffc2299572f2f28e50ff9ed9f3279"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JSONArray: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Json/src/org/json/JSONArray.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a751211a068fca29e1d7c07ef65de676518d441c7733f674a984450fbfbd40"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Helper: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a23886cc209681eb34730b82baf58d5e845d330c4065599450453c65adfe758"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tidy/Report.java: FileTooLong \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Report (74-1809). The bar is 500 significant lines; this is 233 over it, 1.47\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":"Libs_JTidy/src/org/w3c/tidy/Report.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da95d85f9e4071bbe6062bacbc395b44e48b354b6914a85cd36ab203191105ad"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlainAmpSkin: ClassTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 180 over it, 1.45\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0384845b28f4cc0d736180d158b15bcb5de6f9a41fcf038d78c979f3bbf41cd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FTPSClient: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/FTPSClient.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9247bbd645efea70a75b96a7b45807a6f798623f880287b5d0488a14c3eb3a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RandomAccessFile: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ebfe928cf2ebed793522f61a54e678d301d75e199f90945e5939f76b47bd53"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Node: ClassTooLong \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 172 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Node.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa7665da55f88543724ed55fa464957960691b0ee5c803681d812b5e5afcffa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Lexer.parseValue: MethodTooLong \u2014 parseValue runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":3210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b145afca59fe2423c1f10dc714c928eb23f06d58f1a32c9f74ad3c0b61468da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skins/LinearSkin.java: FileTooLong \u2014 702 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: LinearSkin (64-912). The bar is 500 significant lines; this is 202 over it, 1.40\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f96b616a003cd8edbbbbea4200ebf20452b799a84817b8a7f3658167fc5a85"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MQTTConnection: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/MQTTConnection.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef0753a983fc3f42af26c8258e67f1d41c6ade7cabddedbd5483a6e7a051571"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Vec2: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/Vec2.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b07aa3a99b56009b7e2d83ee69c344b2c0fe295fea94c3652db24cf71e97a2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TimeSection: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/TimeSection.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16c24b2cd1e1f4eaa708ed54e6b0cccc26491a7a350a7c438573a79eb176a2a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Clock.presetClockParameters: MethodTooLong \u2014 presetClockParameters runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":2246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e62a8049855f1c9cc7c37f3140054790738d5eb8f55c9baabd376694e4623b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VSkin.drawMarkers: MethodTooLong \u2014 drawMarkers runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7168a4b104a2c0ac949e79d1756c12c450cc6c31f4c3ff2e66cf976c4530394"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Report.attrError: MethodTooLong \u2014 attrError runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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":"Libs_JTidy/src/org/w3c/tidy/Report.java"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44a3ff7834d8cdac1df42819446abed4ae30154ec977a4c1c04a971668e31b7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GaugeSkin.drawMarkers: MethodTooLong \u2014 drawMarkers runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98ca80af7e822760a5130de942ba0a69ba134e7d6b9a0ed5508d7e984a6583c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: objects/NodeWrapper.java: FileTooLong \u2014 689 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: NodeWrapper (87-1074). The bar is 500 significant lines; this is 189 over it, 1.38\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":"Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa486a1ca1c883398538340377ae4525effa888520aab599ea82259828c5128"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HSkin.drawMarkers: MethodTooLong \u2014 drawMarkers runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f1a10b4ebfd081cdc56435fd1a3887004fa00a9fe1394013671025f928dc07"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QuarterSkin.drawMarkers: MethodTooLong \u2014 drawMarkers runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b333b5b952531c499b84ecdfbb9b13ec5c7ede8a9c18872c42c9cb68fd95c1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PPrint: 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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e5669c4c47878e539ddd7fc8af1143f176f193b37b15f791fcd8abd7cb6e48"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MqttAsyncClient: 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":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/MqttAsyncClient.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a786b4f7afa443f844882f43bb83bf70889275c33da590b333851b0dc678c01c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PPrint.printTree: MethodTooLong \u2014 printTree runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":2084}}}],"partialFingerprints":{"codehealthFindingId/v1":"77236aa872cbc14984feb5db24b931e9757816a2f8ff6dd010b8c3456042bc3d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParseBody.parse: MethodTooLong \u2014 parse runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b05fc0424e44df5891d10d9b2da6a60f078ec9d104f2996270db933a0e0869"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainApp.mapInitialized: MethodTooLong \u2014 mapInitialized runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"927fc94ddde3252900ff298e8137278da0dd96d2b9ba93cee1c428fe6088a236"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LinearSkin.resize: MethodTooLong \u2014 resize runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6091ac1a529a468a1c50c9b77ff59f44ae39611789505f0f7b2da314b129fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skins/AmpSkin.java: FileTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: AmpSkin (76-853). The bar is 500 significant lines; this is 168 over it, 1.34\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2744f17df8929be748d021fd869c10f06bc3857412ba8847053f30fc54da4299"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Base64: 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":"Libs_Net/src/org/apache/commons/net/util/Base64.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba083e01560f564659ee2638c9599868201d5d6191f93e9cea85d467dc4f88c9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GaugeSkin.redraw: MethodTooLong \u2014 redraw runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d079e267a6cb43256fe413d9dd298650933d9d979cee14331c0392dee7aaeec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HSkin.redraw: MethodTooLong \u2014 redraw runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd41d8f8c6a19128c724c6bd1127a8c734ba514d21c5d17828fb359a265c3c3d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QuarterSkin.resize: MethodTooLong \u2014 resize runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"596e16eddfef44bbf58c47d029e4f0d00a9eb0f16e844d92ad969633369d332e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QuarterSkin.redraw: MethodTooLong \u2014 redraw runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"c378c59d42f57afd7f10931cfc4da6960219ce9518149e03a016c401e57a05d3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LcdSkin: ClassTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 131 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c7756b923d7a57c4d035642d018d960e6dd30b514c399b8efb5b5c68a3d600"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: B4XViewWrapper: ClassTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), 78 methods. The bar is 400 significant lines; this is 128 over it, 1.32\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":"Libs_jXUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2dcbebf7d98544c8900ed989020f25d95a3ea05f184b7df2d9498b28144a0a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VSkin.resize: MethodTooLong \u2014 resize runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b62c273219fa273d1b4abcb041d1da968776ce38dbe703e94b34c009fb5be3c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VSkin.redraw: MethodTooLong \u2014 redraw runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff97fe559286b86933bb5b7c650cc0a6189d4e39bf8cf1c2044078c5b457c0d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tidy/Tidy.java: FileTooLong \u2014 657 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Tidy (79-2308). The bar is 500 significant lines; this is 157 over it, 1.31\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Tidy.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb84e1624a837c55d37036e5b5b474cf89cff6db0d6d775e35e3dc17f69714ad"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ContactSolver: ClassTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 122 over it, 1.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce2f857c9ea78c53a0faa090e3cab32d22310329b8b9c7d17b52712d7470333"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DOMNodeImpl: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e2b86aa35912d862722bd73663d804c2811936f65ea52de60ef59562c54521"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HSkin.resize: MethodTooLong \u2014 resize runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94ecd88d1b259f8ee393d14fab09af9b6a4f8be1776fd47f4c249359fd086a7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QuarterSkin.resizeValueText: MethodTooLong \u2014 resizeValueText runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"632fe4edaf584fc04bcab893ec33b70625c3c81c4be2e106a5e34c5c65829f92"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClockBuilder: ClassTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), 77 methods. The bar is 400 significant lines; this is 118 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de8928c2d2795fa65d733022696aed307edac2bb83a6eae7146adc726a863e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skins/ModernSkin.java: FileTooLong \u2014 645 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: ModernSkin (66-834). The bar is 500 significant lines; this is 145 over it, 1.29\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d32c55a3e4c31c62852a8e96c763937811052cd2208697cf63743647177578"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TagTable: ClassTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 114 over it, 1.29\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":"Libs_JTidy/src/org/w3c/tidy/TagTable.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"16282f52d0fd908074761af75c49774503f2ceb68c000589a0b75af0dd3892d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skins/PlainAmpSkin.java: FileTooLong \u2014 631 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: PlainAmpSkin (73-804). The bar is 500 significant lines; this is 131 over it, 1.26\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4104c9001b09d6eda01a59204f90dda837df52d99b3918f20db0f33f8aee3c67"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TidyUtils.isXMLNamechar: MethodTooLong \u2014 isXMLNamechar runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"684289160d9426d244b5ea3054834a3b2549ceabf774280194bb9d22df4c38c7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Common: ClassTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), 97 methods. The bar is 400 significant lines; this is 103 over it, 1.26\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jCore/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7648db642cb4688ef6f27368008c1c7e9bdb8a0c038dff2d628df293d8381273"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Body: ClassTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded), 67 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":"Libs_XUI2D/src/org/jbox2d/dynamics/Body.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8398ddaef8f8d0ac66d62a9c7c443055842aff7ec306e9a737e1a3a0ebf3cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: internal/ClientState.java: FileTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 123 over it, 1.25\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":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/ClientState.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"268ac925889fd2554f9f0d2a3669dc556b04af90e69af12e2469cbb16fbec7c6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PearClockSkin: ClassTooLong \u2014 496 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 96 over it, 1.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":"Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa8282703a875d8840b285e34203213576d003f1b61039af437bf114bed3d64"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GoogleMap: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/GoogleMap.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"01483411c7c9f561229e793c8be9289f3fb50833308f8d9e195d0453f75d3118"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClientState: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/ClientState.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9b9882f40dc0139f8bf5fc6d175c98ef2f269ada9ea42ad1e9245ad31b75c8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Token: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/Token.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5b0482b473a10eb063a3e0d5f30e5bc514071df8c12cdf0f1f5969cac20423"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BA: ClassTooLong \u2014 489 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 89 over it, 1.22\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jCore/src/anywheresoftware/b4a/BA.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c617ad3ab91cd4f545f41922cc62724e57726479c3e47a60fa5f52e8878b8f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: objects/B4XViewWrapper.java: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: B4XViewWrapper (107-1227). The bar is 500 significant lines; this is 108 over it, 1.22\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":"Libs_jXUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"183dbf625c9e86e65382a87c8a75911a576e7073904184edb4538e810ec352b7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LcdClockSkin: ClassTooLong \u2014 483 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 83 over it, 1.21\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af0d86432c6da2bb5821c8b91ff1214d91ae76cc82ccf0881e487ce210ed0bd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Form: 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":"Libs_jFX/src/anywheresoftware/b4j/objects/Form.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b89832fa8a911d0c7cf485dcc291494c6bd957aa76a81a5ace30b50ae764b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: contacts/ContactSolver.java: FileTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: ContactSolver (44-1005). The bar is 500 significant lines; this is 95 over it, 1.19\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9faf127ad8f2d7da0d62615ee276e658d450d330e0566133940aef0b5605a135"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParticleSystem.solveZombie: MethodTooLong \u2014 solveZombie runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\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":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bd3e2f7f850de80cfc482c003cbf9fe452d109d543ce9d07c34ed724720a38"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TidyUtils: ClassTooLong \u2014 463 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 63 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea3842db5801679bf5df71332a29061fe3167aaffebd0d96704cf5ea38fd577"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skins/LcdSkin.java: FileTooLong \u2014 575 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: LcdSkin (69-752). The bar is 500 significant lines; this is 75 over it, 1.15\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e327ebf643ea1c67958a6e9593ac4b71e6905eacb8fd22f3069732280d5bd174"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LcdClockSkin.createAlarmIcon: MethodTooLong \u2014 createAlarmIcon 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9295abb73d1d34dcf4533d8138fa466ca05ab7569578f6e136ab7f4bd5a17a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tidy/Node.java: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: Node (66-1532). The bar is 500 significant lines; this is 73 over it, 1.15\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":"Libs_JTidy/src/org/w3c/tidy/Node.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d187ca0ecaf484ef2b778ff509475ad8657bbc390b2e3ef4c126ddee88c2c94"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GoogleMapView: 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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/GoogleMapView.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0efe6d6cf3c134638f654ebb25e673b12e60f9837131ad6c5afff7c8a7c207"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DOMDocumentImpl: 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":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"872ded4b9718453f4e713606c06d14e0a8f5e2307fe74d9c19744ab6cac0b934"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SSLSocketFactoryFactory: 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":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc737c535723ff10f154b0b983d30bf22112f9e4db273e5961ab6b5b881a25b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GaugeSkin.drawKnob: MethodTooLong \u2014 drawKnob 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f1fa256c1278b4fdff4db03a74136d6b2e7c061ca1a6e6516158b2f141d597"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HSkin.drawKnob: MethodTooLong \u2014 drawKnob 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76bdb750386f6b3b34b10d5b67dd7176afa676890a9f0b4fd1189a0be060472"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QuarterSkin.drawKnob: MethodTooLong \u2014 drawKnob 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a6d6c5c798dff6e0626d2dff52e8f5aa8fbe37d5f00b085063ec6b47929b3b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VSkin.drawKnob: MethodTooLong \u2014 drawKnob 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66560bf76766141b855568a82b0c17d1d8bb75d5c52af031c00c7fed0a1946d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TileKpiSkin: ClassTooLong \u2014 450 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 50 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9940cafc1e36866d6fb9b6bb755ed16608f6f92a1740546434f906750a00dd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: broadphase/DynamicTree.java: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 60 over it, 1.12\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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ababda801882b86048ab1b349a98fc507177a6f42e663c3dbee8ce6174cbaa73"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Scalr: ClassTooLong \u2014 445 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 45 over it, 1.11\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":"Libs_jXUI/src/org/imgscalr/Scalr.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"7541ede3d916a58f8cfed61bbae51af860794a0c3fe289109915fb9c2a31e3ef"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RandomAccessFile: ClassTooLong \u2014 444 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 44 over it, 1.11\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":"Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d65365e502236688707c2c4ebaa96ff5046591e8374c82bee625b711028edaf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Tidy.mainExec: MethodTooLong \u2014 mainExec runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"Libs_JTidy/src/org/w3c/tidy/Tidy.java"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"575608de2eae4db7ce3e93f1b11051b0f55e47e03290d472aa04701c7da02ee6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SMTPWrapper.Send: MethodTooLong \u2014 Send runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"Libs_Net/src/anywheresoftware/b4a/net/SMTPWrapper.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8dc40df464ff731d0bbdb3b2bb4a9655e92d72d5761f43f68978f440f719f8b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PrismaticJoint: ClassTooLong \u2014 443 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 43 over it, 1.11\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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc5db0d58983d64f825282186b2b3eb4ec1a5e2f834aad8e4cc7904a59d84c6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Session: 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":"Libs_MqttBroker2/src/io/moquette/broker/Session.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0566000df1164abaae015b937157c71adba9bc2a0e8ef8d645062ad9feddbf57"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Island.solve: MethodTooLong \u2014 solve runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/Island.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"3728dc3c9872236315818dc7727c930502e2fb57dfb1adc008f1859403e3352c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: medusa/ClockBuilder.java: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ClockBuilder (48-731). The bar is 500 significant lines; this is 42 over it, 1.08\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":"Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36e83eb33498abe75612b3d14d9c17fc42fe458a739c6e8bf401119ec77011a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: keywords/Common.java: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: Common (62-1205). The bar is 500 significant lines; this is 40 over it, 1.08\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":"jCore/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5611a03c9495f9971499c504a8acd5514a045f6a071fad6151fd52b0ee4f92de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skins/PearClockSkin.java: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: PearClockSkin (67-679). The bar is 500 significant lines; this is 39 over it, 1.08\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ab2204c9d19761ad033ea68601ba6dfb8870d2e864e18af60531905b11deed"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JSR47Logger: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/logging/JSR47Logger.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b250f915f775594148497caabd1d17561348ec2f632a141bed37466dc25f50e2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SMTP: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/smtp/SMTP.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87a522757267339e03375d67fec426a8a92a66c60e1454ee2008ddfa69c2070"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParseHTML.parse: MethodTooLong \u2014 parse 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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe75cb67bc73d99a54ec3364d2d38386309c911f420a91cad6ba666e21bc689"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PrismaticJoint.solvePositionConstraints: MethodTooLong \u2014 solvePositionConstraints 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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b3b96af4217ea83fca63ea70b573a8f196367ab6b9d320fe0cd694ec31cace"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skins/LcdClockSkin.java: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: LcdClockSkin (64-656). The bar is 500 significant lines; this is 24 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f94170a41f7541331c86db41609c3a82d956f3e19b6dc9b13827762c2ce15f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IndustrialClockSkin: ClassTooLong \u2014 416 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 16 over it, 1.04\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4589fde73e8138fb791414c9f42d5b9831e29fd5c8b05f200ee86b794ef83c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tidy/TagTable.java: FileTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: TagTable (70-1069). The bar is 500 significant lines; this is 20 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":"Libs_JTidy/src/org/w3c/tidy/TagTable.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7ec6095bfbb473179445ad1601510b8ec4f1379309c24ddf23fa0861ad10d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: b4a/BA.java: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: BA (50-729). 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":"jCore/src/anywheresoftware/b4a/BA.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3052b8c90493ba3a3aaabad548f7c4c1d2b038484559bbb50339bb3e14a35263"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClientComms: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/ClientComms.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2303fc30fbbcab58cb61d3fddc2950b20bf224417cdf6a5b8b01c4b3c2d69b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ServerWrapper: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/ServerWrapper.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc570ac002b77d54ee0b0e4d76b77f29b53db3202689bcece42bc70c12d8546"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MathUtils: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/MathUtils.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabc61a0100b9b1da1be9e5c2a7254a7658ffe70c056c3f0a713a96ef6480755"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: File: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jCore/src/anywheresoftware/b4a/objects/streams/File.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e41c8977b7ccc6f04d64a4771917309b31c9acd39b48e3773ed924b6fc1ba38"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: broadphase/DynamicTreeFlatNodes.java: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 16 over it, 1.03\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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f504feffbe21b5f047a8aa142b1eb2dd69769ca40176a00e6c41d0233122cb94"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dynamics/Body.java: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Body (43-1185). The bar is 500 significant lines; this is 13 over it, 1.03\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":"Libs_XUI2D/src/org/jbox2d/dynamics/Body.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecab98bb17e1ead56c40420ab03afcffe0c191e4175bd36a6a93cfc062283ddb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LinearSkin.redraw: MethodTooLong \u2014 redraw runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed7ad7737619867e030dfbae9623e46f5415df6bafcaf2f6f3921b0d837182c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Distance: ClassTooLong \u2014 407 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 7 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/Distance.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4dc954d80e6e47c15e33db85ea82df9c4d83b581a61129bf8a0f86010054f5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ServerWrapper.Start: MethodTooLong \u2014 Start runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/ServerWrapper.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e442c65b00fff39f44f106dbb851e858f341c616b8dec76aaeed0e6ad0652b51"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 73 shared lines): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1072-1229 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1084-1241 | Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:791-911 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1806-1963 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1082-1238 \u2014 These 5 members are variants of one another: a block of 73 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54b5cd77d7f91bd7ed5c1dcf0fb1abbc24584166a1f22d061f9362e95cb5ddd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 14 shared lines): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:206-224 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:192-212 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:214-236 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:214-236 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:204-224 \u2014 These 5 members are variants of one another: a block of 14 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c47a2c65245db02aa0ae0c64e7a28017010481657488556322b4f9b26ccff8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 59 shared lines): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:303-378 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:307-380 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:303-375 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:300-372 \u2014 These 4 members are variants of one another: a block of 59 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"429193568b576b1b39705b2d800d8683772768833f6ed35d2611cf8281d1ff8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 38 shared lines): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:320-406 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:574-724 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:300-386 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:570-722 \u2014 These 4 members are variants of one another: a block of 38 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11e77ffc13418a65a54513b5372446ffea90b0f03e2dc5bb6a75d03b5a590a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 35 shared lines): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:571-723 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:574-724 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1139-1289 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:570-722 \u2014 These 4 members are variants of one another: a block of 35 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b9a0d9f9d42a086295140bc151a1c5972833e12d357187b984208d4d3314ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 31 shared lines): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:537-569 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:540-572 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1105-1137 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:536-568 \u2014 These 4 members are variants of one another: a block of 31 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee4e803f1481d20da63d3de69015d8b14c79ca4eef96e82f2a4c8ca3f3d9354"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 29 shared lines): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:778-901 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:780-903 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1343-1466 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:778-902 \u2014 These 4 members are variants of one another: a block of 29 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d64dbf74eafa29b5e8938a6cdbdb08c6f324b446d7bc0fe6cb580e40f680bcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 10 shared lines): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:280-329 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:373-422 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:463-512 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:355-398 \u2014 These 4 members are variants of one another: a block of 10 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"9990df6da5f336309ab39fe22bca0f872dddc258d90d22b79af069df8bedf8fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (82 shared lines): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:197-305 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:204-308 \u2014 These two members are variants of one another: 82 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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f877e34c29dee4b061d4481095bf32b3b0bab9a559dc5c64995245353c08332"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (80 shared lines): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:273-481 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:489-615 \u2014 These two members are variants of one another: 80 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":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0dd7fab0ee6dbe6c8c80b805f71ed13273c9fa3dacacf9dadc256e205596a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (74 shared lines): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2731-2875 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2888-3040 \u2014 These two members are variants of one another: 74 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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2731}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fe7593daf7d861f83a40d4eedff5b1da9718d88c5f057051f2cc46e612cd53"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (42 shared lines): Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:810-896 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:899-996 \u2014 These two members are variants of one another: 42 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":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad646079dd9fc71b8a83242e1ff76732327c816bc35f1a63630f52072f8c960e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (38 shared lines): Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:481-542 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:571-628 \u2014 These two members are variants of one another: 38 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd009da30f34a89c400947fe7800355b0558145f1db2c19014d988cebd104db4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (28 shared lines): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:726-766 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:724-764 \u2014 These two members are variants of one another: 28 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb61adbbcf68b200a23da577e88f9c237b4c00ab3f124c4c5597b7c196092907"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (25 shared lines): Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:301-380 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:265-308 \u2014 These two members are variants of one another: 25 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"7582487dd5b5dbda6e5128b0b4c9185332b9caf9e98d619e25c302c71cc40404"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (25 shared lines): Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:382-461 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:310-353 \u2014 These two members are variants of one another: 25 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"4201007ab32284968eda3d29c67348cb05126010d4df09434b187ccffd4e397b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (14 shared lines): Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java:184-219 | Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java:221-256 \u2014 These two members are variants of one another: 14 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0f4281c1de88ce54c11c3f697eda63fade4924c17065347ca5562a5e0ecd2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (111 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:666-788 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:633-749 \u2014 These two members are one piece of code written twice and then edited apart: 111 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df009254c4ec1d1b427c4210442794771d73e48829a6107a0cdb86de83cbacf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:180-228 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:182-230 \u2014 These two members are one piece of code written twice and then edited apart: 49 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e333a4da05449f123eb7ecd62ccffa8498ad95a230ac6a9d0f97d00a9856eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Section.java:362-373 | Libs_jGauges/src/eu/hansolo/medusa/TimeSection.java:293-304 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Section.java"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92e9f295e43dd914faece00c60888b809a8f4477675538d84e4fc852043dbb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:346-439 | Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:441-466 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"4940403f8b6276deef30f97d9ae6ca5e2d577b1ba4554091ec3176bf6f76f4f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (28 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:156-252 | Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java:98-152 | Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java:86-116 | Libs_jGauges/src/eu/hansolo/medusa/skins/ChargeSkin.java:97-122 | Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:130-215 | Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:115-146 | Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java:91-138 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:179-289 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:186-294 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java:135-211 | Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:95-152 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:152-242 | Libs_jGauges/src/eu/hansolo/medusa/skins/LevelSkin.java:102-169 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:143-260 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:150-233 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:182-290 | Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:102-156 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:106-142 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java:74-119 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:104-161 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java:86-128 | Libs_jGauges/src/eu/hansolo/medusa/skins/SpaceXSkin.java:117-219 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:128-212 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileSparklineSkin.java:117-186 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileTextKpiSkin.java:97-150 | Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:124-177 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:185-287 | Libs_jGauges/src/eu/hansolo/medusa/skins/WhiteSkin.java:84-144 \u2014 These 28 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 28 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 28 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3bbf8068bc12e6bf45fd4fe0f69dcf2d09f0bc435be4308f1e152fd858be6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:405-450 | Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:331-365 | Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:438-478 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:311-345 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:403-446 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:424-472 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:544-593 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:514-562 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:630-678 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:405-447 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:510-562 \u2014 These 11 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 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"4473afa40fa4553bbfc10a011e50301baf0dd94559355101c2c21a1936786641"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1206-1219 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2018-2031 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2750-2763 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2786-2799 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2857-2870 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2893-2906 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2964-2977 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3000-3013 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:5114-5127 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d0705ac8054bdbb9b3801a4754a7ce3500c010b8ec04d2f551d07548821926"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java:207-262 | Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:443-470 | Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java:241-271 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:288-319 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java:264-291 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java:223-247 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileSparklineSkin.java:445-468 | Libs_jGauges/src/eu/hansolo/medusa/skins/WhiteSkin.java:203-266 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"774357ccf3ec50a5ec1328f12eaf1339eda0b4c394f9eff8c3faf083568ad243"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java:371-391 | Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java:592-605 | Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java:656-670 | Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java:688-702 | Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java:999-1012 | Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java:1030-1044 | Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java:1062-1076 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a8f9ceb0380ed2107a672aa49e9ad5b05ae9185514ef016dca78f018020767"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:119-192 | Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:126-198 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:123-180 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:128-202 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:131-202 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:126-196 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileClockSkin.java:94-171 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"609d894999df93deb1aebf61ec49b62c58ea7fbac930ba75ad1436c0756bb2b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:235-272 | Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:228-276 | Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java:136-195 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:216-275 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:240-275 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:240-297 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:228-261 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0823f6fe51d72517132879f5f45e3b8e4e97c41d33093c62a1473a024bd7c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java:74-82 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java:84-92 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsSteps.java:72-80 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsSteps.java:82-90 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsWaypoint.java:61-69 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderGeometry.java:45-53 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9fd68f7fd021e3b48db7f16d0da43274d229d103e0e4f96a861b1e02f8e656"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:46-68 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:71-96 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:99-121 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:124-149 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:152-177 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:180-209 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d0a3beffc9888a7d5adc221a00b58313246e0ad8a9a16d569a66235990c65e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:46-68 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:124-149 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:152-177 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:180-209 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:212-236 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:239-266 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"db874420c32f71e3b479d29617bd516090cb3496e79faebe25c9a45ea90c3be2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:431-441 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:766-776 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:768-778 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:411-421 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1331-1341 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:766-776 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a92dee65a1a36d640e413967a27a1c62b005fa77eb111c3b7b7ef17f8300fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:94-115 | Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:99-122 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:96-119 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:100-124 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:103-127 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:101-122 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32f1ea51099552d313380246fbde1280effedc65a7ee74f21d452dad4cfd761"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsService.java:34-59 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java:50-70 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java:77-95 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocodingService.java:46-64 | Libs_GoogleMaps/src/com/lynden/gmapsfx/zoom/MaxZoomService.java:43-63 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsService.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8aed3c292a6560b2eb242f1c8ddba76ea2cb5ed7e964f23d1d00774c3694087"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Libs_jFX/src/anywheresoftware/b4j/objects/ButtonWrapper.java:59-73 | Libs_jFX/src/anywheresoftware/b4j/objects/ButtonWrapper.java:103-116 | Libs_jFX/src/anywheresoftware/b4j/objects/CheckboxWrapper.java:42-56 | Libs_jFX/src/anywheresoftware/b4j/objects/MenuItemWrapper.java:204-221 | Libs_jFX/src/anywheresoftware/b4j/objects/TreeViewWrapper.java:202-227 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/ButtonWrapper.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ac3db8b5e155810c5adad65fc0fa7356b9531394a220a9b94db72070125011"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/skins/ChargeSkin.java:152-195 | Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java:159-179 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:496-686 | Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java:2274-2297 | Libs_jGauges/src/eu/hansolo/medusa/skins/TextClockSkin.java:150-187 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ChargeSkin.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6421310b49ccb271fef8c51a4cdb8e27601d5fe25250b9383ab2f9e6fca48db5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:458-535 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:458-538 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1012-1103 | Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:215-247 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:452-534 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5a07c5148ef075b067dcf15af80795a42ad7b7b35b218a85d1758f30baf7ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:992-1053 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:3169-3203 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:3217-3289 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:3303-3339 \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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34c86b90bffda591c3ea223503dc5abe2c41fe53a027abb28273420f0957c82"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java:216-288 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:532-661 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:226-348 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java:263-335 \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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a91827f29a8fff5ef001833fab75ac88dbc3ab726663c13e5d5f13972ba984"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:443-518 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:361-474 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:553-650 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:423-498 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"260a871db0b2af3f7541caffbf17429f1d1f71ab2a19d309eb76a5aa5b62e515"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java:258-281 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:695-812 | Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:334-389 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:322-379 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b71125573d2bf59d0b427795ae21bf253da23875b3a9f0e2e64d6288644f427"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:145-175 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:152-182 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:150-178 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:151-181 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"07dd1d499b918134c16c15e0ace5f2ee9be3df4bce3ba967f525a387427d3ded"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:303-378 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:307-380 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:273-301 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:303-375 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4ae606f736de2c9b6d3cf71306ecc82928e8e69b34e2e5a0cb32b30327e9e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:380-390 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:382-392 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:377-387 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:374-384 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ff1b2cb52eb1d3e0e632f5d25d6075ddc3bc0bb2960977ed28f014c9a2e7e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:392-400 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:394-402 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:389-397 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:386-394 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5feb0695d3f87cf7eb684e1ef330b6d186b6211b4ac14f2d4d2ff5f05def952e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:903-962 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:930-1082 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1651-1804 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:922-1080 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a61c500fbd732367117e1b08fa4a0c50f93789fb024e0f73dcbf536fadd65f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:241-317 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:220-298 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:273-321 | Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:215-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":"Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f5e5c7b1490e49a78ed0617a4ca3b39d6777d2ddea1a63572138420970f109"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (556 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:429-984 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:464-1083 \u2014 These two members are one piece of code written twice and then edited apart: 556 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0afa1da82b80ab091f3f9499e94098c62a303f1bb89d769fa187dd6c62ca07d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java:319-402 | Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:316-402 \u2014 These two members are one piece of code written twice and then edited apart: 84 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c722d22dff1ab9c2f4b3b8a4f32d4a008da793968d8cab9202416fb89a58d53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (114 corresponding lines): Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:109-223 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java:147-260 \u2014 These two members are one piece of code written twice and then edited apart: 114 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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"abeef8bf173ad9aace23734b21f4f478330abbacbc82b539e79d69e2a1aa1211"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:267-320 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:296-365 \u2014 These two members are one piece of code written twice and then edited apart: 54 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2679bbdb0253e9ee5e6b5fadce04a920112829a82989c97e96ea2336370e5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:225-274 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:469-513 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80ad70c52876cc31cbef409603996be56352f612ba2729e1ab7eb4b95edf431"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:1861-1908 | Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:1917-1973 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f41979d9a36b6eb1f3c95ff1f07de01b86a7b0cf0d3676ee339ff465be1fcd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:790-852 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:751-803 \u2014 These two members are one piece of code written twice and then edited apart: 53 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1aa4595e3e0d7c29f6c40e1acb62b36b6ca4f6ae432cce8983443fda699d42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java:83-130 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimClockSkin.java:73-123 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f769ea055e1ff05d5b62d8a2de5e72bbafc1e6059bee1d883df0e7a5142f91cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:725-764 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1291-1329 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cd43a86d94f23908399315d16976548698c253b2ee9e604ea1e3ef1cfdc976"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 85\u002B corresponding lines): Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:167-266 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:182-274 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:73-157 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 85 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37c9a343ddc01ec6b0a2d547654f0c28c95f5c752c4bae08597d7232794c206"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 48\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:374-436 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:354-401 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:451-508 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 48 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a78f5812363a66523c634f370a8549960d28c286e51a2ca9daba6867c68d08d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:1108-1144 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:1147-1181 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b9f177b70c136df38cc00bc9e5dcc1a644ac5a412c15ffca6f79e1a85d5a79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:265-308 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:246-288 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"a336566d756ea04400a44a699faf7f6c354be759d8241d85ce4b5526631c1eaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:852-903 | Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:1066-1110 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"29436be1e1f0ae816290ebb972c1e8a8b6946e2f518b1145e5d9c90309055678"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:308-355 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:207-253 \u2014 These two members are one piece of code written twice and then edited apart: 47 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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92a423440d463ac5031c34c4e623b96db72d64d8ef33814d3e2a2c54c00061c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:436-456 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:986-1010 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:426-450 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"92be77ec5ab08cada5a3326ae34134d00cd2b55eda9fae2589054d4d3c2a4ea6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/AlarmBuilder.java:91-113 | Libs_jGauges/src/eu/hansolo/medusa/MarkerBuilder.java:94-118 | Libs_jGauges/src/eu/hansolo/medusa/SectionBuilder.java:100-126 | Libs_jGauges/src/eu/hansolo/medusa/TimeSectionBuilder.java:94-118 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/AlarmBuilder.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40bf3ca7a2e570372a089fe356f3a16c27f0091f30cebebb3837c97241d58e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:107-147 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:113-152 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da3756a8ac441f312943ec937972c42660baaad59f11c7f0fb7a6b2917ee19a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:269-305 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:160-204 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc35bfa2fc1678fef245efef902f5f688ba745cf424feb73b07a1662a7db425"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/JFX.java:220-241 | Libs_jXUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java:1126-1161 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/JFX.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ba74449780c4990ab991f245c79d61b150a909991f6838af50b2ef191158a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java:209-239 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimClockSkin.java:188-216 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab94bcb0a3cecbfe1d3f8cfcd6b310aaea67aea9ceb847a2f5661cc82550259"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:166-194 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:171-200 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab54c7f7a45492e2a648f8c0873c1cccb3b5b0a392a2f52d32b4f1e8c00dcba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:159-207 | Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:229-282 \u2014 These two members are one piece of code written twice and then edited apart: 49 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":"Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac6088f87d25b3ff956ec1075d8fadd8ca261ee9f5eab3a7f7cd577f7d149f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:964-984 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:905-928 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c79a059cf3c3880c9af1d1909754eb201d789cd8f170a998dc0781259a4c963"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Libs_XUI2D/src/org/jbox2d/dynamics/joints/ConstantVolumeJoint.java:179-205 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/ConstantVolumeJoint.java:213-239 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/ConstantVolumeJoint.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7af6cb90b37533137ddd3450349cb5a670856d8dfb3ce4b91c35cdc1cc5a261"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java:268-325 | Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java:453-492 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfd4fe9a1b7fa5ddb0558713bebd5785b9aaacc7b0f194cc67cb04e68ba43a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Libs_B4XEncryption/src/anywheresoftware/b4x/object/B4XEncryption.java:47-70 | Libs_B4XEncryption/src/anywheresoftware/b4x/object/B4XEncryption.java:74-94 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_B4XEncryption/src/anywheresoftware/b4x/object/B4XEncryption.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a6a8111887222c8ae8031f9784db26d3f97fdf88084c07513c86f01d24418f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java:84-103 | Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java:155-176 | Libs_jGauges/src/eu/hansolo/medusa/skins/TextClockSkin.java:81-105 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5725832309dd9aff60ee0bdd3238c797b53815492d44b5710850c9db000e44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:279-293 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:295-309 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15d9fd9bc3a297b17b881034dafdae4f1e7e018cb1312c07b1b8cf6b967b1ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Libs_Net/src/anywheresoftware/b4a/net/POPWrapper.java:147-184 | Libs_Net/src/anywheresoftware/b4a/net/POPWrapper.java:189-221 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/anywheresoftware/b4a/net/POPWrapper.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f0ef2b167e9d257257163ba06401c5af7d48941579f4eb60b94bd624797049"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:300-320 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileSparklineSkin.java:421-443 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f059d39dc8aa3b9f6ea165f79865978a048c2e4d179c45e43d5b40afbbb692ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): Libs_Net/src/org/apache/commons/net/ftp/FTP.java:304-362 | Libs_Net/src/org/apache/commons/net/smtp/SMTP.java:190-251 \u2014 These two members are one piece of code written twice and then edited apart: 59 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":"Libs_Net/src/org/apache/commons/net/ftp/FTP.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce0b9cde33f6b367b3c068a0b9b33600f7d39712aebeaf9c9a6dc54368fe346"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Libs_Json/src/anywheresoftware/b4j/objects/collections/JSONParser.java:184-212 | Libs_Json/src/anywheresoftware/b4j/objects/collections/JSONParser.java:214-240 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Json/src/anywheresoftware/b4j/objects/collections/JSONParser.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca7249c489cf8fa845718cc404af1f911f91f40e83c7dbd88424f5508564660"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Libs_MqttBroker2/src/io/moquette/broker/NewNettyAcceptor.java:237-265 | Libs_MqttBroker2/src/io/moquette/broker/NewNettyAcceptor.java:295-326 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/NewNettyAcceptor.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca61516f1b6e764cf55b3c2cff9bb2d8ae8d0ca98f4cc612532bd631a1d12e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:166-202 | Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:236-277 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9eec6202c6ba0f44319d18fd688c83a88da9025fc2e3224c2d9aaa5368a21ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): Libs_JTidy/src/org/w3c/tidy/Clean.java:1325-1378 | Libs_JTidy/src/org/w3c/tidy/Clean.java:1389-1433 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48da5772fc7221b1824323b27defab95c1e377f0fb9f646a848c1d12b647fc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/ImageViewWrapper.java:79-96 | Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java:1008-1035 | Libs_jFX/src/anywheresoftware/b4j/objects/PaneWrapper.java:243-262 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/ImageViewWrapper.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d5a7dd1b7dcb89f0cf21765959d3f086393ba6c567e7970b9ba04dca613f0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): Libs_MqttBroker2/src/io/moquette/broker/config/ConfigurationParser.java:71-114 | Libs_MqttBroker2/src/io/moquette/broker/security/ResourceAuthenticator.java:77-112 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/config/ConfigurationParser.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"233ea388067774a5c6d0ae3d6f83a75117520372291915bb29089d7748411898"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): Libs_JTidy/src/org/w3c/tidy/Clean.java:754-790 | Libs_JTidy/src/org/w3c/tidy/Clean.java:798-838 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"7974f73e5a09a068beed3081eb5d943653e3502a7e2b9d40b4629efbc1f66be3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:987-1006 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:1036-1054 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"70139161ec9e7460e5d1072c663b0c6e51bfe72ea6c94277087629abfe594fe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): Libs_JTidy/src/org/w3c/tidy/PPrint.java:347-403 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:411-463 \u2014 These two members are one piece of code written twice and then edited apart: 53 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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"a957111ff3d9d8000f72dccaf5f5e2def25d0a7802664214920be585df288eec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/ComboBoxWrapper.java:49-79 | Libs_jFX/src/anywheresoftware/b4j/objects/WebViewWrapper.java:47-73 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/ComboBoxWrapper.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c0af0eef7485840d2389c18ab82d079421e14a42eb7eb05362c5cb007bea74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): Libs_Net/src/org/apache/commons/net/io/Util.java:91-135 | Libs_Net/src/org/apache/commons/net/io/Util.java:253-294 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/io/Util.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0369c511b4ed11eb58a63d62241578b524895430515e23396340269c06e8e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:589-613 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:904-920 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86311369468a1e4b3a90080529e8175f2c1f25aa77ffe1c203d5c576d1ddcca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java:1496-1538 | Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java:1557-1591 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"701f958b9468389e3c84f523f18e01ece49b0790e8799b2901d1780ee7f73644"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:971-986 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:1020-1035 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64679653bd549f2beabb22ed34b0337b740796a36135e3597a5ba29b562db8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:355-396 | Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:403-438 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bb2dd6288058e7c0dd8ab8424159205a3f3a246abe003185b282a31c2b07b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): Libs_JTidy/src/org/w3c/tidy/Lexer.java:2868-2906 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:2913-2950 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":2868}}}],"partialFingerprints":{"codehealthFindingId/v1":"11abf7be772a38518e12abe0ff37cc974a8cf21ebed0dc88edeff088c7341669"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/MqttAsyncClient.java:694-726 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/MqttAsyncClient.java:752-783 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/MqttAsyncClient.java"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"33274da02792b4a7e7acb92992f7b367a5cc2d5523f9f5f53c7d76331b195f8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java:376-396 | Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java:400-420 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa4ef7d6918ba0ba8fc7c820e35aa75d8aa40d8283c634116054c898c8aa608"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java:107-131 | Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:99-120 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ba81639d32d0ba0eb87c4f321d9d7029255ad7138782deecfb3a465025badb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): Libs_GoogleMaps/src/anywheresoftware/b4j/googlemaps/GoogleMapWrapper.java:497-517 | Libs_GoogleMaps/src/anywheresoftware/b4j/googlemaps/GoogleMapWrapper.java:546-569 | Libs_GoogleMaps/src/anywheresoftware/b4j/googlemaps/GoogleMapWrapper.java:623-646 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/anywheresoftware/b4j/googlemaps/GoogleMapWrapper.java"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc1aaa6f4327ccb70374bb4a3d15293832e314ef11900cd9c52c7d62c129718"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Libs_Net/src/anywheresoftware/b4a/net/POPWrapper.java:153-180 | Libs_Net/src/anywheresoftware/b4a/net/POPWrapper.java:195-217 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/anywheresoftware/b4a/net/POPWrapper.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d03d4255b8ffc8a157d9af93858d434ea267615750e3587d95b36985cc1a4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Libs_Net/src/org/apache/james/mime4j/codec/EncoderUtil.java:490-509 | Libs_Net/src/org/apache/james/mime4j/codec/EncoderUtil.java:516-535 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/james/mime4j/codec/EncoderUtil.java"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f5b5cca52f5940dd5784d6fd55c07af8591d234d2661d1659143c4d010418b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java:252-262 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java:212-221 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59086e2a11611d20d580bc61f193fc3d12ed783b526d9421f38a2e08428c026"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Libs_XUI2D/src/org/jbox2d/collision/shapes/ChainShape.java:191-212 | Libs_XUI2D/src/org/jbox2d/collision/shapes/ChainShape.java:220-241 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/shapes/ChainShape.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d299be589c77544715325adc837a75ad6b46b01be09fe318e56f2920f54d43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/RoundLcdClockSkin.java:202-220 | Libs_jGauges/src/eu/hansolo/medusa/skins/RoundLcdClockSkin.java:222-240 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/RoundLcdClockSkin.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f181b1899a6be6ec894b08050644fd5da2ecfc886f849a6397f3c915642aa0a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): Libs_Net/src/org/apache/commons/net/ftp/FTPClient.java:553-592 | Libs_Net/src/org/apache/commons/net/ftp/FTPClient.java:1603-1636 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/FTPClient.java"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c4b8151c0045a90168e6724c7f76ab2deb9853ee23a533316f1bd674149b4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_XUI2D/src/org/jbox2d/common/Mat22.java:461-470 | Libs_XUI2D/src/org/jbox2d/common/Mat22.java:506-516 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/Mat22.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"7839b00143b51ab0a4511545b8f338eb867c350d7c4c8f776168e93f98144674"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:867-882 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:854-872 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff32db870daa8dfcdbfec369f7d3400b2c5a66c3ebe97af580cbeb0f5602d57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:416-434 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:413-427 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:408-424 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21ba76c9137a36e8c00415c90b33ad63671ffe67b0f57ccb61accd662fed9ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:162-190 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:170-197 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"290bd014bc5d4637341bbe0a113c937d92009ad6c68438658efb7b04bcde456f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/TreeTableViewWrapper.java:52-70 | Libs_jFX/src/anywheresoftware/b4j/objects/TreeViewWrapper.java:46-68 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/TreeTableViewWrapper.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4399d93f404fd920151b8912136e3a30992d0234342bb2ca9a289e59f23ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_XUI2D/src/org/jbox2d/common/Mat22.java:283-292 | Libs_XUI2D/src/org/jbox2d/common/Mat22.java:331-344 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/Mat22.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cafb1f2b4b40c7979fcc573400ad618ae1e60948c74d0b821be9f7ba872cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Libs_XUI2D/src/org/jbox2d/common/Mat22.java:569-581 | Libs_XUI2D/src/org/jbox2d/common/Mat33.java:274-289 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/Mat22.java"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"794b3cb7490fc1a211b81129b387e14a52e4a7168b13d73eae11ef677df53e61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:990-1000 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:1039-1048 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"0890a416ba02b02dbd68f7e8985df103338d2fd6962bc7eaeb9566192c1193dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Libs_XUI2D/src/org/jbox2d/common/Mat22.java:294-301 | Libs_XUI2D/src/org/jbox2d/common/Mat22.java:346-353 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/Mat22.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"35976a66ba714491bc09dd0c3d0934430fbd3e2b7a172ffc2409f0be1e8a5247"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:87-111 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:80-102 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileTextKpiSkin.java:75-93 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b161c494c5a7bfe32bf94b766c07697063846c5feeba93f373082825e530cb1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:204-210 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:210-216 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"331b3dee2f8c6ec4bc3f073530d65a97b529f74a7108791c797c8bddf98f6452"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Libs_MqttBroker2/src/io/moquette/broker/PostOffice.java:180-207 | Libs_MqttBroker2/src/io/moquette/broker/PostOffice.java:242-267 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/PostOffice.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"837e5ae9d5d340b4d7be9debe3241ae3fa14861d38af685cd454db894487b5df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): Libs_XUI2D/src/org/jbox2d/common/Mat22.java:451-459 | Libs_XUI2D/src/org/jbox2d/common/Mat22.java:472-479 | Libs_XUI2D/src/org/jbox2d/common/Mat22.java:497-504 | Libs_XUI2D/src/org/jbox2d/common/Mat22.java:518-525 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/Mat22.java"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a19ff064be777f1b8a5c6f828957c3d6f3865b05305172aee23d0354c71caa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Libs_JTidy/src/org/w3c/tidy/PPrint.java:470-498 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:505-533 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a4e1b92ce6e79c7e5ee633c2cd5d574836e709f75a7a7ec4ef774bba331f73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Libs_MqttBroker2/src/io/moquette/broker/Session.java:224-244 | Libs_MqttBroker2/src/io/moquette/broker/Session.java:246-261 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/Session.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"35403d356784df8279eb4594c61eaf28a1fdcd32745afc52acbabf5c07eb7652"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:451-477 | Libs_Net/src/anywheresoftware/b4a/net/POPWrapper.java:301-327 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"795040beed87046212d52d5b23886aef2d2bc2101dc453d6fdfb3b3ba7c928b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:84-98 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:86-100 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e498e83996663e1e0de958656207f08f92c5b69b13db1409a9042a06a2d2426"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java:181-191 | Libs_jGauges/src/eu/hansolo/medusa/skins/TextClockSkin.java:189-203 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76384c687ff993923ce1b9ed0fc85cc1a35f7357a24183c3028875621c6bfa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): Libs_JTidy/src/org/w3c/tidy/PPrint.java:1618-1637 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:1646-1665 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:1674-1693 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:1739-1765 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"83062e313c421c39b5cd5c1acbd0cbd56d5da7351d8c17c251ac9e1720738201"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Libs_Json/src/anywheresoftware/b4j/objects/collections/JSONParser.java:97-118 | Libs_Json/src/anywheresoftware/b4j/objects/collections/JSONParser.java:119-136 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Json/src/anywheresoftware/b4j/objects/collections/JSONParser.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14b9bf0faae1c11e10f7733de023d35d91d5d85f459cb790deeeac7f047f786"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Alarm.java:169-179 | Libs_jGauges/src/eu/hansolo/medusa/Marker.java:245-253 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Alarm.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1217b21e57a47013d9dd7c27b25d4cd2f4b6da49f5f09a41780619ea08226a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java:147-161 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java:137-151 | Libs_jGauges/src/eu/hansolo/medusa/skins/SpaceXSkin.java:228-242 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f437eab126166298e236a60c165bf7bd9ca014325fb8fc9a65a9dcacd9d57f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Libs_JTidy/src/org/w3c/tidy/PPrint.java:1559-1578 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:1587-1609 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3cf4c27547c8981b8d1ed95f3581885d728d57b6c7fb965afdad912f99fba8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/AccordionWrapper.java:50-66 | Libs_jFX/src/anywheresoftware/b4j/objects/TabPaneWrapper.java:49-65 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/AccordionWrapper.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d97b0b8c3e146ac13187d5cacf565879c1ae6b30aabdb0f791227c0260f748"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Libs_MqttBroker2/src/io/moquette/broker/AutoFlushHandler.java:145-170 | Libs_MqttBroker2/src/io/moquette/broker/InflightResender.java:49-66 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/AutoFlushHandler.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"650108d7253dcf017a9a0dabe3c9265805c640634b43189e10cc68909c183344"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): Libs_Net/src/org/apache/commons/net/io/FromNetASCIIInputStream.java:157-188 | Libs_Net/src/org/apache/commons/net/io/ToNetASCIIInputStream.java:132-159 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/io/FromNetASCIIInputStream.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb755d9acbb00a6ebdddc7757988a2ecbd2218474fc805d3e9063035263c26c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Libs_Net/src/org/apache/commons/net/io/CRLFLineReader.java:54-77 | Libs_Net/src/org/apache/commons/net/io/DotTerminatedMessageReader.java:231-250 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/io/CRLFLineReader.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e98e483e629b596fa376e56e0b1f8b500d4d80e4a2de2c2c2acb1ff3163289b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): PyBridge/b4x_bridge/bridge.py:79-91 | PyBridge/b4x_bridge/bridge.py:95-106 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PyBridge/b4x_bridge/bridge.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67df86890aa698709d582f8250bceb00a2b44edff2dbbfab2152a2137a5fce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Libs_JTidy/src/org/w3c/tidy/Node.java:259-276 | Libs_JTidy/src/org/w3c/tidy/Node.java:290-311 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Node.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdb0c7858f2a8a7d5123197251e6bfdb8fcd55eafe1479b2e99c3d947671836"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Libs_MqttBroker2/src/io/moquette/broker/config/ConfigurationParser.java:45-63 | Libs_MqttBroker2/src/io/moquette/broker/security/ACLFileParser.java:50-73 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/config/ConfigurationParser.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"510d2eccad395ef2faec3d8641878547d4c3c6adedb64110c39ce154817bf747"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Libs_Net/src/org/apache/commons/net/pop3/POP3Client.java:373-390 | Libs_Net/src/org/apache/commons/net/pop3/POP3Client.java:439-456 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/pop3/POP3Client.java"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"415d2e430d1abbad2126f591be27d78a4e1f174b0c7e0b79fff6906b2bd53c14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Libs_JTidy/src/org/w3c/tidy/DOMElementImpl.java:166-194 | Libs_JTidy/src/org/w3c/tidy/DOMElementImpl.java:274-309 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMElementImpl.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1e280d2b49473ebc6f5d4b8c2ed624467aa1dd72cf085aec4a2d562a62e9bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java:569-584 | Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java:621-635 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"9275c26fb5f7767e1c5e90535b6ca233cf59f25cf90db0e20b3d3471914a0ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/ComboBoxWrapper.java:117-127 | Libs_jFX/src/anywheresoftware/b4j/objects/ListViewWrapper.java:163-178 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/ComboBoxWrapper.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53766759d31d5b164d32549e8ac549d37a7a841246372a8a5ae70c000e99aa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3171-3185 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3210-3223 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":3171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0def35f5cd633ae925a895c70145a5d02156e58db6b507e9d1bb80ad2e65da2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java:140-154 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimClockSkin.java:131-148 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b8481b57c26320fb4f293ec2af419803302a5aba1952ef32c12a7567514b21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:79-94 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:88-101 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6367dce7c82d626a3f4330a84a83f3f253ba9f0a458519e4b43d2f087849f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Libs_XUI2D/src/org/jbox2d/common/Mat33.java:128-134 | Libs_XUI2D/src/org/jbox2d/common/Mat33.java:136-141 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/Mat33.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a420132212b943ffef4a433b9b0141c589e9640b6ba61cf707f6683d650bc087"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Libs_XUI2D/src/org/jbox2d/common/Vec2.java:278-286 | Libs_XUI2D/src/org/jbox2d/common/Vec3.java:135-144 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/Vec2.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa01cd8aa7027bbd595c4c6cffee33bcdb4f556073828c2be561426eee1bc59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_XUI2D/src/org/jbox2d/dynamics/joints/ConstantVolumeJoint.java:110-120 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/ConstantVolumeJoint.java:122-132 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/ConstantVolumeJoint.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddae519b22cd3832e9c661cb9d6fe2b16f9c094d4feec9f8c77a269a02346a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/DatePickerWrapper.java:47-65 | Libs_jFX/src/anywheresoftware/b4j/objects/ListViewWrapper.java:50-67 | Libs_jFX/src/anywheresoftware/b4j/objects/SliderWrapper.java:45-60 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/DatePickerWrapper.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1131922c5d5551fe35a59588f58e75b6139f2bdce1ed7c15fc857773290132c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/SplitPaneWrapper.java:87-101 | Libs_jFX/src/anywheresoftware/b4j/objects/TabPaneWrapper.java:116-129 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/SplitPaneWrapper.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5295332dbe6f8a625ea94fa2cf4fe0c52c15263b3837e13e435d6f95c44baec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/ColorPickerWrapper.java:48-62 | Libs_jFX/src/anywheresoftware/b4j/objects/SpinnerWrapper.java:51-69 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/ColorPickerWrapper.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"77372ff4b7a882eed01d632db9a73418c707dfc166c85e5f54eb0c91d4400d45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttSubscribe.java:42-61 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttUnsubscribe.java:49-66 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttSubscribe.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a743da1b29689e4539e74c9897948a0ca974689270b9ad2929f648233f975025"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Libs_Net/src/org/apache/commons/net/pop3/POP3Client.java:56-82 | Libs_Net/src/org/apache/commons/net/pop3/POP3Client.java:85-111 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/pop3/POP3Client.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf71018d1cf9d6616624430cc9008a9da23628cb622cadd5fff059a56172a34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java:192-198 | Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java:226-232 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java:244-251 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java:205-211 | Libs_jGauges/src/eu/hansolo/medusa/skins/WhiteSkin.java:188-194 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e48ae6461dd42a7224c5ee78d61e4fa85fa9b06fe5cfc6c3440cd186ff41935"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:330-344 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java:277-291 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java:182-196 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf3dd2df1340583a43dea911dfe165949d4461dc5d2854f61b9658d75b1b044"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_Net/src/org/apache/commons/net/ftp/FTPListParseEngine.java:166-177 | Libs_Net/src/org/apache/commons/net/ftp/FTPListParseEngine.java:205-215 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/FTPListParseEngine.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ae1d77d8ae71655b7da4872dd87b8ea7f1d6632db05946a4113454bfcf56ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/CanvasWrapper.java:142-157 | Libs_jFX/src/anywheresoftware/b4j/objects/CanvasWrapper.java:168-183 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/CanvasWrapper.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc05a675fffbf24b86346cfec55a5d27cae86aa628d23a74c454141780ddae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:155-171 | Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:186-199 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b315db1d25ffd4b9f19f259f28881b01240a615f1e26aec71f2e0b8be8ee1f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Libs_Pi4J2/src/anywheresoftware/b4j/objects/Pi4JWrapper.java:46-58 | Libs_Pi4JWrapper/src/anywheresoftware/b4j/objects/GpioControllerWrapper.java:173-191 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Pi4J2/src/anywheresoftware/b4j/objects/Pi4JWrapper.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"90919c3c72156f0137c281f1e5fcb55b791b3a114c5a157c86c75f0177366a5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/B4XSerializator.java:272-287 | Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java:513-527 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/B4XSerializator.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c5a4ccdaf57dc16d6ad558280d7beca66308b94a86643bbdebe26126d0ce12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/ProgressIndicatorWrapper.java:50-60 | Libs_jFX/src/anywheresoftware/b4j/objects/ProgressIndicatorWrapper.java:81-91 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/ProgressIndicatorWrapper.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"221edf128f7ca67b43d3d61225f000d487a5cf2352eea700b539ee3fbb55f14b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java:585-602 | Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java:637-652 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae467166927b56b9f1236df60565b7a247e26f6f6b07f7117c305f8c70f86a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java:577-587 | Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java:601-613 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f6283d62ce7e30d7ac7b05a33ef21bef372f5fcbfbf4c3f2d6735c5cb6ecc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Libs_XUI2D/src/org/jbox2d/common/MathUtils.java:224-231 | Libs_XUI2D/src/org/jbox2d/common/MathUtils.java:233-238 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/MathUtils.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f363bf53723ad198be75b19e5439a1dc57c8acfb3d3df2a4120d9a9aa09043"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3036-3049 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3072-3085 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3108-3121 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":3036}}}],"partialFingerprints":{"codehealthFindingId/v1":"694407d730733422596c400e1a48335834fe5f9643e6e196f2406acdf918815a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_MqttBroker2/src/io/moquette/broker/NewNettyAcceptor.java:254-263 | Libs_MqttBroker2/src/io/moquette/broker/NewNettyAcceptor.java:312-324 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/NewNettyAcceptor.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3730bc084ead554aae928529f3a51145df692f925055cd23cc7b087a30a23d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3441-3454 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3508-3521 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3667-3680 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":3441}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa8b73613ba870c96f2d32059722e0d8e0c03fe5d6bf2bd8604bac8a2704192"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_MqttBroker2/src/io/moquette/broker/MemoryRetainedRepository.java:55-65 | Libs_MqttBroker2/src/io/moquette/persistence/H2RetainedRepository.java:60-71 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/MemoryRetainedRepository.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c17d29f8312653a1983ee6acaefed37b27f266190f188a987728f78f6900d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2298-2311 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2341-2356 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bf8dff09d207d07386a298266c0517b6079893c9a6f1b20bfb4ce3903acdc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Libs_Net/src/org/apache/commons/net/pop3/ExtendedPOP3Client.java:123-131 | Libs_Net/src/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java:222-230 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/pop3/ExtendedPOP3Client.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec538803722076f36a37211b617fbbb43abf94dea094864755750d8faa52a3c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2120-2133 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3254-3267 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3328-3341 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3631-3644 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":2120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e27867fe3d26937de96c0dc18f5ba4c939430c879bfadb3de0d56d12eade54f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java:199-205 | Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java:233-239 | Libs_jGauges/src/eu/hansolo/medusa/skins/WhiteSkin.java:195-201 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6f1f7dd5d05aa0e606419f077d1aae92faa52cfc051f3cc47a61d6abcd3700"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 9\u002B corresponding lines): jCore/src/anywheresoftware/b4a/keywords/Common.java:721-729 | jCore/src/anywheresoftware/b4a/keywords/Common.java:731-739 | jCore/src/anywheresoftware/b4a/keywords/Common.java:741-749 | jCore/src/anywheresoftware/b4a/keywords/Common.java:751-759 | jCore/src/anywheresoftware/b4a/keywords/Common.java:761-769 | jCore/src/anywheresoftware/b4a/keywords/Common.java:771-779 | jCore/src/anywheresoftware/b4a/keywords/Common.java:781-789 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jCore/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e92e437813f1a08af80560aa2fa94cd7bb33ba7ce25a3a1125b9a5c82d2af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/CommsReceiver.java:72-93 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/CommsSender.java:68-91 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/CommsReceiver.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e93a32b1e2fc24d34902fc891633ebe4b3afe6dac2444731becb299f2e6dab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java:236-244 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java:254-263 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e13bada6d6bbd17f60c7d4da56c71e302b76aa7c6a31994fec66e221cda3704"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Libs_Net/src/org/apache/commons/net/pop3/POP3.java:223-245 | Libs_Net/src/org/apache/commons/net/smtp/SMTP.java:152-173 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/pop3/POP3.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff98b8ed42f196c2059a234dfc048315799da1c2a56d945c902ef74f05a8f5d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Libs_XUI2D/src/org/jbox2d/dynamics/Body.java:458-476 | Libs_XUI2D/src/org/jbox2d/dynamics/Body.java:524-542 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/Body.java"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"527ea90d549c134ea010727432eeb8bd7d86455ea06cd86f14e1cd905ccd81f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Libs_JTidy/src/org/w3c/tidy/Lexer.java:469-484 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:492-506 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"749d709dfd9b7e4b50dd5d5332cb578bb7cfe90b2d4edd710b869ae2c7503f5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_XUI2D/src/org/jbox2d/collision/AABB.java:309-319 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DefaultBroadPhaseBuffer.java:116-130 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/AABB.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"5608059b0cf4d16e79a343778929c4d11dbfc5878a5cbdccbd5438d35b418c3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:172-179 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:252-262 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b69d88fd43c4a50f1804e127cc8ae8abfa2f242f43caf96409f91c0f893e10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Libs_MqttBroker2/src/io/moquette/broker/AutoFlushHandler.java:93-112 | Libs_MqttBroker2/src/io/moquette/broker/InflightResender.java:126-144 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/AutoFlushHandler.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3dfddb9e90de6405c76afde7bafb95f0ebb1582a9a38a2d02194bb05a2d6f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): Libs_XUI2D/src/org/jbox2d/common/Mat22.java:163-175 | Libs_XUI2D/src/org/jbox2d/common/Mat22.java:177-188 | Libs_XUI2D/src/org/jbox2d/common/Mat22.java:413-421 | Libs_XUI2D/src/org/jbox2d/common/Mat22.java:423-432 | Libs_XUI2D/src/org/jbox2d/common/Mat33.java:163-171 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/Mat22.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa884c26da8a1315c81e30a447fdd7a86007124da054122ba5b2705541c011c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Libs_XUI2D/src/org/jbox2d/common/BufferUtils.java:105-119 | Libs_XUI2D/src/org/jbox2d/common/BufferUtils.java:122-136 | Libs_XUI2D/src/org/jbox2d/common/BufferUtils.java:139-153 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/BufferUtils.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c95f9379e515b9b293d6b1240f14d5b6ed3682de8888dbd9729e3858d55d80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java:185-191 | Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java:219-225 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:280-286 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8e3a23951d2241f35a8a861d88367ecb0c47cb71cf54fd1ec0253830d0af23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 11\u002B corresponding lines): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java:42-52 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsResult.java:40-50 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsResult.java:52-62 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsRoute.java:43-54 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsSteps.java:103-114 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocodingResult.java:69-79 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"178ecdf32cc40a0f3bc9686cd479415c866478478c606ebae6cee42f21eb47aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Libs_Json/src/org/json/JSONArray.java:504-515 | Libs_Json/src/org/json/JSONObject.java:595-609 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Json/src/org/json/JSONArray.java"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d64b3892e6c3c29dfa87efc401147fa4964278581c4ec473796a6f20b93f59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:326-342 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:329-343 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"480f96b84bd8497f76d9087f796eb7a2a6df38b0080f19ddf755cfd3d73f4eba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Libs_XUI2D/src/org/jbox2d/collision/Distance.java:547-559 | Libs_XUI2D/src/org/jbox2d/collision/Distance.java:567-579 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/Distance.java"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a472141a03fb488fe450b99e1a155a55e805fc5386114b0cc8ac3150c9eced6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:373-393 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:373-392 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"070e5932686722d435dfc011b1cba526c42a864eb2fa08e43d33743aa9737aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:249-258 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WheelJoint.java:149-164 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"7780dcbf563080c7e4bbd03a118efb45c42074fd65e674b9f42c2a69aba54833"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:327-334 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:337-344 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:347-354 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:357-364 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e1d1a6c83a98b227bfb255fbd3dc607562beb9bc290dfc39bd8abcec46957e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:312-318 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:292-298 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"c698ff81196d05f15d4b3e683e7da871c0ca96af2dd6a5e3c7b68da1b1d3f4cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Libs_jXUI/src/anywheresoftware/b4a/objects/B4XCanvas.java:162-177 | Libs_jXUI/src/anywheresoftware/b4a/objects/B4XCanvas.java:187-201 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jXUI/src/anywheresoftware/b4a/objects/B4XCanvas.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f2141f68c7bc8b1b3003e088d4234fc9e0f41be1d7a5f2069e8b747fa04afe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:830-843 | Libs_jGauges/src/eu/hansolo/medusa/Clock.java:868-881 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1988ddcf683c121f74f58a3e2ef546f85cd55ea86cd618dabd21ffbf9d38c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:218-224 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileTextKpiSkin.java:206-220 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"18761ede08e422964de3b11aef6aeb27399505e0b1d725e013ba66c3cebca2d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_GoogleMaps/src/com/lynden/gmapsfx/GoogleMapView.java:464-473 | Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/JavascriptRuntime.java:124-136 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/GoogleMapView.java"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e06b89ec436c76f04f4dc9c121c4d2ac0a98cd9adca0857a85c7a09cbc7d5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java:247-258 | Libs_jXUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java:742-753 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd0593552fc70d7af8c37da1d5e5df0a89e6a5d3c5229a0784bfc2f3290b2ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java:1706-1717 | Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java:1919-1931 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6ef81e1940ad9068afa25f4871963c3085091f411dcd73be9538e1583a49c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Alarm.java:193-206 | Libs_jGauges/src/eu/hansolo/medusa/Section.java:392-408 | Libs_jGauges/src/eu/hansolo/medusa/TimeSection.java:318-332 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Alarm.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1869156c37118331b8b43806cd452639f8f5b628c631b2c9c048affda567260"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1144-1154 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:1953-1963 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"4591a5443da16647a2df0d6ad856eb2672a0a4bff70d4b9e050d552d5bc31dea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1175-1185 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:1985-1995 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6bedbdd81dd07d6390873a30520e97cd66dda654780d6f635b809a39d9e476"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1240-1250 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2054-2064 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcba0a10e173dbd590744810464ece48280e3670efc84a5ecdcecf8b546ce1e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1269-1279 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3741-3751 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed2076262907d0af588d9b006288fb71df9ce9886046558bc45f75e885bea6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1414-1424 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2647-2657 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78c0846ce158b987987987d5860fc2c0100806e2020cb4e8df164c7dca6c6b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1674-1684 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3593-3606 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"655d733cdf5576d8a9a05545e19dd41caa48c6f82583d4967b7e5e18923453ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1888-1898 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3132-3145 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd49dfe01e45670df70a645958c8382e84b1a2efdc7fc1e75d74f9f6d1de2e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1923-1933 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2573-2586 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1923}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33da30368c4982ec37a83ee1b4a3465d1f70989d1f26b2d1bdcb4083121857c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/tools/ConicalGradient.java:198-206 | Libs_jGauges/src/eu/hansolo/medusa/tools/ConicalGradient.java:211-219 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/tools/ConicalGradient.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"946bf1893db10657cb1e0f003a233d6b63d5ed342fdd0f3b132253a3df3e80b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Libs_JTidy/src/org/w3c/tidy/ParsePropertyImpl.java:583-615 | Libs_JTidy/src/org/w3c/tidy/Tidy.java:1756-1777 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParsePropertyImpl.java"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c5a4ac9a463c94f7f0c62742be79bdfe2cdf1d6a68eec92816c50a24fb63a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Libs_Net/src/org/apache/commons/net/ftp/FTPClient.java:2998-3013 | Libs_Net/src/org/apache/commons/net/ftp/FTPClient.java:3023-3039 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/FTPClient.java"},"region":{"startLine":2998}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa2e65b67e04ea9109d5ead75539aaeaa079726591618a1e25e0a1cc592e386"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/CompressedStreams.java:155-168 | Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/CompressedStreams.java:169-182 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/CompressedStreams.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"642b925be0ad02cec71d017590a25f3dbb57f165d50563f175db3e2fce9266ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:1627-1641 | Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:1643-1657 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3236fd1ac102f953b7bb70bd55d5118f8f3a00443befb2a0107dddbc2e55b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/MenuItemWrapper.java:68-82 | Libs_jFX/src/anywheresoftware/b4j/objects/TextInputControlWrapper.java:140-154 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/MenuItemWrapper.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc28d9220f670d974c7f8eca5a15ace4e094495ce020b6f5115aaa05515d589"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:1150-1163 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:1187-1200 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:1224-1237 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffed49469500ab93f7be9058f5e0ee52f4240aa054a6561151d643cd255c79ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java:105-121 | Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java:136-152 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e79f23f66784efc7a13c866040e090a996564715aaccfc1d6709fab3121face"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java:1461-1476 | Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java:1602-1618 | Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java:1630-1646 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1501b800ed17fed4b6340293b04bf5aa97ca73a2c1e655f5071b023a867ef00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:406-414 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:398-406 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05337833e85788c7f00207c66c0d648dd4ea403ef70170497e85b2584869362"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsRoute.java:73-81 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderGeometry.java:66-74 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderGeometry.java:76-84 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsRoute.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29bcfd51a704df0a2827db2d8462da482ec49be65275c02c148ba0e9b381da6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): Libs_Json/src/org/json/JSON.java:44-56 | Libs_Json/src/org/json/JSON.java:58-70 | Libs_Json/src/org/json/JSON.java:72-84 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Json/src/org/json/JSON.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f616af3b2a5333cc7e8c62f811629cc3e4f102e09337e6fe0a3b2ca807db7e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/ClientComms.java:669-681 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/CommsSender.java:145-158 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/ClientComms.java"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c95621234b6acee8028fc02e25ea9cbeca307eaca6203fdb5932ac26af4d18b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Libs_Net/src/org/apache/james/mime4j/util/CharsetUtil.java:76-87 | Libs_Net/src/org/apache/james/mime4j/util/CharsetUtil.java:111-122 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/james/mime4j/util/CharsetUtil.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0eb82ac85c46182261c096529b78e0ec7880a143eac6fcd11eba1a9d91fc37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/B4XSerializator.java:85-94 | Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/B4XSerializator.java:105-114 | Libs_Server/src/anywheresoftware/b4j/object/ConnectionPool.java:69-78 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/B4XSerializator.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e9461f5260d2bd83982030a70c937029b0274835d7c16696842e11e2bd0af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Libs_Server/src/anywheresoftware/b4j/object/WebSocket.java:210-218 | Libs_Server/src/anywheresoftware/b4j/object/WebSocket.java:222-230 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/WebSocket.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a046ce797dba602083916c697a35a905593c97966e91ddf5c3f151db9913e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Libs_MqttBroker2/src/io/moquette/broker/MemoryRetainedRepository.java:41-47 | Libs_MqttBroker2/src/io/moquette/persistence/H2RetainedRepository.java:46-52 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/MemoryRetainedRepository.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4405ff6ecf2d22654e9d9ce312c7bc25c7053727e0b7dd6b42ed62c1fdf20d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java:94-102 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java:104-112 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsSteps.java:42-50 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66285699d342ccdd7306411dbe97aa2d417d55cd77f7569e72330ca35a16683"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/CanvasWrapper.java:225-236 | Libs_jFX/src/anywheresoftware/b4j/objects/CanvasWrapper.java:253-264 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/CanvasWrapper.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"c681809d113c192649331bb0e735b4ff75d6920461e97e0aeeddb1b91f6562c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:648-657 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:4108-4117 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fc6475b4b1502716f395bced19570035252e2b71b23e54a99e5f658b0ce2a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:678-687 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:4234-4243 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa32a2f319372e40e020632a6e0d199e0758f05f89d14b3fa523792005bdaec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:766-775 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:4264-4273 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcf80aa1738c98dfb1aeacc36c28b4cedde7fbef254ab3190efd9fb910f07d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:796-805 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:4360-4369 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2da9d877c889de96ba4c016476e97110edfa2645e2c1117254b569d48fe2d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1528-1537 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:4484-4493 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"535825056fbeefb238511d08c680a4562270197b60b88ddfb125cd97ef1fa2df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1825-1834 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2461-2470 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1825}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae4a097002dd84f9006005b53a848e773a8f01555a4b6da3d42cedafb6c2cd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java:54-62 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java:64-72 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsSteps.java:52-60 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsSteps.java:62-70 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"127d5e9a67c53eedb2e76c556d611d960809ee74c1fe621ebb7ebf8dcb255b4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Libs_XUI2D/src/org/jbox2d/common/Mat22.java:560-566 | Libs_XUI2D/src/org/jbox2d/common/Mat33.java:264-271 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/Mat22.java"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa58a9839014ac7657ea2a8c3202ebe9cc7c73c6a050fc9655b8d9c21589ff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/CanvasWrapper.java:115-124 | Libs_jFX/src/anywheresoftware/b4j/objects/CanvasWrapper.java:192-201 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/CanvasWrapper.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e92a52c7d6848ea14ee759707aeeb50e07afdc662a9c8e126b82814c800904"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/JFX.java:175-182 | Libs_jXUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java:1188-1194 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/JFX.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"489f78579f503a1a0c9c06a638adabf2b2d96b9d5e5d1189fec31674aef5d87a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java:59-70 | Libs_jGauges/src/eu/hansolo/medusa/skins/WhiteSkin.java:68-80 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f2648b602ab277ae9d079b00c4112ef4bd4cc51ecfde5d798fddfbb109d3a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsWaypoint.java:71-79 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderGeometry.java:55-64 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsWaypoint.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11b10c89bb0151d47887019d3ede8abe54b3276a5a28012842cded6b66b629e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Libs_JTidy/src/org/w3c/tidy/DOMAttrMapImpl.java:109-127 | Libs_JTidy/src/org/w3c/tidy/DOMNodeListImpl.java:84-107 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMAttrMapImpl.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"771c382ff05d501dc40f936bf2cac54e3b036e00d65e49dae655ea49d282d49e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Libs_XUI2D/src/org/jbox2d/common/Transform.java:101-105 | Libs_XUI2D/src/org/jbox2d/common/Transform.java:107-113 | Libs_XUI2D/src/org/jbox2d/common/Transform.java:115-121 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/Transform.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e659e415514e116c4e3ff9485321449f0dc166aed161609b4bd16da19059c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java:946-957 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java:1015-1026 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db83b0cdbab6391aed7abaf99dcfc5abe9c06e7e517cd3e2ae985341dc01288"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Libs_Net/src/org/apache/commons/net/ftp/FTP.java:657-674 | Libs_Net/src/org/apache/commons/net/smtp/SMTP.java:448-465 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/FTP.java"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc5d6f035f46324cf48fb5bb48ba877d39aecb164c5722eb938208aec8533a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/ImageViewWrapper.java:120-127 | Libs_jFX/src/anywheresoftware/b4j/objects/TextInputControlWrapper.java:225-232 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/ImageViewWrapper.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b9704d2708a6ae3b52acdb824d26c72aaab2d8b8b4447dd95575b5f14b8886"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 10\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:927-936 | Libs_jGauges/src/eu/hansolo/medusa/Clock.java:955-964 | Libs_jGauges/src/eu/hansolo/medusa/Clock.java:983-992 | Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1012-1021 | Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1032-1041 | Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1705-1714 | Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1797-1806 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10eecc946eaea83f1482780133d69af7f58aa22fc55b943f8ffa2a8c67b6e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:4676-4685 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:4710-4719 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":4676}}}],"partialFingerprints":{"codehealthFindingId/v1":"553d898eb25d9af078b381dacddb4a5bceb9a71aa8f6971607f6c22a8048499f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:298-305 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:306-314 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cb9f79427d0f27a6665f18066f09688389fdaf905a6bf97806ba97ff36dc6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java:185-194 | Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java:200-209 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb996263e6786adea20bfc212c51f27151bfe19736c9034ee905c9dc3319a9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:5307-5316 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:5337-5347 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":5307}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c0a88b4d11f59c9d955d947a522ecff87895eb55781b30daeb4b624747f4ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 10\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Section.java:126-135 | Libs_jGauges/src/eu/hansolo/medusa/Section.java:154-163 | Libs_jGauges/src/eu/hansolo/medusa/Section.java:182-191 | Libs_jGauges/src/eu/hansolo/medusa/Section.java:212-221 | Libs_jGauges/src/eu/hansolo/medusa/Section.java:242-251 | Libs_jGauges/src/eu/hansolo/medusa/Section.java:271-280 | Libs_jGauges/src/eu/hansolo/medusa/Section.java:299-308 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Section.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bd4403d91b809ab315b6472d869b30ca3e333f9d6bedac1fb5e38cefefe994"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 9\u002B corresponding lines): Libs_Excel/src/anywheresoftware/b4a/objects/WorkbookWrapper.java:92-100 | Libs_SQL/src/anywheresoftware/b4j/objects/SQL.java:111-120 | Libs_jPOI/src/anywheresoftware/b4j/objects/PoiWorkbookWrapper.java:91-100 | jCore/src/anywheresoftware/b4a/objects/streams/File.java:394-405 | jCore/src/anywheresoftware/b4a/objects/streams/File.java:411-421 | jCore/src/anywheresoftware/b4a/objects/streams/File.java:432-443 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Excel/src/anywheresoftware/b4a/objects/WorkbookWrapper.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b03a451d7bdce310ea8799a91804ce7fc28ef64768cb7d14ac2a29eb75c9f10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Libs_Net/src/anywheresoftware/b4a/net/POPWrapper.java:309-324 | Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:459-474 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/anywheresoftware/b4a/net/POPWrapper.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cda7f3a252e91dd65c15126c77ea7dca45082fadcb40e3ba913fd5405f6549f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Libs_XUI2D/src/org/jbox2d/common/Transform.java:85-87 | Libs_XUI2D/src/org/jbox2d/common/Transform.java:95-99 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/Transform.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbbb6edb00fe360262867ff504aedb4aeec56d422c2834d6fb9f5b768cb562f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 10\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1857-1867 | Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1998-2007 | Libs_jGauges/src/eu/hansolo/medusa/Clock.java:2030-2040 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2087-2097 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:4914-4924 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:5242-5251 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:5274-5284 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7968dbe2a60a2cb32ab20c2a05de7f9e8b01b5fd28302f8dfe4cc00a06bf68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Libs_MqttBroker2/src/io/moquette/interception/BrokerInterceptor.java:105-111 | Libs_MqttBroker2/src/io/moquette/interception/BrokerInterceptor.java:114-120 | Libs_MqttBroker2/src/io/moquette/interception/BrokerInterceptor.java:151-157 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/interception/BrokerInterceptor.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa6d39cdba27951f3e28cc37366d4224b1456d83d3e38aa570f81c05d7e4cbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Libs_MqttBroker2/src/io/moquette/interception/BrokerInterceptor.java:96-102 | Libs_MqttBroker2/src/io/moquette/interception/BrokerInterceptor.java:142-148 | Libs_MqttBroker2/src/io/moquette/interception/BrokerInterceptor.java:160-166 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/interception/BrokerInterceptor.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5bf8501235eda4f757066acd23c4f9965c3fc1353624e4f85372957a1732264"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_Server/src/anywheresoftware/b4j/object/WebSocket.java:132-144 | Libs_Server/src/anywheresoftware/b4j/object/WebSocket.java:156-166 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/WebSocket.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6dd10babd5dca8ff6dad684baa9e03cf2fbba7ffacd1f78b73e3703b6e69dcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/ButtonWrapper.java:83-89 | Libs_jFX/src/anywheresoftware/b4j/objects/CheckboxWrapper.java:67-73 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/ButtonWrapper.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f178f0ba5d1371993128dc1c62c0e6164a1125cd839a84ff7c793a16f2ea64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Libs_XUI2D/src/org/jbox2d/common/Transform.java:148-154 | Libs_XUI2D/src/org/jbox2d/common/Transform.java:164-170 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/Transform.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d802b4b727e3a1bbb4839ee28e30cf168e900814977fe8ac54d61be1e27d4dd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/ColorPickerWrapper.java:73-79 | Libs_jFX/src/anywheresoftware/b4j/objects/HTMLEditorWrapper.java:58-66 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/ColorPickerWrapper.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f95b964c5d3f4f9bb9dab64fb4222691dca412d9b0f2df5a9a9404a8fea2c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): Libs_JTidy/src/org/w3c/tidy/DOMAttrMapImpl.java:87-103 | Libs_JTidy/src/org/w3c/tidy/DOMElementImpl.java:100-121 | Libs_JTidy/src/org/w3c/tidy/DOMElementImpl.java:200-221 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMAttrMapImpl.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de112544c45e2fb4600761bc5d302468017439fcad5995a9f0e15477924cde0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:190-195 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WheelJoint.java:137-142 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"cede33005c8427aa99dbd697b8cb885f3374413873bbfd07741ce319a2b11d7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Libs_XUI2D/src/org/jbox2d/common/Mat22.java:434-437 | Libs_XUI2D/src/org/jbox2d/common/Mat33.java:112-114 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/Mat22.java"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e15c18e50a867dc01c05f3d7d364cddaa86dd163288f3bc4748d454a37f23c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Libs_MqttBroker2/src/io/moquette/broker/metrics/DropWizardMetricsHandler.java:87-93 | Libs_MqttBroker2/src/io/moquette/broker/metrics/MQTTMessageLogger.java:107-113 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/metrics/DropWizardMetricsHandler.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"875467415d1c2e33732728c0e67806d68f455e7b7bb5fd45322d858bb1f1c143"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Libs_XUI2D/src/org/jbox2d/pooling/arrays/GeneratorArray.java:40-46 | Libs_XUI2D/src/org/jbox2d/pooling/arrays/Vec2Array.java:50-56 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/pooling/arrays/GeneratorArray.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61cfd62cecef3abfcf511e23952e68fe708ceb3ab26d940745ae9ea09728020"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Libs_MqttBroker2/src/io/moquette/broker/AutoFlushHandler.java:128-134 | Libs_MqttBroker2/src/io/moquette/broker/InflightResender.java:155-161 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/AutoFlushHandler.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96660ea6d71c3c551169ff75e9e8563de94a6f8d6490a110e5f95fe53e5c653"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Libs_Net/src/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java:117-128 | Libs_Net/src/org/apache/commons/net/smtp/SMTPClient.java:216-227 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"317969789fcce322759a6cead65d193b0da3c2d57de7ff5bfdfc8be3ab5c2ab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Libs_XUI2D/src/org/jbox2d/common/Vec2.java:266-272 | Libs_XUI2D/src/org/jbox2d/common/Vec3.java:125-132 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/common/Vec2.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e8ca67a962b015475d937813576f6cc055274f58f6f76bd914eee175c97367"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Libs_XUI2D/src/org/jbox2d/dynamics/contacts/EdgeAndCircleContact.java:41-45 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/EdgeAndPolygonContact.java:41-45 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/EdgeAndCircleContact.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"84629b0dc9116a83c96392a6437a5af01de885c3860b365a114c50181deabf09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/ButtonWrapper.java:46-51 | Libs_jFX/src/anywheresoftware/b4j/objects/LabelWrapper.java:38-43 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/ButtonWrapper.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"94726234b9857b748e078cb36e06d1394fe87f887d48a56e067a7b5f883414e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java:206-212 | jCore/src/anywheresoftware/b4a/keywords/StringBuilderWrapper.java:108-116 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e047c3ffab7788d27b3a41588f0fa077f14c7da19cf9550aa98c6fafdcab54b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Libs_MqttBroker2/src/io/moquette/broker/metrics/BytesMetricsHandler.java:55-59 | Libs_MqttBroker2/src/io/moquette/broker/metrics/MessageMetricsHandler.java:54-58 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/metrics/BytesMetricsHandler.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cab22e80eeb8f904a8c5b2d19052e3ad76970badd7f53392dd6ee7317b6d17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_Net/src/org/apache/commons/net/pop3/POP3.java:143-153 | Libs_Net/src/org/apache/commons/net/smtp/SMTP.java:256-266 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/pop3/POP3.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7784dce9fca005867fa8069eac7719e9caf70a68582d67f426ec0efd9a782d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_JTidy/src/org/w3c/tidy/OutFactory.java:84-93 | Libs_JTidy/src/org/w3c/tidy/StreamInFactory.java:84-93 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/OutFactory.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8163be4c011ac9b5e40e93fec9bae94927ce22a68bed0d63091f74d210a0abe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Libs_MongoDB/src/anywheresoftware/mongo/MongoUtils.java:28-35 | Libs_Server/src/anywheresoftware/b4j/object/ServerWrapper.java:513-520 | Libs_jFX/src/anywheresoftware/b4j/objects/MenuItemWrapper.java:287-294 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MongoDB/src/anywheresoftware/mongo/MongoUtils.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"77936332e50e486f94de74017d2656a40179e46bbb7aeb635e5847f294d40ed9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:735-740 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:1440-1445 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25768df40900f96e1fdd7668143954ab1b90186eef531ecc36ec2ed5ec35e50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Section.java:95-105 | Libs_jGauges/src/eu/hansolo/medusa/TimeSection.java:88-97 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Section.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32205b47363808f0710a0e9ea3a9adc593b2aca1840980b4bddda6eb529d456"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Libs_Pi4JWrapper/src/anywheresoftware/b4j/objects/GpioControllerWrapper.java:184-187 | Libs_Pi4JWrapper/src/anywheresoftware/b4j/objects/PiFaceWrapper.java:84-87 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Pi4JWrapper/src/anywheresoftware/b4j/objects/GpioControllerWrapper.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"577cedbdc6e025cea5b11154d690ed13a50d45432daf966cb105148b02afb356"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Libs_Shell/src/org/apache/commons/exec/launcher/CommandLauncherImpl.java:38-41 | Libs_Shell/src/org/apache/commons/exec/launcher/Java13CommandLauncher.java:57-63 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Shell/src/org/apache/commons/exec/launcher/CommandLauncherImpl.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"935ba088b83a26e5ff4516b478941fdf6bf0e9f1176a0061e559a4c91fedafdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Libs_XUI2D/src/org/jbox2d/dynamics/contacts/CircleContact.java:46-49 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/EdgeAndCircleContact.java:48-51 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/PolygonAndCircleContact.java:47-50 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/CircleContact.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd351d7fdd45e7b733ec776e5b21f78880702801d9cf2007434309e767989bab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Libs_XUI2D/src/org/jbox2d/dynamics/contacts/EdgeAndPolygonContact.java:48-51 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/PolygonContact.java:46-49 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/EdgeAndPolygonContact.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fb37df4e40182ad707c27fe4bdacad661cd54b731e7b2fcfa78879fc0b1b62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Libs_JTidy/src/org/w3c/tidy/Lexer.java:641-646 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:991-996 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bb5657e6ad5bf6a2cb1b61d5726f6cb57655af916bb53a4293b557e52a46af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/MqttAsyncClient.java:818-823 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/MqttClient.java:349-354 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/MqttTopic.java:86-91 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/MqttAsyncClient.java"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"34045f13220dae1145ccf7253840414ba572c9c483c04dad2738d0934a5f93c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Libs_MqttBroker2/src/io/moquette/broker/metrics/BytesMetricsHandler.java:48-52 | Libs_MqttBroker2/src/io/moquette/broker/metrics/MessageMetricsHandler.java:47-51 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/metrics/BytesMetricsHandler.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a815af0a0f9431ffca21a0abd3e39c4a1ffd1004cffd0d4dcd1a12656a722c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Libs_jFX/src/anywheresoftware/b4j/objects/AccordionWrapper.java:71-75 | Libs_jFX/src/anywheresoftware/b4j/objects/TabPaneWrapper.java:76-80 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/AccordionWrapper.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cacf329a470564be1bd294a2d52e0b6c6581bc5d3bf54d3840f5f5bc4b40f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:223-230 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:555-564 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b465ea5d3d63e2037492511cf50fcf528bd612aa309d88e83e91206d29699849"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 4\u002B corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:320-323 | Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:367-370 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:347-350 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:474-477 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:564-567 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:400-403 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"8559b0e3f3721f3e6171f9c9073ab09d1ec76ec38385461c8370ca8038776565"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Libs_XUI2D/src/anywheresoftware/b4a/objects/joints/B2DistanceJoint.java:41-46 | Libs_XUI2D/src/anywheresoftware/b4a/objects/joints/B2PrismaticJoint.java:45-48 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/anywheresoftware/b4a/objects/joints/B2DistanceJoint.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c92160633bc4a6f50605a6e2313a8af5111c86b3f14fe67df7edc1003cfc4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Libs_Net/src/org/apache/commons/net/ftp/FTPSTrustManager.java:47-52 | Libs_Net/src/org/apache/commons/net/util/TrustManagerUtils.java:56-63 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/FTPSTrustManager.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d3de5a4a485a508d5b900dec68ec20359256884ceceb1ff524a68ba9840d85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:856-862 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:843-849 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb70bf623410ecd5d11181c28caee75af5bfd6173d51252b2496d10cc3885320"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/ChargeSkin.java:124-128 | Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:200-205 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ChargeSkin.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8602acea1cc5b38f3b90d34b76f7ccf0175fa9eb56d6431ddde3db0be2543b18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/ChargeSkin.java:144-148 | Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:247-252 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ChargeSkin.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ba586e36ea5d6ae4893c6fde845ec4419d908e585dd7b26cfc9286c12acf10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java:213-217 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileSparklineSkin.java:188-192 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f917c7bab9bc0d0ead4232cfcdd320c5e44a55b93d9eef855b0a0d94aace8ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201348 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/WorldManifold.java:105-138 | Libs_XUI2D/src/org/jbox2d/collision/WorldManifold.java:144-191 \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 \u0060Libs_XUI2D/src/org/jbox2d/collision/WorldManifold.java:105\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/WorldManifold.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f330726d165e5fd79a0a3e3cfbb54638d807f93e4cb55edfbe4680e3db3645de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:160-206 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:154-200 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:160\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d0240c9a8d6a72f078e5087dfb108c5cc8f38193abff0545fceee4db9ac3b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:198-242 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:205-249 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:198\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31a91dad5174b13e793fca3914fd58e3fae0a3be9629eb364a49b17598ba4dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201345 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:886-929 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:933-977 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:933\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"03672559440588f686f5a859e95596b5e0e1d215b2e251ce6fa94d95c85d0b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201345 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:976-1019 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:1032-1076 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:1032\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":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"84037a8c685aca2f8fce1c9a8f025f9d0b1318476349ddc3dcef192450c180f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:616-656 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:583-623 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"625e17a8675d121351a9b1e98b880821df65af09f8239b6a8a7eb9222defcede"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:183-231 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:190-238 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:186-234 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:189-237 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:183\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d45ee8f52156523c56a6dc5a031f6d9bc99a25763f2f1d68da499fa49ee6c72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/PPrint.java:368-403 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:428-463 \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 \u0060Libs_JTidy/src/org/w3c/tidy/PPrint.java:368\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_JTidy/src/org/w3c/tidy/PPrint.java:367\u0060 calls \u0060outc\u0060 and \u0060Libs_JTidy/src/org/w3c/tidy/PPrint.java:427\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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"9893c8dacd82b7645a9bd22f122c286643feb873a3d23611fe6d779476b0f776"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/PPrint.java:2109-2141 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:2409-2441 \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 \u0060Libs_JTidy/src/org/w3c/tidy/PPrint.java:2109\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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":2109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d06006468393d3ca933e0fcaa91c5af336d73d56993854c9e2bd62af910aff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1198-1229 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1210-1241 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1932-1963 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1207-1238 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1198\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5aa6582a56565ebb9e0c145d3a13c34acf7e302c07e2fdc5bfc00e50a9a45a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/Lexer.java:2869-2900 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:2914-2944 \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 \u0060Libs_JTidy/src/org/w3c/tidy/Lexer.java:2869\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":2869}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03226eb15d6c3dbf813666f47a4b12a0cd3d1864c3e2f8a214b475675f44935"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:116-147 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:121-152 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:116\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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd73c2603352cd0ae568b649a6ebe7c42300cecdf7e5b6355195b996d59c5346"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:676-704 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:728-754 \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 \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:676\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2986a097c5f5d1fac1e2fac38757c6d79c495e2e8a2675f95cf7d6822b0f4b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:616-644 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:676-703 \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 \u0060Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:616\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":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"824f348fb9c208d4874c71f4bc1f478eac20b17800e3448ed5984376e24d6cab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java:271-298 | Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java:334-361 | Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java:456-483 \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":"Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d6ac4abacfe63e9097104ff841b2f7a73f1cc3c7a27ed592caf911e115ce27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (70\u201371 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:673-743 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:640-709 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:673\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"4245c9a7f3b46dd2d67256d4042477181e58bc61d6ae673213e3e675d2d1a87b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:1862-1890 | Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:1927-1954 \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 \u0060Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:1862\u0060 it does not close everything it opens, so those exact 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":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":1862}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51605802c6332cfdcd36bdf082bc068f5a3babf620c1da4b315ab3620aff5d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201326 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:750-775 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:716-741 | Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:366-369 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:366\u0060 calls \u0060setControlX2\u0060, \u0060setControlY2\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:750\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2eb54d56095298c1fa5fd97ffbca61f3df82cd163fd3994430e4592d1f9326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201326 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:300-325 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:483-508 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:372-375 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 225 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:372\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:298\u0060 calls \u0060getElements\u0060, \u0060add\u0060, \u0060ClosePath\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:372\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"375c6517bcf64e395fd3cdad53941f8ff6151e143728215c3a35c0ad669e1942"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java:164-189 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java:155-180 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9341db68d13b9dd4be7bd322039a4b126839a221fb69897319a9d13ab6b503bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Libs_MqttBroker2/src/io/moquette/broker/config/ConfigurationParser.java:75-99 | Libs_MqttBroker2/src/io/moquette/broker/security/ResourceAuthenticator.java:79-103 \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 \u0060Libs_MqttBroker2/src/io/moquette/broker/config/ConfigurationParser.java:75\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":"Libs_MqttBroker2/src/io/moquette/broker/config/ConfigurationParser.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"afeb98f550a05de29d00aa32a146cf1697ad8d93595e8bf29d884d96b9bdf4c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:874-896 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:972-996 \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 \u0060Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:874\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":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cd88722bb0cee53d5d688c94a20516bbcb4c2875dada7d62b5380d92658171"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:284-308 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:264-288 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:284\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:283\u0060 calls \u0060enableNode\u0060, \u0060getTitle\u0060, \u0060isEmpty\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:263\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9ac0ecc374488bb22d2c7934943a888c7202c91cd1276de88a16720711a044"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:523-561 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:503-541 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:523\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d27c80cfb30dedf85210eaeecf4465152f2dc638688f143dae00329f79c1fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 4): Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:521-551 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:587-617 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:649-677 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:708-736 \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 \u0060Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:521\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"786532641c2fe6f7b8661b7d9830eccee0b4e3885d770340a94e266890c6054e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/PPrint.java:846-869 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:918-941 \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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad39a5a5f1d5178abef228e448b653c238d7c3ccb24d3a1504510cb2004657d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:471-510 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:451-490 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:471\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceaf8ad58ac699137a5d01ee01b127a0ad661c354bbcc74a09f62e5499d33bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:181-205 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:183-207 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:181\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b8f0111aedf5fc565bfdd48dd926882187ec38c9ce9e5c32e9a14784e90db0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:167-190 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:172-195 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 95 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:167\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0f353f050336e3aec89bc3851d741b7565c9b46231c46724d8c96e669f908a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1099-1148 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1111-1160 | Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:820-869 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1833-1882 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1109-1158 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"1174928ddb22d42af10424dd88a0d5f9e85b148bedbeb5f08ff72b6082de6776"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:547-569 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:550-572 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1115-1137 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:546-568 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:547\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"743ef644505c932473d32d83c3889ad0918b4a5208827ca38f5146013979ae9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:140-162 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:143-165 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:138-160 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 429 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:164\u0060 calls \u0060Circle\u0060, \u0060setFill\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:167\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"967275c31e66bc0c5f304ddf5363c8e269dc4acab3a9a14a3f7cc6c8389faeea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Libs_WebSocketClient/src/anywheresoftware/b4j/object/WebSocketClientWrapper.java:124-146 | Libs_WebSocketClient/src/anywhersoftware/b4j/objects/WebSocketClientWrapper.java:114-136 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_WebSocketClient/src/anywheresoftware/b4j/object/WebSocketClientWrapper.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"99211db399735a43997c8ab4a37af142330296c731e9e59a5f479bc234fd2323"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:694-716 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:744-766 \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 \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:694\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e4264b942c107a3a248a41eb2377e90d79552c11969d3104e10c61dd082c66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/Lexer.java:3148-3169 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:3174-3195 \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 \u0060Libs_JTidy/src/org/w3c/tidy/Lexer.java:3148\u0060 it does not close everything it opens, so those exact 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, \u0060Libs_JTidy/src/org/w3c/tidy/Lexer.java:3146\u0060 calls \u0060addCharToLexer\u0060 and \u0060Libs_JTidy/src/org/w3c/tidy/Lexer.java:3172\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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":3148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1611a378a913a2ff78dcae608455ad34e2e8a5f2e750b766f01935c85dd532b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2525-2545 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2759-2780 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2525\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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2525}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebab0ef98811d776fdacf8da92cab57873c29d591e22c039e40ea908444feca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:498-519 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:542-563 \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, \u0060Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:540\u0060 calls \u0060getCustomTickLabelsEnabled\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:496\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28f32f6cd2eb2735c7499e68a482fd63edd3e781388c658ebeec8d8f119ab5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/PPrint.java:471-491 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:506-526 \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 \u0060Libs_JTidy/src/org/w3c/tidy/PPrint.java:471\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab616aba6953fa24792cb9bde791a2083546c9db2a6aef2b47afbe00ddb4bfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:3170-3190 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:3304-3322 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:3170\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":3170}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fdc830682cb74c7c1355752173673094741614b84fdfed755cc68001010658"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java:169-187 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:249-268 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:271-289 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java:169\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc33832b38f734f09d9a38b50f132c418ddb9c32650287cd78896857566e76d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java:172-191 | Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/GoogleMap.java:324-343 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/GoogleMap.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java:199\u0060 calls \u0060panBy\u0060, \u0060invokeJavascript\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/GoogleMap.java:352\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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7a164b21c1f2197117446afebc828547cb4fcc2a12c079a0fe022b4aee5a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2785-2808 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2994-3016 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2785\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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2785}}}],"partialFingerprints":{"codehealthFindingId/v1":"42060ecf54768826ccc473c0e76d741afada9232ef6773b6589fdb6132186343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/Collision.java:354-373 | Libs_XUI2D/src/org/jbox2d/collision/Collision.java:376-393 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_XUI2D/src/org/jbox2d/collision/Collision.java:354\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/Collision.java"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc4ea37e824f541fbb8acbcb0a1b8b97268e4ae11bf0b47091aa049a6e755f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:2028-2052 | Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:2106-2130 \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 \u0060Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:2028\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":2028}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea433f5ced2c752f0c8330190c6f7d023ed01dfe905b8321469022c02670c5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:444-467 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:424-447 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:444\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd99938153bfcba73972e842c2eda47cba18dad483ee1d50fd6d87d457df9de7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:813-845 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:766-798 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"d711fff0c2e1fc6713923915c2f12fba02abd70a06a25a865fd0b3674e12fcd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:547-566 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:604-625 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"54395e9504d6e1ce8ac8f94baf3562a5a09d780d2420876209b90ef8cad227a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1517-1535 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1539-1557 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1561-1579 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1583-1601 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1606-1624 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1629-1647 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"be48272a366a2e39ac3d9ec48ded4c12b8c777d894d1a606f9350540c79c135b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java:74-92 | Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/GoogleMap.java:92-110 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/GoogleMap.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a918d05a83dce961e6df7a006063bac98f64cc931e138a1e558d59d9dd24e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:867-885 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2276-2294 \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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ba8421fab7128eac5c6aaf33a063b7a4f6dc1e39a5eae88e1a7e06be3267b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:277-295 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:285-303 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:277\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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"89994962e26563e5f26ddefdff8d1ce7516c097727d39aefb33e3020c6db8e3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java:87-105 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimClockSkin.java:77-95 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SlimClockSkin.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java:87\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SlimClockSkin.java:96\u0060 calls \u0060setVisible\u0060, \u0060isDayVisible\u0060, \u0060setManaged\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java:106\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae460a900b6c7a2db21640302f075b2cb4f353c7e79eedfd73d5c8e9b951499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:636-654 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:700-718 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"127038790c3959711ea0d580a533987d899e073bca07f1aca0d8a44d7d6d8418"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:191-207 | Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:266-282 | Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:421-438 \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 \u0060Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:191\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, \u0060Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:265\u0060 calls \u0060printStackTrace\u0060 and \u0060Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:190\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":"Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f060fbdc0bead6fbeb102c7ffbcb5da7c2d55ef55d01b7ccf71b17d9bcdffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:547-564 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:613-629 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:673-689 \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 \u0060Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:547\u0060 it does not close everything it opens, so those exact 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, \u0060Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:565\u0060 calls \u0060add\u0060, \u0060cross\u0060, \u0060subLocal\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:631\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":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc9dfc7f503573d3b845749adf6703a34cb49dff3fffe0cdd91771597637da3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java:149-166 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:132-149 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java:171-188 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:130\u0060 calls \u0060popVec2\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java:147\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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f93c831eb7d61291e942e8857958f07d0cb8999b3f3c37148bc7252aa253622"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/util/MarkerImageFactory.java:60-77 | Libs_GoogleMaps/src/com/lynden/gmapsfx/util/MarkerImageFactory.java:86-101 \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 \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/util/MarkerImageFactory.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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/util/MarkerImageFactory.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c816be7ac68651e99ddce17c6fa5f5a37af74d52bcf7f326ad837dde92a75938"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:3360-3377 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:3572-3589 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":3360}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7db4cb7136408fe7cfb12aaa837ef6fe32c55a2a19fbf0a20f8879e6462904"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:564-581 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:544-561 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2e42fc852380018a42e84a82ce3dad702c392cb02efa804d55bfca3d6400ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java:214-231 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimClockSkin.java:193-210 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SlimClockSkin.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java:214\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c4480c11a34c1648669285aa7b39ceb695a312dbcfcea9d32a9d2da2f6b3ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:745-760 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:824-841 \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":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe23f194c8d814798291e6adc99a2577066a9285c6a3762e7884be9a6fe84f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): Libs_JTidy/src/org/w3c/tidy/Lexer.java:2634-2650 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:2658-2674 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:2682-2698 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:2764-2780 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:2797-2813 \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 \u0060Libs_JTidy/src/org/w3c/tidy/Lexer.java:2634\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_JTidy/src/org/w3c/tidy/Lexer.java:2796\u0060 calls \u0060ungetChar\u0060 and \u0060Libs_JTidy/src/org/w3c/tidy/Lexer.java:2633\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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":2634}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61a6f913282ba51cdfce2b981bfe812d4a7276c43ea8cc115e1c6832e267fce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:365-381 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:492-508 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:582-598 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:462-478 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 201 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:599\u0060 calls \u0060relocate\u0060, \u0060getLayoutBounds\u0060, \u0060getWidth\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:382\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a1b9188bcd3e0da30ec97f4c6cbc748a37c960d6fa4b491669571cc39defcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:304-320 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:308-324 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:304-320 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:301-317 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:304\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c69582c60c031d5954d00cffcb8810807c31587fa07b890ef2eeaf117c3670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1180-1196 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1192-1208 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1914-1930 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1189-1205 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1180\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1179\u0060 calls \u0060setFill\u0060, \u0060getSubTitleColor\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1188\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0411d1e64857bf2dbf2a539d81823bff58f5e75287ccdd093dfde28575c0be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 3): Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java:128-142 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:111-127 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java:149-165 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java:145\u0060 calls \u0060popVec2\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:128\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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a4bd79a8b0479bd54860d5f2366116ebf7eb912e104deeae658381b3b3d7a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:779-796 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1344-1361 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:779-796 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java\u0060 as WHOLE FILES: this scan already matched 60 separate duplicated blocks between them, totalling at least 717 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:779\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c79cba24b54cd0a2431f1d3be6bf6d277700cd0b6e2e9c4307623f3fea9ea86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp.java:177-193 | Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp2.java:110-125 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp2.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8cd0d2fa6fbfa957510ada7f0ded1b59054969cc566c5d14d1f6ff950cc39a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/Clean.java:582-598 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1137-1153 \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":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e6f26bee8f8b2eea248ced3ea3762651a36df332f7a9cf86b0e079493b7fc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/PPrint.java:282-298 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:317-333 \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 \u0060Libs_JTidy/src/org/w3c/tidy/PPrint.java:282\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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b79734313f9abd2ba34c08617e82570e1f7911414fad245a7e85fa9a441c33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:266-282 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:247-263 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:266\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:283\u0060 calls \u0060enableNode\u0060, \u0060getTitle\u0060, \u0060isEmpty\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:264\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"764c7b5600e7f058031fb0147a254aef8b4baaf26eb55b707cbbdbfd54de7a04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:169-195 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:169-195 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 429 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3a44613fceaa81d01bd884060444d51c9048f773b0d4030bfa426e3929ff2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:102-118 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:135-151 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:102\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"071143a32211a19e22f8f513766551e429f81285e02d01645633de73e3cae921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201316 lines \u00D7 11): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:437-440 | Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:362-363 | Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:455-470 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:342-343 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:417-432 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:469-470 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:562-577 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:559-560 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:647-662 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:444-445 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:527-542 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:470\u0060 calls \u0060relocate\u0060, \u0060getLayoutBounds\u0060, \u0060getWidth\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:440\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f4de775317436a9e1d0351483336d68d3ea9eb37878ae36475d6a0a83e8071"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:350-365 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:352-367 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:347-362 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:344-359 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:350\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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:351\u0060 calls \u0060getRange\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:349\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f823041a2764f46d7e47329546ad36b607397ac16fb8aa58c047963d1d8e6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp.java:437-471 | Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp2.java:204-238 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp2.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp.java:437\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp.java:436\u0060 calls \u0060getMap\u0060, \u0060showDirectionsPane\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp2.java:202\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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp.java"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f80c48b0071752bd603d99c462dd4bf92f0650614e0bbe1c265e43d4f9ab31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/Clean.java:858-875 | Libs_JTidy/src/org/w3c/tidy/Clean.java:877-894 \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 \u0060Libs_JTidy/src/org/w3c/tidy/Clean.java:877\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":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbfd8d1859e45f762288f93ad09346d9a0fb04717050fdb7b9b271a9fbc00fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/DOMElementImpl.java:101-116 | Libs_JTidy/src/org/w3c/tidy/DOMElementImpl.java:201-216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_JTidy/src/org/w3c/tidy/DOMElementImpl.java:101\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMElementImpl.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95c0a51158d7d7101aef4d05cf8cc83863f60796cc4c85084475d8304bade0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/Node.java:376-391 | Libs_JTidy/src/org/w3c/tidy/Node.java:417-433 \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 \u0060Libs_JTidy/src/org/w3c/tidy/Node.java:376\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":"Libs_JTidy/src/org/w3c/tidy/Node.java"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8e0821e350c96643e2e3fea4259695e143045cc5fb958023d7e7d36b6b0973"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/PPrint.java:1102-1117 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:1125-1140 \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 \u0060Libs_JTidy/src/org/w3c/tidy/PPrint.java:1102\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_JTidy/src/org/w3c/tidy/PPrint.java:1099\u0060 calls \u0060addC\u0060 and \u0060Libs_JTidy/src/org/w3c/tidy/PPrint.java:1122\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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a22a37baecfbade5fe5c3cd1a1bc2e47859e950baa77266744383e354dc7f33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParsePropertyImpl.java:423-438 | Libs_JTidy/src/org/w3c/tidy/ParsePropertyImpl.java:471-486 \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":"Libs_JTidy/src/org/w3c/tidy/ParsePropertyImpl.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4acfad65cbc19f3271fd7d29389f6d73ca60efef707ba0589fa1444215dedb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:462-477 | Libs_Net/src/anywheresoftware/b4a/net/POPWrapper.java:312-327 \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 \u0060Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:462\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":"Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ba83e5b8a6036d26b1fbe6cad6a68a60e0dd99193107e6ef95eeffed5525f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): Libs_Net/src/org/apache/commons/net/ftp/FTP.java:326-341 | Libs_Net/src/org/apache/commons/net/smtp/SMTP.java:212-226 \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 \u0060Libs_Net/src/org/apache/commons/net/ftp/FTP.java:326\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":"Libs_Net/src/org/apache/commons/net/ftp/FTP.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c70d9166b78d0dd8cdca405f9246e54462c108e99d7ae23139acbc7dd4b167a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/Collision.java:764-779 | Libs_XUI2D/src/org/jbox2d/collision/Collision.java:799-814 \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 \u0060Libs_XUI2D/src/org/jbox2d/collision/Collision.java:764\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":"Libs_XUI2D/src/org/jbox2d/collision/Collision.java"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54ad5d83fa76e5c5723a9dfdda3aa193f43c7af522418075a794975cf70db45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Libs_jFX/src/anywheresoftware/b4j/objects/ChoiceBoxWrapper.java:51-66 | Libs_jFX/src/anywheresoftware/b4j/objects/ComboBoxWrapper.java:64-79 \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 \u0060Libs_jFX/src/anywheresoftware/b4j/objects/ChoiceBoxWrapper.java:51\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/ChoiceBoxWrapper.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b4319c41ef366a7ed6cf6525e76da9d688b1c5ae9c46220174ecf9f343417c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java:72-87 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java:67-82 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"65db08675c91712aa32f9de495f1200ee1140557e0fb60dc2f5b7b38f0d6a514"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:382-397 | Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:433-448 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:382\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8d5bca1c74e960544f31d31d39137630e45889a21d0c9061ab2142591a392e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:130-144 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:135-149 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:138-152 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:133-147 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 201 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:130\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:145\u0060 calls \u0060setFill\u0060, \u0060getHourColor\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:150\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5f57eb09673b75e7528d746c814c525c5eacdc2c800c9cdf7648ed6a9301ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:233-247 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:240-254 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:236-250 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:239-253 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0503c7460079e7e0fde789d00720388c14e1720ec7d2f2ce95aaf85b1df2135"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1139-1153 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1151-1165 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1873-1887 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1149-1163 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1139\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4628900b857cf066c0ae0e44d28cfe86a55e558df0adf7e8dc44ceb5d4d0ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:848-872 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1413-1437 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:849-873 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java\u0060 as WHOLE FILES: this scan already matched 60 separate duplicated blocks between them, totalling at least 717 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fba20dad6059994ca7035c32f9751224b692d6eadc12bfe751a6f62f83b1fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/Lexer.java:3235-3249 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:3261-3275 \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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":3235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b3e3c4e77f08d2f71a47e23d2e1194799dbc5d7a359a2ee521b320cf882da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/PPrint.java:2625-2642 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:2701-2718 \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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":2625}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab879c14b4fd392dc2a4f43f489d4d14f7e27c852603604005d130dfca7199b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2828-2842 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2937-2950 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2828\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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2828}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57d433ca050bd42e99219aea9a603b2c7b7d056d69a6e0e10ca70f4e2f38f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:328-342 | Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:382-396 \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 \u0060Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:328\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":"Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c104e942168610f919c0da257fd1d5dc77289e5ff5e2801a0cc236b35ce36e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:229-260 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:472-503 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc49f3c0335dad423b60cbd7803ab9d0f5f2f7b14bd5514de1b259190e5ce6d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 7): Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java:379-391 | Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java:593-605 | Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java:657-670 | Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java:690-702 | Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java:1000-1012 | Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java:1032-1044 | Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java:1064-1076 \u2014 all 7 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 \u0060Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java:379\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":"Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e20a1ad78ee968e1bbf78a053bbeba15e3dd14d538af861925be26fdbc7712a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:130-143 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:127-140 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:132-145 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:135-148 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:130-143 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 146 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:130\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"279f87bc4f3a4f87188b63868806ec5e33b4bf7e3b1b23e94f782d9c375d8044"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:379-392 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:359-372 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:486-499 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:576-589 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:456-469 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 146 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:379\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"c120578b2ef06c247bd8fa4ea8a2092d21a205ab5acf91219c27aeb5e895a864"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1151-1167 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1163-1179 | Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:879-895 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1885-1901 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1161-1177 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1151\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a3fafa62a1fed168fdfab5f1b99f1ee68afb98898cf0c7643f3544a73cf6c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:432-445 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:522-535 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:413-426 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 429 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:432\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d42100e5460d2a13297958f076dd076148ec3cd8d6084fe3ca18aca308960d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java:57-70 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocodingService.java:52-64 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocodingService.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java:57\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 \u0060req\u0060 to \u0060LocationElevationRequest\u0060 in one and \u0060GeocoderRequest\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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca44b67943510dcc6480c6d4adef6745dff45de5e70167998d307784474676a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/Clean.java:1361-1374 | Libs_JTidy/src/org/w3c/tidy/Clean.java:1417-1430 \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 \u0060Libs_JTidy/src/org/w3c/tidy/Clean.java:1361\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":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"47789b3823a9b3c6e9145559ce9309b6e834b811b44399c98ec56e5dce28bc19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/Lexer.java:2227-2240 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:2245-2258 \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 \u0060Libs_JTidy/src/org/w3c/tidy/Lexer.java:2227\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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":2227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3891e355a7376307f9f240f83202b324a341b614010f875106c6d5fcbebeac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/Lexer.java:3702-3715 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:3744-3757 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":3702}}}],"partialFingerprints":{"codehealthFindingId/v1":"182d33a62ffcfcd25a1696e3dcdf3e21faa62120c9a5d3a53cccbc85b1a3386b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1399-1412 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1431-1444 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1399\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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"645eca22cea415940f2ef3413068f081de3f2e21717e34d2602f141d4da4d58b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1642-1655 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1785-1798 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1642\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1642}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a23e30d2a4e8b613673f4e6cbcd0159e7a4789a527d64366ebbe6f2dced191"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1791-1803 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2662-2675 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1791\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfb5ff47f87721df9eb155b1ceeba31b621c6d0f41f04ead9567c7141a940a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2733-2746 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2891-2904 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2733\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2733}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcb5ca16d123ee38622afad74cf2fc21ecfc620b85fcd608f7a51375896a57d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/Report.java:1295-1308 | Libs_JTidy/src/org/w3c/tidy/Report.java:1311-1324 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Report.java"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8e76ce9c014ca5c37b90e3238424f58968014e5a61e1544bedd05f33a5d8d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:161-173 | Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:230-243 \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 \u0060Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:161\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24640899dddbc66fc8b385e4b7269dc09074e94d355f2e2080d352452eaf938"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Libs_Net/src/org/apache/commons/net/ftp/parser/OS400FTPEntryParser.java:85-98 | Libs_Net/src/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java:179-192 \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 before the matched lines, \u0060Libs_Net/src/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java:176\u0060 calls \u0060group\u0060 and \u0060Libs_Net/src/org/apache/commons/net/ftp/parser/OS400FTPEntryParser.java:84\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":"Libs_Net/src/org/apache/commons/net/ftp/parser/OS400FTPEntryParser.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55cf1ffb8a5b47504833b3b851fe4b9eba534e36d778e974756f92b45b169b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:314-327 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:322-335 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9951d4e96bf1a7643ecf34d91f6a4a7bd126d3d87edaa0d7d7c4cac4eb9922f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java:251-264 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/MotorJoint.java:319-330 \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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1babff0a09845e0298269b23e84f8ecc89b188fc41fef1c9d69155f84f8ef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:134-152 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:128-146 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9321734ff58ae403f7291d562f2019e084e111a1048ef2a27493f1ac37f7451"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (86 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:321-406 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:301-386 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6527d938b9ea8b5c86fe1b42e8ed58621b39b568f000dd515e1a4297711c7d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:102-115 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:106-119 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:102\u0060 calls \u0060getSections\u0060, \u0060getAreas\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:99\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4b9987e0c9fa3e893d689625f6cc4aa19b72b10785accde8ba71b04ab6530e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:446-459 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:291-304 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:446\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b12c57f811e9e7a41a03c7d9eba8453de527cef019c32e6848c97153721c03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:727-740 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1292-1305 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java\u0060 as WHOLE FILES: this scan already matched 60 separate duplicated blocks between them, totalling at least 717 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:727\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"670fbd604e531eca521810bf3fab3f49ae47a135d606cf91e419504385306bef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:272-285 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:266-279 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java\u0060 as WHOLE FILES: this scan already matched 74 separate duplicated blocks between them, totalling at least 818 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:272\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f1375ce6f31513a07ff7331dc8c5ad39271ef16e60fd37d812712f00b81c0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u201314 lines \u00D7 11): Libs_jGauges/src/eu/hansolo/medusa/skins/BulletChartSkin.java:151-151 | Libs_jGauges/src/eu/hansolo/medusa/skins/BulletChartSkin.java:426-426 | Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:211-211 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:277-290 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java:207-207 | Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:148-148 | Libs_jGauges/src/eu/hansolo/medusa/skins/LevelSkin.java:165-165 | Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:194-194 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:273-286 | Libs_jGauges/src/eu/hansolo/medusa/skins/SpaceXSkin.java:215-215 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:280-283 \u2014 there are 11 copies across 10 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 11 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:280\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/BulletChartSkin.java:151\u0060 calls \u0060setBorder\u0060, \u0060Border\u0060, \u0060BorderStroke\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:280\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/BulletChartSkin.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e77ff1838e079c9d8d8039e0d539d79425096bd01400e46f1ed049c60cb6e2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:617-639 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:615-637 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java\u0060 as WHOLE FILES: this scan already matched 74 separate duplicated blocks between them, totalling at least 818 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:617\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e87d163d7a2476adccb8350dcc177a561c69bd0b64878fecbadbf3b01084841"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:946-959 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:938-951 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java\u0060 as WHOLE FILES: this scan already matched 74 separate duplicated blocks between them, totalling at least 818 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"be42edc3e9189b5ec64ce1976714819bc8fc4aaeea915b5cc0806b1d863f143a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:111-124 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:114-127 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 429 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:111\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae84ba0ac1f629df89e07fdd2696ae308587debd82ed3526533e0649150c5e10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:699-712 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:778-791 \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":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b08da78bff9c82ef5645a7a830c34875ef0b0ec018be8630bc566f8dd96339"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:56-68 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:84-96 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:109-121 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:137-149 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:165-177 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:197-209 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:56\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"21087e98d26a6a08f2b5d47f355510991e8f3d9dd2d2db3313e079de73ff7f12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java:52-64 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java:79-91 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocodingService.java:47-59 | Libs_GoogleMaps/src/com/lynden/gmapsfx/zoom/MaxZoomService.java:45-57 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocodingService.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060LocationElevationRequest\u0060 in one and \u0060PathElevationRequest\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, \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java:66\u0060 calls \u0060toString\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java:93\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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccc0dec4b05dc06e812201bf3aaf178115c1c68d97454d54550bec29b986f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:169-181 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:393-405 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:183-195 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:74-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 all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4e575871edb8d5a08351b151429eb66ee0c9ef9d91016e5b650e4480c57342"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:100-112 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:101-113 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:104-116 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:102-114 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:116\u0060 calls \u0060ofPattern\u0060, \u0060withLocale\u0060, \u0060getLocale\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:118\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d153c22c81eed7dd019a30d639777ef55c9beb91064f607bed95e7e80977150"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:425-437 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:515-527 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:406-418 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileClockSkin.java:242-254 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 429 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b463c4fa916caf285d9770cf237a3172753a7916a1b44c1cee54ce7af63bc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:579-591 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1146-1157 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:579-590 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java\u0060 as WHOLE FILES: this scan already matched 60 separate duplicated blocks between them, totalling at least 717 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:579\u0060 it does not close everything it opens, so those exact 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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:577\u0060 calls \u0060getKnobPosition\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:577\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd50e303926dfca6a236bb45234270e4207ed0d0da685ae33955057edb10cf8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:681-693 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1247-1259 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:680-692 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java\u0060 as WHOLE FILES: this scan already matched 60 separate duplicated blocks between them, totalling at least 717 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:681\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b1da4bfee0cfa9be95100c7595426f63d4ebb5010a90d7ebaf43a404a0713b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201313 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:828-830 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:833-845 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1393-1395 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1398-1410 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:829-831 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:834-846 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java\u0060 as WHOLE FILES: this scan already matched 60 separate duplicated blocks between them, totalling at least 717 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7cbeedca8ac8b7b90e99f19488f82e3a00830563b127f96a4e73ba7128f74f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java:309-321 | Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java:426-438 \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":"Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"effba48d98db30d16f4fca4ca44e7794abc60e78cc3e648f505f721429f930b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/Node.java:260-272 | Libs_JTidy/src/org/w3c/tidy/Node.java:291-303 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note what the matched lines are: every one of them assigns one field to another, so the block is a hand-written mapper between two data shapes rather than behaviour with a helper inside it. Extracting one shared function only works if both sites map the SAME pair of types in the same direction \u2014 check that first, because inverse or differently-typed mappers have no single function they can both call. Where they do not, the moves that exist are a generated or reflective mapper, a common embedded/base type the fields live on once, or accepting the run and covering it with a test that fails when a field is added to one side only."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Node.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"e933ad1f847cac58870fe37c1f9f55e9463ba0eeea0c3c665a0136c50452bdb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/PPrint.java:873-885 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:900-913 \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 \u0060Libs_JTidy/src/org/w3c/tidy/PPrint.java:873\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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"d945032ba0277827e813bcf034a7cb076e700969ea3e2bcb9825581f038e15a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1611-1623 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1752-1764 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1611\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"d461195954937ff61f562af92853ac48b70a6e4b3bb4be56e390991431f04113"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:831-842 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:929-941 \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 \u0060Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:831\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7425ba7adf7b3838ad161ee13bba6b53ddf5511a9fec117200fd71e2b3a3b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:412-424 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:213-225 \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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"20404a601d39c6c1620c22bb78548a7edb6b163645c69e16b0ba274dcacfbbe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:494-505 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:556-568 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:494\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2e4fec0350cce979084e2cd4e00da4db3c28c1e519dba376da0d3e13e81c49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:167-179 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileClockSkin.java:142-154 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2fdd20f01d581348788084717801d9d3dae0e5f06a07da50ad56770148b7e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): Libs_JTidy/src/org/w3c/tidy/Lexer.java:2106-2117 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:2184-2195 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:2224-2235 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:2242-2253 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:2260-2271 \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 \u0060Libs_JTidy/src/org/w3c/tidy/Lexer.java:2106\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_JTidy/src/org/w3c/tidy/Lexer.java:2200\u0060 calls \u0060readChar\u0060 and \u0060Libs_JTidy/src/org/w3c/tidy/Lexer.java:2238\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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":2106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65c0563dc346944287df9511fa3d40e1680141445f2c62f5f59eb6f47edaabb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:178-189 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:402-413 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:192-203 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:83-94 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WheelJoint.java:244-255 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:204\u0060 calls \u0060popVec2\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:191\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea70025e49cb8ba274d783ad8fb5bcde3993d27e453c4579c4653f5cb4ea2130"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1000-1011 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:3177-3188 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:3234-3245 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:3311-3322 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29adb5956c7196e76af3add60ef1ebf2ceca54bc2704647d5a80128c7c79cc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 4): Libs_jFX/src/anywheresoftware/b4j/objects/ButtonWrapper.java:63-73 | Libs_jFX/src/anywheresoftware/b4j/objects/ButtonWrapper.java:107-116 | Libs_jFX/src/anywheresoftware/b4j/objects/CheckboxWrapper.java:46-56 | Libs_jFX/src/anywheresoftware/b4j/objects/MenuItemWrapper.java:210-221 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jFX/src/anywheresoftware/b4j/objects/ButtonWrapper.java:63\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":"Libs_jFX/src/anywheresoftware/b4j/objects/ButtonWrapper.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2a98aeff0c7c89398ef86bd9ecf985b2f620901d091490305819cffb2fa431"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:213-224 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:225-236 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:225-236 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:213-224 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 196 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:213\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:211\u0060 calls \u0060setVisible\u0060, \u0060isDateVisible\u0060, \u0060setManaged\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:212\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"39495d58cbe94710061eda926fb154db909d0dc92aec25f1a8d4b2598ca6bd47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/PPrint.java:554-565 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:647-657 \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 \u0060Libs_JTidy/src/org/w3c/tidy/PPrint.java:554\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_JTidy/src/org/w3c/tidy/PPrint.java:552\u0060 calls \u0060addC\u0060 and \u0060Libs_JTidy/src/org/w3c/tidy/PPrint.java:646\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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12817b49a86885cdf92b283d6a78bff9d8c1c417247db86d118f1978e7e9409"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1437-1448 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1477-1488 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1437\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1475\u0060 calls \u0060insertNodeAtEnd\u0060 and \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1435\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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ca5a8528ae18a0a18d07d160b545eebeda4c01781538db99ce0cabac4ae128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1910-1921 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:3087-3098 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1910\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1910}}}],"partialFingerprints":{"codehealthFindingId/v1":"412c231225dd1c435bf40f000f9574cefef758b1613755fc40b9f29d0b639034"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2118-2129 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2484-2495 \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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca73b79b011d35d04742080ab81d574a63e287510c38b250e814b4df5b82ae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/TagCheckImpl.java:548-557 | Libs_JTidy/src/org/w3c/tidy/TagCheckImpl.java:571-582 \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":"Libs_JTidy/src/org/w3c/tidy/TagCheckImpl.java"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbb749ea9c4e5dd4785cff220bbbc222b43cdf60a267e53c639a84b4c584d6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/CommsTokenStore.java:178-189 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/CommsTokenStore.java:203-213 \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 \u0060Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/CommsTokenStore.java:178\u0060 it does not close everything it opens, so those exact 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":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/CommsTokenStore.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0a27a74c617a0558d004c33d657ed2cf2410f231cefb55227532e971f49dcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Libs_Net/src/org/apache/commons/net/ftp/parser/MVSFTPEntryParser.java:396-407 | Libs_Net/src/org/apache/commons/net/ftp/parser/MVSFTPEntryParser.java:425-436 \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":"Libs_Net/src/org/apache/commons/net/ftp/parser/MVSFTPEntryParser.java"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"2785bfa1c0085a6751bca71c93be02ef522b79482a7185323a62b3692892f28f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:801-812 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:826-837 \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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fef99365c3cbcc59fe4c11d0498819c4c960553d76c491d11b8df8d11849fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:254-265 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:259-270 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 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 \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:254\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:272\u0060 calls \u0060pushVec2\u0060, \u0060pushRot\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:266\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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5089e3a3bcc7129c4da7bfb1ad0c47ab0f7d446e9d6e0c09b7fdbc950d9c3b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:273-285 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:289-302 \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 \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:273\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c31553a0fc6c087f3e416cd672f26607ba28531f5c39a3b555160963004cd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:374-385 | Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:435-446 \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":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be8df1e4c88fc3f4ef9eedcd3820c66107cd6d8972675d160ef2e59bacdae4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:347-359 | Libs_jGauges/src/eu/hansolo/medusa/skins/SpaceXSkin.java:295-307 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:347\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42455661b2a2cd4384f42fc0de3fca190615205ac2c94dd6d89928749b4976d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:119-130 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:110-121 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:119\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:123\u0060 calls \u0060Text\u0060, \u0060getTitle\u0060, \u0060setFill\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:132\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb89398eb09a76fec3df8824977bebdf3ef434ccd0c09a9c2d8ca3dab32f5da8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:731-744 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:729-742 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java\u0060 as WHOLE FILES: this scan already matched 74 separate duplicated blocks between them, totalling at least 818 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:731\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"112406b1ebcf5d398968d4290ee0844e6158ad6467f23b83e83fecf35b0eced0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:261-279 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:237-255 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 95 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:261\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:234\u0060 calls \u0060setLineWidth\u0060, \u0060setLineCap\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:259\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0f3a9b17302ded553dc745f297f71cb6981767f7d51e71ba2d1c5d84889479"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/TileSparklineSkin.java:248-259 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileSparklineSkin.java:314-325 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/TileSparklineSkin.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a5cf5a97c43c08ed0399a3bbd0c64638068be6393599aaabe24cbc800ed59d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:173-183 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:202-212 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:209-219 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:167-177 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:205-215 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:208-218 \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 6 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:200\u0060 calls \u0060enableNode\u0060, \u0060isLedVisible\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:171\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"3235edc9585487891328d36855838c189207b236e03bd11db43d4241e14ac57b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:368-378 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:370-380 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:365-375 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:362-372 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:368\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"f437186b50acc48cf691b3b065c2abf588dfcea1d656cb65d0202582c4997745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:663-673 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:664-674 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1229-1239 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:662-672 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:663\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5a98d0f27a6437f49f62df7b07fd7728dcc5597d1ebe1bd0f73c602f5aeae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2530-2540 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2764-2774 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2953-2963 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2530}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cdc921d8fdc0d0c27769ceead003602de4721c1332f6f6585d2852dca5c643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Libs_XUI2D/src/org/jbox2d/common/BufferUtils.java:109-119 | Libs_XUI2D/src/org/jbox2d/common/BufferUtils.java:126-136 | Libs_XUI2D/src/org/jbox2d/common/BufferUtils.java:143-153 \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 \u0060Libs_XUI2D/src/org/jbox2d/common/BufferUtils.java:109\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 \u0060ray\u0060 to \u0060T[]\u0060 in one and \u0060int[]\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":"Libs_XUI2D/src/org/jbox2d/common/BufferUtils.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a4723176f3141b2b341c46eb5db5ef9abf4a0b1071a9c5007b206ed7ef26c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsRoute.java:61-71 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsSteps.java:132-142 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsRoute.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f981eaccc2c8e829410ee45e42337ca3ee39b20e3f67d39d81c3e148651e6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/Lexer.java:474-484 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:496-506 \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 \u0060Libs_JTidy/src/org/w3c/tidy/Lexer.java:474\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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd473422aa6baa4accb85d8b09c886311bf6b64eb91df30ea964b2c790a9ac99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/PPrint.java:552-562 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:1099-1108 \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 \u0060Libs_JTidy/src/org/w3c/tidy/PPrint.java:552\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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48ada871b83660d22e7ce1687ab0e2d3503dcf140d66269b663db057f2d5f40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/PPrint.java:1449-1459 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:1719-1728 \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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa9d51fb2b514699674bc5e8f7a6891abe67c932d2bc3ed7a8aab824d70cc7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/PPrint.java:2087-2099 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:2383-2395 \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 \u0060Libs_JTidy/src/org/w3c/tidy/PPrint.java:2087\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9f8059c473f5b630e24a7ae6e599a6ddcf5cc3913358a82e149c6ac96c48b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1387-1397 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1419-1429 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1387\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1d6e32fa69f84841c7b64ba8f15f1399f966358e90bf515127ec20dee1ab17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/TagCheckImpl.java:374-384 | Libs_JTidy/src/org/w3c/tidy/TagCheckImpl.java:446-456 \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 \u0060Libs_JTidy/src/org/w3c/tidy/TagCheckImpl.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TagCheckImpl.java"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de23780c1e9309ab9aac1ad165dabd328be54d3caf51305049a094b49dafe19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:571-579 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:603-613 \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":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"88350de55128baf6ccedb270b8dd92adc208fdbf392a5a46985bdbd9a376cab2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_Net/src/org/apache/commons/net/ftp/parser/MLSxEntryParser.java:184-194 | Libs_Net/src/org/apache/commons/net/ftp/parser/MLSxEntryParser.java:199-209 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/parser/MLSxEntryParser.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06c2002ede4899447a0d23927fe3f74505ebe192f6c30c8b2d2fd43b73a17b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_Net/src/org/apache/commons/net/ftp/parser/VMSVersioningFTPEntryParser.java:113-123 | Libs_Net/src/org/apache/commons/net/ftp/parser/VMSVersioningFTPEntryParser.java:137-147 \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 \u0060Libs_Net/src/org/apache/commons/net/ftp/parser/VMSVersioningFTPEntryParser.java:113\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/parser/VMSVersioningFTPEntryParser.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e525e0ac15bfa89febcfe604b0cc7db15b0ab6fd8d71e8a5a62f085c78975808"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:179-189 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:295-305 \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 \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"900f588ac3c20d084e099675394c488b816ea883595bf475605d987d4d4ea2e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:249-266 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:256-273 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8fffb622e9c5998c50c23c5d170fd20fc5869aa69abb0e462a50aa9d6fede3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:788-798 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:813-823 \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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25dc55fb799ef6cee22def0a0668bf5b5ad18a85d638883c4b3b300b914e3cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:239-248 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WheelJoint.java:402-412 \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 \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:239\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c763411142e50463e5ec60e3432e5e3268f1c5a0fdf7af7b03cdf85c7aa5639"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_jFX/src/anywheresoftware/b4j/objects/MenuItemWrapper.java:72-82 | Libs_jFX/src/anywheresoftware/b4j/objects/TextInputControlWrapper.java:144-154 \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 \u0060Libs_jFX/src/anywheresoftware/b4j/objects/MenuItemWrapper.java:72\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/MenuItemWrapper.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3143aa52e8f179a25608c1b39b7d48174ea3507b617dea07ec027e011453563f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:603-613 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:573-580 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:603\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d18be090c9dcb9ce68251ca4b52fb3b7ad464357d9b680f1bdeae2180fa3f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:130-140 | Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:137-147 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 69 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"94030eec0561a1089369a7828572d6443cb3176acfb00361baefcc253af21d6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:156-166 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:153-163 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:156\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:164\u0060 calls \u0060enableNode\u0060, \u0060isValueVisible\u0060, \u0060getTitle\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:167\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd2df5e55615df5a182b801a351d5e757f498e57263ea74ded1a47938a82bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:994-1004 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1681-1691 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java\u0060 as WHOLE FILES: this scan already matched 60 separate duplicated blocks between them, totalling at least 717 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ecb6d98df9318df187ca35315ec4b836b27f74449ab0211021b1f33b1fc393"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:491-501 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:486-496 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java\u0060 as WHOLE FILES: this scan already matched 74 separate duplicated blocks between them, totalling at least 818 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:491\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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:500\u0060 calls \u0060getTickLabelLocation\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:505\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cd517003d386c0604fa38520843a02c81c8c6960841b60cc3864c132c20af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:978-986 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:970-980 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java\u0060 as WHOLE FILES: this scan already matched 74 separate duplicated blocks between them, totalling at least 818 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:978\u0060 it does not close everything it opens, so those exact 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29cd128d49661821a11b9f459086e83708e2cc63be9ece16c880c6fd4c327c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:278-288 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:517-527 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:278\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"77183ee5bfe9cab39002fc83a133d409ff6c0a4f63f601dcb45fb41c90f79ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:479-489 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:526-536 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:479\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22f7332f13f1ba65b90408ca9f25c2468a5ddc2f2950405d65462b4217912a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:468-478 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:510-520 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:468\u0060 it does not close everything it opens, so those exact 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, \u0060Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:508\u0060 calls \u0060getLocale\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:466\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e341c9002025bcc69d0d25a5e3cd7fcf7c7bd2916a361507f3a30aceecd4fa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java:277-287 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java:232-242 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbf1b45f71d2be8c4c17942ba99c7d0b8089898a7ebe7ebc54e6a3b97257b6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:342-352 | Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:416-426 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e42caab64ce0b401e3ad59576422aea994ebcf14cdf3d93c91ab646a1cd478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:829-838 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1164-1173 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1176-1185 | Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:892-901 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:782-791 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1898-1907 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1174-1183 \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 7 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:829\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:905\u0060 calls \u0060setText\u0060, \u0060getTitle\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1177\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec5d229b061b358545542bb3586fa29927ba806191dd72329c3c71c7bbe7993"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:369-390 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:666-687 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:667-688 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:349-370 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1232-1253 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:665-686 \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 6 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:369\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1db3cbebab0e588e5e6acb56a02f737a47c9a4da1fda5ac4d29630661da1cf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:338-347 | Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:385-394 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:365-374 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:492-501 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:582-591 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:462-471 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 69 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fa2056f9107d29a83edb114b622f8008f3ddf79e3ff3dd3ce46ea7fcd7ee58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:381-390 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:383-392 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:378-387 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:375-384 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcf4e0b2f8906d7bc2c3ba3c7ad1ff9b4fdbc85fc7f6d6d02b69b9a783fb056"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:521-529 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:524-532 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1088-1097 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:520-528 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:521\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b334ae3ff5052cdad0cc7d9a066c44e12420f12046db6d4c5cf84d956b02aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:587-596 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:588-597 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1153-1162 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:586-595 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:587\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"299ee813484f6020bf511deddf1c04694566f38e208ccdf43e9c4db2f31a87fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:784-793 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:786-795 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1349-1358 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:784-793 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:784\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f06ac694a60072a3bc2fd83e8cd9e211dbccba04f71eb5b7bb4a95a93472e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201310 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:876-885 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:886-888 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1441-1450 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:877-886 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:876\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:885\u0060 calls \u0060Stop\u0060, \u0060rgb\u0060, \u0060brighter\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:888\u0060 does not \u2014 after which the two agree again for 5 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b4d40259bd4eb4ce129d7648b775f28d5311d95d3745cddf568902d5a5bce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsRequest.java:141-149 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderRequest.java:57-66 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsRequest.java:141\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsRequest.java:140\u0060 calls \u0060toString\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderRequest.java:57\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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsRequest.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfff06766b6a5d3d74c9fe5ecefd0f0887c8559dec63ba2323b4d22ac27e98a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:437-446 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1016-1025 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:437\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"527c1af17412c6cc3a56adeaf70767aa69b3f784445de94bdcbfa1bdf661d084"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:916-925 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2095-2103 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2095\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f58c02af160198d48b83966020ecbbcbf6da4312f374f8d09ed4d75d9b2262f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2644-2653 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2732-2741 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2644\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e27ba293516120fa236ef3bd39b58b91026bf445db36fb82d8714b01a7d1209"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2815-2824 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2924-2933 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2815}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d7422d79ed3358c49ceff03810fee4d7b4be297558ff3bb628a561f98e946a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/MqttAsyncClient.java:709-717 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/MqttAsyncClient.java:765-774 \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 \u0060Libs_MQTT/src/org/eclipse/paho/client/mqttv3/MqttAsyncClient.java:709\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":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/MqttAsyncClient.java"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcac5c9ec273959bab7e5c4b39c1457c314b24d32ec0e22990264b435abbe0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/logging/SimpleLogFormatter.java:93-102 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/util/Debug.java:169-178 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/logging/SimpleLogFormatter.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d72c14026aef75694a9aaa5e5f4565a71516d3b72dea9523c570150c447696"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Libs_MqttBroker2/src/io/moquette/broker/NewNettyAcceptor.java:257-265 | Libs_MqttBroker2/src/io/moquette/broker/NewNettyAcceptor.java:317-326 \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 \u0060Libs_MqttBroker2/src/io/moquette/broker/NewNettyAcceptor.java:257\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/NewNettyAcceptor.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"31243f00a69834c31510fd65fc94c0d085b78152e44866f93602c2f4bb06de47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Libs_MqttBroker2/src/io/moquette/broker/NewNettyAcceptor.java:280-289 | Libs_MqttBroker2/src/io/moquette/broker/NewNettyAcceptor.java:305-314 \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 \u0060Libs_MqttBroker2/src/io/moquette/broker/NewNettyAcceptor.java:280\u0060 it does not close everything it opens, so those exact 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, \u0060Libs_MqttBroker2/src/io/moquette/broker/NewNettyAcceptor.java:278\u0060 calls \u0060debug\u0060 and \u0060Libs_MqttBroker2/src/io/moquette/broker/NewNettyAcceptor.java:304\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":"Libs_MqttBroker2/src/io/moquette/broker/NewNettyAcceptor.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0e6a318ba5ff0b3eaade1a5515a8ac47fbf47501dd4f02d5ddfbdd4b18fe9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Libs_Net/src/org/apache/commons/net/pop3/POP3Client.java:377-386 | Libs_Net/src/org/apache/commons/net/pop3/POP3Client.java:443-452 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/pop3/POP3Client.java"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd04dd2dee274e61ea5a6c60207208f399c0bfc6f4c331125c2d9a8ce435ec95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1110-1119 | Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1146-1155 \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 \u0060Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1110\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":"Libs_XUI2D/src/org/jbox2d/collision/Collision.java"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54d9874a841c572d8705bb93facc52f9119bf5d849a4a8568aac38a175592b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/Island.java:336-344 | Libs_XUI2D/src/org/jbox2d/dynamics/Island.java:520-529 \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 \u0060Libs_XUI2D/src/org/jbox2d/dynamics/Island.java:336\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/Island.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34625e723ee66104b0e22c095bc9fe40642794f4b9d04545b99219f754fdbc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:388-394 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:420-429 \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":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"227b1b7a053848b91782f2bd9970db35e6e0d9e84b6fffc6965c50608cd58896"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:328-337 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java:292-301 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1bd55291fa81d2e915e9946d0c2fcbfc16a9a28525f9bb5580e8abf0777a5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java:387-396 | Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java:411-420 \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 \u0060Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java:387\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":"Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffd415f2a7ebf34862f70369e0fd9d295e3d17b66818f0957d92523b4779b6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201310 lines \u00D7 3): Libs_jFX/src/anywheresoftware/b4j/objects/ImageViewWrapper.java:85-88 | Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java:1009-1018 | Libs_jFX/src/anywheresoftware/b4j/objects/PaneWrapper.java:244-253 \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 \u0060Libs_jFX/src/anywheresoftware/b4j/objects/ImageViewWrapper.java:85\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":"Libs_jFX/src/anywheresoftware/b4j/objects/ImageViewWrapper.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa9e6047e2737da06b68784b3538148810580e8f709d14f4541187f8b43e1eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:417-427 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:409-419 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java\u0060 as WHOLE FILES: this scan already matched 74 separate duplicated blocks between them, totalling at least 818 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"92105e204020cb864b5e4f2759b2be013e451da8ab18357886c315339f3fef2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:548-584 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:634-669 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 429 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"f891d1496ef1d2e68c61933af464b093d9535c102685afa82bc0c6c2ea2b50a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/TileSparklineSkin.java:422-432 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileTextKpiSkin.java:222-232 \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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TileSparklineSkin.java:434\u0060 calls \u0060setX\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TileTextKpiSkin.java:234\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/TileSparklineSkin.java"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"922fec73103695bc010098801d27e17bc5bfbca808151e5390283176b2f7691a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2021-2029 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2753-2761 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2789-2797 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2860-2868 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2896-2904 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2967-2975 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3003-3011 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:5117-5125 \u2014 all 8 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2021\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":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":2021}}}],"partialFingerprints":{"codehealthFindingId/v1":"088fa98b5e96740b8a6160a25300cd94a4f1a33589de05c418f1ac3b3e1c9ea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java:107-115 | Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java:118-126 | Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java:129-137 | Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java:140-148 | Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java:151-159 | Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java:162-170 | Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java:173-181 \u2014 all 7 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 \u0060Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java:107\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":"Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"498fc235f7fa0dd3cec588c4cba5e5a922139cc3df51e885a7128f4523de1588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:432-441 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:767-776 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:769-778 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:412-421 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1332-1341 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:767-776 \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 6 call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebafe4eb202302cf7df748a3cdfe099b4584b1d19f4bdd7fde96148a0da1b88f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 5): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsService.java:38-45 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java:54-62 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java:81-89 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocodingService.java:49-57 | Libs_GoogleMaps/src/com/lynden/gmapsfx/zoom/MaxZoomService.java:47-55 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocodingService.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060DirectionsRequest\u0060 in one and \u0060LocationElevationRequest\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, \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java:66\u0060 calls \u0060toString\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java:93\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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsService.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53b88d4b5a97cd7843c1d9901662dae35d1dc07d58b012803cacdbc4f56bc0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 5): Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:199-207 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:126-133 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:90-98 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java:164-172 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WheelJoint.java:251-259 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"755f6273763d45ca92ad6626410f4c3581105eb8a4acd9310e6050ad90421cd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:106-114 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:102-110 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:107-115 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:110-118 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:108-116 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 146 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:113\u0060 calls \u0060ofPattern\u0060, \u0060withLocale\u0060, \u0060getLocale\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:118\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2add698ef87d8af1f7fabdefce3727655e72f622f9f1f95deecf8c8d329130ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:215-223 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:201-208 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:227-235 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:227-235 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:215-223 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 146 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:215\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:208\u0060 calls \u0060redraw\u0060, \u0060equals\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:223\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a610051fa258b4950de34c35369aea46e615813dbf7ee8ecbd61287bfa0792bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:344-352 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:318-326 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:439-447 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:529-537 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:420-428 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 146 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:344\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf6d8230920e441aa3bb024b1964e6ec37fcc7120a0e3e10cb2c29f3a15f4e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:508-516 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:558-566 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:620-628 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:644-652 \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, \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:518\u0060 calls \u0060setZero\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:653\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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"524b320012866191fef08f06127943355cf96871030bf1a361c88eb1d04db9d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:151-163 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:153-170 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:155-167 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:152-169 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:164\u0060 calls \u0060getNeedleBehavior\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:171\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"1604c3c8976661c15af5f01efb28ec0a6244017fb132de30851e670a4887e762"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:470-493 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:473-496 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1030-1053 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:468-491 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:470\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bbcc627af8017bd922d045e5c0b8ccbd7a6ccec38de6650afc77dc9146df5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1661-1669 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1797-1806 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2589-2597 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1661\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1660\u0060 calls \u0060popInline\u0060 and \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2588\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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0ba52d00b2b8e690ed0e931407ac9cf8f59375309685ff576343d5d987cd04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2645-2653 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2733-2741 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2891-2899 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2645\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2645}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13c8f3476b840a5f1b54c6be83b7a74d401943439f6207b95f66d1fc9b14d80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:177-185 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:173-181 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:173-181 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 196 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"36242f24b927bd5f4e64f0ec85cfb319b2b451c882aa0170a214873b4856ac75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:321-329 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:504-512 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:390-398 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 225 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:321\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c6630127a2c42ab1db0a512808b594a5f2d9d0aca5080de12bc43ae8aa0117"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp.java:423-431 | Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp2.java:190-198 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp2.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"43dd3fcac5ceed250bd7b5b53fb8281b4b1fe95606f4459ad163e0a467264f3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsGeocodedWaypoint.java:51-59 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocodingResult.java:59-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsGeocodedWaypoint.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"454d8e39b2b2fe70afeadc955674a9a86f81a0a6475062ca3e7ef3f02bcf36b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderRequest.java:53-61 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderRequest.java:68-76 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderRequest.java:53\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderRequest.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c66a48411bb4b03538f2ebce07e6849ccb57cd19cb552dd6bfe19006491e6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java:807-815 | Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java:841-849 \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 \u0060Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java:807\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":"Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"7812c7da991c8d91082d09403d4e1d128dbddaa07bdacdd410e5c4fe6673b253"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/Lexer.java:619-627 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:261-269 \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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae610970d9b0e4c9666df71c68795dc5601a4d0a8090d87ecea7e865f152bd33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/Lexer.java:1095-1103 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:1119-1125 \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 \u0060Libs_JTidy/src/org/w3c/tidy/Lexer.java:1095\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"4141bac78a043d149aee766047babc49f2611b5b43eecd3cc476958285c68ce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/Lexer.java:1758-1765 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:1937-1945 \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 \u0060Libs_JTidy/src/org/w3c/tidy/Lexer.java:1758\u0060 it does not close everything it opens, so those exact 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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":1758}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb41092ce177c08e98f45abf73520e53a81aabf3b3ee9d1d0d35b29e601903fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/PPrint.java:607-615 | Libs_JTidy/src/org/w3c/tidy/PPrint.java:618-626 \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 \u0060Libs_JTidy/src/org/w3c/tidy/PPrint.java:607\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_JTidy/src/org/w3c/tidy/PPrint.java:616\u0060 calls \u0060addC\u0060 and \u0060Libs_JTidy/src/org/w3c/tidy/PPrint.java:605\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":"Libs_JTidy/src/org/w3c/tidy/PPrint.java"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a589e85857ccd9b08f6288eee83f206907f698a33dceb45080f1711a10e914d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2111-2119 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2309-2317 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2111\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac01eb06a8d589fd648030e9bfb41de43c81ec8a7edb73fb2d10c703b0579fa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/Report.java:1136-1144 | Libs_JTidy/src/org/w3c/tidy/Report.java:1424-1436 \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 \u0060Libs_JTidy/src/org/w3c/tidy/Report.java:1136\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Report.java"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0d10ac9567c56c5d7b61bd5fe4ef40bd3860c7828c6e0ff99421ea25be44f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java:1186-1194 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java:1252-1260 \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 \u0060Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java:1186\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"118c0cd32268c78a1afcb9c836f46bbdfbb87fada0e437e302dd9895625b4519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/AABB.java:310-319 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DefaultBroadPhaseBuffer.java:121-130 \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 \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DefaultBroadPhaseBuffer.java:121\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/AABB.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81d028bae86242a3e3d2e134456a33bc70d630568645b9b38211f69858b7777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/Distance.java:548-556 | Libs_XUI2D/src/org/jbox2d/collision/Distance.java:568-576 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_XUI2D/src/org/jbox2d/collision/Distance.java:586\u0060 calls \u0060getVertexCount\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/collision/Distance.java:558\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":"Libs_XUI2D/src/org/jbox2d/collision/Distance.java"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"c384ec34d299d7618449f2443d9488ee317010685b3cc9facec8807f61d307c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/TimeOfImpact.java:441-449 | Libs_XUI2D/src/org/jbox2d/collision/TimeOfImpact.java:496-504 \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 \u0060Libs_XUI2D/src/org/jbox2d/collision/TimeOfImpact.java:441\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":"Libs_XUI2D/src/org/jbox2d/collision/TimeOfImpact.java"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6578bc00bbf882169558a9c076c6f0c1ecf2d0293c7c42fdbce938f30d8365"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:519-527 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:532-540 \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 \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:519\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"b870361fbc6a23c3f4d8dad98f0ebe27ac79dcac461c81e9d15e7127a94b43e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:187-195 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:346-354 \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":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ab188c35a17fcc94740a45e8b6d461133d4d67d5ebe0409289d22364aeee20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:335-344 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:233-242 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:244\u0060 calls \u0060pushRot\u0060, \u0060pushVec2\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:347\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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"0024bd21cc81943ff29340a75a99df8964bf8e0550e3ef4dc341b0dd2b3a4cf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java:169-179 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/MotorJoint.java:232-242 \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 before the matched lines, \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java:168\u0060 calls \u0060popMat22\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/MotorJoint.java:230\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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13b0348013c77b86c520e067eb0ba85f79973fcfcb0a8b6294417a5c5d8378d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:684-692 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java:349-356 \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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d96711b49999f03fb62ec20797d50066fb800b164131ad4e6a582645f22d6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:422-430 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java:379-387 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d0d0b8b3b6be6de996ddd3de4b1316d3ec8ef032211cd1212694337783f228"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:876-884 | Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:1085-1093 \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 \u0060Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:876\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":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2ad3704dd8e0914c61ad3e9e83bf7a1e4240b31a0b7866862986dd454f22d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_jFX/src/anywheresoftware/b4j/objects/PaneWrapper.java:183-191 | Libs_jFX/src/anywheresoftware/b4j/objects/PaneWrapper.java:194-202 \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 \u0060Libs_jFX/src/anywheresoftware/b4j/objects/PaneWrapper.java:183\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":"Libs_jFX/src/anywheresoftware/b4j/objects/PaneWrapper.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd44bb18d2b89a8730799340a9f40daeab06c79124552182bbd0e686f4b26db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:833-841 | Libs_jGauges/src/eu/hansolo/medusa/Clock.java:871-879 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/Clock.java:833\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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c6ddd3d32bb27ffe949d4748b21a428f7c4e130ff05d66630fe496ec954b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:218-229 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:247-258 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:218\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":"Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08d3f252278dc61b2da33a648a20e12e6079777006c5a318bafc0f477de0bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:229-237 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:229-237 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 238 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:240\u0060 calls \u0060setLineWidth\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:240\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"651df9b64528e84379be277897a09e1274c3b18c2f2edd44c5e6fcdd87b96f30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:442-450 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:514-522 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java\u0060 as WHOLE FILES: this scan already matched 26 separate duplicated blocks between them, totalling at least 238 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5e695efd35e1ec4abfcafc2cf2c913a48160e75a3254a066f1e3b4b1242587"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java:88-96 | Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java:159-167 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java:88\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java:168\u0060 calls \u0060setLineWidth\u0060, \u0060setStroke\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java:98\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d660e917bab420ee8442796a1603ae48c2c2786055fd274c31c53a327ab73a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:298-315 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:259-276 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:298\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9bac005462af225dd268fbe0055398996ca783d061c2d7444a01254abba210"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java:148-156 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java:138-146 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java:148\u0060 it does not close everything it opens, so those exact 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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java:147\u0060 calls \u0060enableNode\u0060, \u0060isValueVisible\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java:157\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e986dfa73969381148b0f7c17d47b359dba0702ab7127048e3440f8b0d146f2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:122-130 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:174-182 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d7622e9a0852313b0e828fc9a42b688dfb4c0328d684b10b7f58b9de311b1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:193-204 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:344-358 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"288f07365869925c28f8bcdf2e72337806e58ab6de4baec12b8232a4b0cdb5d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:347-355 | Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:361-369 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:347\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb4e2bee17790f6241693d387ef09a6e7360f8e320a5a311f91e20f37c8de8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java:184-192 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimClockSkin.java:172-180 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SlimClockSkin.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java:184\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d4cb947e0549dce8e86e7dcb6fac214aeb6ff6b6216618d22c71c2ffc19bdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java:2278-2286 | Libs_jGauges/src/eu/hansolo/medusa/skins/TextClockSkin.java:154-162 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TextClockSkin.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java:2278\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java"},"region":{"startLine":2278}}}],"partialFingerprints":{"codehealthFindingId/v1":"450ef94f2cfdf951d1ab1068aa04b3c3ec612b0884d3d90a6ecfefc620175033"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:371-380 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:299-308 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 374 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:371\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:297\u0060 calls \u0060getElements\u0060, \u0060add\u0060, \u0060LineTo\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:370\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea5f8b27f439bf83503a3d9cce570e3b9683d59c361a6f32e51920385c5a529"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:452-461 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:344-353 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 374 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:452\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:342\u0060 calls \u0060getElements\u0060, \u0060add\u0060, \u0060LineTo\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:451\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bcdecdf6d36d8ae60765db0bf17a2f02fbc7d455e09ac7f326d1042c5bbc40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:816-824 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:844-851 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:816\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2e4ffe9568df6521f88202b428b0246391ee72144f28d1e12d69952e13b486"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:905-913 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:934-941 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:905\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"3547f75fc207a2a53dc931ad0392f81987dff16d371eb472042b5d34587eb724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20138 lines \u00D7 8): Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:286-290 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:301-305 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:308-312 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:322-326 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:348-352 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:363-370 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:272-276 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:292-296 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 429 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:286\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:297\u0060 calls \u0060getElements\u0060, \u0060add\u0060, \u0060LineTo\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:291\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc3c83c21e23aa47a21858b3e1e079631fbd3def87e65a778a98c39814e3d76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20138 lines \u00D7 8): Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:330-334 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:345-349 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:389-393 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:403-407 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:429-433 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:444-451 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:317-321 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:337-341 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 429 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:330\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:342\u0060 calls \u0060getElements\u0060, \u0060add\u0060, \u0060LineTo\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:335\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed8d39eeba7c0b9742b972a9a96c64611d329d5b54cb9c489947a5768805353"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:819-826 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1154-1161 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1166-1173 | Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:882-889 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:772-779 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1888-1895 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1164-1171 \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 7 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1153\u0060 calls \u0060isLcdVisible\u0060, \u0060isValueVisible\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:818\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8d5fb7557a913e93705407c5d30d9943be54be452b05885c1bb89d406cc0d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20138 lines \u00D7 10): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:376-383 | Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java:220-221 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:356-363 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:483-490 | Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java:211-218 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:573-580 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:453-460 | Libs_jGauges/src/eu/hansolo/medusa/skins/RoundLcdClockSkin.java:364-365 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimClockSkin.java:190-197 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileClockSkin.java:303-304 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 146 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:376\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:376\u0060 calls \u0060getHeight\u0060, \u0060getInsets\u0060, \u0060getTop\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java:220\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2ec907d54c6badb6fb40b601d2d151995a3c308a794845b3fd88350cb145a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java:75-82 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java:85-92 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsSteps.java:73-80 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsSteps.java:83-90 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsWaypoint.java:62-69 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderGeometry.java:46-53 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsSteps.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea979d274ea28bca78be8c15bcefdf40ec7bf4f25bb49ffa57da38dca73c430"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:670-677 | Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:351-358 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:575-582 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:637-644 | Libs_jGauges/src/eu/hansolo/medusa/skins/SpaceXSkin.java:299-306 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:670\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"8000b0636249fe752d5c401639f33d057b048b74dcefa1b0b97c1d9654b13641"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:101-108 | Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:109-116 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:105-112 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:110-117 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:113-120 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:102\u0060 calls \u0060getSections\u0060, \u0060getAreas\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:99\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"be51dda17a50d200231ab04409172e7581e3ebbc4394fd24e1e26c7f2faf5d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:161-168 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:167-174 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:167-174 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:165-172 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileClockSkin.java:140-147 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:164\u0060 calls \u0060Circle\u0060, \u0060setFill\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:165\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d19fcae6ea627f8af37f40234cbcb9e2694827505d6c211924f5fa62babc9fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java:127-134 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:110-117 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java:148-155 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WheelJoint.java:232-239 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7265fc5987712468857456cfaf4d7999e4378d01b3e2b97097e823040cb3b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java:136-142 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/GearJoint.java:248-255 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:120-127 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java:158-165 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java:145\u0060 calls \u0060popVec2\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:128\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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4808827924ab77feb0732500972632437f9d92266cf90a59229569c96be79db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20138 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java:187-190 | Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java:197-204 | Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java:212-216 | Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java:224-227 | Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java:234-238 | Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java:249-253 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java:187\u0060 it does not close everything it opens, so those exact 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"425f77216645db78acfee1e794b847ab55e68586088cc88908564aa8e3fe99bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/ChargeSkin.java:156-163 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:500-507 | Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java:2278-2285 | Libs_jGauges/src/eu/hansolo/medusa/skins/TextClockSkin.java:154-161 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TextClockSkin.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ChargeSkin.java:156\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ChargeSkin.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d34960bd3170a4142ad16eb205577ed479056152363f79c619e2f2a216803cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:393-400 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:395-402 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:390-397 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:387-394 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad616d83e9e95523a54db29cab024ebcca5193127b57248e403703cd575cc2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:538-545 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:541-548 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1106-1113 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:537-544 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:538\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69b4bee20647d8f999c2f43ef54cf11ad8d79098c3e38cb9f7297ac71461b75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20138 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:462-466 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:488-492 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:514-516 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:535-539 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:550-557 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:462\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:540\u0060 calls \u0060getElements\u0060, \u0060add\u0060, \u0060LineTo\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:493\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd13f91af11ff147504a05768b178959fd397cf78f4762188bd22cec691a2e69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java:95-102 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java:105-112 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsSteps.java:43-50 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsSteps.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f71accd152047ed984f9ecc25397f3b19ae83e4d20fac1423d000c418dd706"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsRoute.java:74-81 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderGeometry.java:67-74 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderGeometry.java:77-84 \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. 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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsRoute.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31e53a1ed062e96588dd7085a38ff82f9f59e369485af9408d2da8be854f715"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Libs_JTidy/src/org/w3c/tidy/TagCheckImpl.java:523-530 | Libs_JTidy/src/org/w3c/tidy/TagCheckImpl.java:548-555 | Libs_JTidy/src/org/w3c/tidy/TagCheckImpl.java:571-578 \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 \u0060Libs_JTidy/src/org/w3c/tidy/TagCheckImpl.java:523\u0060 it does not close everything it opens, so those exact 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, \u0060Libs_JTidy/src/org/w3c/tidy/TagCheckImpl.java:532\u0060 calls \u0060addAttribute\u0060 and \u0060Libs_JTidy/src/org/w3c/tidy/TagCheckImpl.java:556\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":"Libs_JTidy/src/org/w3c/tidy/TagCheckImpl.java"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d49b57eb74b459c2b17c4a7b6052355c22e68c20c65943492c2edbe6677684"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:208-215 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java:339-345 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WheelJoint.java:443-450 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/WheelJoint.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:218\u0060 calls \u0060popVec2\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java:349\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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a22e17d5851eee985b4f3cba62ca8321ed0a50bba0f8bcd04cf70a9a59f04d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java:140-147 | Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:100-107 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:133-140 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java:140\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"1434802e6801a07539943232b76e7f0bd04f02552d0c5847511cd7c1cf42b2e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java:45-52 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsSteps.java:106-114 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsSteps.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 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 \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java:45\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a506e7af6325975621555d3ca02e5102ec036c553eaa4cc40df8fdf2657b3a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java:55-62 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsSteps.java:53-60 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsSteps.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5dc1ca0b90b5fc17a1e25aa9fe8d25071d40e0433e3133139ffb2f3e91fc6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java:65-72 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsSteps.java:63-70 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsSteps.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsLeg.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"361f153572c39d7ec44dd39ce31f8adf14b2d7b91093e66d7352c539f30270e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/Lexer.java:1376-1383 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:1657-1664 \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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e944c6b08e636e9e37f8c2bb05a0265129111083782597f9a90973eac1fc1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1324-1329 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2134-2141 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1324\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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ff3e082dac4189634243a1e8fd182f71b2372d1931b904aed93fab11f4ef47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1526-1533 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:3270-3278 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1526\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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da74cbfaac92fcc2e7056b232de8ceeef224008cf9c10d51de6917a3e247999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1588-1595 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2475-2482 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:1588\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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"784f9f0ef0d171ca285f5c333307a385132841d6a6ceb0b489af27543afc2073"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2203-2212 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2219-2226 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2203\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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d2f3f9e937b7f99e41ef8ff85eb7d442e12e4af45fcb059d2e83dada7a7938"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:427-434 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:523-530 \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":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ddeb5bf244c10e10ac3946fa55efcc7913b78f052d20bd7547388fcaf2481f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java:1174-1181 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java:1240-1247 \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":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"58202756c5806412aeedcbad43271695cb0c1b635410134802291cd694597807"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java:1209-1216 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java:1277-1285 \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 \u0060Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java:1209\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java:1216\u0060 calls \u0060MqttSecurityException\u0060 and \u0060Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java:1285\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":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f353a23973f3d5e6d96dbc15e8fb271167393eea880e24cb3a95e049c41093c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_MqttBroker2/src/io/moquette/broker/Session.java:230-237 | Libs_MqttBroker2/src/io/moquette/broker/Session.java:247-254 \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 \u0060Libs_MqttBroker2/src/io/moquette/broker/Session.java:230\u0060 it does not close everything it opens, so those exact 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, \u0060Libs_MqttBroker2/src/io/moquette/broker/Session.java:256\u0060 calls \u0060drainQueueToConnection\u0060 and \u0060Libs_MqttBroker2/src/io/moquette/broker/Session.java:240\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":"Libs_MqttBroker2/src/io/moquette/broker/Session.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50c9dca34c64954ac8fea8b46b9b8c6dd21656ce7c44aaeedfd63702d946b72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_StringUtils/src/anywheresoftware/b4a/objects/StringUtils.java:154-161 | Libs_StringUtils/src/anywheresoftware/b4a/objects/StringUtils.java:251-258 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/StringUtils.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcdb1ba727aa05b4932d1d936beef68e7b1bdee87fa1a16d86ae6390a13f126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1059-1066 | Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1076-1083 \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 \u0060Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1059\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":"Libs_XUI2D/src/org/jbox2d/collision/Collision.java"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e35fc028918e41b0b0a9a511bf34d0515ee3ce94f20abe0cf8eb809512eb6e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:535-542 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:547-554 \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 \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:535\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edf8ab483769b11ca2c4c6ab47d736c7be8d00c06b394d42cb253a3e35f7675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:729-736 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:779-786 \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 \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:729\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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe25af19f74eb2154422441043a19fbe05d8a6c06518d3e447f6294e1ad26ee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:534-541 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java:265-272 \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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"414e99bad1bce7483cd4de9345ad305ca3a8c3028247fd13143400e9da738781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:305-313 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java:316-324 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"410af246d2736d388e9e82e43173a866e8a066982e536ed78e4d750ca690e490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/WheelJoint.java:345-352 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WheelJoint.java:482-489 \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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/WheelJoint.java"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd549be194c0d753388b4d69fcc3145909177ec8046b99a77f5298c80dd0f8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/WheelJoint.java:391-398 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WheelJoint.java:425-432 \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 \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/WheelJoint.java:391\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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/WheelJoint.java"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"6768996b68ee5a8f964c2aca6ed400ff247eada39d2ec2570d702d5ab94d32bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jFX/src/anywheresoftware/b4j/objects/ChoiceBoxWrapper.java:49-56 | Libs_jFX/src/anywheresoftware/b4j/objects/ListViewWrapper.java:53-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jFX/src/anywheresoftware/b4j/objects/ChoiceBoxWrapper.java:49\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/ChoiceBoxWrapper.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7376c007dcf640c084317284c6afe6253c4a01888a6e04d59ab8d709b51e5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Libs_jFX/src/anywheresoftware/b4j/objects/CustomViewWrapper.java:116-127 | Libs_jFX/src/anywheresoftware/b4j/objects/NodeWrapper.java:1047-1058 \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":"Libs_jFX/src/anywheresoftware/b4j/objects/CustomViewWrapper.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b230a5acefdb7b93be201312330ca28f75a248455d0bc5778b5d4508e0ef45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jFX/src/anywheresoftware/b4j/objects/PaneWrapper.java:423-430 | Libs_jXUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java:1070-1077 \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 \u0060Libs_jFX/src/anywheresoftware/b4j/objects/PaneWrapper.java:423\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":"Libs_jFX/src/anywheresoftware/b4j/objects/PaneWrapper.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b1cd76ed9edf9c4906b212f25b7490ded35687b71ace8e129b4b4f4b886b45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jFX/src/anywheresoftware/b4j/objects/TableViewWrapper.java:240-247 | Libs_jFX/src/anywheresoftware/b4j/objects/TreeTableViewWrapper.java:188-195 \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":"Libs_jFX/src/anywheresoftware/b4j/objects/TableViewWrapper.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"04270d4796e47d640f5dd3039470155e3551f42c8fe0f0e7db2bdd22f6cf148e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java:832-839 | Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java:841-848 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbab0d0f075173757a997a5421b66faa3d807a8605536bb83e968e66c098b76a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:409-429 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:389-409 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c19e88e8463037ce554e13c481beed87b2240ce9e1792e682c0428c325e003"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:324-331 | Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:275-282 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f61b75899a707c4685165f09618d468e87f4fd6e07d4ceac80f2298755e3dd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:491-498 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:1174-1181 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:491\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"22219bb265dec72869e9e121168e9535b8c42d59995085b6b71c74fca323df33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:947-954 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1759-1766 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java\u0060 as WHOLE FILES: this scan already matched 60 separate duplicated blocks between them, totalling at least 717 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ac7a0ac3e562dd22ff07c2a1d156ef69047a5cf688252df3814fcced179202"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:717-724 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:715-722 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java\u0060 as WHOLE FILES: this scan already matched 74 separate duplicated blocks between them, totalling at least 818 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:717\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"560d8459175484874b4c8d304fa489ca9d31290c22c8bf34aa6777414f3c6f18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:934-941 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:926-933 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java\u0060 as WHOLE FILES: this scan already matched 74 separate duplicated blocks between them, totalling at least 818 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:934\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"0721114477ffd4d20a3352f8e757db70794d696d84e39c01ae884d19f3bca70f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20138 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:913-913 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1019-1026 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1017-1024 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1019\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15ff4a3664deb8e3c7114ed70bb7c75914dcba54f53d30d10021441d53e6e17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:292-304 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:335-347 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:292\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c1cceec4e04848b35d4bfc83e5b0a5a005a5d67918fed1faf4eee9d576d234"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:640-646 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:698-705 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"393e66cf08f2a85dbdd403447448452aaf7e6d38de17b87675be1427bfd6be50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:244-251 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:222-229 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 95 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5baedef8bb9a018a4fde469a25787d1ad481ecff2e96c563362347dca8ec5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 6): Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:408-414 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:198-204 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:125-130 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:89-95 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java:163-169 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WheelJoint.java:250-256 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 6 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, \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:415\u0060 calls \u0060popVec2\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:206\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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb99eef465dfc085e07675a2036929050d287f54ce47c6998cc9552eeccb82dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:670-676 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:934-940 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java:323-329 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:575-581 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:637-643 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:926-932 \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 6 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:670\u0060 it does not close everything it opens, so those exact 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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:933\u0060 calls \u0060getKnobPosition\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java:330\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"86feee26ced9d7715e393b8c0555e5c95d5993e9d6bb8d79fd34ee08740da7f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:379-385 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:359-365 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:486-492 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:576-582 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:456-462 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileClockSkin.java:308-314 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 146 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:379\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfac157e379ee8a8e8694e39272e7c766839b0b62101f54d1dd6a50fcec2373f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:318-324 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:679-685 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:326-332 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:354-360 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:314\u0060 calls \u0060popVec2\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:353\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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba68e121c718059fc3b8353575567672914bc7d514f68a60bda31d0283f6a51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java:217-223 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:533-539 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:227-233 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java:264-270 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/FrictionJoint.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d346bc5e1f5cead61a2c1004bf33bf8636d076c65263e15893f2b5b5ab281c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:47-53 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:125-131 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:153-159 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:181-187 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:213-216 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:240-243 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:47\u0060 it does not close everything it opens, so those exact 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, \u0060Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:218\u0060 calls \u0060Stop\u0060, \u0060rgb\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:55\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":"Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"98275340d4a3f38c8c15a3eacc31447316bacca24cae17d3ccc1fc1f8c67c954"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java:260-266 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:697-702 | Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:336-341 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:324-329 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 95 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java:260\u0060 it does not close everything it opens, so those exact 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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:704\u0060 calls \u0060setRadius\u0060, \u0060setCenterX\u0060, \u0060setCenterY\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:343\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24188d4c426b023627410dcd8d30fde03da90420a5c2eea2a92445f5b85249b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:181-187 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:177-183 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:177-183 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:175-181 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:173\u0060 calls \u0060Group\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:179\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef712b08b9f9598c93a0bf52ceea06f5b0164581e3fe9b6b53879ed38c06b75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:262-268 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:269-275 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:240-242 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:265-271 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:263-269 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:272\u0060 calls \u0060rotateNeedle\u0060, \u0060getCurrentValue\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:280\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a223f4c4795cf7b7e7cc5ee0a1e8645e8f0806881448cbb489526e3a06dcf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:337-343 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:339-345 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:335-341 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:331-337 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:337\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:334\u0060 calls \u0060getSectionsVisible\u0060, \u0060getAreasVisible\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:337\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"3123db7903e82b5e76c3fee3674e07f2b3a5e5a82f447e6814aca1fcfa6e5b3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:408-414 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:418-424 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:419-425 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:411-417 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"e981bd5ccf60af76700a8effa6ba325154c8068598925a068a3f4fc07e4270ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:729-735 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:731-737 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1294-1300 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:729-735 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:729\u0060 calls \u0060getKnobPosition\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:727\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efb27daa4e18efa761119d9bfad37803392c18de2f43110474e9d3cc488f623"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 22): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:341-342 | Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:360-361 | Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:362-363 | Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:366-367 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:601-602 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:606-612 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:643-644 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:645-646 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:650-656 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:658-659 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:662-663 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:321-322 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:340-341 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:342-343 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:346-347 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:599-600 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:604-610 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:641-642 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:643-644 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:648-654 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:656-657 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:660-661 \u2014 there are 22 copies across 4 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 22 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:363\u0060 calls \u0060getElements\u0060, \u0060add\u0060, \u0060LineTo\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:344\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"7559649681bbb62fe1b0a8178cc869eaf0142a82208e72f4cd1cb98feeea8fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:629-635 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:643-649 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:693-699 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:707-713 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"52492fe63575ba48d67d94fa84b91c0d636780aa0badf9db1ed129f380bd7145"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:661-667 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:674-680 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:681-689 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:725-731 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:738-744 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:745-753 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"7249f924dcc627d2092792cacb7f6afc612cd9a757d06d25221844787756e775"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:719-726 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:732-739 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:798-805 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:811-818 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7aaf2e608d8b1406f17821f385e5436bfb0f4504c154ac537bfa8ee43b17bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsRequest.java:143-149 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderRequest.java:56-62 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderRequest.java:71-77 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsRequest.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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsRequest.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbe47fcff0959672de5ec092b0253eea42d317bddf200138d2b56ab681c792e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:294-300 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:429-435 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:525-531 \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":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9676ecbdf2c71c56c5040adf4fe52ad566638c37664f7904c15afc7f98808ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:349-355 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:400-406 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:561-567 \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":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d310001ee8fc305f0df506179063c9b1e8485cfde88dfbccf53a2fcb8479b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:419-425 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:571-577 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:603-609 \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":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c21bd4e17104e501eb68107fbcb6fd14eb724e12f6a3d072fe6a943bb1264e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1052-1058 | Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1086-1092 | Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1158-1164 \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 \u0060Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1052\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":"Libs_XUI2D/src/org/jbox2d/collision/Collision.java"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ed0e9ad4847036ceb3e3071f472f73b60ae7398cebbb29de03c43192348abf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1069-1075 | Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1103-1109 | Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1175-1181 \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 \u0060Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1069\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":"Libs_XUI2D/src/org/jbox2d/collision/Collision.java"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"646b43884e7a2bd03147221bbb96b67f0b7b31986ba145c48029fc6a77487e3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1122-1128 | Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1139-1145 | Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1193-1199 \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 \u0060Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1122\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":"Libs_XUI2D/src/org/jbox2d/collision/Collision.java"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4b7aadccb08c8785eea87f514173f5ad243c8057f3bed76a2a84cdc889aa26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:270-276 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:278-284 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WheelJoint.java:372-378 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:285\u0060 calls \u0060popVec2\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:279\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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5e0ad28d8a769c6892f0ec4be6b232c25ea434d4f075c44dafcd6ff66636e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:2074-2080 | Libs_jGauges/src/eu/hansolo/medusa/Clock.java:2083-2090 | Libs_jGauges/src/eu/hansolo/medusa/Clock.java:2094-2101 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/Clock.java:2074\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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":2074}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7788cdd429ccdce5315b66a282bbf1e0de016187c9de8b1bd8fc58a48e3d5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3039-3045 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3075-3081 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3111-3117 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":3039}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d6eca0e75a99b0f008c05387a6f4140efa9b7bf13eeaf73e4770cdc4b00c92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:338-344 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:348-354 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:358-364 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d0cbfb4bb86579196d3a64ddfe8ae0e82c57825a67d8b61ca3586c5d7a249e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:451-457 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:561-567 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:431-437 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:560\u0060 calls \u0060getMaxValue\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:449\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac71c59ab12ca32416aa0a2fe3e75b7e6b78a832bf8b852a215abfe714a563da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:233-239 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:245-251 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:233-239 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:252\u0060 calls \u0060setLineWidth\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:240\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7e469792645e544fe1da1f7166b576a29d38a25868b7161c5fe2fd65d09eb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:163-169 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:181-187 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:181-187 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 201 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"764e7a1c1c62233754b2e701ea1de04a3f2fd5ff9e3a569158d74744cb9ac38f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:194-200 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:216-222 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:216-222 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 201 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:194\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1753f64b3b16fcd9ce16b34fd4ec13b5ccb8034617b138667dc3e03cf20fc39c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:796-798 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:812-818 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1361-1363 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1377-1383 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:796-798 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:813-819 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java\u0060 as WHOLE FILES: this scan already matched 60 separate duplicated blocks between them, totalling at least 717 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:796\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0dbb84561b525d4da32d337c03b54d07c17cb2628746c7d30537df3de80aac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1091-1097 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1813-1819 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1089-1095 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java\u0060 as WHOLE FILES: this scan already matched 52 separate duplicated blocks between them, totalling at least 609 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"50380875934315473e08fbfad955d92c18ede9bbf6cce9e7465fe9bec0c3173e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:189-195 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:189-195 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:183-189 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 429 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:185\u0060 calls \u0060Text\u0060, \u0060setVisible\u0060, \u0060isDateVisible\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:181\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"622bc37203ced221de261b6f951754ecd2059b39ac16c19ae51141e601367636"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/Lexer.java:2068-2074 | Libs_JTidy/src/org/w3c/tidy/Lexer.java:2833-2839 \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 \u0060Libs_JTidy/src/org/w3c/tidy/Lexer.java:2068\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":"Libs_JTidy/src/org/w3c/tidy/Lexer.java"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"7042849f1c361d96da53aca6bb114c1abbda085674043933821809c6f88a0c85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:395-401 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:585-591 \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":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdb956adf70ae7c870582f5e7830fa049e8492be7cbc4f2041ae12262632530"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:418-424 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:433-439 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb319a951f93ccce87e0126893939a2394ecc387eefa3f782c228312ada9301"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttSubscribe.java:86-92 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttUnsubscribe.java:72-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttSubscribe.java:86\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttSubscribe.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c650b07c41dce407c8ec010376f82164d37180e5a0ee018f0041f133b643b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_Net/src/org/apache/commons/net/pop3/ExtendedPOP3Client.java:124-131 | Libs_Net/src/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java:223-230 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/pop3/ExtendedPOP3Client.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"339c535ed911367dd98f733bd1fc3d42148beac97348c1181215f01b11ada464"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/BouncyCastleWrapper.java:41-47 | Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/BouncyCastleWrapper.java:62-68 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/BouncyCastleWrapper.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ca18755d359a939cafed1d8ef01ebf562a6e8ce7bb5d561a1fcf57d0055d55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/TimeOfImpact.java:458-465 | Libs_XUI2D/src/org/jbox2d/collision/TimeOfImpact.java:507-513 \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 \u0060Libs_XUI2D/src/org/jbox2d/collision/TimeOfImpact.java:458\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":"Libs_XUI2D/src/org/jbox2d/collision/TimeOfImpact.java"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4e93443d1e1ff9b2d25572730062747ba25c91bbc041a02c21ba68ac11f2ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:716-722 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:725-731 \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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c67c2173527ecbdafcbfecf63e50361bfea2a2451ff7bb4ead5d45824148f55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:766-772 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:775-781 \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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"1669de7483b20fc1968c39d482284fb2ef447509eb374ef76718cd1b751b6b79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/shapes/ChainShape.java:197-203 | Libs_XUI2D/src/org/jbox2d/collision/shapes/ChainShape.java:226-232 \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 \u0060Libs_XUI2D/src/org/jbox2d/collision/shapes/ChainShape.java:197\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":"Libs_XUI2D/src/org/jbox2d/collision/shapes/ChainShape.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb863f280e508f3baabf8abb7a804de080d8d086b3e0486b8bf7e6566fb75b1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:853-859 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:953-959 \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":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ab8da755ec1d3c3fb6e19760c503ea101f227f5a73b489cbcdf5b86cc7fa08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:275-282 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:285-291 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:283\u0060 calls \u0060popVec2\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:273\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37aecea0e5ee64ad9f832b0b2aec40cb92e4a5b1eb48ff5684055da19841ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:289-295 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:189-194 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:198\u0060 calls \u0060pushVec2\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:300\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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdb640a44ba2c0ea6f769f1d09367f6d88a4e3f57117190091f7386ac2eb20e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:667-673 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:316-322 \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, \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:677\u0060 calls \u0060popVec3\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:326\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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6a9a5756f7b2ac5f4aa2c2cf916346b735b5900dfc04ed4879873b68c4d18f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:888-894 | Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:1757-1763 \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 \u0060Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:888\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"9588600f7f98eea58fb818abc5a9b04182ca55132d6cf68f59ddddec7ae746c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:1021-1027 | Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:1041-1047 \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 \u0060Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:1021\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5a677fbac3e3a868d9caea42c45af5cf6a96ee67e068ceea0025213f544385"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1207-1213 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2019-2025 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1207\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fb4bc549c40bc4cc1fb66654b6b9897cd8b989decb0d86a390f18c41c2f5ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2409-2414 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2424-2430 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2409\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":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":2409}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbafa6c38e6b99b55b5766b3285bf7e798bdc93ddc36bd9f05c3d2b7ab1f7ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3444-3450 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3511-3517 \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":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":3444}}}],"partialFingerprints":{"codehealthFindingId/v1":"d350c28ccc1f93a993f1c1115131a4829b55a1771abbfe792e1a463c972c4907"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:213-229 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:202-218 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"3016e3e38bea93fc40bfb6f28ee5edab373fa1a2546dd395f7bafc8120cf3a5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:508-509 | Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:512-518 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:488-489 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:492-498 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:508\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea37bf737fd36b0878944f7ba95033c9d479f4e7b3fb12f7ec872733509fa14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java:134-147 | Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java:118-131 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e2331b687aa09c54ea6c229a9281667f183f6b5c11f337a05e83c47a4ebd5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:396-403 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileClockSkin.java:360-367 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:396\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b09dcfa6776a2737a64be6bec5927767ab419966d36b252f60bc4664a586c43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:142-148 | Libs_jGauges/src/eu/hansolo/medusa/skins/SpaceXSkin.java:134-140 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e472bbcf585c125d7be42a3ec7e374630a6c07331f72f960aab0426e4f70fa4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:176-182 | Libs_jGauges/src/eu/hansolo/medusa/skins/SpaceXSkin.java:153-159 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7edc33458c076d6481feb3efa4ec8501c510743888e5ce7e6762cb6da6014c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:192-198 | Libs_jGauges/src/eu/hansolo/medusa/skins/SpaceXSkin.java:183-189 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e469a756109b8a6cc6360e7b30fc1dc05e0387e4bbed7788267aa64a68272420"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:239-247 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:238-246 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:239\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"54088363a99b95e8fe5d8ddee36b1a72abd862d2ce51b281672aee221feb804e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:263-269 | Libs_jGauges/src/eu/hansolo/medusa/skins/RoundLcdClockSkin.java:280-286 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:263\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81956e7c9fdfacfbd3bbd3e5b3071d420dbad5d2a351ec7fd8fc1cdcdba87e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:221-227 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:245-251 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 223 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82650b6804593db194489490c56eddb59245ad274948773575813d22d24e388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 8): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:600-601 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:605-611 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:642-643 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:649-655 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:700-701 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:711-712 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:742-743 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:753-754 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:611\u0060 calls \u0060sin\u0060, \u0060toRadians\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:601\u0060 does not \u2014 after which the two agree again for 5 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1cec7a69b7cf8975ef7211335b6e59ad9b2bd2ac6ee6d6eb54c12ecb0481b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:895-901 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:896-897 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1460-1466 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:895-896 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:895\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:895\u0060 calls \u0060Stop\u0060, \u0060hsb\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:896\u0060 does not \u2014 after which the two agree again for 5 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c34cbbdc650a9ec1d1f48a859e3759fc4d0db6dce4aa95243fecf8a29b33b5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:395-396 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:700-701 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:706-712 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:375-376 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:698-699 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:704-710 \u2014 there are 6 copies across 4 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 6 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c7551fbfc8920306f13b7eba0cc402cc787af9644886fd54f9718851e1401a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:419-420 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:743-744 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:749-755 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:399-400 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:741-742 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:747-753 \u2014 there are 6 copies across 4 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 6 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc59f1dfb7466a2d33f4e7840d8c79339e75a109878e39970a1c6085e79a951"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:760-766 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:758-764 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java\u0060 as WHOLE FILES: this scan already matched 74 separate duplicated blocks between them, totalling at least 818 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:760\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd0fd4b69f8ec901138ed0d62598902357b7750e1fb19bffa55f7ee457ab0bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 8): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:915-918 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:939-940 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1028-1034 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1052-1053 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1727-1730 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1751-1752 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1026-1032 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1050-1051 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f03cfc9db25ceabbb0c731d0a7d556073f35c67f72a1484d51fe831cad9632"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1028-1042 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1026-1040 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java\u0060 as WHOLE FILES: this scan already matched 74 separate duplicated blocks between them, totalling at least 818 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f2efa1f85a76cf5d49d2e6370d95947309cd1a8906e37b18480e5b3ee133fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20137 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:937-937 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1044-1050 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1743-1746 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1042-1048 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1043\u0060 calls \u0060relocate\u0060, \u0060getLayoutBounds\u0060, \u0060getWidth\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:937\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6ddde3fd2c3997c164418204852e1598d25c896fbb4809c9998f967193527e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java:180-186 | Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:164-170 \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 before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java:179\u0060 calls \u0060setPickOnBounds\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:163\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af96fc58ee876da08aab409f6c21215a638a7358c5af8c003c9b264eb7b01de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:544-551 | Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:587-594 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:544\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c7f416f3e1abe4dd0671449c6366f3668831439b73010067088ce56abb83d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:373-379 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:564-570 \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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:562\u0060 calls \u0060getTickLabelDecimals\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:371\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd6550cb73f772853ee7813a82fef60400c10b3f4af6e0d8e72621e64806ab2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 8): Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1166-1167 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1171-1177 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1208-1209 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1215-1221 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1266-1267 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1277-1278 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1307-1308 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1318-1319 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1177\u0060 calls \u0060sin\u0060, \u0060toRadians\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1167\u0060 does not \u2014 after which the two agree again for 5 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cea72d1558c7d878f157a9e27105fed121ad9800821962f938aa46717d4040c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/WhiteSkin.java:226-232 | Libs_jGauges/src/eu/hansolo/medusa/skins/WhiteSkin.java:234-240 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/WhiteSkin.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"675f2d472237a20d551245f9a3add1dce4713d81e2515fce0c213555e3b1d80a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:299-305 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:307-314 \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 \u0060TEXT\u0060 to \u0060Text\u0060 in one and \u0060Label\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":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"533ef23e684bd7dc843838b3c15ca665abe5869fb3ab1b5dc08ae16fee5c98c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 28): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:160-165 | Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java:102-107 | Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java:90-95 | Libs_jGauges/src/eu/hansolo/medusa/skins/ChargeSkin.java:101-106 | Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:134-139 | Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:119-124 | Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java:95-100 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:183-188 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:190-195 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java:139-144 | Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:99-104 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:156-161 | Libs_jGauges/src/eu/hansolo/medusa/skins/LevelSkin.java:106-111 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:147-152 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:154-159 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:186-191 | Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:106-111 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:110-115 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java:78-83 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:108-113 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java:90-95 | Libs_jGauges/src/eu/hansolo/medusa/skins/SpaceXSkin.java:121-126 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:132-137 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileSparklineSkin.java:121-126 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileTextKpiSkin.java:101-106 | Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:128-133 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:189-194 | Libs_jGauges/src/eu/hansolo/medusa/skins/WhiteSkin.java:88-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 all 28 call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc924606f31651c6a8f8f2ef53a0a1e53a2a0f4690c6abc19361da3821101165"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 14): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:129-135 | Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java:81-87 | Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java:87-93 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:126-132 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:131-137 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:119-125 | Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java:86-92 | Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java:158-164 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:134-140 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:129-135 | Libs_jGauges/src/eu/hansolo/medusa/skins/RoundLcdClockSkin.java:99-105 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimClockSkin.java:76-82 | Libs_jGauges/src/eu/hansolo/medusa/skins/TextClockSkin.java:84-90 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileClockSkin.java:97-103 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 146 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:129\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c87c7529e27527110f50c840c13c5c110bd064a0ab8fc44021dd309e344bb65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 11): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:820-825 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1155-1160 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1167-1172 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:272-277 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:301-306 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:313-318 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:344-349 | Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:883-888 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:773-778 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1889-1894 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1165-1170 \u2014 there are 11 copies across 9 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 11 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:820\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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1153\u0060 calls \u0060isLcdVisible\u0060, \u0060isValueVisible\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:818\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"610bab323c43699a27c21158262909a39f2ef56355108cf81bf0eaaded12f688"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:287-292 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:405-410 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:466-471 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:499-504 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:510-515 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:582-587 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"80608539e2add70d69956db6a7e489a2df05295c0cada5b007f052b75a9b5817"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:334-339 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:591-596 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:592-597 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:314-319 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1157-1162 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:590-595 \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 6 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:334\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"6187c4e3e7e9b8adae9efb8402d0034437f03f19e964c09887e322ca066cbad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:292-297 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:451-456 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:515-520 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:570-575 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:602-607 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81166e28db791e35b4e989a3f3b5187c7e8dca260c3f194a5b054623d12bb38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:207-212 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:193-198 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:215-220 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:215-220 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:205-210 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 146 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:207\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:211\u0060 calls \u0060setVisible\u0060, \u0060isDateVisible\u0060, \u0060setManaged\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:213\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"431d3cb1ab72e379add0175b3acdac2534b3e0ff67e68e2b8eec2973fe421cf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:338-344 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:340-346 | Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:222-228 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:336-342 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:332-338 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:338\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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:347\u0060 calls \u0060clamp\u0060, \u0060getAngleRange\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:343\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2e320535fc7d0ecbdf02363b172cd80520c7205ac7852737b6008ebd6c42ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:398-403 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:455-460 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:519-524 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:576-581 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"5548d78a517894c2911c5377441ea9afb96c4b2dbe9d72f3aa531b74ebb5aca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:412-417 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:667-672 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:316-321 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:213-218 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99f036ab0d2577ca1ed525ea41989b7725c9b77d81c1df0b1f8a126afd6c399"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:453-458 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:372-377 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:563-568 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:433-438 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:560\u0060 calls \u0060getMaxValue\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:449\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"e069790289e538d34ffa1700ce2cda73f8ae9cebc485108cd0e01d5ba8b8a042"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:257-264 | Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:251-258 | Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:261-268 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:243-250 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 69 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b1cd31150570c03e68fc093b7ac9d0dc913a1d8ea37a20587eb0600d831de7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:512-517 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:515-520 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1078-1083 | Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:226-228 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:511-516 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:512\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fd48ac0340b05dac625016321906d2f84494e1661e07f355133128372a00eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:956-961 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1069-1074 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1768-1773 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1067-1072 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:956\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"25dd4a79395467eef29fe1f0cab5b319c5c0278254435509e3c28f17366e55f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:291-296 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:399-404 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:514-519 \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":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff72b7945fb405758afadcb36276bb5ea5106f58b086ce00e20e20d4076f665"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:295-300 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:491-496 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:526-531 \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":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce8ac959ba6c6992d15b799ce3ba6826e2cb8a5bb3644acddb141443e31e350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:351-356 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:397-402 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:587-592 \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":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b973e42d33e5594908d283cb27f84b8d14fde8d31f933f9c2f0c7d6b8f489eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:394-399 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:440-445 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:522-527 \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":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6e0b306bfa1208327ba254219e069e3d8b1e4dd09e63845f20c1bf2c7322dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:404-409 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:439-444 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:581-586 \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":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"209591c65ea4da5b53ee02ccf6c99641185424e4f8657ecb997cbd8829040d70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:403-408 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:438-443 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:564-569 \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":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"b073b316e531289069e7262eae7bad8871b56ff6aa65cd7d2154befd2bd9c1f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:443-448 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:453-458 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:517-522 \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":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b655f6bb7141b11f117e37da6fde27006aaa291907dcb6ed179433b04c7988"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:267-272 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:270-275 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:270-275 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:267\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0ca4cf6928a45c37f14d89907451250ff901157262cdb186bcc1fdde2229d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java:143-148 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:222-227 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:246-251 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9408c023dabbcb63a2f9effb4a60f75ed9d2c12c02f6d4ea6c5fc33dc1f5ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:506-509 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:507-512 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1070-1075 | Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:222-224 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:503-508 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:506\u0060 it does not close everything it opens, so those exact 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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:505\u0060 calls \u0060setLineWidth\u0060, \u0060setLineCap\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:507\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cb9e493f2523e16d521abacfd11530a52fd9660f2a80a6a055d4cc462e510d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java:116-121 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileSparklineSkin.java:135-140 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileTextKpiSkin.java:123-128 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9f53c26e6efbb91c48782a564d8815ad7ca0e39e1947fbf2a9cb7abb8c01d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderAddressComponent.java:74-80 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocodingResult.java:71-77 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderAddressComponent.java:73\u0060 calls \u0060getMember\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocodingResult.java:70\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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderAddressComponent.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c6eb303a3f026ad215cb227c2bda390829ce8153b98318dd7b09a7d4daf7ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20136 lines \u00D7 3): Libs_JTidy/src/org/w3c/tidy/EncodingUtils.java:928-929 | Libs_JTidy/src/org/w3c/tidy/EncodingUtils.java:942-946 | Libs_JTidy/src/org/w3c/tidy/EncodingUtils.java:953-958 \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 \u0060Libs_JTidy/src/org/w3c/tidy/EncodingUtils.java:942\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/EncodingUtils.java"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eef6ebbd486960c04e46fcdb608cf9d475c72676a224453d291e51a9cbb35dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Libs_Net/src/org/apache/commons/net/pop3/ExtendedPOP3Client.java:96-107 | Libs_Net/src/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java:186-197 \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":"Libs_Net/src/org/apache/commons/net/pop3/ExtendedPOP3Client.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f9e5ba1e813b58f17ab0410d2d84a499156bdabf40bb79b8841bcfc68e91ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java:578-583 | Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java:602-607 \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 \u0060Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java:578\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e5a6eae5eb43578bf36eb810c2ded5f016c8cdc3a99fa74d9018c64b5fd6f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20136 lines \u00D7 4): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:710-711 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:719-724 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:760-761 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:769-774 \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 \u0060Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:719\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"1803a5bb47a4d3dad42f77e54b70d179ba35e70c804a10e0859c99ac6f0fa108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:1894-1908 | Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:1957-1971 \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 \u0060Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:1894\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":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0483f3824e7fb9f9db1edd24614550684d80c6c6632dc778a1f171e9f3cf8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jFX/src/anywheresoftware/b4j/objects/ColorPickerWrapper.java:52-57 | Libs_jFX/src/anywheresoftware/b4j/objects/ComboBoxWrapper.java:54-59 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jFX/src/anywheresoftware/b4j/objects/ColorPickerWrapper.java:52\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/ColorPickerWrapper.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"df05ea9d7c869d02f10b326e757005f65e4cb2712211a158f74a355d283ebd18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Libs_jFX/src/anywheresoftware/b4j/objects/JFX.java:222-236 | Libs_jXUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java:1129-1143 \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":"Libs_jFX/src/anywheresoftware/b4j/objects/JFX.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"c797423c4e4fe25e8354b63b34ae05156621c192ff381ed2d97f13e67593223b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:278-286 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:287-295 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd04ddf681fc7d7040005590e4404dca80049500a1a43594993df139a2fb35b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/MarkerBuilder.java:113-118 | Libs_jGauges/src/eu/hansolo/medusa/SectionBuilder.java:121-126 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/MarkerBuilder.java:113\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":"Libs_jGauges/src/eu/hansolo/medusa/MarkerBuilder.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31e36854e9eccb742e548b44c3972984fe74e7d5c8f0f772c95c19aebbe0147"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20136 lines \u00D7 8): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:703-708 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1124-1126 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1136-1138 | Libs_jGauges/src/eu/hansolo/medusa/skins/LevelSkin.java:340-341 | Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:845-847 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:670-675 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1858-1860 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1134-1136 \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 8 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:703\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1126\u0060 calls \u0060Stop\u0060, \u0060rgb\u0060, \u0060LinearGradient\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:708\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e87211315588c0d6f9fbf68244cfbc57ed3d23e0e704e8ae5d6c0c19330aa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/BulletChartSkin.java:114-119 | Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:139-144 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/BulletChartSkin.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"78528be478076dff457df6e3f0fba9db52542e6edcd05738493f7debde304768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20136 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:299-304 | Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:444-445 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:326-331 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:438-439 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:299\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9f46b7750f9f47786038c1aa314842fc3a4d757b9df9be7cf9dd9e50181560"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:231-236 | Libs_jGauges/src/eu/hansolo/medusa/skins/SpaceXSkin.java:234-239 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:231\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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:230\u0060 calls \u0060getSections\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SpaceXSkin.java:233\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a877cc088e32a0a0bfb64190dd4f370229be4b921797492bd96f3434027ac58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java:185-195 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:287-297 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 62 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java:185\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd06c6248d6fe94c304e7f4b1124ae00d9d6687164a1566466d4742ca36c1e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java:172-177 | Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java:2284-2289 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java:172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"125f1e9c898e86f43feb341cfd66fc096dc8a198d82e47180e6776f9dc39d7b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:206-208 | Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:220-225 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:208-210 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:222-227 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:206\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"65123046aad4f321c05952186e8c82fc99c4f0270f2a1a632b783bfc59a0b13d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:691-697 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:689-695 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java\u0060 as WHOLE FILES: this scan already matched 74 separate duplicated blocks between them, totalling at least 818 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:691\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd539b956a36ae0a7e8ea4908d615e9ad5730abdfde5020ad372a1f789e4131"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1060-1065 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1058-1063 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java\u0060 as WHOLE FILES: this scan already matched 74 separate duplicated blocks between them, totalling at least 818 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7726666d95cc5d05cea5f9d7ad85df054dedfa4ebca5e0df9fba6a224f7ac9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:458-463 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:517-522 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"effd3602c5047c0e6513b7aa21d5fdc9e800661ac052fd415e740b2cc3d39d00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/BulletChartSkin.java:353-356 | Libs_jGauges/src/eu/hansolo/medusa/skins/BulletChartSkin.java:389-392 | Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:643-648 | Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java:718-723 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/BulletChartSkin.java"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"437321d31bd3f39e5386b309a0f3d763fc2f9f824ff5adf86c5b10ca8bc9c165"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:309-314 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:319-324 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:793-796 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:309\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f86fe0664c09ba4edf7e022f14aa6d271149f1731858709fbfedc055cbdb30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:219-224 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:356-361 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"709f6057cf2a71c8a4d1521a18e5efb04c2871bea5ee467ec5d13b72ef297631"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:1119-1124 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:1158-1163 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:1119\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3437af6b3838e2088786feb9d29e3150d82e9065d888f848e3daff589f552a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java:209-213 | Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:445-449 | Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java:243-247 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:290-294 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java:266-270 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java:225-229 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileSparklineSkin.java:447-451 | Libs_jGauges/src/eu/hansolo/medusa/skins/WhiteSkin.java:205-209 \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 8 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java:209\u0060 it does not close everything it opens, so those exact 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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java:214\u0060 calls \u0060setPrefSize\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:450\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e0c6961323f16cb5d07fcb497bd61c3dee039578787c6dc0a1c434566f541e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 9): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:287-291 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:380-384 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:394-398 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:401-405 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:408-411 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:414-418 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:470-474 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:362-366 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:382-386 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 196 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:287\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:399\u0060 calls \u0060getElements\u0060, \u0060add\u0060, \u0060LineTo\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc68f0b691f27f69e40713e828699fbc59596a1ae749d0f76f05722925f681f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:297-301 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:445-449 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:455-459 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:493-497 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:519-523 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:528-532 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:576-580 \u2014 all 7 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":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ce8646326f973f8e807593241b458fa444af4c667dc2f4e8082a259affa3b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:382-386 | Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java:227-231 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:362-366 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:489-493 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:579-583 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:459-463 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileClockSkin.java:311-315 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 146 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81135930745976eadd00712a4e7e9b7f8d54a67056654b8d11a397d5c20f3c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:287-291 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:394-398 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:466-470 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:499-503 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:510-514 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:522-526 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ded1fc80fec8ee973afb6320c6f6349a758b7f6a2e2ce353c09df4e6e461791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:297-301 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:352-356 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:445-449 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:493-497 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:528-532 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:588-592 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"898f6ef25bf4825dce1a3aa130e411bd41bfc1dac57aed11eae9d800b36225f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:199-203 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:236-240 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:243-247 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:193-197 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:239-243 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:242-246 \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 6 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6512ed9d9faf99a6eab1d2b01520f71bbccbef114ff6a2b1af9b69a5aab4e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:289-293 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:336-340 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:338-342 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:269-273 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:334-338 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:330-334 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 6 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:289\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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:334\u0060 calls \u0060getSectionsVisible\u0060, \u0060getAreasVisible\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:337\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"8720d08ae001f82850fc9c210999117d3508d14121505e75278301bf8e30767c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:295-300 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:491-496 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:526-531 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:574-579 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:609-613 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe634203ef7be838de4ba3d3cb706a325c1af6e816a3d25079d700c86d40d808"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:349-353 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:451-455 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:561-565 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:570-574 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:602-606 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2cc23e7a9c63b29f03cbbd4b902cbea30116e91de08cd803ff80b3ad333504"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:257-261 | Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:251-255 | Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:261-265 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:243-247 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:262-266 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 69 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:257\u0060 it does not close everything it opens, so those exact 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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:262\u0060 calls \u0060setLineWidth\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:267\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"8217ac34671d38c334afd15507bf7d1eae645267cbbb11721a1d3b2079401e69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20135 lines \u00D7 6): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:253-258 | Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:247-247 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:239-244 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:259-263 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:264-268 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:247-251 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 69 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:253\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:236\u0060 calls \u0060Point2D\u0060, \u0060getX\u0060, \u0060getY\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:249\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"4060add583a465c3b3ab2b7958580471b519521216d0956f0332a357e392575a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:321-325 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:343-347 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:415-419 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:565-569 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01828da4be7f9f573e689aa9864566821c95bdd16496cafbc074f12d95cc0dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:321-325 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:343-347 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:415-419 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:581-585 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c334acc22e4ce2dbda1725fc1b5b0d3759f15661775a7a040ae8c12b7f78da6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:392-396 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:456-460 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:520-524 | Libs_JTidy/src/org/w3c/tidy/TidyUtils.java:577-581 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TidyUtils.java"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76c0622306e4810b0fb3ce2f11bcc17df7579d37997f409f56b46022f8eaa79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:718-722 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:727-731 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:768-772 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:777-781 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6a5a836a990f33d13e9b8d4f2d2e26f0d0b235d09fb899c7a96aa81658da64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 5): Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:323-327 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:419-424 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:331-335 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:408-409 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:220-225 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ace62818ca50b8019d6c2bb7f66b5dd036ef792d4e256b688745956c07c19fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Libs_jFX/src/anywheresoftware/b4j/objects/ButtonWrapper.java:63-68 | Libs_jFX/src/anywheresoftware/b4j/objects/ButtonWrapper.java:107-111 | Libs_jFX/src/anywheresoftware/b4j/objects/CheckboxWrapper.java:46-51 | Libs_jFX/src/anywheresoftware/b4j/objects/TreeViewWrapper.java:215-221 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jFX/src/anywheresoftware/b4j/objects/ButtonWrapper.java:63\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/ButtonWrapper.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9113bd794ffdc595446e9ee2a71afa3cd25c7e79bc12ca906de2a0e96b30ebf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:299-303 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:326-330 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:447-451 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:537-541 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:299\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98080e6616f9ed9e466cc704ce907b97ca8f636115b995db5be2c04adb0fa40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:255-259 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:262-266 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:237-240 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:258-262 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:256-260 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:259\u0060 calls \u0060enableNode\u0060, \u0060getUnit\u0060, \u0060isEmpty\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:240\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2c02373a9867f5e86219d30e6486a9e0f220645c5bfa5e8ea72947f4adae1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:836-840 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:838-842 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1401-1405 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:837-841 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:836\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c6798690b2463713284cd6ed2074d82c3c69eca3801150776d932c700e447c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:851-855 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:853-857 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1416-1420 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:852-856 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:851\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c61f9ff043eb094f9e18c158cb7e5046b56199d6df564f87fb554d0f29be08d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:552-556 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:561-564 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:568-572 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:586-590 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:600-604 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:552\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"632a4293ce23aaee6643e86927063c1cdcc223d4fbf5111e5c3c2ea88162f343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:273-277 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:249-253 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:301-305 | Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:234-238 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 95 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:273\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e245f5ea24656dc665c92f8fae677b9abfb1688112d0b5d8a91d3832320ae20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Libs_XUI2D/src/org/jbox2d/collision/WorldManifold.java:93-97 | Libs_XUI2D/src/org/jbox2d/collision/WorldManifold.java:131-135 | Libs_XUI2D/src/org/jbox2d/collision/WorldManifold.java:184-188 \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":"Libs_XUI2D/src/org/jbox2d/collision/WorldManifold.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91742918b6938ac638184169bcf0d55a9e4f3882af05cee1167ae1e8e7780ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:292-296 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:139-144 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:191-195 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:198\u0060 calls \u0060pushVec2\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:300\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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a160001ddc862f478777eea367d466b8213ff77dbf513be537942eefe70551"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:271-276 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:280-285 | Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:289-294 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java:271\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":"Libs_jGauges/src/eu/hansolo/medusa/GaugeDesign.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"261a7264a9ac24c2d23c5616f87cf15c97a1f9957a90a0c11b8ba53ec4709f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:738-742 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:704-708 | Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:357-361 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:743\u0060 calls \u0060setControlX2\u0060, \u0060setControlY2\u0060, \u0060setX\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:362\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ddcdb7aa0c94268b18ede587d74ff8f766cfff97d8c780353cf02a87fae336"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:409-413 | Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:442-446 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:514-518 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 69 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"d787f448a0414f2e224ae79c2076fe08a5123eff1a3b1a4e292aa7ac2369c00c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:281-285 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:376-379 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:464-468 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:356-360 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 196 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:376\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:285\u0060 calls \u0060getElements\u0060, \u0060add\u0060, \u0060MoveTo\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:379\u0060 does not \u2014 after which the two agree again for 5 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"4836a5394e0dd5d4cf7a3dae0bd030fcbbfb6d34abd3ca142200ce496c80bf7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:311-316 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:494-499 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:379-384 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 225 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:311\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d25e1eb9df57048c43730fc4b725d3b07cb97045832fc44fdce699e3b87ba50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:232-237 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java:144-149 | Libs_jGauges/src/eu/hansolo/medusa/skins/SpaceXSkin.java:235-240 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:232\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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:230\u0060 calls \u0060getSections\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SpaceXSkin.java:233\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bb57f20631c1f3a8dda8b8f29edeb990bea1953c9ca453e9e93ca68c15a332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java:164-168 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:266-270 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:249-253 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 62 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java:164\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc47a4e9ac872b7c408f839c6967e1858911c8f9e50a155e09724a875e586a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java:160-167 | Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java:2275-2282 | Libs_jGauges/src/eu/hansolo/medusa/skins/TextClockSkin.java:151-158 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java\u0060 as WHOLE FILES: this scan already matched 5 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d415286d2fd7eccac010f3bef2d13dd7fd6b3822b723ae5fe17455a8c6fd95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java:167-171 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java:159-163 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java:158-162 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java:167\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a1d559318c520d23881790f3e4e19369a15500bc460e4974a85f9e41065742"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:322-326 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:326-330 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:276-278 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:322-326 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:322\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:326\u0060 calls \u0060enableNode\u0060, \u0060getTitle\u0060, \u0060isEmpty\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:278\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"f091781e1de23c2fd08700c4da3232194bbfaf61d8a109194c913057369512f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:863-867 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:868-871 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1428-1432 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:864-868 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:863\u0060 it does not close everything it opens, so those exact 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b63e14096c6759979de39f192f1cbdf79e4a3eb6e054ac28cd73b5880811a9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:945-951 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1058-1064 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1056-1062 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dab5e4b583b5753fa945fa0a80745d3e009eb621b3f078fe6d0297dcd53f366"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1021-1025 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:978-982 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:970-974 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:1021\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"82288cb753e1eb00f1262bc9881ccc9885f7faa255fd05f5787638addeb874ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:695-699 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:738-742 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:736-740 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java\u0060 as WHOLE FILES: this scan already matched 74 separate duplicated blocks between them, totalling at least 818 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:695\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"4205a29b995a32e328e3e112d6a767f7a9b28f2cdc6377912fcc31c2db2faee0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:331-335 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:351-355 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:360-364 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:331\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b0a087cf5411513e06de91bf9a8072d1f29a3d334f3f1b1ffee498b99f11df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:380-384 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:400-404 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:415-418 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:426-430 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:380\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c31e06bb3e2a84172de2521afb4cdb511db00aca8f3f5d7a426ccf4c6ecfd80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_B4XEncryption/src/anywheresoftware/b4x/object/B4XEncryption.java:58-64 | Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/BouncyCastleWrapper.java:48-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_B4XEncryption/src/anywheresoftware/b4x/object/B4XEncryption.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda4c5f9676ae264d836dc8faa37203eb7570a543e8ed8cccc86f2c5b6a8e181"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java:1202-1206 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java:1269-1274 \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 \u0060Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java:1202\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":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d18ed5e2ba267187d917bf64c8d003c517cc38a873ed803d3b755d4217a849f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 3): Libs_B4XEncryption/src/anywheresoftware/b4x/object/B4XEncryption.java:63-64 | Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/BouncyCastleWrapper.java:54-58 | Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/BouncyCastleWrapper.java:74-78 \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 \u0060Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/BouncyCastleWrapper.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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/BouncyCastleWrapper.java:54\u0060 calls \u0060doFinal\u0060 and \u0060Libs_B4XEncryption/src/anywheresoftware/b4x/object/B4XEncryption.java:63\u0060 does not \u2014 after which the two agree again for 5 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":"Libs_B4XEncryption/src/anywheresoftware/b4x/object/B4XEncryption.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b57d7b6aaceb25b1566942637fa972f79a2072287f47d6b63e6f6c80ca4f63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:704-708 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:713-717 \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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25216fe602a824a409f95f38295ea5d8f69c1839d13213efb430ed6cad59107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:754-758 | Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:763-767 \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":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e6081858815662ff968da3507cd59dfdb21763086eda4f8e3100774e67f7a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/shapes/PolygonShape.java:245-253 | Libs_XUI2D/src/org/jbox2d/collision/shapes/PolygonShape.java:266-274 \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":"Libs_XUI2D/src/org/jbox2d/collision/shapes/PolygonShape.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b82a65a97fbdd43ae618a365fb912b56bab2517d1e1803982936dc1e9af8a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/common/Mat22.java:574-579 | Libs_XUI2D/src/org/jbox2d/common/Mat33.java:279-284 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_XUI2D/src/org/jbox2d/common/Mat33.java:287\u0060 calls \u0060equals\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/common/Mat22.java:580\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":"Libs_XUI2D/src/org/jbox2d/common/Mat22.java"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35f332d60723b97a14bd9ac68dbd07619d99435e8e87a642ed30d5a484a8cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/Island.java:279-284 | Libs_XUI2D/src/org/jbox2d/dynamics/Island.java:544-549 \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":"Libs_XUI2D/src/org/jbox2d/dynamics/Island.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d29d88507ba3b321bf854e52ec23af06bb508addd4fff88cfd60487c4b9a012"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:1064-1069 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:1092-1097 \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":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"42080546dd31852e1337361f9b27c93884359e6ea8b12e74e68c6a5bd1d888ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java:211-216 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java:127-131 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/RopeJoint.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e00b0fc8c5926feddb551a05811e4e151b2c56cf03b6532a753a3e27438b766"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/GearJoint.java:300-305 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/GearJoint.java:466-471 \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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/GearJoint.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"000294776342ec25ef2a39acae989208dbe66ba00910fbbe2a9e56dfe0caa238"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:256-261 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java:299-304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/PulleyJoint.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa95d1465fbf3f7ef5256a6aa4320c96b9a5b4d9cdadfddfb305e86ea60b483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:512-517 | Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:531-536 \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 \u0060Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java:512\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"8800f19c5e247414bb618fbbb8e81543142a41f5750d592daf99845a168e8809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/particle/VoronoiDiagram.java:146-158 | Libs_XUI2D/src/org/jbox2d/particle/VoronoiDiagram.java:203-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/VoronoiDiagram.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ada269ee074076b6b6556e2e16085e02e2cfea4a5ee6ca01ac34dfbaa3c5d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Needle.java:103-107 | Libs_jGauges/src/eu/hansolo/medusa/Needle.java:145-149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Needle.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abe59b562527f7cc53a047dabb011849ca9740fcfee637b63f0e9d28db287a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:313-318 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:293-298 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"441b7c90524cbfc74e57757e0e8c73cf05ceca2f95253b66fd3225a3d8f4f17f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:357-361 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:337-341 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:467-469 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:557-559 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:442-444 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 146 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:357\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java:361\u0060 calls \u0060clearRect\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:469\u0060 does not \u2014 after which the two agree again for 5 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3976bf9ce6ff73d20341794698ef9adbe559b9fd6ccc87619941836491d3e82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:368-372 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:599-603 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"1652aeb70b84e02524cb468dea67e7aebfee8193d5b8906d49ff59ec58cccf86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:595-600 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:637-642 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:595\u0060 it does not close everything it opens, so those exact 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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:645\u0060 calls \u0060getElements\u0060, \u0060add\u0060, \u0060LineTo\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:603\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6bddc84cd3db1d7b10fdb1d84e9d898e6ec8e5d91ee4d5d161535aa15e4815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:988-992 | Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java:318-322 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:988\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"1002a7073acebfe8111777ea13cd82a82cf31d80e163b57445735c768b909d03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:596-601 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:638-643 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:596\u0060 it does not close everything it opens, so those exact 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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:646\u0060 calls \u0060getElements\u0060, \u0060add\u0060, \u0060LineTo\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:604\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"4164a875c3b38a1dc2e2114412090a2ff1f69b3206b651498e9434045d19e190"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:909-913 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:908-912 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java\u0060 as WHOLE FILES: this scan already matched 74 separate duplicated blocks between them, totalling at least 818 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"1325311ad0cc32b3e7d4dba10eb08582b11a60e5876cf78a5a45e50ba8010421"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:939-942 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:945-946 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1054-1058 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1751-1754 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:1052-1056 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:1058\u0060 calls \u0060getPath\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:946\u0060 does not \u2014 after which the two agree again for 5 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fbf49e2a06b1d3f0793480a349ecb72684f5ab51ccc7aa244baa8e641b53e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:188-192 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:363-367 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:188\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d477d5e53495f4b256c3eb2b822fc5da7d19e5bca0aef15fd1d6d079f7be460"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:324-330 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:590-596 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:597\u0060 calls \u0060setFill\u0060, \u0060getBackgroundPaint\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:331\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"607cd8dd0d5ea5b1e4409dd38a7797db7ad64f9537c669781849296ce3b09829"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:476-480 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:547-551 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java:476\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LcdClockSkin.java"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"8595a129c57a14fe58a3d03dde9d97e63551eeda28c6c365e1c924b46bf48c11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:637-641 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:970-974 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:637\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4087f39264b6b1152a7a58c992ad90bb3d6c401a63ef4152fef494bbab66df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:709-715 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:723-729 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"729cc550eba80df7021e2eda875153120dbca5ec92d9f3d410aa210f948f79b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:761-769 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:348-356 \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 before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:757\u0060 calls \u0060setX\u0060, \u0060setY\u0060, \u0060setControlX1\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:347\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"caeb5b07fab720bac482d7a670080dc8db156695d8ac5c49f7e4007ea2ac9d43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:282-285 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:302-306 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:266-270 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 429 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:282\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:306\u0060 calls \u0060getElements\u0060, \u0060add\u0060, \u0060MoveTo\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:285\u0060 does not \u2014 after which the two agree again for 5 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68b1d0d9ac81c73b247f4b1772b5bee000333d90b16b60cc37caf508638e094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:326-329 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:383-387 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:311-315 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 429 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:326\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:387\u0060 calls \u0060getElements\u0060, \u0060add\u0060, \u0060MoveTo\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:329\u0060 does not \u2014 after which the two agree again for 5 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7dc9ed6728f04d5ee83ddb7ba132f081a6105c7742eaa488ad8957f7c352da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:617-628 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:497-508 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 374 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:617\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f095fd9b6f5cb4ab49c3e1ace976f1c97a67b09f1c75ad6d4cbb2ab68a920b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:618-622 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:676-680 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0ded6ac3664f7b828da06c57b61c35f0387d0f6b322d3cf25d145f004f0763"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1161-1166 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1203-1208 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1161\u0060 it does not close everything it opens, so those exact 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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1211\u0060 calls \u0060getElements\u0060, \u0060add\u0060, \u0060LineTo\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1169\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62a9b6dd62b1cab75a374a0d3cdca7cfac84a63e6ed429b283895dcb91311ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:305-309 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:272-276 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 95 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:305\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc979ac04d0a4c732da4e5c386ab48924eb98a124537f8146bd29f9e3ddb299"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:312-316 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:279-283 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 95 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:312\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"83495ced756cb5d58f0a74089868cc8407434161492c21620910026ad5245631"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:594-599 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:636-641 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:594\u0060 it does not close everything it opens, so those exact 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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:644\u0060 calls \u0060getElements\u0060, \u0060add\u0060, \u0060LineTo\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:602\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb156fb5cabf241bd36c325625f237765d7c280bff03c280ee35bcdb61b82b12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/tools/ConicalGradient.java:123-131 | Libs_jGauges/src/eu/hansolo/medusa/tools/ConicalGradient.java:158-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 \u0060Libs_jGauges/src/eu/hansolo/medusa/tools/ConicalGradient.java:123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/tools/ConicalGradient.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0030d7c15f7340f969776441379328cb0b4fd642a9451365769f8c058b53ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:1235-1239 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:1254-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 \u0060Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.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. 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":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2e11809eea40cacffba7bfb9fd04140e515f0ebdd40eb1e03fc2e72cbaefdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java:103-126 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocodingService.java:67-90 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocodingService.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocodingService.java:61\u0060 calls \u0060toString\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java:91\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"358644b3bfedeb6d7586e9a02fb97ede3f26293bedc89bd372260c7965cd1d0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (84 lines \u00D7 2): Libs_Net/src/org/apache/commons/net/ftp/FTPReply.java:104-198 | Libs_Net/src/org/apache/commons/net/smtp/SMTPReply.java:54-137 \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":"Libs_Net/src/org/apache/commons/net/ftp/FTPReply.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"249c45e7c1c79225eb6bae0872fb897f5c81f9fb39a7a59375bee911aa3a16ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): Libs_Shell/src/org/apache/commons/exec/launcher/OS2CommandLauncher.java:41-70 | Libs_Shell/src/org/apache/commons/exec/launcher/WinNTCommandLauncher.java:34-65 \u2014 before extracting anything, compare \u0060Libs_Shell/src/org/apache/commons/exec/launcher/OS2CommandLauncher.java\u0060 and \u0060Libs_Shell/src/org/apache/commons/exec/launcher/WinNTCommandLauncher.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Shell/src/org/apache/commons/exec/launcher/OS2CommandLauncher.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa8e873d74e401e32de49baf702f8a2a11b1610cdbab6b5bce69276798bada6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp.java:413-419 | Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp2.java:180-186 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp2.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/MainApp.java"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"805cb8cd1d73ac27523d47f1b655807333cf3347f56cfd9d42118a7d91f51e0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java:107-115 | Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/GoogleMap.java:116-124 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/GoogleMap.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef90e7f79a782ea2ca111bde346d6f9a4595c73f74f1d27a9def4ece997c405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java:211-219 | Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/GoogleMap.java:352-360 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/GoogleMap.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f7f1fe80e4c8543647a06b520a72cf49e9ae0b6c2344c9169b7baf94fa7e28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java:238-244 | Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/GoogleMap.java:394-400 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/GoogleMap.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060h\u0060 to \u0060UIEventHandler\u0060 in one and \u0060GFXEventHandler\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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"db88d618bf47a8cfb7e1e21cef860825563b986516fc8a83bb517c0ff0ddda4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java:257-264 | Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/GoogleMap.java:413-420 \u2014 before extracting anything, compare \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/GoogleMap.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 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":"Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/DirectionsPane.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf6162cbd98971443f41198ee02a608cc7fa103adfb4a3e161ac0742b80aa11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_Json/src/org/json/JSONArray.java:285-292 | Libs_Json/src/org/json/JSONObject.java:374-381 \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":"Libs_Json/src/org/json/JSONArray.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc47a3e7f09d56d554b3d0b7e35f1891831037d5615a4c4e605e8d6c1ad4e69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_Json/src/org/json/JSONArray.java:306-310 | Libs_Json/src/org/json/JSONObject.java:395-399 \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":"Libs_Json/src/org/json/JSONArray.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f6db89252282d891c57ca5437fcd133ba494e8b7886aa4a16b78d67dcfe224"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_Json/src/org/json/JSONArray.java:319-326 | Libs_Json/src/org/json/JSONObject.java:408-415 \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":"Libs_Json/src/org/json/JSONArray.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d597d9d6588f9d2cf3b2b15ee38dc84be6d8776fc391a37543f38145200d38f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_Json/src/org/json/JSONArray.java:340-344 | Libs_Json/src/org/json/JSONObject.java:429-433 \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":"Libs_Json/src/org/json/JSONArray.java"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ea204afcc6499ec1b55530e355b7c6f5ab91fb10cb016ee383d461a59f6b90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_Json/src/org/json/JSONArray.java:353-360 | Libs_Json/src/org/json/JSONObject.java:442-449 \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":"Libs_Json/src/org/json/JSONArray.java"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1c2a33277e76cfc34dc997d3c7c0705a99667f433f5bf6a099f7557859eeea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_Json/src/org/json/JSONArray.java:374-378 | Libs_Json/src/org/json/JSONObject.java:463-467 \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":"Libs_Json/src/org/json/JSONArray.java"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b5a56c3edf936c2f482f65481a62470ff6c3a80942cc76c4225d76664f685b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_Json/src/org/json/JSONArray.java:387-394 | Libs_Json/src/org/json/JSONObject.java:477-484 \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":"Libs_Json/src/org/json/JSONArray.java"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf32991ad6df1ba95c08f52d81606188d26dee071465cd2de0d59d22a303121e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_Json/src/org/json/JSONArray.java:408-412 | Libs_Json/src/org/json/JSONObject.java:501-505 \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":"Libs_Json/src/org/json/JSONArray.java"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb312c2ee8f30eb10ba167495010ec7f5bb5a64a0f42e081bc93c999781e54f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_Json/src/org/json/JSONArray.java:420-427 | Libs_Json/src/org/json/JSONObject.java:513-520 \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":"Libs_Json/src/org/json/JSONArray.java"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db7a6d99708c66e1467167f99afc619f5fbbb19b895037e3f72b476146e0cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_Json/src/org/json/JSONArray.java:441-445 | Libs_Json/src/org/json/JSONObject.java:534-538 \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":"Libs_Json/src/org/json/JSONArray.java"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e052bf41b8141854c1b6ebcaa4261293271d0369c21fe38496c0d599885f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_Json/src/org/json/JSONArray.java:454-461 | Libs_Json/src/org/json/JSONObject.java:547-554 \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":"Libs_Json/src/org/json/JSONArray.java"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"a473f2da4c324548cb21149a03d3b1cf34b8ad1c55156ac168606758748465c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_Json/src/org/json/JSONArray.java:479-486 | Libs_Json/src/org/json/JSONObject.java:572-579 \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":"Libs_Json/src/org/json/JSONArray.java"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20f8c047799180a33fd78e5f506706fe88f7d9a180b22846d2dda3a4f91be81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_Json/src/org/json/JSONArray.java:541-549 | Libs_Json/src/org/json/JSONObject.java:637-645 \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":"Libs_Json/src/org/json/JSONArray.java"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"557a179eb3e138840975f059bb48ac1b53a6539b7be8f2a601981096b2d19445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttSubscribe.java:111-121 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttUnsubscribe.java:89-99 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttWireMessage.java:273-284 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttSubscribe.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9b2f9ab9fac8f512f95c7db4e613108e7cfe4436627d9cefe4ff024586852c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Libs_MqttBroker2/src/io/moquette/broker/AutoFlushHandler.java:53-62 | Libs_MqttBroker2/src/io/moquette/broker/InflightResender.java:86-95 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/AutoFlushHandler.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5cafff3e72354b0047150a0ffecc4bf42f9312f42ef7d8b826eb2075b1a3ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java:439-447 | Libs_Net/src/anywheresoftware/b4a/net/POPWrapper.java:289-297 \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":"Libs_Net/src/anywheresoftware/b4a/net/FTPWrapper.java"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb29323e4a9d2e3fb448810a0fa63f9c5c069de001a272ebd2e08666e7d4c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_WebSocketClient/src/anywheresoftware/b4j/object/WebSocketClientWrapper.java:113-119 | Libs_WebSocketClient/src/anywhersoftware/b4j/objects/WebSocketClientWrapper.java:103-109 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_WebSocketClient/src/anywheresoftware/b4j/object/WebSocketClientWrapper.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f17dd3c7a26e29d29ad17fb8c8f8adf822f0d00cdeb1fef006ed79d2a7f7f1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_XUI2D/src/anywheresoftware/b4a/objects/B2AABB.java:93-99 | Libs_XUI2D/src/anywheresoftware/b4a/objects/B2Vec2.java:112-118 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/anywheresoftware/b4a/objects/B2AABB.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"63aed7f5d260647e72e591be3534ef3f257ce24cc74deed490fc29c50458e52a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java:274-281 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java:527-534 \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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e187a2715ba7b4039c7ff6b4b3e4f36c1255995514cd1dd9f4ca3744f93339"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJointDef.java:130-136 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJointDef.java:78-84 \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":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJointDef.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3052a91bd1a1392c156ab3b78ef1241cc8bf74326ff0e12063fa2bf305ff3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): Libs_XUI2D/src/org/jbox2d/pooling/arrays/FloatArray.java:36-45 | Libs_XUI2D/src/org/jbox2d/pooling/arrays/GeneratorArray.java:29-38 | Libs_XUI2D/src/org/jbox2d/pooling/arrays/IntArray.java:39-48 | Libs_XUI2D/src/org/jbox2d/pooling/arrays/Vec2Array.java:39-48 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/pooling/arrays/FloatArray.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"394bae5187c13679dfa726b71a2f7833b9b8e232ae1ac2177f6be894b4735833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/pooling/normal/CircleStack.java:35-43 | Libs_XUI2D/src/org/jbox2d/pooling/normal/OrderedStack.java:39-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/pooling/normal/CircleStack.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"24883c48c1201ad3d5b9f314a782f57875a354bfe3e880ba8303510c0017e606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): Libs_jFX/src/anywheresoftware/b4j/objects/AccordionWrapper.java:151-156 | Libs_jFX/src/anywheresoftware/b4j/objects/MenuItemWrapper.java:127-132 | Libs_jFX/src/anywheresoftware/b4j/objects/TabPaneWrapper.java:153-158 | Libs_jFX/src/anywheresoftware/b4j/objects/TreeTableViewWrapper.java:346-351 | Libs_jFX/src/anywheresoftware/b4j/objects/TreeViewWrapper.java:178-183 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jFX/src/anywheresoftware/b4j/objects/MenuItemWrapper.java:136\u0060 calls \u0060getParentMenu\u0060, \u0060ConvertToWrapper\u0060, \u0060MenuWrapper\u0060 and \u0060Libs_jFX/src/anywheresoftware/b4j/objects/TreeViewWrapper.java:184\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":"Libs_jFX/src/anywheresoftware/b4j/objects/AccordionWrapper.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a36e77bdce2decb0a85341fce542870ac183459fd360371f3046f3b83742fd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jFX/src/anywheresoftware/b4j/objects/TreeTableViewWrapper.java:334-338 | Libs_jFX/src/anywheresoftware/b4j/objects/TreeViewWrapper.java:166-170 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jFX/src/anywheresoftware/b4j/objects/TreeTableViewWrapper.java:333\u0060 calls \u0060SuppressWarnings\u0060 and \u0060Libs_jFX/src/anywheresoftware/b4j/objects/TreeViewWrapper.java:162\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":"Libs_jFX/src/anywheresoftware/b4j/objects/TreeTableViewWrapper.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89abb2b810e215b060fdefa967253a286cd89e6090ee09eef2246a843449e25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:640-647 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:4100-4107 \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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4176b98cbf7cc1a32582a50f6f13bdc8585ef3fc149caffed58354a46ac9c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:670-677 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:4226-4233 \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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6ef2b0d376251f8c11ba037724698c4f9075bfbb94b870d26bf101c145afad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:758-765 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:4256-4263 \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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2fa6122e8eb015a38279a986ae2cf921ad543ab55e8cb77e34e074f31802b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:788-795 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:4352-4359 \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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea851ada4d68bbd4f61877c5cb5ef98bf949d07ba748d14a69cd6398cf331a35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1136-1143 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:1945-1952 \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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf345eac018070a58035b43675ab89a020f1daabf16881271fe72bee8065619"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1167-1174 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:1977-1984 \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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdf8a340975995da564a45c60410acf9ab7537da5a4a65a7a8b75efba002070"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1198-1205 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2010-2017 \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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cace165f1c3fba9073707eccd9e4c12b162810c1b23d73c6b72e508b9f63d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1232-1239 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2046-2053 \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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f5bba0c57d58d0fdd3efe9c23afdad10646c32122bf9c139db3382ed19af42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1261-1268 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3733-3740 \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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6b4a87ea7727d822e4d16052a9bc402b27d4f4fc08f5ef0c0eafb76e3447fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1406-1413 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2639-2646 \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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d02cb420711f06312935d19040073aa7006f64bf597b7056d9bdbe62a59c501"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1520-1527 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:4476-4483 \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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9617f55aa1810bb5d0fc208d3718740fe216b055fda33aaaf009687f62225a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1789-1796 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:4770-4777 \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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a8a51f8da11dc2bf548855b61b017381bcace70a93da3c5a19d4076d97dbb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1817-1824 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:2453-2460 \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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1817}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca558ddf24783133ec0770171c887aed7b88b141adbe24b4672332be711bed9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1990-1997 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:5234-5241 \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 before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/Clock.java:1969\u0060 calls \u0060getAnimationDuration\u0060, \u0060setAnimationDuration\u0060, \u0060clamp\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:5221\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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":1990}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c28b2d23df68af58934fde8eec20e75087ed29ed66c6de33942734e59d6bea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:2022-2029 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:5266-5273 \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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":2022}}}],"partialFingerprints":{"codehealthFindingId/v1":"946bade9702457795b0368dda8f7ca2de97605d98e7d5e21758a07d5577690ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:2165-2171 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:338-344 \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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":2165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91d8b923ca93a86990c9e8e1e4276e777f7d87ea9c4827b113018a427f21cea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:254-261 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:235-242 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa27762997622678991c01a3259595d89f7fa598182427a74ec68bd4ae9e1bc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:658-664 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:625-631 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e652300f75bbfee9ee9b917d72e1f7c1d0556596c80a9e840d33ad92d331986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java:194-200 | Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:182-188 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1502cff6f6cacfba5042356abd2474400b17b9020077f1644437d7b1ab297545"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkinBase.java:91-98 | Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkinBase.java:54-61 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkinBase.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"64352d8d998a90c2a0a9779043217fcf25c8bb5ef4c9d185ad679ebf195bae1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java:124-132 | Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java:111-118 | Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java:184-191 | Libs_jGauges/src/eu/hansolo/medusa/skins/RoundLcdClockSkin.java:135-142 | Libs_jGauges/src/eu/hansolo/medusa/skins/TextClockSkin.java:113-120 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/MorphingClockSkin.java\u0060 as WHOLE FILES: this scan already matched 5 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0affad03bcd1acbb79c5869423f4a4040673c00c7c134a3be80909f04a3650"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:291-299 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:296-303 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:292-299 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:289-296 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"065787794915f0e177ea2ca2f63ffa5ed0bd6e413ed15153cc56276ecbb8145d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:204-210 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:204-210 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 429 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f148e664e8fd9552f63fafd06610421093cf7608c76efa0040a9502342a4ba73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:158-162 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:163-167 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 95 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2e6122c02ffe63042cc6e87fbdaa1732587e20a9c8b1d911da27656886da63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:196-200 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:202-206 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 95 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9287dbca14a0731a77bf95679ae5b9f46c25a9c0c5b486577a24e82b6ba6d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:144-148 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java:121-125 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8f34f7566ef09ea4b4a09950321dc7450a0c0a1d70b78795bce2546d7afdb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:174-178 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java:144-148 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"1422502d84c03639de1cad0ef510a9126ade9e34db7573f2e10a487bb9bfbbe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/CommsReceiver.java:45-51 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/CommsSender.java:44-50 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/CommsReceiver.java:59\u0060 calls \u0060fine\u0060 and \u0060Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/CommsSender.java:56\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":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/CommsReceiver.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6868d06a7887f3ad2a33152019b4e0b1e8aa04244a243472092234eef56b3f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttPubAck.java:30-36 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttPubComp.java:30-36 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttPubRec.java:30-36 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttPubRel.java:44-50 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttUnsubAck.java:30-36 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttPubAck.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eef1c73bb061f2284c11a245ce586e2676884d1989cbb129d102c61d958f11c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_MqttBroker2/src/io/moquette/broker/AutoFlushHandler.java:45-50 | Libs_MqttBroker2/src/io/moquette/broker/InflightResender.java:78-83 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/AutoFlushHandler.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"87734faae5ecab7d40abbbcbd72d1236cca8fb65d7d20c9e55b8c581d9eaf914"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_MqttBroker2/src/io/moquette/broker/metrics/BytesMetricsHandler.java:40-45 | Libs_MqttBroker2/src/io/moquette/broker/metrics/MessageMetricsHandler.java:39-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 both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/metrics/BytesMetricsHandler.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8885f97fab312f5d5ebf4273091f69c2d30d8194fee88e8df9b6c7cf10c10fca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ChainAndCircleContact.java:42-46 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ChainAndPolygonContact.java:42-46 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ChainAndCircleContact.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ChainAndPolygonContact.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 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ChainAndCircleContact.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"011d6e14f00bc868c7057d4f968ae6d226672f1c752aa155b6cedc50c7fd3711"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ChainAndCircleContact.java:51-56 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ChainAndPolygonContact.java:51-56 \u2014 before extracting anything, compare \u0060Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ChainAndCircleContact.java\u0060 and \u0060Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ChainAndPolygonContact.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 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ChainAndCircleContact.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ded6a809ec8387e9758b82cea8f5d4047f9536533b091b76fbc7c39dd0f9c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/contacts/CircleContact.java:39-43 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/PolygonContact.java:39-43 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/CircleContact.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6978ebceeb5b0add7fd0688c4eb9340c212db396c08763f192b9555255abb212"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9): Libs_jGauges/src/eu/hansolo/medusa/Clock.java:605-610 | Libs_jGauges/src/eu/hansolo/medusa/Clock.java:617-622 | Libs_jGauges/src/eu/hansolo/medusa/Clock.java:723-728 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:1360-1365 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:1373-1378 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:1427-1432 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:1483-1488 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:1537-1542 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:1597-1602 \u2014 there are 9 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 9 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060SECTION\u0060 to \u0060TimeSection\u0060 in one and \u0060Section\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":"Libs_jGauges/src/eu/hansolo/medusa/Clock.java"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd88ffd2d3b224c27f7c2c7e1700412c698a9a6442b6d98f6e1a7ac1f82ac9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Marker.java:239-243 | Libs_jGauges/src/eu/hansolo/medusa/Section.java:356-360 \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":"Libs_jGauges/src/eu/hansolo/medusa/Marker.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"201a3ef45952aef99a1725951a37642fde23855e28d08486e64ece65acd6c787"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Section.java:339-348 | Libs_jGauges/src/eu/hansolo/medusa/TimeSection.java:270-279 \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 \u0060VALUE\u0060 to \u0060double\u0060 in one and \u0060LocalTime\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":"Libs_jGauges/src/eu/hansolo/medusa/Section.java"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71d485dd1c53d1989634450fbd8a371ad526f36afa1d3724f31b99e700858e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_B4XEncryption/src/anywheresoftware/b4x/object/B4XEncryption.java:53-57 | Libs_B4XEncryption/src/anywheresoftware/b4x/object/B4XEncryption.java:79-83 \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":"Libs_B4XEncryption/src/anywheresoftware/b4x/object/B4XEncryption.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e31429a5080c1b5a48fceb409ec4972252bde537a8b1a64037d9642f606dd2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/LocationElevationRequest.java:42-46 | Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/PathElevationRequest.java:41-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/PathElevationRequest.java:46\u0060 calls \u0060getJSObject\u0060, \u0060setMember\u0060 and \u0060Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/LocationElevationRequest.java:47\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/LocationElevationRequest.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"39690e2dcec63bee29e8968b26b2a8ccb1f6ea1774b551db88decd83ade2e2d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2548-2553 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2783-2788 | Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2992-2997 \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 \u0060Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:2548\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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":2548}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a710b67f1dd0f2903b96692407492db2261f96af2521b96d742fc4a25aa9e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/ClientState.java:324-329 | Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/ClientState.java:337-342 \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 \u0060Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/ClientState.java:324\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/ClientState.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5231c96dbe71af0cae3c306988ed53f9b9f50b1f785470ccb8c4bedfc982a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/Collision.java:529-536 | Libs_XUI2D/src/org/jbox2d/collision/Collision.java:539-546 \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":"Libs_XUI2D/src/org/jbox2d/collision/Collision.java"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9ca975d9e574d59dda804cd7730db045947d63acff3de09b68dcb016bd2eaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1265-1269 | Libs_XUI2D/src/org/jbox2d/collision/Collision.java:1271-1275 \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":"Libs_XUI2D/src/org/jbox2d/collision/Collision.java"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"e472964d438b5154b48b03d3985d1cb998127796a6e6e2d6d280b258358613f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:1056-1061 | Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java:1084-1089 \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":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"109f6a36d8174c6f66a817b93c30bc709cf3a9ccd829e57ccbee5c8b9fece1b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_XUI2D/src/org/jbox2d/dynamics/joints/ConstantVolumeJoint.java:184-188 | Libs_XUI2D/src/org/jbox2d/dynamics/joints/ConstantVolumeJoint.java:221-225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_XUI2D/src/org/jbox2d/dynamics/joints/ConstantVolumeJoint.java:184\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/ConstantVolumeJoint.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd56221bc1807c95cad7621b1f48a2b1dc16ce099ddab9cd4f09aa4b5b8b19fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jFX/src/anywheresoftware/b4j/objects/CustomViewWrapper.java:106-110 | Libs_jFX/src/anywheresoftware/b4j/objects/LabeledWrapper.java:107-111 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/CustomViewWrapper.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cc614ee034e0e3582c5f3b15d97ea9c7601ff00370df180ec1d71a0f1435f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jFX/src/anywheresoftware/b4j/objects/TableViewWrapper.java:106-111 | Libs_jFX/src/anywheresoftware/b4j/objects/TreeTableViewWrapper.java:154-159 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jFX/src/anywheresoftware/b4j/objects/TableViewWrapper.java:106\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/TableViewWrapper.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f8a736382206fb55fdaa8a02b00cf2a807dd8957c3b307a2c5ce5784b93cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java:596-620 | Libs_jGauges/src/eu/hansolo/medusa/FGaugeBuilder.java:158-182 | Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java:1151-1175 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java:596\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":"Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1f0edb517344dad07dc9efd79a5ff7bbd7a368b39c1eec643e1f15eb0d11fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java:586-591 | Libs_jGauges/src/eu/hansolo/medusa/FGaugeBuilder.java:148-153 | Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java:1141-1146 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java:586\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e966e0da77eb574e2906acd613e61cdecf2e571711b11e10a87e85c11154a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java:631-635 | Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java:1380-1384 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java:631\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":"Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef24bb718019eec46a196ff9b242a705770b7af0c0fdf5c950674d4cff174b2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java:637-641 | Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java:1318-1322 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java:637\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":"Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6059bf348f30af53a854b579569dc2e8f6be4a91f46980bf05e53bdbf10ab2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java:663-671 | Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java:1208-1216 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java:663\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":"Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e9825d4d5813def85fcc71e2907d5b4f04be54a5fc076996e4ed7a985761f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java:717-721 | Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java:1224-1228 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java:717\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":"Libs_jGauges/src/eu/hansolo/medusa/ClockBuilder.java"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edd702867a528aba2319f17368be8d628e276bff26d636075d766c023016286"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:997-1004 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:1045-1052 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:997\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":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47c9db0cd2789c60a1a5981961541aeb84e99da8a24184bd91b6db18d5ca7f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:5789-5794 | Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:5799-5804 \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":"Libs_jGauges/src/eu/hansolo/medusa/Gauge.java"},"region":{"startLine":5789}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3236e610d6318f78dd4558f41413807ddcef33906760397debe1d97312aaf1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java:1055-1060 | Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java:1065-1070 \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":"Libs_jGauges/src/eu/hansolo/medusa/GaugeBuilder.java"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f74191b9a5b40523df3ecca670f337dfc96528d794061e395568fd31e2aa36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Needle.java:171-178 | Libs_jGauges/src/eu/hansolo/medusa/Needle.java:181-188 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Needle.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf3aa2dc8f977e2504e03734fb5a08a45a7c4da94f3a6983dbe156d694cbc84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/Section.java:363-368 | Libs_jGauges/src/eu/hansolo/medusa/TimeSection.java:294-299 \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":"Libs_jGauges/src/eu/hansolo/medusa/Section.java"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"653a2a2d5275aa58ba223bf681b2b02d2b090f542c90ad1cc16f74491279a6d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/SectionBuilder.java:107-116 | Libs_jGauges/src/eu/hansolo/medusa/TimeSectionBuilder.java:101-110 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/SectionBuilder.java:107\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":"Libs_jGauges/src/eu/hansolo/medusa/SectionBuilder.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"26760c475e56af8009328b2f4f7b09216237e4b7c829c894354ef9c528cec166"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java:791-796 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java:752-757 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java\u0060 as WHOLE FILES: this scan already matched 40 separate duplicated blocks between them, totalling at least 718 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9eeb474989adfd320791801ee1e22cc1e1f614fdf74cd3474ebaa498a3156f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java:186-191 | Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java:220-225 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9fa2faecd240c2135346e10fb7d0ad1ff03d0e09aa24518aec779e1c942dfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java:200-205 | Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java:234-239 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca55ee64ecae193bea9a4f2449bac3e2ecbaa0a4b79f56559a1041569a2fc65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:423-429 | Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:457-463 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"972711c6bab408fefa32c1de4378577248a002fcb3e97528fb76ab4746ba6f63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:431-436 | Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:494-499 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java:431\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3467a96767fcc039e59d77f9af00999d9404f083091ce405966246041880d2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:214-219 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:216-221 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java:214\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b7fbe523ca30564c3a22c03565f6f5ce32d98a9145135be23855bfd8d920b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java:384-389 | Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:519-524 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:605-610 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 201 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d725896c5d3ce9aea7b8d2621581f77951486f1c240720ed1e14b95eb62b7f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:328-333 | Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:332-337 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:328-333 | Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java:324-329 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java\u0060 as WHOLE FILES: this scan already matched 54 separate duplicated blocks between them, totalling at least 615 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:334\u0060 calls \u0060getSectionsVisible\u0060, \u0060getAreasVisible\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java:338\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e0a92ed9f920d2c7f439b7b1fe06d2cce23d1d591d1f3581d8dc9147a45749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:887-893 | Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java:1452-1458 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java\u0060 as WHOLE FILES: this scan already matched 60 separate duplicated blocks between them, totalling at least 717 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java:887\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"e774c0a1f8aa729f1588a5bd7ccc3a1b1ed52d99faf351fdce483f96ab129646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:454-459 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:544-549 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 429 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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:454\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6ab152097d9568d4e09c0570ea8e551afc8be16fb3db4e824420c19914bc50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:528-533 | Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java:614-619 | Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:494-499 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java\u0060 as WHOLE FILES: this scan already matched 42 separate duplicated blocks between them, totalling at least 429 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java:524\u0060 calls \u0060setFont\u0060, \u0060latoLight\u0060, \u0060relocate\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/PlainClockSkin.java:493\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce01070284fe5ade9602129277de4301d5659e10649c33a84fd704cc615219d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java:137-141 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:193-197 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/KpiSkin.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b547d363be3afc447e42896b5edfbb922b9797a54ee53fa3f5eca6bd9df4d31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:529-534 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:535-540 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f94077a40c3c4dcf1decdbaec58e8fcef8be33ae5826261e7facad7ce37d3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:593-597 | Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:607-611 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java:593\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/LcdSkin.java"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c0a6222ffc1f21110c40b65b9ad68e18a05ad3e50451d07b6885248f47fd4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java:164-168 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimClockSkin.java:153-157 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SlimClockSkin.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/MinimalClockSkin.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"739e7590f51362b1d13e345de3cdc633978fcbc980e6bd0fdbf65ccc8fe6172a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:718-722 | Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:744-748 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:718\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fdfcf63c4892ee0b08d94dda60d7390fffe1829d0c08016ab2a30104437fa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:753-757 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:340-344 \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, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java:759\u0060 calls \u0060setControlX1\u0060, \u0060setControlY1\u0060, \u0060setControlX2\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:346\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd15a82275c74dd8da3b5a0e47547983a507d9af5bbe40b337adbf52e810c69d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:205-210 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java:211-216 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 95 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":"Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"358a73851f8a01df18c0f385969ffccd5ae32a44209e068fc0acb6c128fa1b7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:233-238 | Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java:394-399 \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":"Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"a507df5968082da40c54d7faf2fe33f47e542ca5c0563cd397ed115bd21381d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:281-285 | Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java:253-257 | Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java:213-217 \u2014 before extracting anything, compare \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java:218\u0060 calls \u0060setFont\u0060, \u0060latoBold\u0060, \u0060getLayoutBounds\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java:286\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3bc400ced2cb79653fcf12de619082bddf3f1b876277d0b29b7add41742069"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:394-398 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:408-412 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:413\u0060 calls \u0060getElements\u0060, \u0060add\u0060, \u0060CubicCurveTo\u0060 and \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:399\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf161f11871c03bece20e1a015233d4026304d86d573d6bff28eebb4cc457f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:461-468 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:506-513 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java:461\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/TileKpiSkin.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a56cf217fe37cc9859c90b948deaa6813c716b071d2c97bdc519d51a30a5c41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/skins/TileSparklineSkin.java:202-206 | Libs_jGauges/src/eu/hansolo/medusa/skins/TileTextKpiSkin.java:166-170 \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 \u0060Libs_jGauges/src/eu/hansolo/medusa/skins/TileSparklineSkin.java:202\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":"Libs_jGauges/src/eu/hansolo/medusa/skins/TileSparklineSkin.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6a2f79950c4adb5a504c8fb28f32317281fe155f3c199ba77782b2df96b670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:363-367 | Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java:381-385 \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":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8587771e6bd8b158a58dd542dca656e4bcef73f54f4da78798f4f2d1b42c49a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): PyBridge/b4x_bridge/bridge.py:83-91 | PyBridge/b4x_bridge/bridge.py:98-106 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"PyBridge/b4x_bridge/bridge.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3c5c1916cdce28ad4a45389bb533e17edd995f2e3b5cdeed2aaa291477999c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GameViewHelper (LCOM4 4): GameViewHelper\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGameViewHelper/src/anywheresoftware/b4j/object/GameViewHelper.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4516f2f7423df90a0aba4ccebb76856f1c74decc7869aa2b3e235cf58fb73d5e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Collision (LCOM4 4): Collision\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/Collision.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b63da13d64dd4bb9cb03858035f282bb8083581be62e998a38520b237b4b6cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Add an indicator to the section like -1 or similar \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"74265428f547f694b1d928b4524f6f54c377643973798344366947cbda3b02d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Add an indicator to the area like -1 or similar \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee21243bf83d338b64721ae4ce2bc468ce09fcf7404b155b18c803feac56905"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: split the group \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09f64ddc224c34d291d672f756ea76fcb781d707afc9dfe74e77d38b985a130"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated constructor stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/particle/ParticleSystem.java"},"region":{"startLine":1988}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd394c254ca0856e248c7522e3b761964c1bf236a906700166b6db98cd3520d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO pool shapes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/Fixture.java"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef3a6cabcc8359835c21c1e32a87cba565a61cff584d5e946f60d6e8d2ee807"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO pool fixtures \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/Fixture.java"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ad89bddbe5c6be02a8ea3cf9bc2a68f35380216f6fbf9a2ab3b2b827e065ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO djm pooling \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/World.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e28a329e718b2f0fc20394a64ed5fb123cf28ed65664b675af96e7740f52da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO djm recycle fixtures (here or in that destroy method) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/World.java"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"41aaff3b4034362580313ffef3b8d6f3a1e1915e79354d8d7f8fb50ec522b2b4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO djm recycle body \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/World.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c10cbb3292a842447da8bd0c5f5092e29588db6833b8b21de33d5e3db552cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO djm find a good initial stack number; \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/World.java"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bf9795b7472ef5a8621786aa368dd9aea3af6300d2eade2d8939df667ac7e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO djm write after writing joints \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/World.java"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3f7c5c7c4c1ca85adb99a85815ea2b66f0590f681594b1c6d1fb2505d27f36"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //            // TODO: I have no idea how to get it, someone must fix it \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Shell/src/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbf7838234559f0c4133fc8bd8d9370ee9bb9b622bde322ed8a497f890ed465"}},{"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":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"de53ceca96007aff8c9c45bbfee61bf9958a99c8bdbb05cedf5faffab2b422ec"}},{"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":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e7606d30dc8c2a3cb6c18c35963971a0bea89141a543010956cbec3f123fb4"}},{"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":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19c3898f5f375f12d24884a3830e09fedfb1a264c3136a882092bd35d7392e0"}},{"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":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b64fb43a48393d42123af369530253572537cec4660c4ff7cd2dd32f8b1b37"}},{"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":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"25560afc6fd11406bcf0b798e35680f6306a13520ca7e19eb3333535fb78c8a6"}},{"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":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bec066e2421cacd1eddcb94566a768194617cf36cbc10f6bf0c1c0e32ca186"}},{"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":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e85763adce0ad6d2a27a163fcd40b0d8a4eb147f4908e7c9e09fafd53a26e4"}},{"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":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"108758c6b195c97c53a92d1c37a7fb573402b6ddf917caa5741cf69f94be99bb"}},{"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":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"5543fef4483b1ca887c4b3a8098c4af9f3f738a5b18aa3f20c49554dd9212137"}},{"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":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"064ef098bd16b5acec2c4a5d34d95547d19bebb5f4d41318fdbb3f2b9b1ffac4"}},{"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":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca574b72b54e2b9990d866dd7ad7f23ca6ec67630538d12e9726f36444c430c"}},{"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":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcfabdf12e731cad5f406d48253e09ce6567ebeaebbae8019320db562818eec"}},{"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":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"df328f414557daa1ed9d70b618c969fa83549366c1382a4c718f977b1af43773"}},{"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":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b7f62a161e7ad4e1cc6e2e6b7c4c12017bff2f8db0f3abe9d9bc41fa9190cc"}},{"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":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa7cb04a3e36890ae211ee3a860f06cf73375411e41a9a3a78b2ca8c84fce07"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - can we delete this override now? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/io/FromNetASCIIInputStream.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa8e5f831bbc045c02f7422c7c7dceea7dbe7df7d2c73d707ceeda4b3821643"}},{"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":"Libs_Net/src/org/apache/commons/net/ftp/parser/MLSxEntryParser.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"057291fa6f4d8b0c2696e7b970c0c73530138f850cb3755019498699ff131bbd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO should this cause failure, or can it be reported somehow? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/parser/MLSxEntryParser.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"773183e4dbf6df395e7e12fe300e06081658f92aa24b2de4df97d2995f868e92"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO these are mostly just guesses at present \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/parser/MLSxEntryParser.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3716f46dfa2fc6da20d6e5b9df859c863eccefcdd672c4050010292fab89fafc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO check this is ok \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/parser/MVSFTPEntryParser.java"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"720f2ff8443e42372738011f7910bc7d938ae5a0baa55ef39ff3f5ccd02367d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //$FALL-THROUGH$ TODO change this if DEVICE_TYPE implemented \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"623cfb0283b4e3970923f5ef26352fe107d7bfa93778bfcc83071effff15c83b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - perhaps restrict permissions to [RWED]* ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/parser/VMSFTPEntryParser.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9383c3e943937fcbf8d948aeeef7540ff9f987aedb85ce6578bbe2dbf90569ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO move this method in Session \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/MQTTConnection.java"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3101f9ffdf55b1cf100174e0bc450118c8c699815fde7e54f549ee1db9f2445"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove the subscriptions to Session \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/PostOffice.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58d50490f75a3b8ba55cd83c45786f7dc3ce00349b9ac6e3bfe34c6fd86aa13"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO determine the user bounded to targetSession \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/PostOffice.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bce85f0865f70181b6afda786a227a0f1a371dc32fcc225b73764f01e0a8f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO reimplement this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/Server.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"9641040d692d035a618d080efe70e8a4b16f05477000a289cdf932fa1fd00b07"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO what to do? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/Session.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"db640b6df46681fc71bb9dcd719c2eab129b1817c2a4bd7fb02d42d18502dd53"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO notify the interceptor \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/Session.java"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d308c5e729922aa05031fb404fc86f455aaf7aa3c7de1fa689702403ad1185"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO drainQueueToConnection();? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/Session.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"a914b5c87f31de0261c4822e2003e310f9792490a381b37421d768ba7afbbda1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remain to invoke in somehow m_interceptor.notifyMessageAcknowledged \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/Session.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"3476b45812a28be77a19ff86771fef1e5a0008fac70fadac64263e8f8756b27c"}},{"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":"Libs_MqttBroker2/src/io/moquette/broker/SessionRegistry.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e1c895d4a78566fe801171d75ef2df115973efd24b18bcccc54f2a32c38751"}},{"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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":3586}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e6c8eaa476814d729cf7036d4851019a70ec6dce760410eec0f38aa731fd6e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO this is equivalent to negate(containsOnly(clientId)) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/subscriptions/CNode.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20adee943b666c7ba55ad834d7b8d40ad3f77f7bf8e06e145747333d87a951f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO UGLY use Optional \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/subscriptions/Topic.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc1a80c06eef28ace3cb254d9365c9d0587543b4362be506ce7972a870b3cb5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO reimplement with iterators or with queues \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/subscriptions/Topic.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3704aa8ac0ca833d50a49a14303503ca94eeaac93cd8e496429bacf81c6e1023"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO in java 8 switch to m_userAuthorizations.putIfAbsent(m_currentUser, new \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/security/AuthorizationsCollector.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"547e03444f2bcee95cd0e62c8b42215eb6ed5af1e1c1a8987392708e41dac2d0"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: Are we leaking the child node? -creitzel 7 Jun, 01 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2435a98c7a4d18710d154fd663afe4bcfc35284ae59fd1cceb5602269f09e53"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - handle newChild already in tree \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"6044ff815526fc949c72a56c4dbbc02edb3f626d1ac88257a69fc77746c65e8c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - handle newChild already in tree \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b8bf5d0eca72aba1784e30088dfb9543f60289cfef49496b19b9b588a34d8b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - handle newChild already in tree \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"0faeaf619637bfb45819e6931367bad11ba5b5654e4346ece77b9832e1584aa8"}},{"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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":3381}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5cbfe26f84ca991031f0e824ed161cb5be0a619266392aba9741913067b7d5"}},{"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":"Libs_JTidy/src/org/w3c/tidy/ParserImpl.java"},"region":{"startLine":3401}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e5d4335e57d89c18b2f72fcbb027c247f552936483c5bb9c4d3df87802fe78"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060findTITLE\u0060 spells \u0060TITLE\u0060 where 31 names in the project spell it \u0060Title\u0060: 31 of 32 names in project repository spell the token \u0060Title\u0060 (31 of 32; unit: names in project repository containing \u0060Title\u0060). Peers: MarkerWrapper.setTitle (Libs_GoogleMaps/src/anywheresoftware/b4j/googlemaps/GoogleMapWrapper.java:336); Marker.getTitle (Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/Marker.java:39); Marker.setTitle (Libs_GoogleMaps/src/com/lynden/gmapsfx/javascript/object/Marker.java:47); org.w3c.tidy.ParseTitle (Libs_JTidy/src/org/w3c/tidy/ParserImpl.java:589); DirectoryChooserWrapper.getTitle (Libs_jFX/src/anywheresoftware/b4j/objects/DirectoryChooserWrapper.java:41). Rename to \u0060findTitle\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Node.java"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"b471fff56252d66b901a3cf8f3a999eca9cc97429cfe5e2f11ba61feebaa93a9"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060CheckAREA\u0060 spells \u0060AREA\u0060 where 15 names in the project spell it \u0060Area\u0060: 15 of 16 names in project repository spell the token \u0060Area\u0060 (15 of 16; unit: names in project repository containing \u0060Area\u0060). Peers: GeocoderComponentRestrictions.buildJavascriptString(administrativeArea) (Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderComponentRestrictions.java:38); BroadPhaseStrategy.getAreaRatio (Libs_XUI2D/src/org/jbox2d/collision/broadphase/BroadPhaseStrategy.java:102); DynamicTree.getAreaRatio (Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java:373); DynamicTreeFlatNodes.getAreaRatio (Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java:373); ConstantVolumeJoint.getBodyArea (Libs_XUI2D/src/org/jbox2d/dynamics/joints/ConstantVolumeJoint.java:110). Rename to \u0060CheckArea\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TagCheckImpl.java"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"30546d473720c61dbfc3a83b746039484eb648f2c848faa1500b56da7abb0d81"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060CheckSTYLE\u0060 spells \u0060STYLE\u0060 where 25 names in the project spell it \u0060Style\u0060: 25 of 26 names in project repository spell the token \u0060Style\u0060 (25 of 26; unit: names in project repository containing \u0060Style\u0060). Peers: Clean.findStyle (Libs_JTidy/src/org/w3c/tidy/Clean.java:316); Clean.createStyleElement (Libs_JTidy/src/org/w3c/tidy/Clean.java:518); Clean.addStyleProperty (Libs_JTidy/src/org/w3c/tidy/Clean.java:699); Clean.blockStyle (Libs_JTidy/src/org/w3c/tidy/Clean.java:1324); Clean.inlineStyle (Libs_JTidy/src/org/w3c/tidy/Clean.java:1388). Rename to \u0060CheckStyle\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TagCheckImpl.java"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"df42c0a24fd7100b3852778111081049151c42b6a754e139a66b222ee90438b1"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060GetLED\u0060 spells \u0060LED\u0060 where 17 names in the project spell it \u0060Led\u0060: 17 of 18 names in project repository spell the token \u0060Led\u0060 (17 of 18; unit: names in project repository containing \u0060Led\u0060). Peers: Gauge.getLedColor (Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3652); Gauge.setLedColor (Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3659); Gauge.getLedType (Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3689); Gauge.setLedType (Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:3697); Gauge.isLedVisible (Libs_jGauges/src/eu/hansolo/medusa/Gauge.java:4794). Rename to \u0060GetLed\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Pi4JWrapper/src/anywheresoftware/b4j/objects/PiFaceWrapper.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f20166cea530b6e6348b10c525b3d68f47cd693d61c116197681b245a88571"}},{"ruleId":"D28","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":"eff151db99f824159494798c86efba69ca29a7d64173fecf8fa5e734a9f7b73b"},"properties":{"commitSha":"493966cf41fe55e3083351100419e9cfd3d42d43"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"2742e63003f42459b90096f7e750694b31493c048ac093536c3be0600f944c34"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8175ba3c34374ce68840275af3524e79bca988f26099fd552c6ea134997898fd"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"d8b77b66ef58a4f3dc72d67365d29e6d4e94458bcbc4760b7b396d7994b59dff"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"03143170279962c1672af33b877fca7573c9f94795df5b1ae0f2b3a8380e3348"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"66f3ea87b3a9ce7187face1555d6481bfbc62833225e2e79647e72e6efa7dfaa"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"c1c52de5a5a96f0fa950e6de8785060cd47d95d94d1d78ed6f87265412db33c6"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"ac05f5011d65ef220c2c3dbd32c6740703451bd363c96060e737327c7f3cc21f"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"46b0e9949761fb55e73889a05a5770ade42dd4590d8ef5dcbb1d780d4c50b512"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"02099b82a7aec9895da395913298101ec561d065503e405902f917baef482bf4"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"a92a7b52d5708f99b151cf12d65c135c23edcbf0250ae20700e7bb3ce7fceaa8"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"63c45127a301a62aace6cc1dc6a258e7846dd3e800274cb8a4d59837e1e1074e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"61ac9fba5e21c60d1af6b033251b93a71bbbc60d4a2fabfcde597a953549839e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"66367a089da96f4e9d3ad8c92aa89f26272966f6f7823a4839d766387e6c9885"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"76e3be94824bca1787b50ef9e6b0d2f81cc97569c2d60f46dfea408e8bb6f4d2"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"f68d1bda606cc13be8da907139edd0c70b27023944a8bd41a787f6a2069c8f3e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"3d95ac52b0b949a4e19c3c7a6e64fe1944fe8f4827f2ed82dc746df68f8e2081"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"9774c9880c56fa6a0c85af4e0ce4a654614acd0c44594b393e5bfc1d8fc8245e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"0a44ef5b70c473153a0e085ade621596a58960a932043c4836400aa7e064c53b"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"9c7f36a49d0d39f2fed2ca1b4fc4738c797e813b8b7e471a40aed70e119fe4d1"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"bef1cf2035209cecaa7d80ab4c3b44dc4149695d22f6ba9135d348268efbe661"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"db9c0a3a4cce3113d872302e3bbc438f580426ce37e726325e6c91188cb96169"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"c98594f8757a2df8236b8355a3491feb588ea25f7d9288512ee8fae2885fbbab"},"taxa":[{"id":"CWE-1004","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"2fd960c64425efb24c062e873817e4b8e2149d9a4eb1cdde1fe3c214886bb9bc"},"taxa":[{"id":"CWE-614","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/arrays.html"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"70953416842fd9d6ca9143ff372bd3a5c31780aa9602fc83598c32764d9240dd"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/arrays.html"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"71606c7f214d0c9590be4a42c0fd4ccbc1c5256806f6e550add42f0183ca70a7"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/arrays.html"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f106aa03cb59d9ff795c966e04d4478a3e2d1984e561f7160916f1b4ead9a6f"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/clustered/maps_clustered.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ecc9fb4ad02de92660236947b5323f1a2dc37275396acceceff8cc40212afb"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/clustered/maps_clustered.html"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca5ff79e0215227f3b5f35bfb2486edb1453100d298d1b9135a62d1ff0042fb"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/clustered/maps_clustered_debug.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed68a103e032329cce74216b41d37fca0735d8231a3f7fb5873b4f7e68cd9ec"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/clustered/maps_clustered_debug.html"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0291437fbb3721728776bf2291bcaf5b541e7c1da9b0e3ee276a8c586a8db919"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/maps-debug.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"765092637a8d662b9bc5c810cee7535b630590b44e503a5a1497e80cb582201b"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/maps-debug.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef050e146c1c59a3921ef783c1bc7771cefd962230c2f8194b17a55cbf209f50"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/maps.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e275c07af116f70a062d492f7506de3a9cd3823510e17d2c86a177ce168517"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/maps.html"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf680454f4cc389e4d43ce9febc9d9d8d753c9bbae8a97f8ea320f321aff340"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/maps_1.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b176ac17a37c9ecdca6a0dacf4deb5542de96833e917fa064b33dc846b7da4"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/maps_1.html"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4eef96a30ac850eb1a629d396b83d7194fc2846fd15612c43fd2481e9fe7e9"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/maps_2.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffeeed280c2b435ab66791d534501f0792fac8c026bde07f05d5fab5d653141a"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/maps_2.html"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9869a41360e88857fe8dd01f0075bb4329f2849cd6be6df743ae7bf55724b5"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Logger (28 abstract methods): \u0060Logger\u0060 declares 28 abstract methods under just 14 distinct name(s): \u0060config\u0060, \u0060config\u0060, \u0060config\u0060, \u0060dumpTrace\u0060, \u0060fine\u0060, \u0060fine\u0060, \u0060fine\u0060, \u0060finer\u0060, \u0060finer\u0060, \u0060finer\u0060, \u0060finest\u0060, \u0060finest\u0060, \u0060finest\u0060, \u0060formatMessage\u0060, \u0060info\u0060, \u0060info\u0060, \u0060info\u0060, \u0060initialise\u0060, \u0060isLoggable\u0060, \u0060log\u0060, \u0060setResourceName\u0060, \u0060severe\u0060, \u0060severe\u0060, \u0060severe\u0060, \u0060trace\u0060, \u0060warning\u0060, \u0060warning\u0060, \u0060warning\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 28 separate responsibilities: a caller binds to 14 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 28 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/logging/Logger.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4738fc090615e653eb40f932475bc53bdf0919237176afe626b9a539f64b00a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IMqttAsyncClient (29 abstract methods): \u0060IMqttAsyncClient\u0060 declares 29 abstract methods under just 12 distinct name(s): \u0060close\u0060, \u0060connect\u0060, \u0060connect\u0060, \u0060connect\u0060, \u0060connect\u0060, \u0060disconnect\u0060, \u0060disconnect\u0060, \u0060disconnect\u0060, \u0060disconnect\u0060, \u0060disconnectForcibly\u0060, \u0060disconnectForcibly\u0060, \u0060disconnectForcibly\u0060, \u0060getClientId\u0060, \u0060getPendingDeliveryTokens\u0060, \u0060getServerURI\u0060, \u0060isConnected\u0060, \u0060publish\u0060, \u0060publish\u0060, \u0060publish\u0060, \u0060publish\u0060, \u0060setCallback\u0060, \u0060subscribe\u0060, \u0060subscribe\u0060, \u0060subscribe\u0060, \u0060subscribe\u0060, \u0060unsubscribe\u0060, \u0060unsubscribe\u0060, \u0060unsubscribe\u0060, \u0060unsubscribe\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 29 separate responsibilities: a caller binds to 12 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 29 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/IMqttAsyncClient.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"666972ce94b4f428f454c071037da26dfe5a46e936f4a06afe1a28aa46c56f1e"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IMqttClient (23 abstract methods): \u0060IMqttClient\u0060 declares 23 abstract methods under just 14 distinct name(s): \u0060close\u0060, \u0060connect\u0060, \u0060connect\u0060, \u0060connectWithResult\u0060, \u0060disconnect\u0060, \u0060disconnect\u0060, \u0060disconnectForcibly\u0060, \u0060disconnectForcibly\u0060, \u0060disconnectForcibly\u0060, \u0060getClientId\u0060, \u0060getPendingDeliveryTokens\u0060, \u0060getServerURI\u0060, \u0060getTopic\u0060, \u0060isConnected\u0060, \u0060publish\u0060, \u0060publish\u0060, \u0060setCallback\u0060, \u0060subscribe\u0060, \u0060subscribe\u0060, \u0060subscribe\u0060, \u0060subscribe\u0060, \u0060unsubscribe\u0060, \u0060unsubscribe\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 23 separate responsibilities: a caller binds to 14 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 23 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/IMqttClient.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"92eab36d294f66bf40ec8eb04377094f2ede135328221cdeda0ba86ca34ecc04"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IWorldPool (29 abstract methods): \u0060IWorldPool\u0060 declares 29 abstract methods: \u0060getChainCircleContactStack\u0060, \u0060getChainPolyContactStack\u0060, \u0060getCircleContactStack\u0060, \u0060getCollision\u0060, \u0060getDistance\u0060, \u0060getEdgeCircleContactStack\u0060, \u0060getEdgePolyContactStack\u0060, \u0060getFloatArray\u0060, \u0060getIntArray\u0060, \u0060getPolyCircleContactStack\u0060, \u0060getPolyContactStack\u0060, \u0060getTimeOfImpact\u0060, \u0060getVec2Array\u0060, \u0060popAABB\u0060, \u0060popAABB\u0060, \u0060popMat22\u0060, \u0060popMat22\u0060, \u0060popMat33\u0060, \u0060popRot\u0060, \u0060popVec2\u0060, \u0060popVec2\u0060, \u0060popVec3\u0060, \u0060popVec3\u0060, \u0060pushAABB\u0060, \u0060pushMat22\u0060, \u0060pushMat33\u0060, \u0060pushRot\u0060, \u0060pushVec2\u0060, \u0060pushVec3\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 29 declarations carry 25 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 25 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/pooling/IWorldPool.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b3c8454047124cd0ada896dd5963b3b3b0deaded019ece773193318c39e14e"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060check\u0060 is a shipped method whose body is empty except for a TODO/FIXME \u2014 scaffolding that was never completed. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/AttrCheckImpl.java"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfa84be8e780191d5bb328ee220a0c15a1294f25a2fd29583258d249b2b62d4"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getFirstChild\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMAttrImpl.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7e3db746ab2c878cfcae75d8d437042df395e515add341e4925fccf746b7ae"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getLastChild\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMAttrImpl.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19b406f3ad233ac296d7528bc60814f92b044bc7857ade6093c1cf2a9bbfe38"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getOwnerDocument\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMAttrImpl.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e04923ddf160fd0b2d0aafc1c8749e4587ebb164a21f9471e8560f2a4909c7"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getOwnerElement\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMAttrImpl.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d67c8869ffc9d33271971ae4c9990c683a99dcb88d16944e46088ea1644477"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getSchemaTypeInfo\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMAttrImpl.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"670b8d1bc93ef8df454228169d58144e182649e9c8a48d36cc79e57b8107e762"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getElementById\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b115caf4462e428b7a9d64c9f36b55764d80ef426275e85cc1563b8be55027ff"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getDocumentURI\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6b25141b3f0a9d519182650326ce171b2797e24b6d61d69f6f7a571f8d8320"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getDomConfig\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"744bc89e5596b33fe8fc5f17c5c2dccd6197bae359bf348af41420f892ea2481"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getInputEncoding\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3812abb936008e79a5ca470fdc96363bbc7721c38b92ad8c8fadba329f2722"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getXmlEncoding\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"d687fe570408e0ab9bc11accf3e6c5ef127336f86c38745b514b9baa54eb1669"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getXmlStandalone\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e0919d6aa0aa3f97409877eb2521b591ed558564e23cefd5b0c9a34af12630"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060normalizeDocument\u0060 is a shipped method whose body is empty except for a TODO/FIXME \u2014 scaffolding that was never completed. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7454472c287309bb2fbbf3d0441c9dc0a1fac95b484998d067781d325dbd7a"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060setDocumentURI\u0060 is a shipped method whose body is empty except for a TODO/FIXME \u2014 scaffolding that was never completed. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"f400187c42ecd3bfffeda40ced59024784be3df2cb250abcc26d9828b70dcce7"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060setStrictErrorChecking\u0060 is a shipped method whose body is empty except for a TODO/FIXME \u2014 scaffolding that was never completed. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"2021040b31b4218b07abae8def4f8bb021f0bccb51c5082d8a3f4480a716108a"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060setXmlStandalone\u0060 is a shipped method whose body is empty except for a TODO/FIXME \u2014 scaffolding that was never completed. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"622b9e499a01eb8a67f7c771ffdaa79c7a942422ce07ed526e6492d6f666bae6"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060setXmlVersion\u0060 is a shipped method whose body is empty except for a TODO/FIXME \u2014 scaffolding that was never completed. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bb525e38a1f5fd8da714a13ec97ec39a8295468d08bcdba9daefa6de314efd"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getEntities\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentTypeImpl.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0fac6dc6bd0855f4beb7089952c7f157ed35fb708fd2e0f5f2dfcd15343c10"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getNotations\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentTypeImpl.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc017b7d0eab8a242d4a281cf537e252a88bcf460709943972f977f2f400bed9"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getPublicId\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentTypeImpl.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78a7e3ab9658bda401a0b27b84df42548f1666c59ca666f2042738d281872a0"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getSystemId\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentTypeImpl.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c67250c5e70463ad68eec10d7012b301f19d7c6ae8eccd7d016a95cc037df45"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getInternalSubset\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMDocumentTypeImpl.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce5032b8460e3bc1574e352736d43d3a38984e7c506cde03ed68e9270ab5762"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060normalize\u0060 is a shipped method whose body is empty except for a TODO/FIXME \u2014 scaffolding that was never completed. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMElementImpl.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc65c28243122c9b7d941d09d1a9a2697b7e917157104466660b9a8010fe1b6"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060hasAttribute\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMElementImpl.java"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"020a62134df52bc1d18a4af345154085d4f77c929903819a4c67fec9a19acdc6"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060hasAttributeNS\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMElementImpl.java"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c8a22f3e00adc028a85a1410a85c2c5dceac8ebdefdeda0f4c93dbc19f9a6b"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getSchemaTypeInfo\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMElementImpl.java"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bc784b8c4e960b11414d4971db9412afa5667acd81a1d1998d078668694f82"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getBaseURI\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68436ba3e5d8a05c3a791f9777e6c6d06365fe288b3b304340d0f111ea6981f"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getFeature\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b9ebe7448bcc05c92aaf21193f9aa46a2c990934674d4c8218af23197054a9"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getTextContent\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bf39a7a27f16b76277320d517d84fa1baad86201d16f3bfd4cea64463844eb"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getUserData\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3397f9ba2b5abc60d036520b85a0c0ad667235a1cd1e94038c894d3d89ae7f2"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060isEqualNode\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"6833c25d9399a73f8fe6c4bb939317c051aa9755bc211cdbf7ffb207ca3c3a9f"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060isSameNode\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d48c0c667c06ec5e4c082b22d641e551483d6958f1c869a26f550c3604ff0e"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060setUserData\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b1f7ed6c695ed8a3c224f8f3ca182671619066e9695c066cb1cfaefd5bc726"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getTarget\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMProcessingInstructionImpl.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cce3a0afde854c7c1f11b5a77b958ba48bd062c07817572ba79988aaa7cb211"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getWholeText\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMTextImpl.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"481f10d679cee0a0d9ae122f778b459ca36b75bc88785507f559b0cdf0bdfbf8"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060isElementContentWhitespace\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMTextImpl.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4657c9f0704e68a178d56cdebaf39f04be49c07d8e407b2b6de8834c1a5942a7"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getPart\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"399800bc5cc46b608e1c562ce1b1965f361965756e77a8222c003a89fbc724a3"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getParts\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"420ef84f700ca3207a6a5f7ae6d9079ef1aa4926bfba77e9c3bf402f3768dc80"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getPathInfo\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"8719dbfc08a72edf53c566d1f62ab379a0657e960122b94dd8225fba77e3a196"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getPathTranslated\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78be9978397e8a29c1d33e767bd3643f419460658f189f1acbc8e214156bb78"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getRemoteUser\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cc95f51640cf16156e8f214f0283689269cefc5ad742341c81d46ed7d81f63"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getRequestedSessionId\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c874eae9d5836b6b5b455f85cc85d0ef05330e140652625a2843fd0ae58cf9"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getServletPath\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"109577b7021a4e6b4772b9607cb3aa48148b6d49d6b05260f1a709748a36e4c8"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getUserPrincipal\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c32265bcfebe8b3d78948c98bc726318cd41933d8f46dc00227571b9109f1d"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060isRequestedSessionIdFromCookie\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7a68b0b336cadd962b2effec0755e12f988e79a84e00d95fd739ebe036af81"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060isRequestedSessionIdFromURL\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc060f674592b91cdf92a6dd67878b0e6969f170880ddaa5959fc7fe2187e25"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060isRequestedSessionIdValid\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c18afde1dabf095a97811039c6832440181fc58bfccccbc3e40d55c077cb75"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060isUserInRole\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4a483ed301879403293d5353cbd7ca7bdfd4ef6497315a53d21c66e108f6a2"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060login\u0060 is a shipped method whose body is empty except for a TODO/FIXME \u2014 scaffolding that was never completed. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1d3cf056a90e2cc3e93fccb15806cf69c4602c248b196b9ce620a102cf71df"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060logout\u0060 is a shipped method whose body is empty except for a TODO/FIXME \u2014 scaffolding that was never completed. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ece2055ce19ac07b62893e9e666d1c7787d9e28a7fc8d7d674cb29ca4da1a2"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060upgrade\u0060 is a shipped method whose whole body returns a default value under a TODO/FIXME \u2014 a placeholder standing in for the implementation. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Server/src/anywheresoftware/b4j/object/StubServletRequest.java"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9d3845722b4e0a25d30ae678e69c11e6521f9d72d0b80dc8d4cf6444098bae"}},{"ruleId":"M1","level":"note","message":{"text":"Thin README: The root README is 40 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, in the README and in the repository documents it links, it found no a build/run or getting-started section, 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":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88b11295dc6ac6146c259ace6043143959f96dc98628f8c8578b6c5f95b8149"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. 8 such include(s) across the repository\u0027s markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/arrays.html"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36eb39db6652df38fcf520142e794dfca32b5212d2e5ebddd8041ef3eb45c7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!sectionsVisible \u0026\u0026 !colorGradientEnabled\u0060 appears character-identically in 4 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"6324f37306b1c34d0b50a2a128db4bc9d6278757aba1b9450422d4491a2e8597"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060( VALUE \u003E min || min \u003C 0 ) \u0026\u0026 ( VALUE \u003C max || max \u003E 0 )\u0060 appears character-identically in 4 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"a040fd3a86891842f5a54da0bbae0a3716c263441c6d324db55877a0ecd18ca3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(360 - START_ANGLE - angle - 90) % 360 \u003E 90 \u0026\u0026 (360 - START_ANGLE - angle - 90) % 360 \u003C 270\u0060 appears character-identically in 2 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4820c044f33424cee12cc009fa27d2b8a08bd1894f7887535fbc91eafbb6c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(360 - START_ANGLE - angle) % 360 \u003E 90 \u0026\u0026 (360 - START_ANGLE - angle) % 360 \u003C 270\u0060 appears character-identically in 2 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e26290cfca0d0c92b6d7418c235de4d9ec4c1d756b579c365366fa12096dad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u00600 \u003C= proxyId \u0026\u0026 proxyId \u003C m_nodeCapacity\u0060 appears character-identically in 2 files \u2014 Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java, Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4447bb435ef684a27695dcac35808fa4dccbf88efd75540f0f005a5312958186"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Columns == null || Columns.IsInitialized() == false\u0060 appears character-identically in 2 files \u2014 Libs_jFX/src/anywheresoftware/b4j/objects/TableViewWrapper.java, Libs_jFX/src/anywheresoftware/b4j/objects/TreeTableViewWrapper.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/TableViewWrapper.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4853eb111227a705b203c37d8ca07738e4d0f60ab9ab770340098158f1807c96"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Double.compare(SECTION.getStart(), MAX_VALUE) \u003C= 0 \u0026\u0026 Double.compare(SECTION.getStop(), MIN_VALUE) \u003E= 0\u0060 appears character-identically in 2 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"65125b47e24cf07987a27354755c2ab6352b590a7492ad298d93f4e60a48272c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Double.compare(SECTION.getStart(), maxValue) \u003C= 0 \u0026\u0026 Double.compare(SECTION.getStop(), minValue) \u003E= 0\u0060 appears character-identically in 2 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/BulletChartSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/BulletChartSkin.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62e900d58466b9e1cad86415ab12ec8a0713c11d48cc73dd377d442474234a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Double.compare(SECTION.getStart(), minValue) \u003C 0 \u0026\u0026 Double.compare(SECTION.getStop(), maxValue) \u003C 0\u0060 appears character-identically in 2 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/BulletChartSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/BulletChartSkin.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"2797246e72e17e97825a8aaf214fb98b7eb8a06b0c32df913e4034a5e9eeaccb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Double.compare(area.getStart(), maxValue) \u003C= 0 \u0026\u0026 Double.compare(area.getStop(), minValue) \u003E= 0\u0060 appears character-identically in 4 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"2258aad39967925db84ff391860a60aa9613294ffc0703545ccaeda578046a04"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Double.compare(clock.getPrefWidth(), 0.0) \u003C= 0 || Double.compare(clock.getPrefHeight(), 0.0) \u003C= 0 || Double.compare(clock.getWidth(), 0.0) \u003C\u2026\u0060 appears character-identically in 14 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0298e4966f8b74344ed4ae8ebb5c2c58c942ac1e614512456555f631f5c65d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Double.compare(counter, minValue) == 0 || Double.compare(counter, maxValue) == 0\u0060 appears character-identically in 3 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3284b5e82c0d73c39aa6379eef64ef0cd36a733d3790af60055f4cdb04452f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Double.compare(gauge.getPrefWidth(), 0.0) \u003C= 0 || Double.compare(gauge.getPrefHeight(), 0.0) \u003C= 0 || Double.compare(gauge.getWidth(), 0.0) \u003C\u2026\u0060 appears character-identically in 30 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/BulletChartSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e3483c809fd78e151f047800fb116e6f044add981ec9857c3cbd359fcd0456"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Double.compare(section.getStart(), maxValue) \u003C= 0 \u0026\u0026 Double.compare(section.getStop(), minValue) \u003E= 0\u0060 appears character-identically in 6 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"553eb5fc3fc74024bffcd2c50261440fcabf16346905158e796f8205eb02a071"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Double.compare(section.getStart(), minValue) \u003C 0 \u0026\u0026 Double.compare(section.getStop(), maxValue) \u003C 0\u0060 appears character-identically in 6 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6d489d298781733fab8626eacb22430343a0fc5275ec1313521cd0712713d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060SECTION.getStart() \u003C MIN_VALUE \u0026\u0026 SECTION.getStop() \u003C MAX_VALUE\u0060 appears character-identically in 2 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5a0c9d35cb2abac34184a79589977aa6988eec7b8286ba1e8f1ccd960286ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TIME.getMinute() == 0 \u0026\u0026 TIME.getSecond() == 0\u0060 appears character-identically in 6 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae94a064b8928256d07706b83e4a16834f912c8a943ff31f854ad007303ae6d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TickMarkType.BOX == tickMarkType || TickMarkType.PILL == tickMarkType\u0060 appears character-identically in 2 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java, Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb92d8d56179a3b95d8c04f3b10cd901418cf87582892678378ab2c01ecee013"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.lowerBound.x - b.upperBound.x \u003E 0.0f || a.lowerBound.y - b.upperBound.y \u003E 0.0f\u0060 appears character-identically in 2 files \u2014 Libs_XUI2D/src/org/jbox2d/collision/AABB.java, Libs_XUI2D/src/org/jbox2d/collision/broadphase/DefaultBroadPhaseBuffer.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/AABB.java"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"49188cea2710fa628b454a4d905204d1907f3ff1a1b8dc09fb152862c15321db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060adaptee.textarray != null \u0026\u0026 adaptee.start \u003C adaptee.end\u0060 appears character-identically in 3 files \u2014 Libs_JTidy/src/org/w3c/tidy/DOMCharacterDataImpl.java, Libs_JTidy/src/org/w3c/tidy/DOMDocumentTypeImpl.java, Libs_JTidy/src/org/w3c/tidy/DOMNodeImpl.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/DOMCharacterDataImpl.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8afb9c97c124675a7f1344df619ba0be2d3ac41b04cb9b35e0563f189846fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060area.getStart() \u003C minValue \u0026\u0026 area.getStop() \u003C maxValue\u0060 appears character-identically in 4 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/VSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"22161abd6c3f256c12174d8aabb0562477aa7b0447c9ded85600accde47eeefd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.lowerBound.x - a.upperBound.x \u003E 0.0f || b.lowerBound.y - a.upperBound.y \u003E 0.0f\u0060 appears character-identically in 2 files \u2014 Libs_XUI2D/src/org/jbox2d/collision/AABB.java, Libs_XUI2D/src/org/jbox2d/collision/broadphase/DefaultBroadPhaseBuffer.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/AABB.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b62c748f33f43d9fd203728d8cddf07ae2228dbbd15a3bda48a8e8a5db25ec0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060clock.getPrefWidth() \u003E 0 \u0026\u0026 clock.getPrefHeight() \u003E 0\u0060 appears character-identically in 14 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e362bbac2982e2274dde4d196f452a88b9eeb7f60396317521ab8592e42aaf77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060clock.isAlarmsEnabled() \u0026\u0026 clock.getAlarms().size() \u003E 0\u0060 appears character-identically in 2 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/RoundLcdClockSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalClockSkin.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e514e547af45719d41ac586a09c8a2194e82d9394227d06874635518332ac9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060colorGradientEnabled \u0026\u0026 noOfGradientStops \u003E 1\u0060 appears character-identically in 4 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/FlatSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/IndicatorSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/SlimSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DashboardSkin.java"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"780d0b2e510245f95da95cdf4ed2cb45dc87c0a9d6ccfe71d2f74dec1baffd71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060counter % 1 == 0 \u0026\u0026 minuteTickMarksVisible\u0060 appears character-identically in 7 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/DBClockSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/DesignClockSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/FatClockSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ClockSkin.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f589a71ba220cffab66aa18ea82911a011768e4fe9c7a09629971b924dc5a58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060counter % 4 == 0 \u0026\u0026 minuteTickMarksVisible\u0060 appears character-identically in 2 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/PearClockSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/IndustrialClockSkin.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9dd9dfa78b79c10badef253bca8899bc27197b6161405978135362fec27c97"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.channel().isActive() \u0026\u0026 ctx.channel().isRegistered()\u0060 appears character-identically in 2 files \u2014 Libs_MqttBroker2/src/io/moquette/broker/AutoFlushHandler.java, Libs_MqttBroker2/src/io/moquette/broker/InflightResender.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/AutoFlushHandler.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ca2bf856091594942ece6ec959817b86139424085fade42e440881c61bdacf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gauge.getMediumTickMarksVisible() \u0026\u0026 Double.compare(minorTickSpaceBD.remainder(mediumCheck2).doubleValue(), 0.0) != 0.0 \u0026\u0026 Double.compare(co\u2026\u0060 appears character-identically in 2 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea73eedc502981050ca5ec4c2fbbeb62a811f366faaf96e790882b0ffd90fb9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gauge.getMinorTickMarksVisible() \u0026\u0026 Double.compare(counterBD.remainder(minorTickSpaceBD).doubleValue(), 0.0) == 0\u0060 appears character-identically in 2 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/PlainAmpSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05d9ec236cdbf4103e154623cf0774c2d873f8c7dd8f581340294bb0b800293"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gauge.getPrefWidth() \u003E 0 \u0026\u0026 gauge.getPrefHeight() \u003E 0\u0060 appears character-identically in 30 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/BarSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/BulletChartSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6fd37a66a1a3a76fd9cd3da1fd4ba5789467df7c5a05c17a94c78a4b334e2b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gauge.getSectionsVisible() \u0026\u0026 !sections.isEmpty()\u0060 appears character-identically in 3 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/LevelSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSectionSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc247d5637ab75ac50e851889e50a37d080340b7ca18e398fccde024e479e8f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gauge.isGradientBarEnabled() \u0026\u0026 !gauge.getGradientBarStops().isEmpty()\u0060 appears character-identically in 2 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/LevelSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/BatterySkin.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"497091a1a2b0b4dd9517dbb6e76aa4b1476d15ca3fcb2cda67da043a139ce281"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gauge.isGradientBarEnabled() \u0026\u0026 gauge.getGradientLookup() != null\u0060 appears character-identically in 5 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/TinySkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"a341536d0237e1b8ce4a3b1538163cc43661c4dd39b62c0b0fa98c55bd6be226"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gauge.isLcdVisible() \u0026\u0026 gauge.isValueVisible()\u0060 appears character-identically in 7 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/GaugeSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/HSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/LinearSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/AmpSkin.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"9051afe542a2da61be683638334385e69e851f41c677f6e228905a867422ed4d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.isEmpty() || line.matches(\u0022^\\\\s*$\u0022)\u0060 appears character-identically in 2 files \u2014 Libs_MqttBroker2/src/io/moquette/broker/config/ConfigurationParser.java, Libs_MqttBroker2/src/io/moquette/broker/security/ResourceAuthenticator.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/config/ConfigurationParser.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a4f408d29d9856e5d0215d78f33ba6681d0c068328d7a6bcbdafa00f05a3ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.length() \u003E= 4 \u0026\u0026 line.charAt(3) != \u0027-\u0027 \u0026\u0026 Character.isDigit(line.charAt(0))\u0060 appears character-identically in 2 files \u2014 Libs_Net/src/org/apache/commons/net/ftp/FTP.java, Libs_Net/src/org/apache/commons/net/smtp/SMTP.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Net/src/org/apache/commons/net/ftp/FTP.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedf8f81e13d04baf5e9b2d3bcf5f7f0dbb02ad9e3c1f315c5f0170352d5b513"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mediumTickMarksVisible \u0026\u0026 Double.compare(minorTickSpaceBD.remainder(mediumCheck2).doubleValue(), 0.0) != 0.0 \u0026\u0026 Double.compare(counterBD.rem\u2026\u0060 appears character-identically in 3 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/QuarterSkin.java, Libs_jGauges/src/eu/hansolo/medusa/tools/Helper.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/ModernSkin.java"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c460df68184f9d4e40ed70d3f822b483e930ed8e904f6f5abe5248b43f8194"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.type == Node.START_TAG || node.type == Node.START_END_TAG\u0060 appears character-identically in 4 files \u2014 Libs_JTidy/src/org/w3c/tidy/Clean.java, Libs_JTidy/src/org/w3c/tidy/DOMDocumentImpl.java, Libs_JTidy/src/org/w3c/tidy/DOMNodeListByTagNameImpl.java, Libs_JTidy/src/org/w3c/tidy/ParserImpl.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/Clean.java"},"region":{"startLine":2278}}}],"partialFingerprints":{"codehealthFindingId/v1":"177c36ee2274e29d793656933177d83a8875b79201f84c0ec51fbbadd4826da7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nodeAABB.lowerBound.x \u003C= aabb.lowerBound.x \u0026\u0026 nodeAABB.lowerBound.y \u003C= aabb.lowerBound.y \u0026\u0026 aabb.upperBound.x \u003C= nodeAABB.upperBound.x \u0026\u0026 aa\u2026\u0060 appears character-identically in 2 files \u2014 Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java, Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTreeFlatNodes.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c009c3f0f3e3a9c7bfb6d9085d670443b9c78196addf574754a7f192fbc4dcf7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060positionError \u003C= Settings.linearSlop \u0026\u0026 angularError \u003C= Settings.angularSlop\u0060 appears character-identically in 2 files \u2014 Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java, Libs_XUI2D/src/org/jbox2d/dynamics/joints/WeldJoint.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f807d4babce56d0d19f7088b36a884c05ffb86a184fb41338dd4dc276863c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060section.getStart() \u003C minValue \u0026\u0026 section.getStop() \u003C maxValue\u0060 appears character-identically in 2 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d35858c66e3c00feed5c16352336b4c5c57bda298173f0b0a4fb8015f0353b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060section.getStart() \u003E maxValue || section.getStop() \u003C minValue\u0060 appears character-identically in 2 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/SectionSkin.java"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c21450017d59846d7dbe70c366e217836a6bebd7eb8220389530d4bc90d5a99"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session != null \u0026\u0026 session.isDone() \u0026\u0026 session.get().isOpen()\u0060 appears character-identically in 2 files \u2014 Libs_WebSocketClient/src/anywheresoftware/b4j/object/WebSocketClientWrapper.java, Libs_WebSocketClient/src/anywhersoftware/b4j/objects/WebSocketClientWrapper.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_WebSocketClient/src/anywheresoftware/b4j/object/WebSocketClientWrapper.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5875ad4759a2338346f411acfbec2c7a96148be874caace4a9419d83eed4dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status instanceof String \u0026\u0026 results instanceof JSObject\u0060 appears character-identically in 3 files \u2014 Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsService.java, Libs_GoogleMaps/src/com/lynden/gmapsfx/service/elevation/ElevationService.java, Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocodingService.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/directions/DirectionsService.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebabbfa34ddb759fe251755d1dccf948513dd84560855168aa64dca4ddcdbde8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060text != null \u0026\u0026 !text.isEmpty() \u0026\u0026 !text.equals(\u0022undefined\u0022)\u0060 appears character-identically in 2 files \u2014 Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderAddressComponent.java, Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocodingResult.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderAddressComponent.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6736ebce9f513d238b1d88535f5bd14bdc44de133e7851a1b75fc97a51c4ab22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060thresholdVisible \u0026\u0026 VALUE \u003E gauge.getThreshold()\u0060 appears character-identically in 2 files \u2014 Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java, Libs_jGauges/src/eu/hansolo/medusa/skins/SimpleDigitalSkin.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/DigitalSkin.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb15fdbee8882fa3af6a992b2147dfb1f71001a419374191998957583d36982"}},{"ruleId":"X12","level":"warning","message":{"text":"Branch is unreachable \u2014 its condition cannot hold here: \u0060s == null\u0060 can never be true where it stands: control only reaches it when \u0060s != null\u0060 (line 114). The conditional arm it guards never runs \u2014 whatever it was meant to handle is silently handled elsewhere or not at all. Remove it, or fix the test it repeats or the guard that decides it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jCore/src/anywheresoftware/b4a/objects/streams/File.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9217ec4b99e5adf8c7efda2bfc3144dfd6ce8e7a7ccea31036252502eba8f3"}},{"ruleId":"X12","level":"warning","message":{"text":"Branch is unreachable \u2014 its condition cannot hold here: \u0060\u0022RESIZE\u0022.equals(EVENT_TYPE)\u0060 can never be true where it stands: control only reaches it when \u0060EVENT_TYPE != \u0022RESIZE\u0022\u0060 (line 171). The branch it guards never runs \u2014 whatever it was meant to handle is silently handled elsewhere or not at all. Remove it, or fix the test it repeats or the guard that decides it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/skins/BulletChartSkin.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ed210747445339cc61776862731c79e31515cf1859b61c947ed574d9511d15"}},{"ruleId":"X12","level":"warning","message":{"text":"Branch is unreachable \u2014 its condition cannot hold here: \u0060DEBUG_SOLVER\u0060 can never be true where it stands: it is decided by constants. The branch it guards never runs \u2014 whatever it was meant to handle is silently handled elsewhere or not at all. Remove it, or fix the test it repeats or the guard that decides it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cf4eb45dd9ee594eed871dc3c6931dbcd170321d953cc0699cb33bf4115547"}},{"ruleId":"X12","level":"warning","message":{"text":"Branch is unreachable \u2014 its condition cannot hold here: \u0060DEBUG_SOLVER\u0060 can never be true where it stands: it is decided by constants. The branch it guards never runs \u2014 whatever it was meant to handle is silently handled elsewhere or not at all. Remove it, or fix the test it repeats or the guard that decides it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"076871fab3c99767e70c1e878c1501e0c569184bc565c5a0dfa98384f5e36670"}},{"ruleId":"X12","level":"warning","message":{"text":"Branch is unreachable \u2014 its condition cannot hold here: \u0060DEBUG_SOLVER\u0060 can never be true where it stands: it is decided by constants. The branch it guards never runs \u2014 whatever it was meant to handle is silently handled elsewhere or not at all. Remove it, or fix the test it repeats or the guard that decides it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI2D/src/org/jbox2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfe8e729ef99213d50badd23ef86f26a376d4ff8e06b1a9446fe2fa7c7ef0b6"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060is_serializable\u0060 is public and takes \u0060obj: Any\u0060 from its caller, and it calls itself at line 65 (\u0060self.is_serializable\u0060) with a piece of \u0060obj\u0060 (and at line 70, line 72) \u2014 and nowhere in \u0060is_serializable\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060is_serializable\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PyBridge/b4x_bridge/b4x_serializator.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"513fafe05a2ccb656b234db3e0ff9fb69cca8d31608b06b466da48a761151456"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060unwrap_dict\u0060 is public and takes \u0060_dict: dict\u0060 from its caller, and it calls itself at line 101 (\u0060self.unwrap_dict\u0060) with a piece of \u0060_dict\u0060 \u2014 and nowhere in \u0060unwrap_dict\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060unwrap_dict\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"PyBridge/b4x_bridge/bridge.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5e638d811947e4df1bdea05d548816a7861ebc2f3acf51feb5f05ef3ade6af"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060loadLayout\u0060 is not private, takes a value from its caller (line 62) and hands it on to \u0060loadLayoutHeader\u0060, which calls itself at line 227 with a piece of \u0060props\u0060 \u2014 and nowhere in the walk is a depth or nesting counter compared with a bound, nor is the parser that builds the document given a nesting limit in this file. The walk therefore spends one stack frame (more through a lambda or a stream) per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes; javac turns no recursive call into a loop. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25). org.json, the W3C DOM, dom4j and StAX set no nesting limit of their own, Jackson before 2.15 none and 2.15\u002B 1,000 \u2014 on a cold JVM past the point the walk fails \u2014 and a \u0060Map\u003CString, Object\u003E\u0060 tree is as deep as whatever built it. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (Exception e)\u0060 around the call does not stop it, and the request or the thread dies with it. Thread a depth argument through \u0060loadLayoutHeader\u0060 and reject the value past a fixed maximum, configure the parser\u0027s nesting limit (\u0060StreamReadConstraints.maxNestingDepth\u0060, SnakeYAML\u0027s \u0060setNestingDepthLimit\u0060), or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jFX/src/anywheresoftware/b4j/objects/LayoutBuilder.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"556d855545d75b092c6d6ee59d7f33626df277d8af3b33ea6d87e798f84cd70f"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060WriteObject\u0060 is not private, takes a value from its caller (line 117) and hands it on to \u0060writeMap\u0060, which recurses at line 255 through \u0060writeList\u0060, \u0060writeObject\u0060 and back with a piece of \u0060m\u0060 (and at line 256, line 269) \u2014 and nowhere in the walk is a depth or nesting counter compared with a bound, nor is the parser that builds the document given a nesting limit in this file. The walk therefore spends one stack frame (more through a lambda or a stream) per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes; javac turns no recursive call into a loop. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25). org.json, the W3C DOM, dom4j and StAX set no nesting limit of their own, Jackson before 2.15 none and 2.15\u002B 1,000 \u2014 on a cold JVM past the point the walk fails \u2014 and a \u0060Map\u003CString, Object\u003E\u0060 tree is as deep as whatever built it. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (Exception e)\u0060 around the call does not stop it, and the request or the thread dies with it. Thread a depth argument through \u0060writeMap\u0060 and reject the value past a fixed maximum, configure the parser\u0027s nesting limit (\u0060StreamReadConstraints.maxNestingDepth\u0060, SnakeYAML\u0027s \u0060setNestingDepthLimit\u0060), or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/B4XSerializator.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3affcc802f0c11472b9ca87d395c7e11eada6b925311b47e4b3e4c961e91f1"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060getDocumentId\u0060 is not private, takes a value from its caller (line 98) and hands it on to \u0060writeIterable\u0060, which recurses at line 196 through \u0060writeValue\u0060 and back with a piece of \u0060list\u0060 \u2014 and nowhere in the walk is a depth or nesting counter compared with a bound, nor is the parser that builds the document given a nesting limit in this file. The walk therefore spends one stack frame (more through a lambda or a stream) per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes; javac turns no recursive call into a loop. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25). org.json, the W3C DOM, dom4j and StAX set no nesting limit of their own, Jackson before 2.15 none and 2.15\u002B 1,000 \u2014 on a cold JVM past the point the walk fails \u2014 and a \u0060Map\u003CString, Object\u003E\u0060 tree is as deep as whatever built it. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (Exception e)\u0060 around the call does not stop it, and the request or the thread dies with it. Thread a depth argument through \u0060writeIterable\u0060 and reject the value past a fixed maximum, configure the parser\u0027s nesting limit (\u0060StreamReadConstraints.maxNestingDepth\u0060, SnakeYAML\u0027s \u0060setNestingDepthLimit\u0060), or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MongoDB/src/anywheresoftware/mongo/MapCodec.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0bcba1264133d2b2365beaa71d36affd2a78d260d28cc4640d192eee02f4f6"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060ds\u0060 is a \u0060new DatagramSocket(\u2026)\u0060, which holds something that has to be given back, and it is created here (line 37). Every use of it in this block calls a member through it \u2014 it is never returned, never stored, never handed to anything else, no view of it is handed on, it is not captured by a lambda or an anonymous class, and it is never released \u2014 so this block both creates the value and is the last thing that can release it, and does not. Every call leaks one more open handle until the collector happens to reach it. Declare it in a try-with-resources (\u0060try (DatagramSocket ds = \u2026)\u0060), which releases it on every path including a throw, or call \u0060ds.close()\u0060 in a \u0060finally\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jCore/src/anywheresoftware/b4a/BridgeLog.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5407f33746b4c8674891bdc755f1a0c43b3639aad95691f3a48db06f39c143b4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.sums_.text\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/clustered/js/markerclusterer.js"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"c439857acfd35f7dc381c90ee116018c907599b5acbb4910ed19b5948cbd0316"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060sums.text\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/html/clustered/js/markerclusterer.js"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bdb28b1cb3cff7d018fc823171a7f841cceaef4f211cdf92c705505032d68a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jCore/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5de750f98a7088a116657c8ebf0849105dc837cbec2220b64d8dd9edbf00ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jCore/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"88713f9ab24c18ac483e02a99ca6677aa04811155f493c03515c1c88b7e02123"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jCore/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"4508928f4a46b23c7e66aecc296179d034c13e470471e5575253c9093cce365e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_jGauges/src/eu/hansolo/medusa/Fonts.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1446b8515d90125de52e4c99bd3d7de936212f8202f5d7c2d6e9bab8073561d6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_WebSocketClient/src/anywhersoftware/b4j/objects/WebSocketClientWrapper.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"394e305c93dc496eb9e509b57e1cbb37f0019fb4ab0dcfa4c7d9a94975941a71"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1621c68839a5fa2691b3296a545f6f990b221f3a568f16e0b8b3b1c6ddd067c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"b765fd1cc9a4f281935df6512877e78dd5a822ce27cc71c292f1090482d0e28e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba56d1bc620de7cde9e778705ffdccabf23fd2d77144b25185f565e02af4d28f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33c6525ed2555bb12b73330336b83a6482f63ff6a3c36f41582dabba8ce4307"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"690e2ae7932c3573737199b658d49ea76c0f80c5e0d08c86780e4d1e4af71fd6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0bbe392a66538bb21141b4873570ad150f80d3b9f2e1ac037530d9cc540e67"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"02de94cf0c590b0ab8122ea763703dcf17ec39bf3496c051da733eca31b47fd8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c50d475a9f56cfeaa6a60a5891eb3b9583348b3406448cd32528fcd92333cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"331d11bb9294e41fd40bb788133ebf31ea18c78e2be85c5997851b3e308144a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f413365e19a1f2fdcc7220bd0469fc22c256144ff3f6f29b87fabe68ee34910"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1266104686f27e4ed3a6687801c8b16c5eb3e3b32d71eba489d4af8e9d9222"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdae80cd3066a532af684a33b4be2508f76fbb43a0cbba3305c634e45728074"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fbed37cd556da4f9ff79ab1efe6e2fd707f75eeabae83f5e4796ab2539a1eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"df417369ae2e05a2116ac873a9109ef475e7641f827c64b4b700155c909e3d22"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0b29db2bd36665c444f5fde1aa0f8e1472cf5de36ef97e8a46c5ed67602bd4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0b1fd28ccd7b42ddb4af616429fd2912cefe32b6f7902e3628a238dc7deb96"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1616}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42a2a96bbc5d20f26d12e078a1f14f6e640ea74c7a6f9d4572ddef20b095479"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java"},"region":{"startLine":1644}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9009259b20acca6613f1f81f5c26364a6693429c108966a214f5f7e949d672"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/logging/SimpleLogFormatter.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff626f1f323c0d4269226b724f50f50cca8d0873303b62bb32474f4dd57a70ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/ClientState.java"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"0479c69fffe0a82874747597f1643f62a6af20cd69b4551018a63052c7513a9d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/FileLock.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfcb933c65287dd863b7270ed4ecb92f9b1cde7036102f705cd0eee0658f89e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/LocalNetworkModule.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc02a88353da8d7b6872562eb15df134a38a6f196b28f144694dc1b27b253ce5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/LocalNetworkModule.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f0999fb7930c38485fb6e6080d80cc57ff0ff47476974315ffce1f2f7a1f88"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/LocalNetworkModule.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5df82ffe423824194208515d34f7b3b811f04ef96d353bd1495236911e50eac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/LocalNetworkModule.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ceb10b1ff09594ffd4e766c3bc0cf301da3a42fdef26563cab1add2e2175249"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/MessageCatalog.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21f7f29b41af58493a1df2e07fb62be530fca9e46e174c495786851b3f63d1d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/MessageCatalog.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ddc17a77c85abf29a8a2c66ae6c5bc785db75f452e0d1e40813248b30b949a6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttPublish.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4dbe79da090555e9df0b72bdd4d16c3709aa5ddf36f0aad9d3461cf496c7d7f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttSubscribe.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d94db6b29aaa74ed1c467f7cf23ab578a1f019a890e65e31bc12283f091cbf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/wire/MqttUnsubscribe.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"697a3074d869cae8f2d9ac950d767b9f14470ff771598cc37d56306189b50a85"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/security/SSLSocketFactoryFactory.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c9502cede588560e3d931bb9c6bf8a3c053b920fd969dae59f15c2e449fe5a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GoogleMaps/src/com/lynden/gmapsfx/service/geocoding/GeocoderUtils.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06edb2dbb9ddd4ccdcd7c1174223433103c3ed901eb1cb004b5f112558cd1b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 217 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/Server.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae00322bbc7d34763ad61a6d68708ca575b527327af395d5e10ee049da1f2f37"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 56 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/security/ACLFileParser.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f11f0c35e10446efa719eacb21b289c3d07ab0ee15e571e560a5db07bb6c7f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 66 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/security/ACLFileParser.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf48a2e98ac1d067f7996ecb04ab0ceae4e776332949d578fa7f83411cb1722"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 71 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/security/DBAuthenticator.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb72c774abe91a7283f0cf3e8e2a9add739b07cd80deb7c89a81d326aa14c4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 59 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/security/ResourceAuthenticator.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f3d8a8f736eec40c7019fa941ee2e391f76b5418d6988bca7cd452bb91c7a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 64 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/security/ResourceAuthenticator.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8350b9e0801edc44f69de540582f0d4dbb974782815690785a540f771953d45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 69 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/security/ResourceAuthenticator.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d976a16bb1c6fe0fbeff693f0f94afe8f1a03c6db214208c377d46e262a942c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 71 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/security/ResourceAuthenticator.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fc266e726660e06cef8d5344049c9f739660e480e4c0f30cd7b97b9c2f2838"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 51 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MqttBroker2/src/io/moquette/broker/config/ConfigurationParser.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ea9407359fb051018e838a91e915945e82ddca81545fabf136cf638282df45"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/99 of this repository\u0027s Java package directories are under a non-null default: a \u0060package-info.java\u0060 declaring \u0060@NullMarked\u0060 (JSpecify) or \u0060@NonNullApi\u0060, \u0060@ParametersAreNonnullByDefault\u0060, \u0060@NonNullByDefault\u0060, \u0060@DefaultQualifier(NonNull.class)\u0060; a \u0060module-info.java\u0060 declaring \u0060@NullMarked\u0060; every type in it \u0060@NullMarked\u0060; or a build that runs NullAway with the package in \u0060AnnotatedPackages\u0060, or the Checker Framework\u0027s \u0060NullnessChecker\u0060. Elsewhere every reference admits null and no checker warns on the dereference that throws a \u0060NullPointerException\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"419201f6fc7ba243aef2cfb154378641588a8190e6269cea04a7b48c3d343bd5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060SmartStringFormatter\u0060 swallows every exception into \u0060return \u0022NaN\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"jCore/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a7cb0532ff223ce993950ebddde1539f6c2fd0fc9794b837e7c67df181ac57"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getMessage\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/MessageCatalog.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef1f3bbe525cf3a496eab96eece583258dd748eb620c739f67109914145a54c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060getLocalizedMessage\u0060 returns \u0060\u0022MqttException\u0022\u0060 when \u0060MissingResourceException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_MQTT/src/org/eclipse/paho/client/mqttv3/internal/ResourceBundleCatalog.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e37b0a65772953f6daf907e645ab4481beb3e0fe1e4f6e038745422aad8f8c"}}],"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":"Sensitive Cookie Without \u0027HttpOnly\u0027 Flag","shortDescription":{"text":"Sensitive Cookie Without \u0027HttpOnly\u0027 Flag"},"helpUri":"https://cwe.mitre.org/data/definitions/1004.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"Improper Certificate Validation","shortDescription":{"text":"Improper Certificate Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"Deserialization of Untrusted Data","shortDescription":{"text":"Deserialization of Untrusted Data"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-614","guid":"faa8a6a5-7e9d-5d5e-afc9-020ff49d250a","name":"Sensitive Cookie in HTTPS Session Without \u0027Secure\u0027 Attribute","shortDescription":{"text":"Sensitive Cookie in HTTPS Session Without \u0027Secure\u0027 Attribute"},"helpUri":"https://cwe.mitre.org/data/definitions/614.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"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":25,"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."]}]}