{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"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":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"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":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"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":"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":"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":"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":"WebSocketReader.processData (cyclomatic 57): WebSocketReader.processData 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_WebSocket/src/io/crossbar/autobahn/websocket/WebSocketReader.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3469a1ba6df68acb7f4300fda4d2f88d491223b17757248bf2f6c88aff908cc"}},{"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":"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":"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":"CH34xSerialDevice.setBaudRate (cyclomatic 39): CH34xSerialDevice.setBaudRate 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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c9af4d6c1a6e759579d67fb67911175e02dc7ef7c20d9aeabeb4fee44cc408"}},{"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":"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":"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":"LayoutBuilder.loadLayoutHelper (cyclomatic 34): LayoutBuilder.loadLayoutHelper 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":"B4AObjects/src/anywheresoftware/b4a/keywords/LayoutBuilder.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5c4e4e62d137369f68295069dd89ecb5ef2bd72a3bcd317f262ba0418d9fba"}},{"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":"3.handleMessage (cyclomatic 32): 3.handleMessage has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_WebSocket/src/io/crossbar/autobahn/websocket/WebSocketConnection.java"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ddca8fc9f4fa1e1b2b218d4ff865e0663d93f9c914dbf756f32bf68cfb9aad"}},{"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":"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":"FTDISerialDevice.setBaudRate (cyclomatic 28): FTDISerialDevice.setBaudRate 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":"felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a97a18288ff90b9395f905ff6fb43e42d8bd4c2ffe8b5361bcf6c4bf1b356a"}},{"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":"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":"StringUtils.LoadCSV2 (cyclomatic 25): StringUtils.LoadCSV2 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_StringUtils/src/anywheresoftware/b4a/objects/StringUtils.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c8f2012a8b25bcab250a1d496722cc5c62c02f16517a39f0a5a3493ef10c30"}},{"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":"LicenseValidator.verify (cyclomatic 23): LicenseValidator.verify has cyclomatic complexity 23 (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_Licensing/src/com/android/vending/licensing/LicenseValidator.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a985fb42f216a10d0b2621c2c7b35e9224e721349b36462e2e4840b48e0dab9b"}},{"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":"LayoutBuilder.loadLayout (cyclomatic 22): LayoutBuilder.loadLayout 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":"B4AObjects/src/anywheresoftware/b4a/keywords/LayoutBuilder.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"910efbec563bfe45ea8fd60136e99c2692c4c569238349e2d81c693aba1cfe55"}},{"ruleId":"D1","level":"warning","message":{"text":"FlowControlThread.run (cyclomatic 22): FlowControlThread.run 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":"felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e106c78f260ce9981fab51d1e0015b98f3c27418b433ed6cc017d941a2f958"}},{"ruleId":"D1","level":"warning","message":{"text":"AIN.run (cyclomatic 21): AIN.run 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_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/AsyncStreams.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ed477e98911a26bb3bb5e911fb8b98c1fda90116d159637bc0f8f82aa46eed"}},{"ruleId":"D1","level":"warning","message":{"text":"PL2303SerialDevice.openPL2303 (cyclomatic 21): PL2303SerialDevice.openPL2303 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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cbeeca12a235279b8171309690446cecbc6c73f562d540626b6b93e98d1e07"}},{"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":"B4AObjects/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33a2884704866cb3de91aa55273cfeff1b9f14f36ffcf8cf6577f99d7889f0d"}},{"ruleId":"D1","level":"warning","message":{"text":"Cp21xxSerialPort.setParameters (cyclomatic 20): Cp21xxSerialPort.setParameters has cyclomatic complexity 20 (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_UsbSerial/src/com/hoho/android/usbserial/driver/Cp21xxSerialDriver.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b928dc86b981235db0100a11a6f7c06b98f163a50cb69d3c4a79ef36949a42"}},{"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":"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":"FTDIUtilities.checkModemStatus (cyclomatic 19): FTDIUtilities.checkModemStatus 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":"felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd7f75369aad5cf80704677d5a2ef6aed735e7c699fd63236e9b96cd1092ed9"}},{"ruleId":"D1","level":"warning","message":{"text":"BA.raiseEvent2 (cyclomatic 18): BA.raiseEvent2 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":"B4AShared/src/anywheresoftware/b4a/BA.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4ece172909f0b3804bb913fc7d837e18494cac284381e075b6f67f59b5cc0f"}},{"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.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":"LocationWrapper.convert (cyclomatic 17): LocationWrapper.convert 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_GPS/src/anywheresoftware/b4a/gps/LocationWrapper.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c135980a9a7b51fc4956b5ca0fc60574db9c28e1c6db639a4e1df31415a3f8"}},{"ruleId":"D1","level":"warning","message":{"text":"CdcAcmSerialPort.openInterface (cyclomatic 17): CdcAcmSerialPort.openInterface 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_UsbSerial/src/com/hoho/android/usbserial/driver/CdcAcmSerialDriver.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"328853f5ec03f97124655f98d2cb36f6fa25337fce47f2f9ecb205edb102e898"}},{"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":"WebSocketReader.run (cyclomatic 17): WebSocketReader.run 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_WebSocket/src/io/crossbar/autobahn/websocket/WebSocketReader.java"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"e089439b917c43803137a0d34e98327868c06c08195c9a062172a1b67ef582c5"}},{"ruleId":"D1","level":"warning","message":{"text":"Base64.decode (cyclomatic 16): Base64.decode 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_Licensing/src/com/android/vending/licensing/util/Base64.java"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e040ef4b7fd13e3d685c62c05d88e3a5efb28003fda38a1c934278af636fdb7"}},{"ruleId":"D1","level":"warning","message":{"text":"FtdiSerialPort.setBaudrate (cyclomatic 16): FtdiSerialPort.setBaudrate 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_UsbSerial/src/com/hoho/android/usbserial/driver/FtdiSerialDriver.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24d7c6ce993d6b3f399402ac1b2a0c5a5feff23fbe8f216b9f3dd018d569f4a"}},{"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":"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":"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":"WebSocketReader.processData (cognitive 173): WebSocketReader.processData has cognitive complexity 173 (threshold 15). Drivers by points: if/else 55 (154 pts), boolean chains 11, loops 1 (5 pts), ternaries 1 (3 pts) (nesting depth added 105). 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_WebSocket/src/io/crossbar/autobahn/websocket/WebSocketReader.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"9329d4048fbe77b2041a2098fff86f67522ede0a3b57be4c4b8672b882decf45"}},{"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":"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":"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":"LayoutBuilder.loadLayoutHelper (cognitive 100): LayoutBuilder.loadLayoutHelper has cognitive complexity 100 (threshold 15). Drivers by points: if/else 22 (72 pts), ternaries 4 (9 pts), error handling 2 (8 pts), loops 2 (6 pts), boolean chains 5 (nesting depth added 65). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"B4AObjects/src/anywheresoftware/b4a/keywords/LayoutBuilder.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f7898d2a88d66feb3421c926f9b00fb3e449002903eac6b179ede063816793"}},{"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":"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":"AIN.run (cognitive 67): AIN.run has cognitive complexity 67 (threshold 15). Drivers by points: if/else 17 (52 pts), loops 3 (9 pts), ternaries 1 (5 pts), error handling 1 (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into 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":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82469d79a09fa03f05dd1a5060bdcb59ed48afb1be392f27d13a44dbf5e890f"}},{"ruleId":"D2","level":"warning","message":{"text":"FlowControlThread.run (cognitive 65): FlowControlThread.run has cognitive complexity 65 (threshold 15). Drivers by points: if/else 18 (61 pts), boolean chains 3, loops 1 (nesting depth added 43). 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":"felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a9cc7233d31810c5d907c33301094250c595b4a47f8f4ea1631074dabf9a70"}},{"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":"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":"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":"StringUtils.LoadCSV2 (cognitive 57): StringUtils.LoadCSV2 has cognitive complexity 57 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 6 (11 pts), ternaries 2 (6 pts), boolean chains 4 (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_StringUtils/src/anywheresoftware/b4a/objects/StringUtils.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f181c7933948028d7dada383c17981f0ebb4f66437f4b0161e3940fabe63c524"}},{"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":"3.handleMessage (cognitive 52): 3.handleMessage has cognitive complexity 52 (threshold 15). Drivers by points: if/else 32 (50 pts), ternaries 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_WebSocket/src/io/crossbar/autobahn/websocket/WebSocketConnection.java"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"4757354fd8667d936f5c65654b60320bb91c6ea30074a84fbb98133cc8003beb"}},{"ruleId":"D2","level":"warning","message":{"text":"CH34xSerialDevice.setBaudRate (cognitive 51): CH34xSerialDevice.setBaudRate has cognitive complexity 51 (threshold 15). Drivers by points: if/else 26 (39 pts), boolean chains 12 (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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3350d1707a9503e9735c695ec2f2e63a0f69a8c88c5713395b8110f3843c24b8"}},{"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":"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":"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":"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":"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":"ProlificSerialPort.getStatus (cognitive 41): ProlificSerialPort.getStatus has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (40 pts), boolean chains 1 (nesting depth added 27). 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_UsbSerial/src/com/hoho/android/usbserial/driver/ProlificSerialDriver.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84b7e6f3df4c04a02a7a35975e429f0399de16d9ab37e9648e4bf14eba2d5e1"}},{"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":"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":"B4AObjects/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc86dda2ba9429d482faaed1aaebbb8944e5d56e689d3ec4c90530321a7a402"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutBuilder.loadLayout (cognitive 37): LayoutBuilder.loadLayout has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (21 pts), loops 5 (10 pts), boolean chains 2, error handling 2, ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"B4AObjects/src/anywheresoftware/b4a/keywords/LayoutBuilder.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2458949c57e0451dd5b9dc50c467906b2432a3875710b660fc5420fd44edcb5c"}},{"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":"FlowControlThread.run (cognitive 36): FlowControlThread.run has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (33 pts), boolean chains 2, loops 1 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"144ffcb43d6855f6233b6aa918ce332fbc25c92ac881253c953b8ec8be719a78"}},{"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":"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":"Base64.decode (cognitive 30): Base64.decode has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 5, loops 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_Licensing/src/com/android/vending/licensing/util/Base64.java"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"973e336611c2787e7022f14198d06c9c143c7cdace84c59a45441f6a1149e78a"}},{"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":"BA.raiseEvent2 (cognitive 29): BA.raiseEvent2 has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (21 pts), error handling 4 (7 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":"B4AShared/src/anywheresoftware/b4a/BA.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d05a17cc2d2cee802f5a45a71bab2957eb51a2f46eb5ee53511c371619c9830"}},{"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":"FTDISerialDevice.setBaudRate (cognitive 28): FTDISerialDevice.setBaudRate has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15, boolean chains 13. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c402b3076db7959e1dea49e1610837de33a0d803bbd3804cca03df8ad53e973c"}},{"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":"MyPanel.onDraw (cognitive 27): MyPanel.onDraw has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 2 (10 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_GameView/src/anywheresoftware/b4a/objects/GameViewWrapper.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9100ffac50189b130c2165a901240bf86066848eb3d43fbe8ede2b77ed9341cb"}},{"ruleId":"D2","level":"warning","message":{"text":"B4XViewWrapper.getColor (cognitive 27): B4XViewWrapper.getColor has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (16 pts), error handling 2 (9 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03cf2e108437ca6014664a9749f0135b0322e824af3844512e20653393a120f"}},{"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":"12.run (cognitive 26): 12.run has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 2, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"B4AObjects/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bf19e6da316ed208329b219a62a19442c22b493d2109492e46f50e45bc3261"}},{"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":"WebSocketReader.run (cognitive 26): WebSocketReader.run has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (4 pts), error handling 3, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_WebSocket/src/io/crossbar/autobahn/websocket/WebSocketReader.java"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"52280c32f4a77efc8b50514fa350fa270b4116dfc423aad4e8d19f03c18bcfba"}},{"ruleId":"D2","level":"warning","message":{"text":"Msgbox.waitForMessage (cognitive 25): Msgbox.waitForMessage has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (20 pts), boolean chains 3, error handling 1, loops 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":"B4AShared/src/anywheresoftware/b4a/Msgbox.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b49687d1f36515031d5ae7a048c5b76225854aad124b7f7fed709adc0d600c"}},{"ruleId":"D2","level":"warning","message":{"text":"LicenseValidator.verify (cognitive 25): LicenseValidator.verify has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 5 (10 pts), boolean chains 1, match/switch 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_Licensing/src/com/android/vending/licensing/LicenseValidator.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e4ab10827fb63cdad951757e6e85235ab9cf81a568a35ebf916b7a35f57b32"}},{"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":"ServerSocketWrapper.GetMyIP (cognitive 24): ServerSocketWrapper.GetMyIP has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (19 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":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55aeacf9848feb5d3aaddabea3ae089a38ebb0800c56ad34651dfcf950f895e"}},{"ruleId":"D2","level":"warning","message":{"text":"BA.\u003Cinit\u003E (cognitive 24): BA.\u003Cinit\u003E has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (16 pts), error handling 3 (6 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"B4AShared/src/anywheresoftware/b4a/BA.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc553638345f947a008b71bffe6f9155626acaba3a0369a1dfaead6de04fbb4"}},{"ruleId":"D2","level":"warning","message":{"text":"CdcAcmSerialPort.openInterface (cognitive 24): CdcAcmSerialPort.openInterface has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 3, loops 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_UsbSerial/src/com/hoho/android/usbserial/driver/CdcAcmSerialDriver.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc194c27d864438dc52276c30f0a89ef0ce182f4ef93824aed0c100296e008a"}},{"ruleId":"D2","level":"warning","message":{"text":"FTDIUtilities.checkModemStatus (cognitive 24): FTDIUtilities.checkModemStatus has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79be90bd2576cdb91db2d1f5c74f002c9819ffd5b780f9bbd58c6a40b17baf7"}},{"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":"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":"B4AShared/src/anywheresoftware/b4a/BA.java"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"0162ba9e225ce7cab9ecd90bcc381fbe9f795c4f15b0c27a18f29bc9fae1312a"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonUsbSerialPort.write (cognitive 23): CommonUsbSerialPort.write has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 2, loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_UsbSerial/src/com/hoho/android/usbserial/driver/CommonUsbSerialPort.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4136fd7c2e839d61a6609c8f21951316efd1285fbd13e09298a59a2df211c23e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProlificSerialPort.filterBaudRate (cognitive 23): ProlificSerialPort.filterBaudRate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 3 (5 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_UsbSerial/src/com/hoho/android/usbserial/driver/ProlificSerialDriver.java"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2830b794787d5ca1982a829467939d28d3c33a707468457e80be5ee65ed07b4"}},{"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":"ExecuteHelper.run (cognitive 22): ExecuteHelper.run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 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_OkHttp/src/anywheresoftware/b4h/okhttp/OkHttpClientWrapper.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"4826bebdaaef8d25d0a91c952c361f7cef24c80695a3add8499e5426d9d09e28"}},{"ruleId":"D2","level":"warning","message":{"text":"HexDump.dumpHexString (cognitive 22): HexDump.dumpHexString has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (8 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_UsbSerial/src/com/hoho/android/usbserial/util/HexDump.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa7c83b464d427ab9817a377a43dade038218d8fd32ef0da293e85b0f7b5a55"}},{"ruleId":"D2","level":"warning","message":{"text":"PL2303SerialDevice.openPL2303 (cognitive 22): PL2303SerialDevice.openPL2303 has cognitive complexity 22 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 2, 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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"6779de6ea49a8d6d570bdf170dbc428eab9beb8c82d8f9dd9679596c4181f74a"}},{"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":"StarterHelper.handleUncaughtException (cognitive 21): StarterHelper.handleUncaughtException has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"B4AObjects/src/anywheresoftware/b4a/objects/ServiceHelper.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e100ac7acebd08717150f7694f120e266d329f03176d94e22ae64acf4cc2050c"}},{"ruleId":"D2","level":"warning","message":{"text":"GattCallback.onCharacteristicRead (cognitive 21): GattCallback.onCharacteristicRead has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (6 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_BLE2/src/anywheresoftware/b4a/objects/BleManager2.java"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e9c497f7d15348dd84664c2f7e544ce278b6885895173a8ee7980ae2a40534"}},{"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":342}}}],"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":"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":"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":"B4AObjects/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff33eeb0198f1e4105f78bbb3a5e05714fda779a604184d00680adfb2d32aaee"}},{"ruleId":"D2","level":"warning","message":{"text":"1.onTouch (cognitive 19): 1.onTouch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, 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":"B4AObjects/src/anywheresoftware/b4a/objects/ButtonWrapper.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f32eef5675b074ff5dc6de8b779f3da834775766427a6f3764684329e40adf"}},{"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":"LocationWrapper.convert (cognitive 18): LocationWrapper.convert has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, boolean chains 5, ternaries 2 (3 pts), error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_GPS/src/anywheresoftware/b4a/gps/LocationWrapper.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ef4f4abb94e1b8468e79fbc30a2db12d2fca48108bfb0ec2a926d9a4422da2"}},{"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":"RadioButtonListener.onCheckedChanged (cognitive 17): RadioButtonListener.onCheckedChanged 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, 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":"B4AObjects/src/anywheresoftware/b4a/objects/CompoundButtonWrapper.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9453d5eb05d87e3373b16244d10e93473e0fc4f2019f2918597f5b57d6a873b1"}},{"ruleId":"D2","level":"warning","message":{"text":"StarterHelper.handleStartIntent (cognitive 17): StarterHelper.handleStartIntent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, error handling 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":"B4AObjects/src/anywheresoftware/b4a/objects/ServiceHelper.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e054a47c0ab88ca8d3a402df15185065ce33ccb594edf13ecdf60076ae96280"}},{"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":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cae960ca65f5d50c72139464b0c6a03b3e8f72c9e1a2ef5417065f18f2eaa61"}},{"ruleId":"D2","level":"warning","message":{"text":"ListenToConnection.run (cognitive 17): ListenToConnection.run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Serial/src/anywheresoftware/b4a/objects/Serial.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d870a23c3bc3aa0894afc7f0adf1314b58acb2d457d7e211d3e16632fec4b2"}},{"ruleId":"D2","level":"warning","message":{"text":"Contacts2Wrapper.getAllContacts (cognitive 17): Contacts2Wrapper.getAllContacts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 4 (8 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_Phone/src/anywheresoftware/b4a/phone/Contacts2Wrapper.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f5071c8aeb385a31c652b3dd9cd458ba6cb88d47cf1ac9aa5fa903678a4d76"}},{"ruleId":"D2","level":"warning","message":{"text":"BA.setActivityPaused (cognitive 17): BA.setActivityPaused has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"B4AShared/src/anywheresoftware/b4a/BA.java"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9435c6e70d9a67408b430d185e39246888813047e58d8ae483c1774bab36a93"}},{"ruleId":"D2","level":"warning","message":{"text":"Msgbox.dismiss (cognitive 17): Msgbox.dismiss has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 2 (5 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":"B4AShared/src/anywheresoftware/b4a/Msgbox.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad23677930d4b148c904655b464027b76d34ec733e6a2293db3920e650cfea7"}},{"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":"OkHttpURLConnection.buildCall (cognitive 17): OkHttpURLConnection.buildCall has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 1 (2 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_OkHttp/src/okhttp3/internal/huc/OkHttpURLConnection.java"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad971ec16a1cdee3105a26255ca4cbc05fa76299e6b3ecac1589db0212105795"}},{"ruleId":"D2","level":"warning","message":{"text":"OkHttpURLConnection.getResponse (cognitive 17): OkHttpURLConnection.getResponse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), error handling 2 (4 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 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_OkHttp/src/okhttp3/internal/huc/OkHttpURLConnection.java"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbfbc010bfbba0ddd8beef8002dd9c8279d88a6e5b7d6fbc134fa1a553e1aa9"}},{"ruleId":"D2","level":"warning","message":{"text":"WebSocketConnection.connect (cognitive 17): WebSocketConnection.connect has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 3, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_WebSocket/src/io/crossbar/autobahn/websocket/WebSocketConnection.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf51bee8415d5016b66e507eadf16ea5a554d3c786c3f12ef709f60ae78398b"}},{"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":"B4AObjects/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb59389c2b6b8e203b2dcc9a8f4876556619854564ea530cf130945a7a8ce7d6"}},{"ruleId":"D2","level":"warning","message":{"text":"BA.printException (cognitive 16): BA.printException has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 1 (2 pts), 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":"B4AShared/src/anywheresoftware/b4a/BA.java"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"590a919281f2c957fce3cd33b9b63b0cfb10757275413085f99b9b07654b635a"}},{"ruleId":"D2","level":"warning","message":{"text":"Cp21xxSerialPort.setParameters (cognitive 16): Cp21xxSerialPort.setParameters has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 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_UsbSerial/src/com/hoho/android/usbserial/driver/Cp21xxSerialDriver.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d267ff1a62bdfb58821713045d259615ce5044e98fe71abc0140490099fac6"}},{"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":"WebSocketReader.processHandshake (cognitive 16): WebSocketReader.processHandshake has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 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_WebSocket/src/io/crossbar/autobahn/websocket/WebSocketReader.java"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d9c1109ca9b44b936f1e295445099d115d71831a7fd9f1c91227abb44c0cc3"}},{"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":"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":"TooManyMethods: Common: TooManyMethods \u2014 126 methods. The bar is 30 methods; this is 96 over it, 4.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":"B4AObjects/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f747e1f92589426c3c1a9336995224d193415b1c8d4085518cb741e0bc02bf2"}},{"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":"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":"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":"TooManyMethods: B4XViewWrapper: TooManyMethods \u2014 79 methods. The bar is 30 methods; this is 49 over it, 2.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2ad4f2580616159f22a58ec17ea214262d2df93ba07d4ac01f7785ca396e8a"}},{"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":"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":"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":"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":"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":"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":"TooManyMethods: DelegatingHttpsURLConnection: TooManyMethods \u2014 62 methods. The bar is 30 methods; this is 32 over it, 2.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_OkHttp/src/okhttp3/internal/huc/DelegatingHttpsURLConnection.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cd3d948e4ff017eb2d86ad96cfabeadc86c04d02d17426a737343a6fa42ea4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Common: ClassTooLong \u2014 808 significant lines (blank, comment-only and punctuation-only lines excluded), 126 methods. The bar is 400 significant lines; this is 408 over it, 2.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":"B4AObjects/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a48179e94b7e4307cd919c55a217cbdc25af88bc378518124241b13802b4b27"}},{"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: XMLBuilder: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XMLBuilder/src/com/jamesmurty/utils/XMLBuilder.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"752b2294d5b18b817e7449dad0cde6e4a3c0b481a1b7929abe59c1862c27a05f"}},{"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":"FileTooLong: keywords/Common.java: FileTooLong \u2014 877 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: Common (75-1893). The bar is 500 significant lines; this is 377 over it, 1.75\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":"B4AObjects/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e3744cf9cc85a8bd3b49d34832896e97b711ed337ad1e76b5e247044dfda4e"}},{"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":"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: BA: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\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":"B4AShared/src/anywheresoftware/b4a/BA.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f4079388e9186fd68e39ecfd1746257f3a59daf2b95b22761a9c9f095ee454"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BA: ClassTooLong \u2014 667 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 400 significant lines; this is 267 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"B4AShared/src/anywheresoftware/b4a/BA.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0161fa08bd6a619a0dd79d82c98df407851f74cacf9ea2905e640a4d672e144f"}},{"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: 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":"MethodTooLong: WebSocketReader.processData: MethodTooLong \u2014 processData 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_WebSocket/src/io/crossbar/autobahn/websocket/WebSocketReader.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4b88b2361f874a4ae6b2e293a7c1bdb4c2dac7f4e56367ff97a7ad3feba018"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ViewWrapper: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"B4AObjects/src/anywheresoftware/b4a/objects/ViewWrapper.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4ba74715e88d51abdfd4386d5a6e76ea8b386f70f1ed07016cc4935106f2ee"}},{"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: PagerSlidingTabStrip: 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_TabStripViewPager/src/com/astuetz/PagerSlidingTabStrip.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"684c773fcf371b66f0af7b8831d3cda0eb4920ba466a66a235a23efa647ac31b"}},{"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":"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":69}}}],"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: b4a/BA.java: FileTooLong \u2014 702 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: BA (56-963). 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":"B4AShared/src/anywheresoftware/b4a/BA.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43192f6d11e8364087fb6941ae935b3f253790fdd042df65081adb8d9f6d3f3"}},{"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":"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":"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":"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":"TooManyMethods: ActivityWrapper: 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":"B4AObjects/src/anywheresoftware/b4a/objects/ActivityWrapper.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a84703e19da3d01d7f1665464d8b89d226506454139f2181d9da913580691d"}},{"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":"ClassTooLong: Phone: ClassTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 119 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_Phone/src/anywheresoftware/b4a/phone/Phone.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf620040722774aff6e5933847dfa9cb0606d83fab300825767d43bd1faf54cd"}},{"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":"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":"TooManyMethods: OkHttpURLConnection: 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_OkHttp/src/okhttp3/internal/huc/OkHttpURLConnection.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb91ea92af65cabf9d7d5465830c99aea9085538a1156c771a6c759e20d5b15"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: B4XViewWrapper: ClassTooLong \u2014 467 significant lines (blank, comment-only and punctuation-only lines excluded), 79 methods. The bar is 400 significant lines; this is 67 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe373afedd7fe116cc5c6e38162f6bcefe754b3d3d20adb60ff5551685c5459"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RandomAccessFile: ClassTooLong \u2014 467 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 67 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d65365e502236688707c2c4ebaa96ff5046591e8374c82bee625b711028edaf"}},{"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: 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: 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":"FileTooLong: phone/Phone.java: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: Phone (65-1209). The bar is 500 significant lines; this is 63 over it, 1.13\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Phone/src/anywheresoftware/b4a/phone/Phone.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5773bde1a06f8f01aa43dc56005676eb97eba69e20c878dde1e649b2a0bed0"}},{"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":"TooManyMethods: File: 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":"B4AObjects/src/anywheresoftware/b4a/objects/streams/File.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d63a64d20f0a6820975c98bb195ccc1d1fe080a8c994c36a1b5da9289e7818e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CH34xSerialDevice: 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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d120676171d08c9c9789b29b6730ae0697730ad9b12159dda9a95d2bb6056d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: objects/B4XViewWrapper.java: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: B4XViewWrapper (85-842). The bar is 500 significant lines; this is 30 over it, 1.06\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_XUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc411fbd0d0e4952222941377c416ecae88bc24cd01ad6cc7ce8dfccc85f40a9"}},{"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":"ClassTooLong: FTDISerialDevice: ClassTooLong \u2014 419 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 19 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4229881d0a62a55d4b66eab6c3fbb9110b7e1c2e1b911b2ad0842ab8e1266bd"}},{"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: randomaccessfile/RandomAccessFile.java: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: RandomAccessFile (69-778). The bar is 500 significant lines; this is 9 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5086ec8542a63647612ef7e3799e9bed5aa5adddc3464349656b8bcae7cd3e"}},{"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 (29 shared lines): felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:275-337 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:256-304 \u2014 These two members are variants of one another: 29 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":"felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e30ab73aca0a69be1cc6b3674ac097f8e92ccd23cbdc68d296de24f947f77b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): Libs_Licensing/src/com/android/vending/licensing/util/Base64.java:197-236 | Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java:517-562 \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_Licensing/src/com/android/vending/licensing/util/Base64.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6634439c0c097d63828549f5221c44b6139cf34001d979141d35bffc5b1744"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:207-228 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:188-209 \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":"felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe1ac15219b43495d1c4f7c92a8b626d56344f16715633d0bb8aa48e0fd9c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java:64-104 | felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java:273-310 | felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:365-392 | felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:523-560 | felUsbSerial/src/com/felhr/usbserial/CP2130SpiDevice.java:193-219 | felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java:430-476 | felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java:310-367 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:76-125 \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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9999a088bddff2deaf62e26050623e63af33b1b51ac72426d7dd82742619ab"}},{"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 (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_UsbSerial/src/com/hoho/android/usbserial/driver/ProlificSerialDriver.java:410-471 | Libs_UsbSerial/src/com/hoho/android/usbserial/util/HexDump.java:116-125 | felUsbSerial/src/com/felhr/usbserial/CP2130SpiDevice.java:133-145 | felUsbSerial/src/com/felhr/usbserial/CP2130SpiDevice.java:149-163 \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_UsbSerial/src/com/hoho/android/usbserial/driver/ProlificSerialDriver.java"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"0198ad92e254f57fd0ed5bf55dcf4738f974c9de2fea9b3ddad52733d1c8f6fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java:142-162 | felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java:140-162 | felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:181-203 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:162-184 \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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"780eef5a63901b3a9f096ad0b2be4e25dd47051bf85fb6b6b7117e1f5235a492"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): B4AObjects/src/anywheresoftware/b4a/objects/TextViewWrapper.java:79-104 | B4AObjects/src/anywheresoftware/b4a/objects/ViewWrapper.java:352-384 \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":"B4AObjects/src/anywheresoftware/b4a/objects/TextViewWrapper.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f04d78beb3b5ff4bc6fbb97f84372f0ecdd3222a9d030d271299fae2033781"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): B4AObjects/src/anywheresoftware/b4a/objects/ViewWrapper.java:444-463 | Libs_XUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java:154-183 \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":"B4AObjects/src/anywheresoftware/b4a/objects/ViewWrapper.java"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b508ea9c5caecde9264d060abfb267be89d80d83f3fb2da352447c26ba9bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java:217-257 | felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java:293-334 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f48416d499d68905dd6f666b6cf950ec6d520ee480f42e73523117c9b9ffcdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Libs_SQL/src/anywheresoftware/b4a/sql/SQL.java:190-220 | Libs_SQLCipher/src/anyhwheresoftware/b4a/objects/sqlcipher/SQLCipher.java:201-231 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_SQL/src/anywheresoftware/b4a/sql/SQL.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04f96888e49c3c631553a7f814ef82a09fb934b86aa012d50569ad8d08d1e64"}},{"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 (30 corresponding lines): Libs_Phone/src/anywheresoftware/b4a/phone/Contacts2Wrapper.java:98-127 | Libs_Phone/src/anywheresoftware/b4a/phone/ContactsWrapper.java:91-120 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Phone/src/anywheresoftware/b4a/phone/Contacts2Wrapper.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfef0563f253ef3663444d0c8e7ea7c0da22631dbc9da899135d6e1d29d4e9c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Libs_SQL/src/anywheresoftware/b4a/sql/SQL.java:195-216 | Libs_SQLCipher/src/anyhwheresoftware/b4a/objects/sqlcipher/SQLCipher.java:206-227 \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_SQL/src/anywheresoftware/b4a/sql/SQL.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5198f4b5fc5ef41af9b89bed153936946f774a820294a665d71526ed6d08e21e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Libs_Phone/src/anywheresoftware/b4a/phone/CallLogWrapper.java:88-114 | Libs_Phone/src/anywheresoftware/b4a/phone/ContactsWrapper.java:132-157 \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_Phone/src/anywheresoftware/b4a/phone/CallLogWrapper.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"973732f051d8b9dffb5ef501771a30b5ec0be231b1dc2dbd4d18817bc01b9471"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Libs_SQL/src/anywheresoftware/b4a/sql/SQL.java:142-172 | Libs_SQLCipher/src/anyhwheresoftware/b4a/objects/sqlcipher/SQLCipher.java:153-183 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_SQL/src/anywheresoftware/b4a/sql/SQL.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63ee40d7daab9c54f982c647eb797215f1b39969d03f17643a6748199c0d10b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): Libs_AdMob/src/anywheresoftware/b4a/admobwrapper/AdViewWrapper.java:97-128 | Libs_FirebaseAdMob/src/anywheresoftware/b4a/admobwrapper/AdViewWrapper.java:106-135 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_AdMob/src/anywheresoftware/b4a/admobwrapper/AdViewWrapper.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f70abf12f7a4e3ca0e3b4b499df2ad7ce8b199f117cfc0e13097288fb11108"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Libs_JSON/src/anywheresoftware/b4a/objects/collections/JSONParser.java:184-212 | Libs_JSON/src/anywheresoftware/b4a/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/b4a/objects/collections/JSONParser.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cf0f71a97ff2bb070002d61569b246ef79d8bc75e01399d53a0faa581ddcf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Ch34xSerialDriver.java:236-296 | Libs_UsbSerial/src/com/hoho/android/usbserial/driver/FtdiSerialDriver.java:232-288 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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_UsbSerial/src/com/hoho/android/usbserial/driver/Ch34xSerialDriver.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3484c6b4d80e7e55004b4c3c96cba0537e3796807a60bfad46be79b6ddc77d"}},{"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 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 (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 (20 corresponding lines): B4AObjects/src/anywheresoftware/b4a/objects/HorizontalScrollViewWrapper.java:94-114 | B4AObjects/src/anywheresoftware/b4a/objects/ScrollViewWrapper.java:101-120 \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":"B4AObjects/src/anywheresoftware/b4a/objects/HorizontalScrollViewWrapper.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"39626e6b73aa809fe0a0a30b32c284193be3d9563bfa8cbd43fb17d301424af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java:140-175 | felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java:210-252 \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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe74e13a557193b6e01d0db273781f7ca0d74e5fbf1870ebe7152a5b675a7eef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Libs_Network/src/anywheresoftware/b4a/objects/SocketWrapper.java:257-289 | Libs_WebSocket/src/io/crossbar/autobahn/websocket/WebSocketConnection.java:409-439 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Network/src/anywheresoftware/b4a/objects/SocketWrapper.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"7244e4277e2219961a3f37c28828a5905c51f1f6ebc83b001ee4310b51cd530c"}},{"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 (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 (16 corresponding lines): Libs_B4XEncryption/src/anywheresoftware/b4a/object/B4XEncryption.java:53-68 | Libs_B4XEncryption/src/anywheresoftware/b4a/object/B4XEncryption.java:72-92 \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_B4XEncryption/src/anywheresoftware/b4a/object/B4XEncryption.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c923a7d33057149b580391b9db38ba36dcfc96fc23427a5ea78e3fad5da11f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Libs_SQL/src/anywheresoftware/b4a/sql/SQL.java:149-168 | Libs_SQLCipher/src/anyhwheresoftware/b4a/objects/sqlcipher/SQLCipher.java:160-179 \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_SQL/src/anywheresoftware/b4a/sql/SQL.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"048e47a476d2f80bb1483b00cca427119ec4623303cfd2be5c138d3aa56bc751"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Libs_DJI/src/anywheresoftware/b4a/objects/HotpointMissionOperatorWrapper.java:25-49 | Libs_DJI/src/anywheresoftware/b4a/objects/WaypointMissionOperatorWrapper.java:30-67 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_DJI/src/anywheresoftware/b4a/objects/HotpointMissionOperatorWrapper.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"80043307e3e9fb2f9559c4eca47520bc561fecf7e0f5a63f2f57ab98db470748"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Libs_Phone/src/anywheresoftware/b4a/phone/ContactsWrapper.java:252-266 | Libs_Phone/src/anywheresoftware/b4a/phone/ContactsWrapper.java:271-284 \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_Phone/src/anywheresoftware/b4a/phone/ContactsWrapper.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43d7bd8cdf6535f7b6ef49782b9a5af56e15cadee2848498abe1daf79a96c77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): B4AShared/src/anywheresoftware/b4a/BA.java:325-350 | B4AShared/src/anywheresoftware/b4a/BA.java:354-386 \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":"B4AShared/src/anywheresoftware/b4a/BA.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"93653a98774d472ece1b9d81a1f12408bab881463c5acd7a690fd6927a54f743"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Libs_Audio/src/anywheresoftware/b4a/audio/JetPlayerWrapper.java:72-88 | Libs_Audio/src/anywheresoftware/b4a/audio/SoundPoolWrapper.java:49-60 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Audio/src/anywheresoftware/b4a/audio/JetPlayerWrapper.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ccdafb39540d49a65655588dc5c2f57609b46e717d67ac6845eb6403509d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Libs_FirebaseStorage/src/anywheresoftware/b4x/objects/FirebaseStorageWrapper.java:157-176 | Libs_FirebaseStorage/src/anywheresoftware/b4x/objects/FirebaseStorageWrapper.java:180-201 \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_FirebaseStorage/src/anywheresoftware/b4x/objects/FirebaseStorageWrapper.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a162d6a55e3bb39e5ccedddb2e51bd9293e48b022c0f4328d04e4a9ad88bad28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Ch34xSerialDriver.java:341-351 | Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Cp21xxSerialDriver.java:290-300 | Libs_UsbSerial/src/com/hoho/android/usbserial/driver/FtdiSerialDriver.java:351-361 | Libs_UsbSerial/src/com/hoho/android/usbserial/driver/ProlificSerialDriver.java:527-537 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Ch34xSerialDriver.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"698617348b76126265043ba3005bd73a602a0485b9697ede13c95db4d91ee2d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Ch34xSerialDriver.java:83-105 | Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Cp21xxSerialDriver.java:129-151 \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_UsbSerial/src/com/hoho/android/usbserial/driver/Ch34xSerialDriver.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"664deb0d799d1552ba793494da1c827eeee155c837154db92a5a616bb85b374b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): B4AObjects/src/anywheresoftware/b4a/objects/TextViewWrapper.java:91-97 | B4AObjects/src/anywheresoftware/b4a/objects/ViewWrapper.java:370-377 \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":"B4AObjects/src/anywheresoftware/b4a/objects/TextViewWrapper.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b684f766ec1e11b75825624c1e593620711b78087523e5eb62d030282a5427"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Libs_Facebook/src/anywheresoftware/b4x/objects/FacebookSdkWrapper.java:156-174 | Libs_FirebaseAuth/src/anywheresoftware/b4a/objects/FirebaseAuthWrapper.java:158-178 \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_Facebook/src/anywheresoftware/b4x/objects/FacebookSdkWrapper.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"9179c201c680eaeb5eb8f51333c079d12c96b844af7b178c1d30e26dc69793f1"}},{"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 (20 corresponding lines): Libs_UsbSerial/src/anywheresoftware/b4a/objects/UsbSerial.java:293-312 | Libs_UsbSerial/src/anywheresoftware/b4a/objects/UsbSerial.java:321-342 \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_UsbSerial/src/anywheresoftware/b4a/objects/UsbSerial.java"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8d2f2c472aba342df6149e3f58810c863b8930910311bdd02c6e818683bbaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_Phone/src/anywheresoftware/b4a/phone/Contacts2Wrapper.java:254-264 | Libs_Phone/src/anywheresoftware/b4a/phone/Contacts2Wrapper.java:266-276 \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_Phone/src/anywheresoftware/b4a/phone/Contacts2Wrapper.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37c7548e4de4ab3abf4105b5b4a377fe07dc6a5dbc8d25791a90134de60e722"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): B4AObjects/src/anywheresoftware/b4a/objects/ButtonWrapper.java:93-107 | B4AObjects/src/anywheresoftware/b4a/objects/LabelWrapper.java:32-44 \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":"B4AObjects/src/anywheresoftware/b4a/objects/ButtonWrapper.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a720d42b61a8bc0c4ab23e5c2fbc3ac14f19606d5cf3ce10e1752a9941bab670"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Libs_JSON/src/anywheresoftware/b4a/objects/collections/JSONParser.java:97-118 | Libs_JSON/src/anywheresoftware/b4a/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/b4a/objects/collections/JSONParser.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8456656da190ef02cce9da433917c9a03b569aa100969bce1905501a122c290"}},{"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 (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 copies of one member (3 members, 14\u002B corresponding lines): Libs_Licensing/src/com/android/vending/licensing/AESObfuscator.java:55-70 | Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java:392-406 | Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java:455-468 \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_Licensing/src/com/android/vending/licensing/AESObfuscator.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9b3ab3063fbcc5f30bfd87248629b8863f11f63f5f9b3abd6d3d48efaa1080"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Libs_BLE2/src/anywheresoftware/b4a/objects/BleManager2.java:204-224 | Libs_BLE2/src/anywheresoftware/b4a/objects/BleManager2.java:225-246 \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_BLE2/src/anywheresoftware/b4a/objects/BleManager2.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a182b2d6b562dc9cbf441bee030eebb1856e2a8a8888f7d529d2077abe89e66e"}},{"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 (25 corresponding lines): Libs_UsbSerial/src/anywheresoftware/b4a/objects/UsbSerial.java:228-252 | Libs_UsbSerial/src/anywheresoftware/b4a/objects/UsbSerial.java:258-282 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_UsbSerial/src/anywheresoftware/b4a/objects/UsbSerial.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf62281daa787f1a5193704dcd9ec6f6d39bb5027179aa91fa6028c7337d4ff"}},{"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 (24 corresponding lines): felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java:188-211 | felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java:190-215 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f2ee1811e2986871145ad66127b8a58139a5d6052a66227d32d34138efcece"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java:605-620 | Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java:657-671 \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":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"f525cdea9dc9a6d1b54a699a20ebe1cbe5a6fa795a38f2971f54dacc8f8e329e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): Libs_Phone/src/anywheresoftware/b4a/phone/Phone.java:1014-1031 | Libs_Phone/src/anywheresoftware/b4a/phone/Phone.java:1054-1071 | Libs_Phone/src/anywheresoftware/b4a/phone/Phone.java:1150-1168 \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_Phone/src/anywheresoftware/b4a/phone/Phone.java"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"412b65ae989b08d4d01c1575312b82a8269edacb83d49762f0bd535491569d2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:487-506 | B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:555-574 | B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:628-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 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":"B4AObjects/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"8881fdbc7381bac8da423cd908db09a49c60980aed15f769e7b03b20a3115a24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): Libs_ContentResolver/src/anywheresoftware/b4a/objects/ContentResolverWrapper.java:98-118 | Libs_ContentResolver/src/anywheresoftware/b4a/objects/ContentResolverWrapper.java:132-151 | Libs_ContentResolver/src/anywheresoftware/b4a/objects/ContentResolverWrapper.java:164-183 \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_ContentResolver/src/anywheresoftware/b4a/objects/ContentResolverWrapper.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8f46ebd6d9a2a4c2bc27825963eb142fec20ae00ddfa5e53be5eecbfdccbf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): B4AObjects/src/anywheresoftware/b4a/objects/ActivityWrapper.java:87-104 | B4AObjects/src/anywheresoftware/b4a/objects/PanelWrapper.java:43-60 | Libs_GameView/src/anywheresoftware/b4a/objects/GameViewWrapper.java:61-77 \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":"B4AObjects/src/anywheresoftware/b4a/objects/ActivityWrapper.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe05293e5c09a344926b8f26f116f0253c1548cfcea165f515d82df032134eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Libs_ViewsEx/src/anywheresoftware/b4a/objects/RatingBarWrapper.java:65-80 | Libs_ViewsEx/src/anywheresoftware/b4a/objects/SwitchWrapper.java:53-68 \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_ViewsEx/src/anywheresoftware/b4a/objects/RatingBarWrapper.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed069586bb2b25df674c62dd5982f63f522229b2c959ce383f636bc4d3829a1"}},{"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:549-563 \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":"df3e9ef13b7fa02992fa498d9e50ae3916ddf64f2e7cb7c29181d0ec04c2592a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java:129-138 | felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java:127-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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e07dfd5ddd698fdffb4a1cf4915f6dce682cec2213cc25bdf2caf61c96c6b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Libs_GooglePlayBilling/src/anywheresoftware/b4a/objects/BillingClientWrapper.java:217-228 | Libs_GooglePlayBilling/src/anywheresoftware/b4a/objects/BillingClientWrapper.java:236-248 \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_GooglePlayBilling/src/anywheresoftware/b4a/objects/BillingClientWrapper.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"3caaa50d19e68271859c0348b82ee6c47182ad218c525860a2e2b64cc25439d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java:621-638 | Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java:673-688 \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":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4e6cc4642b1c817a8d64a5a6879cefbfef704160b8e5d554f318c722db4c23"}},{"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 copies of one member (7 members, 9\u002B corresponding lines): B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:1348-1356 | B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:1358-1366 | B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:1368-1376 | B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:1378-1386 | B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:1388-1396 | B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:1398-1406 | B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:1408-1416 \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":"B4AObjects/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"2710d149bdb6c80496acc5451f17f6bfb17893b14eeaca3947ee1aa37b8ed413"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): Libs_GooglePlayBilling/src/anywheresoftware/b4a/objects/BillingClientWrapper.java:94-100 | Libs_GooglePlayBilling/src/anywheresoftware/b4a/objects/BillingClientWrapper.java:169-176 | Libs_GooglePlayBilling/src/anywheresoftware/b4a/objects/BillingClientWrapper.java:203-208 \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_GooglePlayBilling/src/anywheresoftware/b4a/objects/BillingClientWrapper.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a524850160f390db2dc81be42b243b5d368575477d0dee5bb7586591d96820"}},{"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 (8 corresponding lines): B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:1006-1013 | B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:1020-1029 \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":"B4AObjects/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"3235df77f27ce3886b898a06c816a2128c6caf431660238d1ccc6f506bec9ab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Libs_SQL/src/anywheresoftware/b4a/sql/SQL.java:101-112 | Libs_SQLCipher/src/anyhwheresoftware/b4a/objects/sqlcipher/SQLCipher.java:108-120 \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_SQL/src/anywheresoftware/b4a/sql/SQL.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6758d427fdfc6b30c34004bf29917a571fdf0183d745e8760ee520eddcca63e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:458-468 | felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:471-479 \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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"257bd2ca9740137f4317ef1dc2e3ff682908fc29dc0276db4bead2a25898850e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): B4AObjects/src/anywheresoftware/b4a/objects/streams/File.java:376-387 | B4AObjects/src/anywheresoftware/b4a/objects/streams/File.java:393-403 | B4AObjects/src/anywheresoftware/b4a/objects/streams/File.java:412-423 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"B4AObjects/src/anywheresoftware/b4a/objects/streams/File.java"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a779919ef9d99c2969db6ad5ace578731138ece03f4e96c736654563ba37c0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Libs_Camera2/src/anywheresoftware/b4a/objects/Camera2.java:386-396 | Libs_Camera2/src/anywheresoftware/b4a/objects/Camera2.java:400-410 \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_Camera2/src/anywheresoftware/b4a/objects/Camera2.java"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"663bf3ece62cc9c458bc860da40f777a19847a26d32f4f9995531473d710588b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Libs_GooglePlayBilling/src/anywheresoftware/b4a/objects/Checker.java:68-81 | Libs_Licensing/src/com/android/vending/licensing/LicenseChecker.java:107-123 \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_GooglePlayBilling/src/anywheresoftware/b4a/objects/Checker.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e285a1d9523afbeb964501429cc7f7fae224616287999c0928491d65e826f979"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): B4AObjects/src/anywheresoftware/b4a/objects/HorizontalScrollViewWrapper.java:49-60 | B4AObjects/src/anywheresoftware/b4a/objects/ScrollViewWrapper.java:56-67 \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":"B4AObjects/src/anywheresoftware/b4a/objects/HorizontalScrollViewWrapper.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76d806c0fbb79f39684387c14896963e091f0db58f9787b186a0e0ede52061d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/B4XSerializator.java:85-94 | Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/B4XSerializator.java:105-114 \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_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/B4XSerializator.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da331b9062564b5002a7117dedc8e95d0a45b8338a5ce14e552ad1b248f6bbe"}},{"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 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 (19 corresponding lines): Libs_OkHttp/src/okhttp3/internal/huc/OkHttpURLConnection.java:476-494 | Libs_OkHttp/src/okhttp3/internal/huc/OkHttpURLConnection.java:505-523 \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_OkHttp/src/okhttp3/internal/huc/OkHttpURLConnection.java"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc8def77b5c7b25fb8e5cc085657d1651da88e8647dbea182790c0bfbd0403e"}},{"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 (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 (19 corresponding lines): felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java:166-184 | felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java:166-186 \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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"92361e0ab20f48abe2c1ef6e8b2d110d8349917d5862dcaf2c42f055c9395a21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Cp2102SerialDriver.java:184-194 | felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:169-177 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:150-158 \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_UsbSerial/src/com/hoho/android/usbserial/driver/Cp2102SerialDriver.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52fdbec3bb0833c128b52983efbbf121d54709604623c6657415fa112f4a32a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): Libs_ContentResolver/src/anywheresoftware/b4a/objects/ContentResolverWrapper.java:102-115 | Libs_ContentResolver/src/anywheresoftware/b4a/objects/ContentResolverWrapper.java:136-148 | Libs_ContentResolver/src/anywheresoftware/b4a/objects/ContentResolverWrapper.java:168-180 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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_ContentResolver/src/anywheresoftware/b4a/objects/ContentResolverWrapper.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9091ee004e162b9486bb278fc1c2e28b5c0399809c54db70f90e3283a39f2908"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): B4AObjects/src/anywheresoftware/b4a/objects/SpinnerWrapper.java:99-111 | B4AObjects/src/anywheresoftware/b4a/objects/SpinnerWrapper.java:118-128 | B4AObjects/src/anywheresoftware/b4a/objects/SpinnerWrapper.java:138-149 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"B4AObjects/src/anywheresoftware/b4a/objects/SpinnerWrapper.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca96a45de8c6cf90c171958bb1d56352aeb2576a6e053f63824b3625c68c8eca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:114-139 | felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:104-130 \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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c444373b0a49d60e24d0064830f22961cdee59c6026523ab495fcc927b8544"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): B4AObjects/src/anywheresoftware/b4a/objects/drawable/CanvasWrapper.java:358-365 | B4AObjects/src/anywheresoftware/b4a/objects/drawable/CanvasWrapper.java:379-388 \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":"B4AObjects/src/anywheresoftware/b4a/objects/drawable/CanvasWrapper.java"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"592c3e4d5cbba595dacdbbaa3a7e6253ef94e711b95c79db966a1534e9c99d13"}},{"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 (8 members, 10\u002B corresponding lines): felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java:269-278 | felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java:313-322 | felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:556-565 | felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:568-577 | felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:583-592 | felUsbSerial/src/com/felhr/usbserial/CP2130SpiDevice.java:274-283 | felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java:479-488 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:355-364 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d191bf5f356f1419141d4981e66886018691e51d5b887c8604bf3532c43c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Cp21xxSerialDriver.java:118-126 | Libs_UsbSerial/src/com/hoho/android/usbserial/driver/FtdiSerialDriver.java:290-298 | Libs_UsbSerial/src/com/hoho/android/usbserial/driver/FtdiSerialDriver.java:406-414 \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_UsbSerial/src/com/hoho/android/usbserial/driver/Cp21xxSerialDriver.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"716c4f21e6056b1b7cd22114dd2b4fec08580523e57ba10658ebcddf5cde68f1"}},{"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_Phone/src/anywheresoftware/b4a/phone/Phone.java:540-552 | Libs_Phone/src/anywheresoftware/b4a/phone/Phone.java:557-566 \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_Phone/src/anywheresoftware/b4a/phone/Phone.java"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b521b21dfa2f1762893d90053e3ff76d37ff91606d122c7d2398280d46bd42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:610-615 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:367-372 \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":"felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1a492efb2965fb5aca69be21b466f4f699d964f0c407134d7de2085edb9386"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Libs_FirebaseNotifications/src/anywheresoftware/b4a/objects/FirebaseNotificationsService.java:199-208 | Libs_OkHttp/src/anywheresoftware/b4h/okhttp/OkHttpClientWrapper.java:606-613 \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_FirebaseNotifications/src/anywheresoftware/b4a/objects/FirebaseNotificationsService.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"602e34c3f88d42fae5b9d6d39147f6b3dd8659e478893c579f965357510e867a"}},{"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 (7 corresponding lines): Libs_Phone/src/anywheresoftware/b4a/phone/Contacts2Wrapper.java:82-88 | Libs_Phone/src/anywheresoftware/b4a/phone/ContactsWrapper.java:125-131 \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_Phone/src/anywheresoftware/b4a/phone/Contacts2Wrapper.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"03333f1fe48e19e71b90f4da20447b05b0a939a54b4b4365330d8d32d75f7e62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Libs_UsbSerial/src/com/hoho/android/usbserial/driver/ProlificSerialDriver.java:138-145 | Libs_UsbSerial/src/com/hoho/android/usbserial/driver/ProlificSerialDriver.java:147-153 \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_UsbSerial/src/com/hoho/android/usbserial/driver/ProlificSerialDriver.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"205aecdfa42640fd6a5f153882b54da05cfaddfa7181e886bb32ed1f1252d333"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): B4AObjects/src/anywheresoftware/b4a/objects/ImageViewWrapper.java:85-92 | B4AObjects/src/anywheresoftware/b4a/objects/ViewWrapper.java:113-118 \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":"B4AObjects/src/anywheresoftware/b4a/objects/ImageViewWrapper.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c1b249d4765a3484b31d97e51c60d748a427d282cc4eb1d0975994a0a285dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): B4AObjects/src/anywheresoftware/b4a/objects/HorizontalScrollViewWrapper.java:41-46 | B4AObjects/src/anywheresoftware/b4a/objects/ScrollViewWrapper.java:48-53 \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":"B4AObjects/src/anywheresoftware/b4a/objects/HorizontalScrollViewWrapper.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1540f47a643b150ef897c5a9728f65ad36e3523fd204ffa6fcf18a9376b24e46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Libs_AdMob/src/anywheresoftware/b4a/admobwrapper/AdViewWrapper.java:133-136 | Libs_FirebaseAdMob/src/anywheresoftware/b4a/admobwrapper/AdViewWrapper.java:140-143 \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_AdMob/src/anywheresoftware/b4a/admobwrapper/AdViewWrapper.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47a61b4d7590df7b0aefab3dd6c7271cc30c20f56c16fc6a85b2ca72a34f923"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Ch34xSerialDriver.java:378-385 | Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Cp21xxSerialDriver.java:324-333 | Libs_UsbSerial/src/com/hoho/android/usbserial/driver/FtdiSerialDriver.java:418-429 \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_UsbSerial/src/com/hoho/android/usbserial/driver/Ch34xSerialDriver.java"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"636b13f1811e98360c9a29b42758b0b8ecfa4abcd67b85dd4d6a0c10657dba7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:93-100 | felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java:105-114 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f6c919c00ccef4aaa863c98dba664711d48eaff604ad983e9b9c9e267e25ab"}},{"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 copy of a member (4 corresponding lines): Libs_IME/src/anywheresoftware/b4a/objects/IME.java:75-78 | Libs_Phone/src/anywheresoftware/b4a/phone/Phone.java:266-270 \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_IME/src/anywheresoftware/b4a/objects/IME.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba87b1c37bb879db73056b559b0542a32c95a4042af4581960178556e26d0d52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:662-675 | felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:506-519 \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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e58c8668487de5822415e193e7b02fcfcc3ccf852a2013771913dfb5c35f458"}},{"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, 3\u002B corresponding lines): Libs_DJI/src/anywheresoftware/b4a/objects/DJIFollowMeMissionOperatorWrapper.java:42-45 | Libs_DJI/src/anywheresoftware/b4a/objects/HotpointMissionOperatorWrapper.java:32-34 | Libs_DJI/src/anywheresoftware/b4a/objects/WaypointMissionOperatorWrapper.java:42-44 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_DJI/src/anywheresoftware/b4a/objects/DJIFollowMeMissionOperatorWrapper.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7749722641dc125ae5098e6705e4be4baac9448a1932493b91ada55220f02ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:233-269 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:214-250 \u2014 before extracting anything, compare \u0060felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java\u0060 and \u0060felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"2731e3f0356e394deae1e16e80c03f6ab59f6bf39654918c6bd4c549f9f569f0"}},{"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 (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 (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 (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 (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 (3\u201322 lines \u00D7 3): Libs_Licensing/src/com/android/vending/licensing/util/Base64.java:218-236 | Libs_Licensing/src/com/android/vending/licensing/util/Base64.java:320-322 | Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java:541-562 \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_Licensing/src/com/android/vending/licensing/util/Base64.java:218\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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_Licensing/src/com/android/vending/licensing/util/Base64.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"8696cb8c05bcbb8512a1b61bb4fdb783ab2e22dedc0f05b6798fc73fd027ca1a"}},{"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 (20\u201321 lines \u00D7 2): Libs_Network/src/anywheresoftware/b4a/objects/SocketWrapper.java:261-281 | Libs_WebSocket/src/io/crossbar/autobahn/websocket/WebSocketConnection.java:413-432 \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_Network/src/anywheresoftware/b4a/objects/SocketWrapper.java"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20dd12ec5e299560b04e864f7f0b182dfdb4b881ad3667feab741551b4021ff"}},{"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 (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): felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:182-200 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:163-181 \u2014 before extracting anything, compare \u0060felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java\u0060 and \u0060felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"930f488efe707de0292cc9c2b35329efc9236cbb9b85faf1c9b83563fd041660"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:208-226 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:189-207 \u2014 before extracting anything, compare \u0060felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java\u0060 and \u0060felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bb34242d2926ba1850bae23fdfe22520a5d78b4bc1f47191e7fb2560f21806"}},{"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): felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java:189-206 | felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java:191-208 \u2014 before extracting anything, compare \u0060felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java\u0060 and \u0060felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java:189\u0060 it does not close everything it opens, so those exact 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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20477d9f45fc81bab622ce76a03a9802e6a4f3810e58446131ade331aab9984"}},{"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 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): felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:507-523 | felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:527-543 \u2014 both copies are in the same file, so extract the block 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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f3c6c3853d65612040789b32677742274933eab000ea76f8d49fbcfff506f2"}},{"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 (15\u201316 lines \u00D7 2): felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:450-465 | felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java:553-567 \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":"felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0aba0fd67ed46be8308a80b9922db7d9525331a866da87b069f7c42d22b011f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 7): felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java:274-288 | felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:366-380 | felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:524-538 | felUsbSerial/src/com/felhr/usbserial/CP2130SpiDevice.java:194-208 | felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java:431-445 | felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java:311-325 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:82-96 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 7 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java:274\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f41608ad457970dca221e136bd9116fb5bca354b9b28e374a32469912c997a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java:144-158 | felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:185-199 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:166-180 \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 \u0060felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java:144\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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e964a642306b02d6037a9b0c099e6304a976bec1c329cad0a0808f158b5bb304"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): B4AObjects/src/anywheresoftware/b4a/objects/PanelWrapper.java:46-60 | Libs_GameView/src/anywheresoftware/b4a/objects/GameViewWrapper.java:64-77 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060B4AObjects/src/anywheresoftware/b4a/objects/PanelWrapper.java:46\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"B4AObjects/src/anywheresoftware/b4a/objects/PanelWrapper.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2036920eb3d75f2c2d25d1b2bb08ee9d603010f588eff9370171c6cfc121fdb1"}},{"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_OkHttp/src/okhttp3/internal/huc/OkHttpURLConnection.java:477-491 | Libs_OkHttp/src/okhttp3/internal/huc/OkHttpURLConnection.java:506-520 \u2014 both copies are in the same file, so extract the block 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_OkHttp/src/okhttp3/internal/huc/OkHttpURLConnection.java"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84874459b04c0c849fed73ecad057ca8d5031c6349b1d3fce26f869bf141eb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Libs_Phone/src/anywheresoftware/b4a/phone/Contacts2Wrapper.java:111-125 | Libs_Phone/src/anywheresoftware/b4a/phone/ContactsWrapper.java:104-118 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Phone/src/anywheresoftware/b4a/phone/Contacts2Wrapper.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b3cdb6077eda101062dc9bee32591328247070613e5af67c2da4b94f53c586"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Libs_Phone/src/anywheresoftware/b4a/phone/Phone.java:1015-1029 | Libs_Phone/src/anywheresoftware/b4a/phone/Phone.java:1055-1069 \u2014 both copies are in the same file, so extract the block 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_Phone/src/anywheresoftware/b4a/phone/Phone.java"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5c710600dbda60864828400ad336901689b590cd3d0558fbe82a63050a326f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Libs_SQL/src/anywheresoftware/b4a/sql/SQL.java:192-206 | Libs_SQLCipher/src/anyhwheresoftware/b4a/objects/sqlcipher/SQLCipher.java:203-217 \u2014 before extracting anything, compare \u0060Libs_SQL/src/anywheresoftware/b4a/sql/SQL.java\u0060 and \u0060Libs_SQLCipher/src/anyhwheresoftware/b4a/objects/sqlcipher/SQLCipher.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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_SQL/src/anywheresoftware/b4a/sql/SQL.java:192\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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_SQL/src/anywheresoftware/b4a/sql/SQL.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7761b3e60fef51576616db34b2b6e5a34361f168273c64eae8b6845e04868a"}},{"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 4): felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java:144-157 | felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java:142-155 | felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:183-196 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:164-177 \u2014 before extracting anything, compare \u0060felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java\u0060 and \u0060felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java:144\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3623270295b949716fb54985e9b1b07752bf4f8726c35d91752dacac004376a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:493-506 | B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:561-574 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:493\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact 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, \u0060B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:560\u0060 calls \u0060dismiss\u0060 and \u0060B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:492\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":"B4AObjects/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"767fcb6533af696891d9227dea3bc96fb4c85a1163964d2f4712b54dc052b698"}},{"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 (14 lines \u00D7 2): Libs_UsbSerial/src/com/hoho/android/usbserial/driver/CommonUsbSerialPort.java:214-227 | Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Cp2102SerialDriver.java:153-166 \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_UsbSerial/src/com/hoho/android/usbserial/driver/CommonUsbSerialPort.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_UsbSerial/src/com/hoho/android/usbserial/driver/CommonUsbSerialPort.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c6962ff4f43b6235dbe71563d73c9d49e22d8ba90479aac426b1515f43a407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): felUsbSerial/src/com/felhr/usbserial/UsbSerialDevice.java:348-361 | felUsbSerial/src/com/felhr/usbserial/UsbSpiDevice.java:142-155 \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 \u0060felUsbSerial/src/com/felhr/usbserial/UsbSerialDevice.java:348\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/usbserial/UsbSerialDevice.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d420588985090de8415e7c2e06e6b0b6c17403a051816aa7da46a9e9232722"}},{"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 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 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 2): B4AObjects/src/anywheresoftware/b4a/keywords/LayoutBuilder.java:272-283 | B4AObjects/src/anywheresoftware/b4a/keywords/LayoutBuilder.java:296-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 \u0060B4AObjects/src/anywheresoftware/b4a/keywords/LayoutBuilder.java:272\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":"B4AObjects/src/anywheresoftware/b4a/keywords/LayoutBuilder.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff77975ccd8ec46e1ec81139b7d2a688b3db52895ce5f0b1f71495da59d60c6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Libs_ContentResolver/src/anywheresoftware/b4a/objects/ContentResolverWrapper.java:140-151 | Libs_ContentResolver/src/anywheresoftware/b4a/objects/ContentResolverWrapper.java:172-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_ContentResolver/src/anywheresoftware/b4a/objects/ContentResolverWrapper.java:140\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_ContentResolver/src/anywheresoftware/b4a/objects/ContentResolverWrapper.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e54649e45b978fa7fb0dc1c256dc34ed5f31f560717d9be4c44c22891f63ff"}},{"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 (12 lines \u00D7 2): Libs_SQL/src/anywheresoftware/b4a/sql/SQL.java:146-157 | Libs_SQLCipher/src/anyhwheresoftware/b4a/objects/sqlcipher/SQLCipher.java:157-168 \u2014 before extracting anything, compare \u0060Libs_SQL/src/anywheresoftware/b4a/sql/SQL.java\u0060 and \u0060Libs_SQLCipher/src/anyhwheresoftware/b4a/objects/sqlcipher/SQLCipher.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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_SQL/src/anywheresoftware/b4a/sql/SQL.java:146\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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_SQL/src/anywheresoftware/b4a/sql/SQL.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f507487a3cc07edbaa81987d6dc25b33f4272e5cbee3dcee46f3c7201184897b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Libs_SQL/src/anywheresoftware/b4a/sql/SQL.java:268-279 | Libs_SQLCipher/src/anyhwheresoftware/b4a/objects/sqlcipher/SQLCipher.java:281-292 \u2014 before extracting anything, compare \u0060Libs_SQL/src/anywheresoftware/b4a/sql/SQL.java\u0060 and \u0060Libs_SQLCipher/src/anyhwheresoftware/b4a/objects/sqlcipher/SQLCipher.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_SQL/src/anywheresoftware/b4a/sql/SQL.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"3156c362556eeea5ce3a9a626fb1391efabf8b991a224a5766bfabe320ef023b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:402-413 | felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:423-434 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:402\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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d88773803cc03df70823d9073782376c4d56400ad0943a9dd5a2d8222d94043"}},{"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 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_UsbSerial/src/com/hoho/android/usbserial/driver/Cp2102SerialDriver.java:101-111 | Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Cp21xxSerialDriver.java:139-149 \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_UsbSerial/src/com/hoho/android/usbserial/driver/Cp2102SerialDriver.java:101\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_UsbSerial/src/com/hoho/android/usbserial/driver/Cp2102SerialDriver.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db4b982b7fcec05c9d7454ab5d6d6166523c0ebda9553722d845436db589bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java:81-90 | felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:537-546 | felUsbSerial/src/com/felhr/usbserial/CP2130SpiDevice.java:207-216 | felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java:444-453 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:95-104 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce37a83ae18506575dc9f4056b1580c1e5de33fd350579f32acab8da668496b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Libs_BLE2/src/anywheresoftware/b4a/objects/BleManager2.java:99-107 | Libs_Serial/src/anywheresoftware/b4a/objects/Serial.java:348-357 \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_BLE2/src/anywheresoftware/b4a/objects/BleManager2.java:99\u0060 it does not close everything it opens, so those exact 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_BLE2/src/anywheresoftware/b4a/objects/BleManager2.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff43c03457a93d33cca19f84d0c65f7f39f50bbecd252dc44c1a85de4f2ff427"}},{"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 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 (10 lines \u00D7 3): Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Ch34xSerialDriver.java:92-101 | Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Cp2102SerialDriver.java:100-109 | Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Cp21xxSerialDriver.java:138-147 \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_UsbSerial/src/com/hoho/android/usbserial/driver/Ch34xSerialDriver.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95bb0ac652cae50a6370e2f36f41ad90a1c42ef322508e957f3999c0f21762c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Libs_AdMob/src/anywheresoftware/b4a/admobwrapper/AdViewWrapper.java:98-106 | Libs_FirebaseAdMob/src/anywheresoftware/b4a/admobwrapper/AdViewWrapper.java:107-115 \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_AdMob/src/anywheresoftware/b4a/admobwrapper/AdViewWrapper.java:98\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_AdMob/src/anywheresoftware/b4a/admobwrapper/AdViewWrapper.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"90758a845bb3b18f4f13cf2c596ad69746f179131bb7061bfa8d54e7f0aceadd"}},{"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_Phone/src/anywheresoftware/b4a/phone/Phone.java:609-617 | Libs_Phone/src/anywheresoftware/b4a/phone/Phone.java:623-631 \u2014 both copies are in the same file, so extract the block 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_Phone/src/anywheresoftware/b4a/phone/Phone.java"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b70eacb3469d2feb3891bd625cac2311fcf6f88b01b915589a177f7d448ea37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 7): felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java:79-86 | felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java:285-291 | felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:377-383 | felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:535-542 | felUsbSerial/src/com/felhr/usbserial/CP2130SpiDevice.java:205-212 | felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java:442-449 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:93-100 \u2014 before extracting anything, compare \u0060felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java\u0060 and \u0060felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java:79\u0060 it does not close everything it opens, so those exact 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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd96e35a86e822a563acce25ab64cef6d3da406cd5c17331bf2e90ecab1a4b9d"}},{"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 (8 lines \u00D7 2): B4AObjects/src/anywheresoftware/b4a/keywords/LayoutBuilder.java:68-75 | B4AObjects/src/anywheresoftware/b4a/objects/RemoteViewsWrapper.java:41-48 \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 \u0060B4AObjects/src/anywheresoftware/b4a/keywords/LayoutBuilder.java:68\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"B4AObjects/src/anywheresoftware/b4a/keywords/LayoutBuilder.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c709a8bb94cb811e0f7ff3f266367c52deb8a772ae4543ecff3f7196ef36b450"}},{"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_StringUtils/src/anywheresoftware/b4a/objects/StringUtils.java:188-195 | Libs_StringUtils/src/anywheresoftware/b4a/objects/StringUtils.java:278-285 \u2014 both copies are in the same file, so extract the block 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":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcdb1ba727aa05b4932d1d936beef68e7b1bdee87fa1a16d86ae6390a13f126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Libs_UsbSerial/src/anywheresoftware/b4a/objects/UsbSerial.java:294-301 | Libs_UsbSerial/src/anywheresoftware/b4a/objects/UsbSerial.java:322-329 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_UsbSerial/src/anywheresoftware/b4a/objects/UsbSerial.java:294\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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_UsbSerial/src/anywheresoftware/b4a/objects/UsbSerial.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae81f09fba1d9b7f09a82b3607de2c1d285c9eb4a7bc4332255b72fff3251fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:318-330 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:285-297 \u2014 before extracting anything, compare \u0060felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java\u0060 and \u0060felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcff58e9564fecf597cc16da10a2e0ac25c25e1059fd42b04a96ffd332147cc"}},{"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 (9 lines \u00D7 2): B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:577-585 | B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:688-696 \u2014 both copies are in the same file, so extract the block 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":"B4AObjects/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"166f187eb883056ea0367389f57485b0f843cd66a646a5f91d63b7f503fb5b3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): B4AObjects/src/anywheresoftware/b4a/objects/CompoundButtonWrapper.java:71-78 | B4AObjects/src/anywheresoftware/b4a/objects/LabelWrapper.java:37-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060B4AObjects/src/anywheresoftware/b4a/objects/CompoundButtonWrapper.java:71\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"B4AObjects/src/anywheresoftware/b4a/objects/CompoundButtonWrapper.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad71fbbc6aead4e326e8f9d66a914373191af93a0c27e02cb9bc1d21b9d9c1f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): B4AObjects/src/anywheresoftware/b4a/objects/SimpleListAdapter.java:148-158 | B4AObjects/src/anywheresoftware/b4a/objects/SimpleListAdapter.java:172-182 \u2014 both copies are in the same file, so extract the block 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":"B4AObjects/src/anywheresoftware/b4a/objects/SimpleListAdapter.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85f4e4a69de864f776f8d4641ad02a58dc568edb3ea04cb9d9b7c95ff939d91"}},{"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 (8 lines \u00D7 2): Libs_Phone/src/anywheresoftware/b4a/phone/Contacts2Wrapper.java:174-181 | Libs_Phone/src/anywheresoftware/b4a/phone/ContactsWrapper.java:136-143 \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_Phone/src/anywheresoftware/b4a/phone/Contacts2Wrapper.java:174\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Phone/src/anywheresoftware/b4a/phone/Contacts2Wrapper.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ca0cbbf02476e0c0435ad15d6f08c768dafbe76c2f2072411e9726d70ea865"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_Phone/src/anywheresoftware/b4a/phone/Contacts2Wrapper.java:258-264 | Libs_Phone/src/anywheresoftware/b4a/phone/Contacts2Wrapper.java:270-276 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Libs_Phone/src/anywheresoftware/b4a/phone/Contacts2Wrapper.java:258\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact 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_Phone/src/anywheresoftware/b4a/phone/Contacts2Wrapper.java"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7edeee395ba084b8ca127af7d80611a8356d3da332d550a60a69c4d12b3fd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java:393-399 | Libs_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java:456-462 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java:393\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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_RandomAccessFile/src/anywheresoftware/b4a/randomaccessfile/RandomAccessFile.java"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"4995f21a8b901707ea5ac0c84eb42e5bcbc77207792a941fa782092a1461ff82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:461-468 | felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:472-479 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:461\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70c2d92334def51fe90265a89672faf1a130221d76e72ddabb26ba0a7cc14cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java:280-286 | felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java:324-330 \u2014 both copies are in the same file, so extract the block 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":"felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"781af09afbb4613e1f73d0d33e8993fd15c1fa5bae7479c8035f0ae0fd2afae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java:78-83 | felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java:284-289 | felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:376-381 | felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:534-539 | felUsbSerial/src/com/felhr/usbserial/CP2130SpiDevice.java:204-209 | felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java:441-446 | felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java:321-326 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:92-97 \u2014 before extracting anything, compare \u0060felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java\u0060 and \u0060felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java:78\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"34da593fd058aaed55602135a041bc86dbeeb3767eca62e867f8a0db95d2ed1e"}},{"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 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 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 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 (9 lines \u00D7 2): B4AObjects/src/anywheresoftware/b4a/objects/ViewWrapper.java:449-457 | Libs_XUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java:168-176 \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 \u0060B4AObjects/src/anywheresoftware/b4a/objects/ViewWrapper.java:449\u0060 it does not close everything it opens, so those exact 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_XUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java:167\u0060 calls \u0060SuppressWarnings\u0060 and \u0060B4AObjects/src/anywheresoftware/b4a/objects/ViewWrapper.java:448\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":"B4AObjects/src/anywheresoftware/b4a/objects/ViewWrapper.java"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a312567ddec1d2d32f3af18669445126e24c09a28ebc8bd3cc0953232fd9298a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Libs_B4XEncryption/src/anywheresoftware/b4a/object/B4XEncryption.java:58-63 | Libs_B4XEncryption/src/anywheresoftware/b4a/object/B4XEncryption.java:78-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/b4a/object/B4XEncryption.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"125df3262192e148e5f0c3a969a7d7564095645b37cbf373dedcd87ada2568e3"}},{"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 (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 (6 lines \u00D7 2): Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Cp2102SerialDriver.java:185-190 | Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Cp21xxSerialDriver.java:164-169 \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_UsbSerial/src/com/hoho/android/usbserial/driver/Cp2102SerialDriver.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0453327511288083f4695bc3f9cea554aab320b6ccf93b3cdf68a9b23126dc9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:276-281 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:257-262 \u2014 before extracting anything, compare \u0060felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java\u0060 and \u0060felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:276\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"706b56857995e4510cbd38f22e930e1c276450438ea9c17846a8788033f017cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 4): Libs_UsbSerial/src/com/hoho/android/usbserial/driver/ProlificSerialDriver.java:419-421 | Libs_UsbSerial/src/com/hoho/android/usbserial/util/HexDump.java:119-121 | felUsbSerial/src/com/felhr/usbserial/CP2130SpiDevice.java:135-140 | felUsbSerial/src/com/felhr/usbserial/CP2130SpiDevice.java:151-156 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060felUsbSerial/src/com/felhr/usbserial/CP2130SpiDevice.java:160\u0060 calls \u0060arraycopy\u0060 and \u0060felUsbSerial/src/com/felhr/usbserial/CP2130SpiDevice.java:144\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_UsbSerial/src/com/hoho/android/usbserial/driver/ProlificSerialDriver.java"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"4617bdac67ce6a5e30645dbda8ce9f902f06cdfd931212e896de6e727247c9c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java:336-341 | felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java:344-349 \u2014 both copies are in the same file, so extract the block 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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e18e430ac0c4028dd34e397349157615055fe062a77ad8a6997a6ffce8026f"}},{"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 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 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 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 (6 lines \u00D7 3): Libs_Phone/src/anywheresoftware/b4a/phone/CallLogWrapper.java:92-97 | Libs_Phone/src/anywheresoftware/b4a/phone/Contacts2Wrapper.java:174-179 | Libs_Phone/src/anywheresoftware/b4a/phone/ContactsWrapper.java:136-141 \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_Phone/src/anywheresoftware/b4a/phone/CallLogWrapper.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e9f5a89df79cd5657fe7d4e17f258c423d22458eef1e57807c40b626403858"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:263-267 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:272-276 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:281-285 \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 \u0060felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:263\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":"felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7937f654d0f006c88c42305b7d3c258c83cab4e53a9a495c18943db942fa83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Libs_Licensing/src/com/android/vending/licensing/util/Base64.java:212-216 | Libs_StringUtils/src/anywheresoftware/b4a/objects/Base64.java:534-539 \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_Licensing/src/com/android/vending/licensing/util/Base64.java:212\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Licensing/src/com/android/vending/licensing/util/Base64.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d73ed825e2fe32ca93173e16924958d60e71a03f20204ebd51dceb3af4b80b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java:130-134 | felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java:128-132 | felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java:123-125 \u2014 before extracting anything, compare \u0060felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java\u0060 and \u0060felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff261a129c39dc6f5daf2f76e9279e00c47254c1e73a98244aeaba7811f45e10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:288-292 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:267-271 \u2014 before extracting anything, compare \u0060felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java\u0060 and \u0060felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:288\u0060 it does not close everything it opens, so those exact 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":"felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"98572def96e8ebcc988a02588adccd07ccfa8297c85c2284267a2d27acab7608"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:303-307 | felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java:276-280 \u2014 before extracting anything, compare \u0060felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java\u0060 and \u0060felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:303\u0060 it does not close everything it opens, so those exact 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":"felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0e2f0c6c3aa0d5b770e618ba211f4ee04382dd0581639609a224500163dab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): B4AObjects/src/anywheresoftware/b4a/objects/HorizontalScrollViewWrapper.java:123-127 | B4AObjects/src/anywheresoftware/b4a/objects/ScrollViewWrapper.java:129-133 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"B4AObjects/src/anywheresoftware/b4a/objects/HorizontalScrollViewWrapper.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58e82a6c7f011cd0776a96ead8681f95976cdad9a85072a6c8e8d3accfae205"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): felUsbSerial/src/com/felhr/usbserial/UsbSerialDevice.java:307-313 | felUsbSerial/src/com/felhr/usbserial/UsbSpiDevice.java:104-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/usbserial/UsbSerialDevice.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f94a26134a4bffc687a43f0df10be05f36b545edd5d4f2f8708df2c373d79e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): felUsbSerial/src/com/felhr/usbserial/UsbSerialDevice.java:463-470 | felUsbSerial/src/com/felhr/usbserial/UsbSpiDevice.java:221-228 \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":"felUsbSerial/src/com/felhr/usbserial/UsbSerialDevice.java"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e936de5166d4f1299860994af24374d535c5ca931475b91f494936fc3773f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): B4AObjects/src/anywheresoftware/b4a/keywords/StringBuilderWrapper.java:91-99 | B4AObjects/src/anywheresoftware/b4a/objects/CSBuilder.java:249-257 \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":"B4AObjects/src/anywheresoftware/b4a/keywords/StringBuilderWrapper.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"39303ae2f6da87103a020a3887c3d0b1effb14390b734e9b7f69c3f03dfb110b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): B4AObjects/src/anywheresoftware/b4a/objects/CompoundButtonWrapper.java:59-65 | B4AObjects/src/anywheresoftware/b4a/objects/TextViewWrapper.java:142-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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"B4AObjects/src/anywheresoftware/b4a/objects/CompoundButtonWrapper.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"62842ef4fea3be424bc28bee1cf61108ac20ef91031abf45f632f4d4e0904351"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Libs_DJI/src/anywheresoftware/b4a/objects/DJIFollowMeMissionOperatorWrapper.java:53-59 | Libs_DJI/src/anywheresoftware/b4a/objects/HotpointMissionOperatorWrapper.java:54-60 | Libs_DJI/src/anywheresoftware/b4a/objects/WaypointMissionOperatorWrapper.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 all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_DJI/src/anywheresoftware/b4a/objects/DJIFollowMeMissionOperatorWrapper.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3c88870c0618e6f7471e439945cce1df1f5a728845c184732ce153a70cd948"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Cp21xxSerialDriver.java:29-35 | Libs_UsbSerial/src/com/hoho/android/usbserial/driver/FtdiSerialDriver.java:40-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Cp21xxSerialDriver.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"99dbb508ac4ca54b0ba9c4085f48369f901abda08ef9ac961377118d35faac55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): felUsbSerial/src/com/felhr/deviceids/CH34xIds.java:25-32 | felUsbSerial/src/com/felhr/deviceids/PL2303Ids.java:76-83 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/deviceids/CH34xIds.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d9a5e6167200f982dcf93a0b7f8cca5e9640a67cbfd9ac146fd5bc13dece80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): felUsbSerial/src/com/felhr/deviceids/CP210xIds.java:151-160 | felUsbSerial/src/com/felhr/deviceids/CP2130Ids.java:15-24 | felUsbSerial/src/com/felhr/deviceids/FTDISioIds.java:567-576 | felUsbSerial/src/com/felhr/deviceids/XdcVcpIds.java:24-33 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, 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, \u0060felUsbSerial/src/com/felhr/deviceids/CP210xIds.java:147\u0060 calls \u0060ConcreteDevice\u0060 and \u0060felUsbSerial/src/com/felhr/deviceids/FTDISioIds.java:563\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":"felUsbSerial/src/com/felhr/deviceids/CP210xIds.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dd3c5fd64853c474018dbd5284b42ece1c30995d2b61a8878d0a033120d9f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java:281-286 | felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java:325-330 \u2014 before extracting anything, compare \u0060felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java\u0060 and \u0060felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfce9813016cd4dd0fc52c31bc877c85978bd8df2824d713e33ebea4d1c90176"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java:67-90 | felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java:118-141 | felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java:65-88 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba366d7c22bb1e39de514b98fb9be49c3962d82a4b527e4b16e295c01337d8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java:104-115 | felUsbSerial/src/com/felhr/usbserial/FTDISerialDevice.java:156-167 | felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java:100-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 all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"838c348ba2ee6b4f15975f29f6e14f7b8534490c1d773dff6b723e6c14defcd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java:152-165 | felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.java:144-157 \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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8864abfab01e90dedc4c74da90176c826100be0fb81231abde88e08486172c2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): B4AObjects/src/anywheresoftware/b4a/objects/HorizontalScrollViewWrapper.java:99-104 | B4AObjects/src/anywheresoftware/b4a/objects/ScrollViewWrapper.java:106-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060B4AObjects/src/anywheresoftware/b4a/objects/HorizontalScrollViewWrapper.java:99\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"B4AObjects/src/anywheresoftware/b4a/objects/HorizontalScrollViewWrapper.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc6589dafc5f60376873cf0ba06f3bdd412f3f64a670234374f9efcdf99c91d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): B4AObjects/src/anywheresoftware/b4a/objects/TextViewWrapper.java:90-95 | B4AObjects/src/anywheresoftware/b4a/objects/ViewWrapper.java:369-374 \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 \u0060B4AObjects/src/anywheresoftware/b4a/objects/TextViewWrapper.java:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"B4AObjects/src/anywheresoftware/b4a/objects/TextViewWrapper.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"92529cd3f00bb2366be3087d8255f3ad2468582fa6d361fc9e334eb25f00cb38"}},{"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":"D6","level":"warning","message":{"text":"Low cohesion: IME (LCOM4 5): IME\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_IME/src/anywheresoftware/b4a/objects/IME.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d502d5740b594d5419573727121d3166bc833d99c411ace5256541dc4122d57"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UsbSerial (LCOM4 5): UsbSerial\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_UsbSerial/src/anywheresoftware/b4a/objects/UsbSerial.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2f7fa50009e2167e4515d9b24e59d4038ef92fd32e6a824fb52b0cf8dea6ae"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RingtoneManagerWrapper (LCOM4 5): RingtoneManagerWrapper\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_Phone/src/anywheresoftware/b4a/phone/RingtoneManagerWrapper.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d0f067fbcb8c72d719bf43774ab651709e5b2e148bad4a1e481c223f7de2d6"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (JUnit (with Kotest or MockK on Kotlin)), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aeb17362a57a80b3d427b23c5fd0563d03f9825ed68f414a4e00304b839ee8c"}},{"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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"da520c04a97f21188a45c5895e1481616f3a1151452f11ca9f3bafbcae21111e"}},{"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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"5897047f6e714cf73cad4e3a616234f84677fc826aad970f2eba624f06834b0a"}},{"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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf2c5897e4dd7fa583601c459034dbee4f4533ad4611164bee559e5c6f58d93"}},{"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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b96ea4b5ad45e828e0948ba9bffbf18c5144e5737c513309eb476f96dab126"}},{"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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2cb20e4b048470cf05fcd5acfb767c68eee25657193fcfa5676b39e7f85da8"}},{"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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce849db59f8405eaf6e51314575abece525e27ae2752c3e2c1b3e7884641a8d"}},{"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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba533e30a2b1b069de1f5ab5443cbaaa171282e57295491713099b4d2603358"}},{"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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7608aae5ce58bce256a2f3d98c9cf30cf9bb88d9f56ce744b58e81746e9eb6"}},{"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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7251e6002a57b46b3a3faf7d2dd4378fdde543599d8c246831ade1f5df2789"}},{"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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"bceffa3507b39dbc5c65b4124cb8ec6f67dfd51deeffeb19a65d723046767b4e"}},{"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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee55f91b289f039569908d7dfcbc291c1be8577418aa7560c40cc553b408cb3"}},{"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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"3945eecd87b7f7c46d9303bfade603657f40832099f9126cac0525ff30de1c74"}},{"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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f4a309dc20005f007b41cef83db58d51740f7cf1592fec9d9b18ff03bbc471"}},{"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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"826a29b43f432cc8b28f54e287bbb192429c701702047bde85934219f2ae846f"}},{"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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"742b752c5d40f696855297d1af753b90fe3c922158f2e3450ba764dda80cd87e"}},{"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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8b12e91be39ad3ee00733639ff5d31c4c2f18b7a8a574bf6c50496d5d4ed8f"}},{"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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fc935964cfbefd055226867524dea9219f93c5b74144b7495f46def8edca67"}},{"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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2ea4ce8a709a720e0d017e9ab4ce75564ab18a2624af8b3093e763eece123e"}},{"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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"59346610845b207487fd47e7b1ad6c3fca8d5ae737f93a04371d04e0d6c83465"}},{"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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f912de7cafb3bf1d0e93aa13d8bb70eb43e4c31add5f9fc9496ad73660c5b8"}},{"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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f70af77f117d55de56fec71570c0c1f85e23fa2aea95cf090fda5d34db8f8e"}},{"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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54d02cb94e42dd3c2335525c32816309776f8759a57ca20f7ac3d343dd08fc2"}},{"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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b6ee221e563b885326e7c794499c1b018f7378b4cfb5a1ccee8eddb05e8c0d"}},{"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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42c1ac75317d775665b8622c66d7d4a7c52fe33cb7bf37d14e380b8dd2ba909"}},{"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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad82556c6891fe9228668665149d166296ec17734795f5e4d1a23d38aa2d9d77"}},{"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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0955d04a0e4d3a0e6c38e2bdb7986314eb2468058cf6d3333eb4b0bc3174fb"}},{"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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b700cc6a88ecddb10b75d8fc192d9bc5471ef5a3b9919ae0fc58ccf7eb6437"}},{"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":"felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d785212945bd981b3a44c907f1e33a82c1a2329cb2b55507d074c958e6e4ed"}},{"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":"felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"2396c964fae2288bd0b9ea3cdc53c0276bcf25f482d6e36febf4d2643c8b8992"}},{"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":"felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7b875d97e3fd733ccf232e5751f03c4160694f60417a199ec2a6b6511734d8"}},{"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":"felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"7107a5f278f73edd36dc2ebf18ea1079af2596d226b18b42177757df92f12cce"}},{"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":"felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6804e7c3084cccc4be1a50b78ae6e3c623e38247834a9bb3b8e14f250b73dda"}},{"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":"felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"6552aeb5b964606220626d7a60382c2b4017370180de06f4b3e7617a040fbc06"}},{"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":"felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"b979096ad825f90623f9c54e4f48cb1c822935eb5d881f29818324b982923e02"}},{"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":"felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d22cdc84ab25e48501e525b1718c4174432fd44b622444d49b028f7b7bbec17"}},{"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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4fca97e387ddd7faab09a51e1002dd19de6107eb4b9ba75b575c337bed579b"}},{"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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a7193e2a38fc63c3c2ba053d2b04df6e0d9d2b7c907d86f4bbfbc926054912"}},{"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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9477212bec7103d45e4fdc952618182a27beed3d641f4d53da3ece0d3aaa708"}},{"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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae5ef825b40d12a4509b8dbbbcf3ac6fff5d1ecb8e65751c6b223767fe5accf"}},{"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_XUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"8460abfdc79839e4b1f6674f98c199b676524de3beea211d9771c7fb7b22e730"}},{"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_XUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f574d29b69d4b2f898369aca75b24c9cb1e946b73748a715042fbf960ac3058"}},{"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_XUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e1c965f992abbb8278bb17900d2dc2e23a4d7fd2c9228ef4177cbde967753e"}},{"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_DJI/src/anywheresoftware/b4a/objects/DJICameraWrapper.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8cb532a906caca58adbedbde7179ac8e8f7e72cdccfb6361cca7a1093fdc67f"}},{"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_DJI/src/anywheresoftware/b4a/objects/DJICameraWrapper.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8927378e888abdc3bd13ff1883e35b085d073b6b737f648428b999d4faac70f4"}},{"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_DJI/src/anywheresoftware/b4a/objects/DJISDKManagerWrapper.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08adac6604ed3dc9e8dc4aaee4c228edc550226896f03dad1e26c20d7bf16f8"}},{"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_DJI/src/anywheresoftware/b4a/objects/DJISDKManagerWrapper.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0da993bfd72cbcdd3568916d3b37c2d1eba7ba6c0172aaf931bd95cdaf720b1"}},{"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_DJI/src/anywheresoftware/b4a/objects/DJISDKManagerWrapper.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"75744e1947bd704d1a3280c1b0d38925144a829cac3d859211b234e86e3589e0"}},{"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":"B4AObjects/src/anywheresoftware/b4a/objects/SimpleListAdapter.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf971d4b28fecd9393d07e0ae9c698b4b034f18256deb1462ebb390da4fd9f9"}},{"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":"B4AObjects/src/anywheresoftware/b4a/objects/ViewWrapper.java"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d63f7b503ddd628aed8bf510da714d842f24e94b485ab1790afb810d61d122"}},{"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":"B4AObjects/src/anywheresoftware/b4a/objects/ViewWrapper.java"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde0416f948b10165e5458c4e0ee80386ccd0dbaa649a0b98944edc80b15052f"}},{"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":"B4AObjects/src/anywheresoftware/b4a/objects/ViewWrapper.java"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd100ef17d49425ddbe46a57b2003eded69820e36c7548723731c05f3fdb916"}},{"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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b635c9c5cfe04f589bfb16ad1f36190307cd0a1c2cc270a6af5244d7f97c39"}},{"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: Make this configurable? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_XMLBuilder/src/com/jamesmurty/utils/XMLBuilder.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcfe6cffec2873c62bacc4d5cca7948396ca9bc0140e150af4b00b760763717"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// \\todo refactor this for streaming processing, incl. fail fast on invalid UTF-8 within frame already"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_WebSocket/src/io/crossbar/autobahn/websocket/WebSocketReader.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"1078e582cf2319a74687d832572e55d76224c256ee59cc3e96c4e1306d12e898"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// \\todo process \u0026 verify handshake from server \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_WebSocket/src/io/crossbar/autobahn/websocket/WebSocketReader.java"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a6d22e6cd98267da745f36b6e4a6256dba9d064d7151ed4b0af3d93e4b322c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// \\todo forward subprotocol, if any \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_WebSocket/src/io/crossbar/autobahn/websocket/WebSocketReader.java"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"49204786f82a170ddbca4528fb77d310c87cd903951687f1861769992e720c6c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use utf-8 validator? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_WebSocket/src/io/crossbar/autobahn/websocket/WebSocketReader.java"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"851e3ebc30d409284681d5c0b2b93932db60e99d26570e9752aaf955e287dc5b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// \\todo optimize masking \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_WebSocket/src/io/crossbar/autobahn/websocket/WebSocketWriter.java"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"33aa8240cfffafb08f5e7d3f324c224a41baa08f24e666130d2b53aabd755e0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// \\todo masking within buffer of output stream \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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_WebSocket/src/io/crossbar/autobahn/websocket/WebSocketWriter.java"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b099156b418870126502a6f87545209231699b460ae8ac5640da9bb19bb13a8"}},{"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":"D17","level":"warning","message":{"text":"HackComment: //hack to ignore activity messages \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"B4AShared/src/anywheresoftware/b4a/Msgbox.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fcb303eb6f0a91dece978ec0ac4a3124952779771bcac40340a4439cb6948f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060CheckTABLE\u0060 spells \u0060TABLE\u0060 where 12 names in the project spell it \u0060Table\u0060: 12 of 13 names in project repository spell the token \u0060Table\u0060 (12 of 13; unit: names in project repository containing \u0060Table\u0060). Peers: LayoutBuilder.loadLayout(dynamicTable) (B4AObjects/src/anywheresoftware/b4a/keywords/LayoutBuilder.java:56); LayoutBuilder.loadLayoutHelper(dynamicTable) (B4AObjects/src/anywheresoftware/b4a/keywords/LayoutBuilder.java:324); org.w3c.tidy.AttributeTable (Libs_JTidy/src/org/w3c/tidy/AttributeTable.java:67); AttributeTable.getDefaultAttributeTable (Libs_JTidy/src/org/w3c/tidy/AttributeTable.java:429); org.w3c.tidy.EntityTable (Libs_JTidy/src/org/w3c/tidy/EntityTable.java:68). Rename to \u0060CheckTable\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_JTidy/src/org/w3c/tidy/TagCheckImpl.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e63729472f3e94a14c64fd24db69a7a3bc161ed129ac2cbe61a8c3730e1552"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060driverID\u0060 spells \u0060ID\u0060 where 120 names in the project spell it \u0060Id\u0060: 120 of 123 names in project repository spell the token \u0060Id\u0060 (120 of 123; unit: names in project repository containing \u0060Id\u0060). Peers: Common.IsBackgroundTaskRunning(TaskId) (B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:1420); 2.onEditorAction(actionId) (B4AObjects/src/anywheresoftware/b4a/objects/EditTextWrapper.java:105); RemoteViewsWrapper.getIdForView (B4AObjects/src/anywheresoftware/b4a/objects/RemoteViewsWrapper.java:94); SimpleListAdapter.getItemId (B4AObjects/src/anywheresoftware/b4a/objects/SimpleListAdapter.java:76); B4ASpinnerAdapter.getItemId (B4AObjects/src/anywheresoftware/b4a/objects/SpinnerWrapper.java:273). Rename to \u0060driverId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_UsbSerial/src/anywheresoftware/b4a/objects/UsbSerial.java"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca508c2cfa545263fa93f636a380cca6db35ba0129efecef6d9464f4a2440da"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060productID\u0060 spells \u0060ID\u0060 where 120 names in the project spell it \u0060Id\u0060: 120 of 123 names in project repository spell the token \u0060Id\u0060 (120 of 123; unit: names in project repository containing \u0060Id\u0060). Peers: Common.IsBackgroundTaskRunning(TaskId) (B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:1420); 2.onEditorAction(actionId) (B4AObjects/src/anywheresoftware/b4a/objects/EditTextWrapper.java:105); RemoteViewsWrapper.getIdForView (B4AObjects/src/anywheresoftware/b4a/objects/RemoteViewsWrapper.java:94); SimpleListAdapter.getItemId (B4AObjects/src/anywheresoftware/b4a/objects/SimpleListAdapter.java:76); B4ASpinnerAdapter.getItemId (B4AObjects/src/anywheresoftware/b4a/objects/SpinnerWrapper.java:273). Rename to \u0060productId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_UsbSerial/src/anywheresoftware/b4a/objects/UsbSerial.java"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"8497a489a114513debe15e623892dbdca097ae4adbdc16736ff883ec657af993"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060vendorID\u0060 spells \u0060ID\u0060 where 120 names in the project spell it \u0060Id\u0060: 120 of 123 names in project repository spell the token \u0060Id\u0060 (120 of 123; unit: names in project repository containing \u0060Id\u0060). Peers: Common.IsBackgroundTaskRunning(TaskId) (B4AObjects/src/anywheresoftware/b4a/keywords/Common.java:1420); 2.onEditorAction(actionId) (B4AObjects/src/anywheresoftware/b4a/objects/EditTextWrapper.java:105); RemoteViewsWrapper.getIdForView (B4AObjects/src/anywheresoftware/b4a/objects/RemoteViewsWrapper.java:94); SimpleListAdapter.getItemId (B4AObjects/src/anywheresoftware/b4a/objects/SimpleListAdapter.java:76); B4ASpinnerAdapter.getItemId (B4AObjects/src/anywheresoftware/b4a/objects/SpinnerWrapper.java:273). Rename to \u0060vendorId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_UsbSerial/src/anywheresoftware/b4a/objects/UsbSerial.java"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee1e606b97a2b4b64d197fc0d7544e7d3f27fd9e0db3daaac86afc9e7e87ea6"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060setDtrRts\u0060 spells \u0060Dtr\u0060 where 26 names in the project spell it \u0060DTR\u0060: 26 of 27 names in project repository spell the token \u0060DTR\u0060 (26 of 27; unit: names in project repository containing \u0060DTR\u0060). Peers: CdcAcmSerialPort.getDTR (Libs_UsbSerial/src/com/hoho/android/usbserial/driver/CdcAcmSerialDriver.java:243); CdcAcmSerialPort.setDTR (Libs_UsbSerial/src/com/hoho/android/usbserial/driver/CdcAcmSerialDriver.java:248); Ch340SerialPort.getDTR (Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Ch34xSerialDriver.java:314); Ch340SerialPort.setDTR (Libs_UsbSerial/src/com/hoho/android/usbserial/driver/Ch34xSerialDriver.java:319); CommonUsbSerialDriver.getDTR (Libs_UsbSerial/src/com/hoho/android/usbserial/driver/CommonUsbSerialDriver.java:127). Rename to \u0060setDTRRts\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_UsbSerial/src/com/hoho/android/usbserial/driver/CdcAcmSerialDriver.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"905f5667289fabc0c3af94497f500846cce90df76cc2675dc34c3bd304ef070b"}},{"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":"57b11e1abce467b94e18b5c1856b1aa89323f499be40a1db2a05ed647d325d3c"},"properties":{"commitSha":"4885d6b489111f2c87f03efd26abbdfd4486c93d"}},{"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":"0fd5ae037bf6406592f44292cf3dc322d9af5f18c80a50b6f095ff34db54271f"},"properties":{"commitSha":"4885d6b489111f2c87f03efd26abbdfd4486c93d"}},{"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":"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":"bea55e734563a2199598f673b7c656e95922c29d6bb82d698a7d5c55b5c9aecf"},"taxa":[{"id":"CWE-611","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":"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":"d65492ade05d06d798d29f863db1a623467a514f02039306665eef5aa65b934d"},"taxa":[{"id":"CWE-611","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":"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":"9ada77ae565f8948b09c4cf8e2226e4fd3a123a1fbb5bc5a4d58eb0c88452cad"},"taxa":[{"id":"CWE-611","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":"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":"b22a250cfe0b9e6d78d4866c0510b8161d9ea142e2009a519fd92397e478aeea"},"taxa":[{"id":"CWE-327","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":"03247121fffd1114e3574291a78f6c11f4126d9ea02bedcdbb823eef7681a9db"},"taxa":[{"id":"CWE-327","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":"24580a7ead839cf30061a6c4ae6ed4ccb0f71773e46112a4c9984f826183bb54"},"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":"dfc0a829d986778df77c187677ab47f2876ec7aa7351844cbbfc0b10dce35233"},"taxa":[{"id":"CWE-329","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":"42d95e6f022dc33c9f54e3581f255a31fe9679aa09e1fb5af8b8ea9dc534fd34"},"taxa":[{"id":"CWE-327","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":"1c5e2b983605eb3bfbd5480d1efdd6df880192938d0f7afd7d4b4a83a59e7e92"},"taxa":[{"id":"CWE-327","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":"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":"c12ee155fcbf23673b582f23d7a0ce71673e07f0c4286e423d8a406a288fbbc9"},"taxa":[{"id":"CWE-326","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":"71d4a6ebc65d2f6abe4633e4b6e78a8452aebd4c886f60dbb36af22df161f4b8"},"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":"beebd6133837bd10279a02aa2b1f3d9b85aa70162f9aa778296acd2043bb0071"},"taxa":[{"id":"CWE-329","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":"14da876599675cc62fccc9152396519d7d6255df0909428c0e99cafe9042a0b4"},"taxa":[{"id":"CWE-327","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":"16339ee7f725183b367148c84652bd957ee7cb33966248ad87cfccc5289590fb"},"taxa":[{"id":"CWE-327","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":"9b9003fa6b647fa29659d1ff60638b046458bee013669884bcbccbfb46237d98"},"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":"cc5a5a35be24d8303d299853668045a78699d278248d3c54370db6ff0999e093"},"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":"2cf87eba911d8b13439fc28ad593ae3d7a831297b116f2d1460c1a2a749ed12e"},"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":"cb53acbe43c1e6fd0ecb2ec8bb3999adf519fa66e9b64be8440a80eef0bd1e3c"},"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":"b5df27527b811cbdb8703f06f57b3dc1dc087684b56c063df17b8beff5a0893d"},"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":"57582490b8f542b7720f049ebbc2a97de10d6d6639136bb70d58cdf90d8a1864"},"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":"AX6","level":"note","message":{"text":"Fat interface: UsbSerialPort (24 abstract methods): \u0060UsbSerialPort\u0060 declares 24 abstract methods: \u0060close\u0060, \u0060getCD\u0060, \u0060getCTS\u0060, \u0060getControlLines\u0060, \u0060getDSR\u0060, \u0060getDTR\u0060, \u0060getDevice\u0060, \u0060getDriver\u0060, \u0060getPortNumber\u0060, \u0060getRI\u0060, \u0060getRTS\u0060, \u0060getReadEndpoint\u0060, \u0060getSerial\u0060, \u0060getSupportedControlLines\u0060, \u0060getWriteEndpoint\u0060, \u0060isOpen\u0060, \u0060open\u0060, \u0060purgeHwBuffers\u0060, \u0060read\u0060, \u0060setBreak\u0060, \u0060setDTR\u0060, \u0060setParameters\u0060, \u0060setRTS\u0060, \u0060write\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_UsbSerial/src/com/hoho/android/usbserial/driver/UsbSerialPort.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb871a1ab9cc76c382d1c6188a179e0c8f07f5986a00a95570605eff6e5698eb"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: UsbSerialInterface (21 abstract methods): \u0060UsbSerialInterface\u0060 declares 21 abstract methods: \u0060close\u0060, \u0060getBreak\u0060, \u0060getCTS\u0060, \u0060getDSR\u0060, \u0060getFrame\u0060, \u0060getOverrun\u0060, \u0060getParity\u0060, \u0060open\u0060, \u0060read\u0060, \u0060setBaudRate\u0060, \u0060setDTR\u0060, \u0060setDataBits\u0060, \u0060setFlowControl\u0060, \u0060setParity\u0060, \u0060setRTS\u0060, \u0060setStopBits\u0060, \u0060syncClose\u0060, \u0060syncOpen\u0060, \u0060syncRead\u0060, \u0060syncWrite\u0060, \u0060write\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"felUsbSerial/src/com/felhr/usbserial/UsbSerialInterface.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22e32efc035c730dd1e1e26c6c3800da52c0500ded5123b197bf596ac9ff663"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 returns a placeholder under a TODO marker: \u0060getItemId\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":"B4AObjects/src/anywheresoftware/b4a/objects/SimpleListAdapter.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22df8fc6ddd3d23c7f0b75d7936aa8535802b7bb265071740d227907e9aaa01"}},{"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 empty body under a TODO marker: \u0060setRTS\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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4665ddff08a1b46db9ae312c1bf5b6e437ec3ff94b63683fd188c9ec7f2a795"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060setDTR\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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa55f5e06e41da73c5e95eeda25ec967824d738a78f7501c8bed44f1dc31d948"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060setFlowControl\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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0455e10da9f872e257cf7a496de2b5035c68082de7b1fd6a1294e0efab8af79"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getCTS\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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5e9f85904f7bfd4c2e44b774b375746aadc2591126419bd598cad15265590f"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getDSR\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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac57d3c12b61d46574f4b1774ac6f77012384115cb2e7422407bb0a9b60da54"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getBreak\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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b39eb965b63ee0f3e5d0937f72d4c1f439c190a9423013ca44067179e7ebaef"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getFrame\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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe76679ba5decaca1c2814c73d1436bc3e847dd8310d640e0818be314b06795"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getOverrun\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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb229114046e9a516f005f0812d5c83af609d942857d2a98ce2469e17448313"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getParity\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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"019a62044ae17d02c5c18e696bce65863495aef9223fff02eb33b70aac3abd8b"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060setFlowControl\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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a63fff560f3379343482d9140523fd779ea4a681a35c26a91e2c942dc9df0b7"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060setRTS\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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fba934aa5a460b701fe4f8acf7fccff0eac879272ccc467e01fbefa5831ba7e"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060setDTR\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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"751ed657c2900d67a78212bc793e9f9978c4b29909eab21475a0776bffa4c4b5"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getCTS\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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"6546c5025aad5fcc0647cd1202f03e03b8ba6a7843cde69c623a9876bb6e8459"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getDSR\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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb286141960269c88d5d561ecd66db37b5e9e66494844497f2b8a7a64c42cc88"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getBreak\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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6bab77d466ac12793c495106f8f48d65fb021a048d7d376e17557383881af1"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getFrame\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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0561c65987c868f5716af9c131322d90a23a180e5514ace4da3cc5f532309b2d"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getOverrun\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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7f385d6ca6e2f1abecefd78dff2a286a6f686d3cf1c189314595166a0ec3cf"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getParity\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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a669470a7ced8e240b21c734e007f88a91e6ec9048d732414f969d3fa9769744"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060setDataBits\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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21cdc9f284b467cc9dcf638ea5363072a56e98645aeddfc1a036271f7e586bd"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060setStopBits\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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"213d4eb4918c7c1808ed096942faed3b67aa34a14e8b884f330c48f20d7d4fc1"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getBreak\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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3acff3e72b15542977d50d0b81a35d30693960582cddb37814cabc3a5a236a6"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getFrame\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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2b7deaffc510b03f03d61060a21f4df9c7a44963f2d8aebf97a31927acf332"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getOverrun\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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a879eb574b0a9e2e710a521dcca57ff0038ae68a5b6436a16f5a5f19d99af84"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getParity\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":"felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"009df95937925cf510d51797b150f1d3a8614fd549dfa53c4c6595188b530103"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060setFlowControl\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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7112d2340263d95ec6bf8fb9b201a6ffeabf004eb830838e06def804f1d49e3"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060setRTS\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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"679280cb6058c5a37550d7461005f9bdb941c82db3af8beb8a4148fce3c614ba"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060setDTR\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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"2644aab43b59ec67ee1c51fb26beccb6f35510a329fbe37094bbd1fa3925e601"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getCTS\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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bc826ed55521b13ff43b9fd4f68dab508fbaa50663b17e33ebfc7c91e8405b"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getDSR\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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"315038869ae1d0bc5bab96cad777906332252fe0bf71d40979b8e0766fdd800f"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getBreak\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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96f55f6302cfb529de7d0b769d02b057a65ed72e5fb91bb08d54fda6940687a"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getFrame\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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1786cd599e876147202cfabdec4441f627963e937372bf2c9f4259a91f02671"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getOverrun\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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b090f0f6195fa649e93b859c8b327d454ce62325c57c9a0c4b6b9db32a303091"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getParity\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":"felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aab8b806e70bb5107a07cfecbb539b721468ceb45f04fa71920b04be0a9eb9d"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060setRTS\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":"felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b22f96164ff68e0283968b1d90962d92bd4e626f488826631bc7ac6ecc7fe31"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060setDTR\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":"felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97b4a320846ca4c505987dc4364cdc91d9b2b4ff2de32d77354abec08bd813e"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getCTS\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":"felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c6410051434e5abd85e299e4d9f7eb502842bb14af0f74f4fd96f314f97de0"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getDSR\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":"felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c55a0646dc0b16a34b9e014b0050ff6077140df3c1ec913e15094763000de8"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getBreak\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":"felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0154b54d2c70b2c029f233db9b29c1bfe36889b029098e3e063e3562a0c9d50"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getFrame\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":"felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf97eee26ff227f3f4062511ac31a4773a239ff32a1f4542f17a827b47e02cf8"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getOverrun\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":"felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23a74d1e9da2e7bcfeb562866e0fd1bbc79ce1daa67e9057d9f52774786f64f"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 empty body under a TODO marker: \u0060getParity\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":"felUsbSerial/src/com/felhr/usbserial/XdcVcpSerialDevice.java"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db3a6e71aaeceaa01dda8adda30d9500897eb121d77d2477179cd95aae7606f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead branch \u2014 condition is always false: A branch guarded by a literal \u0060false\u0060 can never execute \u2014 left-over disabled code. Remove it or restore the real condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"B4AObjects/src/anywheresoftware/b4a/objects/PanelWrapper.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb21e3c1d5057e88d15fa58ababb08ef7c954bc43543f9494d374fbb3139cee"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060SetDataFolder\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_XUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.java"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"8daaadc7b101535c9c058944a94cb3dbbed760033451459a95fe825506129bd5"}},{"ruleId":"M1","level":"note","message":{"text":"Thin README: The root README is 38 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, 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":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"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":"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: \u0060android.os.Build.VERSION.SDK_INT \u003E= 11 \u0026\u0026 Duration \u003E 0\u0060 appears character-identically in 3 files \u2014 B4AObjects/src/anywheresoftware/b4a/objects/TextViewWrapper.java, B4AObjects/src/anywheresoftware/b4a/objects/ViewWrapper.java, Libs_XUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.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":"B4AObjects/src/anywheresoftware/b4a/objects/TextViewWrapper.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"27004fd61156d29d1ea0e703121d67c9f5005aa15969715637012e728656c1ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060android.os.Build.VERSION.SDK_INT \u003E= 11 \u0026\u0026 Duration \u003E 0 \u0026\u0026 pWidth \u003E= 0 \u0026\u0026 pHeight \u003E= 0\u0060 appears character-identically in 2 files \u2014 B4AObjects/src/anywheresoftware/b4a/objects/ViewWrapper.java, Libs_XUI/src/anywheresoftware/b4a/objects/B4XViewWrapper.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":"B4AObjects/src/anywheresoftware/b4a/objects/ViewWrapper.java"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"cece6c47c7ac854323dd1dbabf7403ab42e512cbd61c41048e5d48fc5a39a150"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dataBits \u003C DATABITS_5 || dataBits \u003E DATABITS_8\u0060 appears character-identically in 2 files \u2014 Libs_UsbSerial/src/com/hoho/android/usbserial/driver/CdcAcmSerialDriver.java, Libs_UsbSerial/src/com/hoho/android/usbserial/driver/ProlificSerialDriver.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_UsbSerial/src/com/hoho/android/usbserial/driver/CdcAcmSerialDriver.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddddc3ebca77ddbca5cdd4a0af8cbe3a47115e9fa60f0403cae60e99d7f84b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060endpoint.getType() == UsbConstants.USB_ENDPOINT_XFER_BULK \u0026\u0026 endpoint.getDirection() == UsbConstants.USB_DIR_IN\u0060 appears character-identically in 8 files \u2014 felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java, felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java, felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java, felUsbSerial/src/com/felhr/usbserial/CP2102SerialDevice.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":"felUsbSerial/src/com/felhr/usbserial/BLED112SerialDevice.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09ecd1ba530435692537c2fd63508de6b18916811267a646eff861ac5ce55de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060endpoint.getType() == UsbConstants.USB_ENDPOINT_XFER_BULK \u0026\u0026 endpoint.getDirection() == UsbConstants.USB_DIR_OUT\u0060 appears character-identically in 3 files \u2014 felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java, felUsbSerial/src/com/felhr/usbserial/CH34xSerialDevice.java, felUsbSerial/src/com/felhr/usbserial/PL2303SerialDevice.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":"felUsbSerial/src/com/felhr/usbserial/CDCSerialDevice.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a06920564782b7d1b45da71ca864fbfc6ab9bf9d93404f6e666505341315ed"}},{"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: \u0060rawDescriptors == null || rawDescriptors.length \u003C 14\u0060 appears character-identically in 2 files \u2014 Libs_UsbSerial/src/com/hoho/android/usbserial/driver/FtdiSerialDriver.java, Libs_UsbSerial/src/com/hoho/android/usbserial/driver/ProlificSerialDriver.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_UsbSerial/src/com/hoho/android/usbserial/driver/FtdiSerialDriver.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe407ba75a1d7301042cacedf94aa6bb53293a5ef213b0de1e335da027cd4bb8"}},{"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_UsbSerial/src/com/hoho/android/usbserial/driver/CdcAcmSerialDriver.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a106c6718bf4d48d2a084d8322dfca710bc4fb218b2922be598bdf880b4cd230"}},{"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_UsbSerial/src/com/hoho/android/usbserial/driver/Ch34xSerialDriver.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3168b1e8e4a473adaa298166c9d160a1d513e0575c9a07ffb14a96a328f5f1d1"}},{"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_UsbSerial/src/com/hoho/android/usbserial/driver/CommonUsbSerialPort.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c037be369cebd775f3634cf17a951ff9f32cabaca413d1c88490cf29e5e940"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_UsbSerial/src/com/hoho/android/usbserial/driver/CommonUsbSerialPort.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4f26349b0f0a55f0035a3984922ef5e48840d23675f794c5296f639e067dba"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_UsbSerial/src/com/hoho/android/usbserial/driver/CommonUsbSerialPort.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"20970ecc463e722d5944e51f797f72661375b6aec70604cddce7f0b7499986f2"}},{"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. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Libs_UsbSerial/src/com/hoho/android/usbserial/driver/CommonUsbSerialPort.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17120da4bd689c86a0d72481c313b3fa267794ae370fe086d209e25b8bdad26"}},{"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_UsbSerial/src/com/hoho/android/usbserial/driver/Cp21xxSerialDriver.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b97212f2735f68888f5cb7198c21cf07662a0ac4126d9b433c63442b9bd1cc9"}},{"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_UsbSerial/src/com/hoho/android/usbserial/driver/Cp21xxSerialDriver.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6db393e46e617cc624eae54128cade232864c6ca92c041bfc968bb254e78d85"}},{"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_UsbSerial/src/com/hoho/android/usbserial/driver/FtdiSerialDriver.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af539d6d4bb4d57fb75dea1aefb251b58ad89413b91700eb09d77a2e3fc455d"}},{"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_UsbSerial/src/com/hoho/android/usbserial/driver/ProlificSerialDriver.java"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"242f2ff7eadb9cba79aa87c7b25c7051b4ae49c68ea7ba4da966a0fd776262d9"}},{"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_UsbSerial/src/com/hoho/android/usbserial/driver/ProlificSerialDriver.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c11b670c49b95bb929d14f12ecb968f94bb9a7256cf1b65340dcd0263803e37"}},{"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":"B4AShared/src/anywheresoftware/b4a/Msgbox.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdc8a1bb728a5f07328b84034e709291a920d693ccaa95c97a94f7dbd81100b"}},{"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":"B4AObjects/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"8809d680a9cefbd4cbe45cc25237fdad21ac36d2606eae8b9e6978762b378258"}},{"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":"B4AObjects/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c58a7f238065e1960eb87ecc5f9546e3369683c872d832996ea19977ac0f90"}},{"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":"B4AObjects/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efeea5a51c40747917952fbd2f42d0f07b7a70b32482b76f48dcc3ed3430218"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/76 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":"B4AObjects/src/anywheresoftware/b4a/keywords/Common.java"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc78f54042b98d3e9facaaa2e5059b3094523d337e88790b63d7c1f94839aef"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetRawDescriptors\u0060 swallows every exception into \u0060return new byte[0]\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_USB/src/anywheresoftware/b4a/objects/usb/UsbDeviceConnectionWrapper.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"009286bbe82982a781923d051cfb929146eb6ab491fa69294ce64f3a6e03b1f4"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-326","guid":"7ee78bef-7589-f65f-a9d7-619f3485e844","name":"Inadequate Encryption Strength","shortDescription":{"text":"Inadequate Encryption Strength"},"helpUri":"https://cwe.mitre.org/data/definitions/326.html"},{"id":"CWE-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.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-329","guid":"5843702b-bc7d-5d56-8efd-957fc5e8d5c0","name":"Not Using a Random IV with CBC Mode","shortDescription":{"text":"Not Using a Random IV with CBC Mode"},"helpUri":"https://cwe.mitre.org/data/definitions/329.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-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"Improper Restriction of XML External Entity Reference","shortDescription":{"text":"Improper Restriction of XML External Entity Reference"},"helpUri":"https://cwe.mitre.org/data/definitions/611.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":27,"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."]}]}