{"$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":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"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":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"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":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"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":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"ResConfig.computeQualifiers (cyclomatic 94): ResConfig.computeQualifiers has cyclomatic complexity 94 (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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResConfig.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"170cb86ca044b6bbb6e85f011eeda2816e3506453a8c9d663f807777d6518266"}},{"ruleId":"D1","level":"warning","message":{"text":"YamlPullParser.nextLine (cyclomatic 52): YamlPullParser.nextLine has cyclomatic complexity 52 (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":"brut.j.yaml/src/main/java/brut/yaml/YamlPullParser.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ab23d31babda55bba84f6876cd2855dd9b338a3dff3d612532e01a0b1bfe91"}},{"ruleId":"D1","level":"warning","message":{"text":"SdkInfo.toSdkVersionInt (cyclomatic 45): SdkInfo.toSdkVersionInt has cyclomatic complexity 45 (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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/meta/SdkInfo.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"31be162ff3d8ae6811b1add8d776ae3181d53327f3009533f9b3ae46ab143076"}},{"ruleId":"D1","level":"warning","message":{"text":"YamlUtils.decodeString (cyclomatic 38): YamlUtils.decodeString has cyclomatic complexity 38 (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":"brut.j.yaml/src/main/java/brut/yaml/YamlUtils.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5a96c0703d1b7f89043eb54d31701c0b6d4b625c5d53ec2962a797eefe3eba"}},{"ruleId":"D1","level":"warning","message":{"text":"YamlUtils.encodeString (cyclomatic 36): YamlUtils.encodeString 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":"brut.j.yaml/src/main/java/brut/yaml/YamlUtils.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"98aec2389bd1c4104dd8168c8f79790f46f047159f6732f23c417b3089441fa2"}},{"ruleId":"D1","level":"warning","message":{"text":"TextUtils.parseFloatDec (cyclomatic 35): TextUtils.parseFloatDec 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":"brut.j.util/src/main/java/brut/util/TextUtils.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ded3c2f37f0ac42b77c0338873ba3e6e6d538acb6893e303b7c8904944ddedd"}},{"ruleId":"D1","level":"warning","message":{"text":"TextUtils.parseFloatHex (cyclomatic 35): TextUtils.parseFloatHex 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":"brut.j.util/src/main/java/brut/util/TextUtils.java"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a81612015bc80fb78d7b2d58059441b863d4b89f6929fc8bf85ffd9c29fb53"}},{"ruleId":"D1","level":"warning","message":{"text":"ZipUtils.normalizeForFs (cyclomatic 34): ZipUtils.normalizeForFs 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":"brut.j.zip/src/main/java/brut/zip/ZipUtils.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"674cd1f59341b49c8025f02811bd62994dd3512dce32017d1520aff49187c16f"}},{"ruleId":"D1","level":"warning","message":{"text":"Main.cmdDecode (cyclomatic 34): Main.cmdDecode has cyclomatic complexity 34 (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":"brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f511cdc8f3adcc805333ec9bd95d5ab591a87c9aff4156b64e1aee4e6c4f8a"}},{"ruleId":"D1","level":"warning","message":{"text":"BinaryXmlResourceParser.getAttributeValue (cyclomatic 28): BinaryXmlResourceParser.getAttributeValue has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryXmlResourceParser.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c192f759efed9718888b9022a0c531929340dee64cf9fc250cb594d0cbd5f5"}},{"ruleId":"D1","level":"warning","message":{"text":"ResStringEncoder.isAmbiguousString (cyclomatic 28): ResStringEncoder.isAmbiguousString has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResStringEncoder.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"44af3104a716922c4d2ddef1045655bbbf3bfbf946d77885a607a4791f2f3664"}},{"ruleId":"D1","level":"warning","message":{"text":"ResPrimitive.toXmlTextValue (cyclomatic 26): ResPrimitive.toXmlTextValue has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResPrimitive.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c388f190ec8cc2a2d14216f35933cf49d37588cde7a6007b0e021143e680e4"}},{"ruleId":"D1","level":"warning","message":{"text":"AaptInvoker.invoke (cyclomatic 26): AaptInvoker.invoke 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AaptInvoker.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09e98cc45b416d03d9dd7f883f3f270af72155f3e6fe4d18bc45be29cfa03d1"}},{"ruleId":"D1","level":"warning","message":{"text":"ResStringEncoder.appendEscapedString (cyclomatic 25): ResStringEncoder.appendEscapedString 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResStringEncoder.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c47635fd3ee7bb6accbd271c84691cd93dbe547a4f5ab38445ab68896172fa"}},{"ruleId":"D1","level":"warning","message":{"text":"BinaryResourceParser.parseType (cyclomatic 24): BinaryResourceParser.parseType has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryResourceParser.java"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b76c2b9c511fd5d1fb26436ded1cbd4b7f128b3f5e6216358f03b0c87569602"}},{"ruleId":"D1","level":"warning","message":{"text":"ResDecoder.decodeManifest (cyclomatic 24): ResDecoder.decodeManifest has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResDecoder.java"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"375e26a9031c7740c8986bbf6ef155e8450c9e6a0f4d257b2e9144a1542b3141"}},{"ruleId":"D1","level":"warning","message":{"text":"Main.cmdBuild (cyclomatic 22): Main.cmdBuild has cyclomatic complexity 22 (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. This is NOT this file\u0027s highest cyclomatic complexity: Main.main (cyclomatic 23) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fe1df7ef433fc588ccab9db5b3df0976466884707866890d99224a46093baf"}},{"ruleId":"D1","level":"warning","message":{"text":"BinaryXmlResourceParser.doNext (cyclomatic 22): BinaryXmlResourceParser.doNext 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryXmlResourceParser.java"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"365fba2d6f6763320df062f08f219aad77dc6b3743943a819c03e9a476fd8f67"}},{"ruleId":"D1","level":"warning","message":{"text":"XmlPullUtils.copy (cyclomatic 21): XmlPullUtils.copy 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":"brut.j.xml/src/main/java/brut/xmlpull/XmlPullUtils.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8394c83eb2f8080a066d8b9d17a1745d66b4ec1969e6489add8d1cbb5cbc149c"}},{"ruleId":"D1","level":"warning","message":{"text":"ZipUtils.isWindowsReservedDeviceName (cyclomatic 20): ZipUtils.isWindowsReservedDeviceName 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":"brut.j.zip/src/main/java/brut/zip/ZipUtils.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"590e1de406c7bcb99516012d4cf226e489556cf4d3f4d65998acde0ffa8a9e0f"}},{"ruleId":"D1","level":"warning","message":{"text":"ResStringEncoder.encodeStyledString (cyclomatic 20): ResStringEncoder.encodeStyledString 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResStringEncoder.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc7b1c8aec75fd5c4630cb3a84eb7a11b8f7e041b0a6fd7432586755d64df0a"}},{"ruleId":"D1","level":"warning","message":{"text":"ResXmlSerializer.writeEscaped (cyclomatic 19): ResXmlSerializer.writeEscaped 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResXmlSerializer.java"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"f326e2d505c1479792920805a70077c4eef1ff0139c148691ff8d39402c83783"}},{"ruleId":"D1","level":"warning","message":{"text":"TextUtils.parseColor (cyclomatic 18): TextUtils.parseColor 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":"brut.j.util/src/main/java/brut/util/TextUtils.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2391c01214369af61d458b1332a747f95bda662f0e4cae036b5bcd6615d851e"}},{"ruleId":"D1","level":"warning","message":{"text":"Main.printUsage (cyclomatic 18): Main.printUsage has cyclomatic complexity 18 (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. This is NOT this file\u0027s highest cyclomatic complexity: Main.main (cyclomatic 23) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39b97b39c5532485716505db989106393a316224029cca27cb961d367894a22"}},{"ruleId":"D1","level":"warning","message":{"text":"ResFlags.getSymbols (cyclomatic 18): ResFlags.getSymbols 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedfaf59630d6948580fb5b6ac72dd90549e0afe63a2ea3cbc107f253f105779"}},{"ruleId":"D1","level":"warning","message":{"text":"ResDecoder.generateStagingXmls (cyclomatic 18): ResDecoder.generateStagingXmls has cyclomatic complexity 18 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResDecoder.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5db33fb024c3021eb5465f0c34c68735018b7df827d034b154b19c45b943cb5"}},{"ruleId":"D1","level":"warning","message":{"text":"ApkDecoder.decode (cyclomatic 16): ApkDecoder.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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"41040e2fc9d8c619c98b50268be662ccc55f74b3627788ffd06b19b91af1d89b"}},{"ruleId":"D2","level":"warning","message":{"text":"YamlPullParser.nextLine (cognitive 124): YamlPullParser.nextLine has cognitive complexity 124 (threshold 15). Drivers by points: if/else 35 (90 pts), loops 6 (14 pts), boolean chains 13, ternaries 2 (7 pts) (nesting depth added 68). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.j.yaml/src/main/java/brut/yaml/YamlPullParser.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"724a80a654ef8b0168b9ff906cf81150ff090911202c7ca340f159537e16b23d"}},{"ruleId":"D2","level":"warning","message":{"text":"ZipUtils.normalizeForFs (cognitive 65): ZipUtils.normalizeForFs has cognitive complexity 65 (threshold 15). Drivers by points: if/else 21 (52 pts), boolean chains 9, ternaries 2 (3 pts), loops 1 (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":"brut.j.zip/src/main/java/brut/zip/ZipUtils.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"741507ce6362c23538975df19145af798d756357f1762145844a85aa963385a7"}},{"ruleId":"D2","level":"warning","message":{"text":"ResDecoder.decodeManifest (cognitive 57): ResDecoder.decodeManifest has cognitive complexity 57 (threshold 15). Drivers by points: if/else 18 (43 pts), loops 2 (6 pts), ternaries 2 (5 pts), boolean chains 2, error handling 1 (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResDecoder.java"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46ff029a374c465999cbd743ab2b264cfb120136025f4e95a110699378f795b"}},{"ruleId":"D2","level":"warning","message":{"text":"TextUtils.parseFloatDec (cognitive 52): TextUtils.parseFloatDec has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (36 pts), boolean chains 9, loops 3 (4 pts), ternaries 2 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.j.util/src/main/java/brut/util/TextUtils.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"5904075ef93bc2d87b6c14bb721f99a1d62450dc90abb9c345e3411555bb1ea9"}},{"ruleId":"D2","level":"warning","message":{"text":"TextUtils.parseFloatHex (cognitive 51): TextUtils.parseFloatHex has cognitive complexity 51 (threshold 15). Drivers by points: if/else 22 (34 pts), boolean chains 11, loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.j.util/src/main/java/brut/util/TextUtils.java"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b8b6da6b91725190aadb5bf4b274ebe44348faee5519cb9830138b459b6e75"}},{"ruleId":"D2","level":"warning","message":{"text":"BinaryResourceParser.parseType (cognitive 50): BinaryResourceParser.parseType has cognitive complexity 50 (threshold 15). Drivers by points: if/else 19 (37 pts), loops 4 (6 pts), ternaries 1 (4 pts), boolean chains 2, error handling 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryResourceParser.java"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7088b2c561543035fc8fec45da3b424d70ae61043eda8dd5129e4d4c179a7b"}},{"ruleId":"D2","level":"warning","message":{"text":"YamlUtils.decodeString (cognitive 49): YamlUtils.decodeString has cognitive complexity 49 (threshold 15). Drivers by points: if/else 13 (40 pts), match/switch 1 (4 pts), boolean chains 3, loops 1 (2 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":"brut.j.yaml/src/main/java/brut/yaml/YamlUtils.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"5facb686e4c0b4d16eda1330851c3bdb1fba95cb349d38a86d73eb72b61200bb"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.cmdDecode (cognitive 49): Main.cmdDecode has cognitive complexity 49 (threshold 15). Drivers by points: if/else 32 (40 pts), match/switch 2 (4 pts), loops 1 (2 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 12). 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":"brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c9ea07e95e45c179236d82e3c5f83473f3b2cc59bfbe55dd01933bb0f1de74"}},{"ruleId":"D2","level":"warning","message":{"text":"ResStringEncoder.isAmbiguousString (cognitive 48): ResStringEncoder.isAmbiguousString has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (32 pts), error handling 3 (8 pts), boolean chains 6, loops 1 (2 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResStringEncoder.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"584290095a071221685e02410355d474240c3f00718d7fb8c795bef277001e9f"}},{"ruleId":"D2","level":"warning","message":{"text":"ResConfig.computeQualifiers (cognitive 47): ResConfig.computeQualifiers has cognitive complexity 47 (threshold 15). Drivers by points: if/else 16 (26 pts), match/switch 16, boolean chains 3, ternaries 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResConfig.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e340df6d2838382825d3639e1a9ad107d0d9dae9c2ecd002931e12223ca8e929"}},{"ruleId":"D2","level":"warning","message":{"text":"BinaryXmlResourceParser.getAttributeValue (cognitive 46): BinaryXmlResourceParser.getAttributeValue has cognitive complexity 46 (threshold 15). Drivers by points: if/else 18 (29 pts), error handling 3 (7 pts), match/switch 1 (4 pts), ternaries 2 (4 pts), boolean chains 2 (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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryXmlResourceParser.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"1997e1c558409f474fdce7b9eaa613c21eba06279586283533d6bd8fd80873f9"}},{"ruleId":"D2","level":"warning","message":{"text":"ResStringEncoder.encodeStyledString (cognitive 44): ResStringEncoder.encodeStyledString has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (36 pts), loops 3 (6 pts), boolean chains 2 (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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResStringEncoder.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdb64b689660b80571913860a61e02f73baacfe25c432a107bd1af8b9ba5b22"}},{"ruleId":"D2","level":"warning","message":{"text":"BinaryXmlResourceParser.doNext (cognitive 40): BinaryXmlResourceParser.doNext has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 3 (7 pts), ternaries 1 (5 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryXmlResourceParser.java"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c31bae461ac397421d18e66f4a0f75013b36eea4d857235db55c9f15b390c39"}},{"ruleId":"D2","level":"warning","message":{"text":"ResFlags.getSymbols (cognitive 40): ResFlags.getSymbols has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (28 pts), loops 4 (11 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8d6f5a9d028ca28e4adc129ce10469d67cca00fe1320d407d35d4400f87ca5"}},{"ruleId":"D2","level":"warning","message":{"text":"ResStringEncoder.appendEscapedString (cognitive 40): ResStringEncoder.appendEscapedString has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (33 pts), boolean chains 6, 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResStringEncoder.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"122b157e9f09615cb23e6691232e8898c6453f20490dcfdd83c31f817c349946"}},{"ruleId":"D2","level":"warning","message":{"text":"YamlUtils.encodeString (cognitive 38): YamlUtils.encodeString has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 5, loops 3 (5 pts), match/switch 1 (3 pts), ternaries 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.j.yaml/src/main/java/brut/yaml/YamlUtils.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96d06011754aac820dafcc3c45915466ca018a2db9849824e6e86dea9285215"}},{"ruleId":"D2","level":"warning","message":{"text":"ZipUtils.isWindowsReservedDeviceName (cognitive 38): ZipUtils.isWindowsReservedDeviceName has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 3 (5 pts), boolean chains 4 (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":"brut.j.zip/src/main/java/brut/zip/ZipUtils.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3d902a636053a51bdad8310b1b22a8d9f2b24b9fa3a25728c6c4cd9e2accae"}},{"ruleId":"D2","level":"warning","message":{"text":"AaptInvoker.invoke (cognitive 38): AaptInvoker.invoke has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (24 pts), error handling 4 (7 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AaptInvoker.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c144e3d6e880809a3c9aa921adac0702fe36e7545feba4709a3a3b45bbfc3e8"}},{"ruleId":"D2","level":"warning","message":{"text":"ResXmlSerializer.writeEscaped (cognitive 33): ResXmlSerializer.writeEscaped has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (30 pts), boolean chains 2, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResXmlSerializer.java"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ecdd87c27b9c2b392ffa1eff7cf5ccb5f4850c0c14659ea8a4312b295f024e"}},{"ruleId":"D2","level":"warning","message":{"text":"ResDecoder.generateStagingXmls (cognitive 33): ResDecoder.generateStagingXmls has cognitive complexity 33 (threshold 15). Drivers by points: loops 8 (20 pts), if/else 5 (6 pts), error handling 2 (4 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 16). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResDecoder.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b772bb94cb458871da445e7164697146c036624893eb5bcdc8f61a6a56255d"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.cmdBuild (cognitive 31): Main.cmdBuild has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19 (25 pts), error handling 2 (3 pts), loops 1 (2 pts), match/switch 1 (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":"brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dea2aed5ffe143c6823542f708562a8fccffec3a6a39375f45a27f37431444"}},{"ruleId":"D2","level":"warning","message":{"text":"ResXmlSerializer.getPrefix (cognitive 28): ResXmlSerializer.getPrefix has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 4 (9 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResXmlSerializer.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7329e4d62973532a9b7b044951189a11449d2e70a98f4bfabdd11af5796337bb"}},{"ruleId":"D2","level":"warning","message":{"text":"XmlPullUtils.copy (cognitive 27): XmlPullUtils.copy has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (8 pts), match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.j.xml/src/main/java/brut/xmlpull/XmlPullUtils.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1a839cad3ee3144c2cb92a18898c58a4c79a4ab9a39eb8a1652eae8a0bd977"}},{"ruleId":"D2","level":"warning","message":{"text":"TextUtils.parseColor (cognitive 26): TextUtils.parseColor has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 4 (8 pts), boolean chains 2, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.j.util/src/main/java/brut/util/TextUtils.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"52db45a48e89166ac74a0bfddf7d3d3bc459fbd7531108511fbdabbda33d4c4f"}},{"ruleId":"D2","level":"warning","message":{"text":"ResStringEncoder.findFormatSpecifiers (cognitive 26): ResStringEncoder.findFormatSpecifiers has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResStringEncoder.java"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"646ee65d971febcb1e3f13b32c15d0da53818907ac2c798805d62bd528975060"}},{"ruleId":"D2","level":"warning","message":{"text":"SmaliDecoder.decode (cognitive 25): SmaliDecoder.decode has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/smali/SmaliDecoder.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f4f1caaaca2ca464629716b603d46d20e6cb555c37bf0ccb25f09baa51a802"}},{"ruleId":"D2","level":"warning","message":{"text":"BinaryXmlResourceParser.getAttributeName (cognitive 22): BinaryXmlResourceParser.getAttributeName has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), error handling 2 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryXmlResourceParser.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66cd992c4807ca9329add2ad902d7808044f285a46bf0947c15044b5b729dbd"}},{"ruleId":"D2","level":"warning","message":{"text":"ApkDecoder.decode (cognitive 22): ApkDecoder.decode has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 4, error handling 3, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"be86798aa4ed3bb842a196fb1ef2cfcbaab1ad7cb50d9a65a9075f9728c64b5f"}},{"ruleId":"D2","level":"warning","message":{"text":"ManifestPullEventHandler.onEvent (cognitive 21): ManifestPullEventHandler.onEvent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ManifestPullEventHandler.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42831cb564b5e46a1309e2822b2b2cda972bed1f2efe8acf418da1d4901eb21"}},{"ruleId":"D2","level":"warning","message":{"text":"ManifestPullEventHandler.onAttribute (cognitive 20): ManifestPullEventHandler.onAttribute has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ManifestPullEventHandler.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9857aa566b22cc453f6b892d934b6a194d3d2e9dfdbf6efb9130a4a2440b74ca"}},{"ruleId":"D2","level":"warning","message":{"text":"ResNinePatchStreamDecoder.decode (cognitive 19): ResNinePatchStreamDecoder.decode has cognitive complexity 19 (threshold 15). Drivers by points: loops 7 (10 pts), if/else 7, error handling 2 (nesting depth added 3). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ResNinePatchStreamDecoder.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"876b35cae8c1182f015d55b8d44a842700003f4104152e8c88fa85cae9607860"}},{"ruleId":"D2","level":"warning","message":{"text":"ResDecoder.generateValuesXmls (cognitive 19): ResDecoder.generateValuesXmls has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 2 (5 pts), loops 3 (4 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResDecoder.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca4fb2a64f9621ad258c6d74d25a5422a5b1581e870529f3c65fd36537851a0"}},{"ruleId":"D2","level":"warning","message":{"text":"ResXmlSerializer.check (cognitive 18): ResXmlSerializer.check has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2, 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResXmlSerializer.java"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d1bf4d06734809d7db2ed146c5173d2ed13c88fc8fb481cc474d94423351e3"}},{"ruleId":"D2","level":"warning","message":{"text":"Main.printUsage (cognitive 17): Main.printUsage has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85428d07f57c1918550e003b7499e97d06eb14dd48230ac4ade806f579fdbb7"}},{"ruleId":"D2","level":"warning","message":{"text":"ResPrimitive.toXmlTextValue (cognitive 17): ResPrimitive.toXmlTextValue has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 5 (9 pts), ternaries 2 (4 pts), boolean chains 2, if/else 2 (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResPrimitive.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd268b2d5882a8a2fe54a7e072bce55d49d34226d9024a33ed8b186bde93a77f"}},{"ruleId":"D2","level":"warning","message":{"text":"ResArray.resolveFormat (cognitive 16): ResArray.resolveFormat has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 1 (3 pts), 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResArray.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d38bd0f96eccb2e6ec518970102ece3f204380e127e2f458ecb7ec75ac85dd"}},{"ruleId":"D2","level":"warning","message":{"text":"ResXmlUtils.injectNetworkSecurityConfigXml (cognitive 16): ResXmlUtils.injectNetworkSecurityConfigXml has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 1, error handling 1, 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, 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResXmlUtils.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffb57c1d18514b63c0c92dd3ca7fcc22b51ff870751aa2a6987351e35627a91"}},{"ruleId":"D2","level":"warning","message":{"text":"ApkDecoder.writeApkInfo (cognitive 16): ApkDecoder.writeApkInfo has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 3, ternaries 2 (3 pts), loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7d209af17f614a6569f84cf43fd2ab124d95d3ff5e8fdca6a76b676b13c680"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ResConfig.computeQualifiers: MethodTooLong \u2014 computeQualifiers runs 319 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 219 over it, 3.19\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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResConfig.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54568d2e25787a765a2138e1ff4741e3dea976ba599d12708da2a6e12b509fc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ResPackage: 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackage.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"174423e5b617420ad2ff01c13e7b472b11da8219d664388480cc0546e8eaa4af"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BinaryXmlResourceParser: 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryXmlResourceParser.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dc2a1e105f0041c985eec9ad2d5547ac26c1307cf7000b21dba65640b60b63"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Main: ClassTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 264 over it, 1.66\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"71337d201ac1c2601947d496eb0f0331ab531ba3eb5ac554ce312c8465af91d1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BinaryXmlResourceParser: ClassTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 400 significant lines; this is 258 over it, 1.65\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryXmlResourceParser.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"081b7b6e7e039d7b8db6abd44297ddd3c691c8f9e72987c5ad8c291bd1b46060"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Config: 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/Config.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f335bd0795e4f8bf8a55d4f6b707bed4f62cc50679dfc986bc0b3202d0d304"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ResConfig: ClassTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 168 over it, 1.42\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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResConfig.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca1e620854567174c77f843c236dfdcb9b87ea8631051f876979988855d084f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BinaryDataInputStream: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.j.util/src/main/java/brut/util/BinaryDataInputStream.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4f5886e188e0feaf26c150f72cbbd46a0c295ad9d57954ee070baf5264600a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: apktool/Main.java: FileTooLong \u2014 689 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: Main (48-935). The bar is 500 significant lines; this is 189 over it, 1.38\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2968143a3625d1d79043fb27dbfa8667edeb0139360547ce6c780b223f6ed28f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: decoder/BinaryXmlResourceParser.java: FileTooLong \u2014 676 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: BinaryXmlResourceParser (38-1073). The bar is 500 significant lines; this is 176 over it, 1.35\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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryXmlResourceParser.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa57c7d068dc8ec6f13e002238c2fcc9e9af764f7a3f4fc1fc2c26182593707f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BinaryResourceParser: ClassTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 124 over it, 1.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryResourceParser.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"00aa7e72f0be6240826886acf663191ada50942de7639da5676ff816b60ebeb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: table/ResConfig.java: FileTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: ResConfig (22-711). The bar is 500 significant lines; this is 71 over it, 1.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35634db690d6028f90956845b28ce3e6c38228d9f9c8a44863bd744c0b7731c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ResXmlSerializer: 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResXmlSerializer.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20a1ddf18ec3577f0c14847918a7731fd4b153ba4a4d3d4aad49ad9186a7cdc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: YamlPullParser.nextLine: MethodTooLong \u2014 nextLine runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.j.yaml/src/main/java/brut/yaml/YamlPullParser.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae251130d71e238205fa8db4917bfe4cb127d3b31c24650759c44de47f9ddc2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ResConfig: 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResConfig.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4383c24befab827f97ef617df6bd5c94f7697f950dd79e42df26f148b0a66b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: decoder/BinaryResourceParser.java: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: BinaryResourceParser (44-917). The bar is 500 significant lines; this is 48 over it, 1.10\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryResourceParser.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c487b393511e9e77fe7be33f6dcd34bd0cbb46474a22cfdf8202da86e5325d9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: YamlUtils.decodeString: MethodTooLong \u2014 decodeString runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.j.yaml/src/main/java/brut/yaml/YamlUtils.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e4b16dc27ac362b1d4388a4ac50874de14a491fd604509a0bcbfd176e30f73"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Main.cmdDecode: MethodTooLong \u2014 cmdDecode runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcef0a0e15dc0520ea99b4e44e8c913e1b05a0e46815289e4670dabbf5592a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): brut.j.util/src/main/java/brut/util/IOUtils.java:130-174 | brut.j.util/src/main/java/brut/util/IOUtils.java:176-208 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.j.util/src/main/java/brut/util/IOUtils.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a38316808f8769fe205281c601974a660385ea4633aeff55ceeebb41dc268dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java:46-72 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java:48-74 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResStyle.java:87-113 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a573baa804af157477014ab046c7bc2f2d451003924196dafd549273703a6b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): brut.j.util/src/main/java/brut/util/TextUtils.java:190-212 | brut.j.util/src/main/java/brut/util/TextUtils.java:257-279 \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":"brut.j.util/src/main/java/brut/util/TextUtils.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"0012cf70ffa9fce44fdb232c45363eabda6c8486cfdaa7e68cbf934df5e35fa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java:221-243 | brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java:245-260 \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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d446b319737fe6b3ee40c22b464b5562086c8e093b5db0048e357fa65ad495c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java:125-161 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java:186-222 \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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"618689e2f17aa10f0075c126474f06599bed5e111b59942423c454a05f30d6f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java:656-680 | brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java:682-708 \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":"brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"43981ce4687a41b4d2c6e6d24d06916ae5c7e7722d2a3fefaa4144c5d2f1f1f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResPrimitive.java:172-193 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResReference.java:111-136 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResString.java:53-80 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResPrimitive.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b86b260451bb4b7b9387a5f13287dd07c241243a2162aa49124123b9d217fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java:622-654 | brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java:710-735 \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":"brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ae25345a33370c52a08abd06b00dbe74d0cfc0d90a4657eab93df56e67e2b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackageGroup.java:154-175 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackageGroup.java:215-236 \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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackageGroup.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76052a7da8cdb64a5310bc23be88eb776868f4f2e5a163944bb6312964b40d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResOverlayable.java:113-130 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResAttribute.java:257-274 \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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResOverlayable.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1834cbb85e83ccf943d8dafd2e7e2df9cfef9b62bf920b206c7524b653c6ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): brut.j.yaml/src/main/java/brut/yaml/YamlPullParser.java:271-291 | brut.j.yaml/src/main/java/brut/yaml/YamlPullParser.java:313-333 \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":"brut.j.yaml/src/main/java/brut/yaml/YamlPullParser.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"2048f14c61daae13aff144807334430ce754dcb53e84656c416a41d9b6a80aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackage.java:177-189 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackage.java:256-271 \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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackage.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be5b8a03fc7dc77bc2a7971a234d99693ce7ea1e0d485b535d98cec96805883"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java:203-211 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java:264-272 \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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fafb2dd2f0f51b92437d0e00b757fd3941d662ec3c7b1c79aec3300c893b74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): brut.j.util/src/main/java/brut/util/BinaryDataInputStream.java:145-159 | brut.j.util/src/main/java/brut/util/BinaryDataInputStream.java:161-175 \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":"brut.j.util/src/main/java/brut/util/BinaryDataInputStream.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4bd8f69e73ca3c15098af243e57b3bd851975de563a43e25a12e280ff4bfb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResAttribute.java:287-299 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java:186-200 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java:247-261 \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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResAttribute.java"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15d602887fc6a9abb0abd2ede6763c24eb1ac4b1c1a6e6db4b24b5c5ca3a381"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkBuilder.java:153-167 | brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java:155-169 \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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkBuilder.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"613c4bd6bac6b55f9a3a617d6321f5f988502b3f0e6525f4319def097e60df9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackage.java:435-446 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResType.java:65-76 \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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackage.java"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcc2626899844b488b6bc31a1da8f0220ca419ddd5bb4d436e16f0232f5856a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryResourceParser.java:781-796 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryResourceParser.java:846-861 \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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryResourceParser.java"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"df524fb1ebcb66fdcb284a2d2296df4a80e0d1bac0bb27ef8dd0b6e5253e0046"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkBuilder.java:169-180 | brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkBuilder.java:318-328 \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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkBuilder.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a009d753d19cf00973aecad462210742b94e129dc5d7a56e97861a917932d45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AaptManager.java:70-83 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/Framework.java:254-265 \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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AaptManager.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7beddd9c856e6ee9bbbe2fbf4c864959928285489f86590933f54095e34eeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResXmlSerializer.java:445-460 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResXmlSerializer.java:473-487 \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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResXmlSerializer.java"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"a802e68ca6455455707df59bbc51c456f6e8ea1ea7e881a3b9a4b0b5d3ff1e99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackage.java:88-99 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackage.java:332-342 \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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackage.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7137ae85c9e89fde0459ff86238f5352e6ad06445fc97d450dd28028e228d47b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): brut.j.yaml/src/main/java/brut/yaml/YamlPullParser.java:237-249 | brut.j.yaml/src/main/java/brut/yaml/YamlPullParser.java:251-265 \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":"brut.j.yaml/src/main/java/brut/yaml/YamlPullParser.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f53044b5bc7f13c8a1e26ced1675b22cb040b3cd1a7b07ab96285e403ea525"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): brut.j.util/src/main/java/brut/util/IOUtils.java:65-73 | brut.j.util/src/main/java/brut/util/IOUtils.java:81-89 \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":"brut.j.util/src/main/java/brut/util/IOUtils.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4a041b7d3baf451853bdbef4eb6f0a16a8a098db202f0e66b6a08091c90802"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackage.java:449-454 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResType.java:79-84 \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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackage.java"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2a45fea05b12f99085d47886d55a38a657870b9fc87af2b50209b9fa39680c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackage.java:79-86 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResTable.java:129-135 \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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackage.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0795839b1319d44ee2cbc0c0f04875f7623d8c1ac35ced8342e9e2839146ab5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResDecoder.java:252-289 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResDecoder.java:292-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResDecoder.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6928b6323eded0b270d9a2c78e700294f9e24b61b24a786fe9c76559ec1695d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): brut.j.util/src/main/java/brut/util/IOUtils.java:131-157 | brut.j.util/src/main/java/brut/util/IOUtils.java:177-203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060brut.j.util/src/main/java/brut/util/IOUtils.java:131\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.j.util/src/main/java/brut/util/IOUtils.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"49214e912cf410466d088bacb7a489e4e460d4395c30adcd9454111dacb08885"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): brut.j.util/src/main/java/brut/util/TextUtils.java:324-348 | brut.j.util/src/main/java/brut/util/TextUtils.java:473-498 \u2014 both copies are in the same file, so extract the block 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":"brut.j.util/src/main/java/brut/util/TextUtils.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2850a648b18b354be48a38892b4e9e9c8d6ebaa9564e5c762a5c1e81287ddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java:658-677 | brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java:684-703 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"972aa01950ee2df1e295f9bdaac175f499adbfb48b23fb36b6c207d555e94927"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ResChunkPullParser.java:151-169 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ResChunkPullParser.java:172-190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ResChunkPullParser.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"89de0288eb210059d64115b1142ba853423dd975677b965dcd351bc65a41f09c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): brut.j.yaml/src/main/java/brut/yaml/YamlUtils.java:76-94 | brut.j.yaml/src/main/java/brut/yaml/YamlUtils.java:172-190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060brut.j.yaml/src/main/java/brut/yaml/YamlUtils.java:76\u0060 it does not close everything it opens, so those exact 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":"brut.j.yaml/src/main/java/brut/yaml/YamlUtils.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"843cc2e80cadc785a4b7613011ca060115e2fa25639d34ec5a99ddab7820407f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java:400-415 | brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java:624-639 | brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java:712-727 \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":"brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc5a5657b60119417bc247895cf409ff05ee1e82d975f77dea08d76efc9f43d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java:53-69 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java:55-71 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResStyle.java:94-110 \u2014 before extracting anything, compare \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java\u0060 and \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java:53\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2727893f5ee8fda2d0dd51cecefb2dec897ed1299a5f797cb4cfd5993e924833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java:407-422 | brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java:539-554 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java:407\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":"brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"0676b34eb14c0f9e240f3d9b022b78096f006dadd75111ff2c2fd44435d5c38c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java:126-141 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java:187-202 \u2014 before extracting anything, compare \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java\u0060 and \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java:126\u0060 it does not close everything it opens, so those exact 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, \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java:203\u0060 calls \u0060StringBuilder\u0060 and \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java:142\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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1c375526fafff7013d8151633a868a381a4624230f5d68d8d4bfd83eb6834f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkBuilder.java:225-239 | brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkBuilder.java:261-275 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkBuilder.java:225\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkBuilder.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7e9c86bc58afc238340b88ade9c14eea2ac8183fcfe91e6e761a7421c48234"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResPrimitive.java:173-186 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResString.java:54-67 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResString.java:68\u0060 calls \u0060isFormatted\u0060, \u0060attribute\u0060 and \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResPrimitive.java:187\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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResPrimitive.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d2a4be4b2326ede684e219ec6088d7aae7dbf8efce05a8f467e2be89812bcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryResourceParser.java:877-889 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryXmlResourceParser.java:835-847 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryResourceParser.java"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"9beee3f8c9562649c418f04f236717185a03bc1c44386d0552fe631e20419aca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java:635-646 | brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java:659-670 | brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java:685-696 \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 \u0060brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java:635\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":"brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4eb93940c137adb65572fee47cc7c76a4674c08028fc2631bfd99d6d447365"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AaptInvoker.java:74-85 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AaptInvoker.java:117-128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AaptInvoker.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe854a142ccb44a16ffddcc7b9bf6e1c2c98284d76f5f01debc933918f9234d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java:166-177 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java:227-238 \u2014 before extracting anything, compare \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java\u0060 and \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25f658815b37aaf64d66712a327f6ac35108e7b907a41a9bc6f19a6c3ac6eba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResXmlUtils.java:67-78 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResXmlUtils.java:93-104 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResXmlUtils.java:67\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResXmlUtils.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d7860c0f7fe1d772a094e69bbb0f63e7e3b773f32ff02799f03b75d30cfafd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): brut.j.util/src/main/java/brut/util/TextUtils.java:191-204 | brut.j.util/src/main/java/brut/util/TextUtils.java:258-271 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060brut.j.util/src/main/java/brut/util/TextUtils.java:191\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.j.util/src/main/java/brut/util/TextUtils.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3ac904244a39aeea9bfd0b6a4c56080228ceab77d23066c8238b5bcfda26fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AaptInvoker.java:91-100 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AaptInvoker.java:155-164 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AaptInvoker.java:91\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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AaptInvoker.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8eb29d67a391e18829e32322cb21240ea98d58fe132a2f5ebfecbffa998c22c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackage.java:257-264 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackage.java:283-290 \u2014 both copies are in the same file, so extract the block 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackage.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedb8b3fb083667d04b44f2b005f3e35df140984baecd2ebe491cbeb6f1d9cc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): brut.j.util/src/main/java/brut/util/TextUtils.java:141-148 | brut.j.util/src/main/java/brut/util/TextUtils.java:151-158 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060brut.j.util/src/main/java/brut/util/TextUtils.java:141\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.j.util/src/main/java/brut/util/TextUtils.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"63862135ae3a19ca0b91e370d919bd8943037a056a6d8662949d0d22d8cddbf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): brut.j.util/src/main/java/brut/util/TextUtils.java:149-156 | brut.j.util/src/main/java/brut/util/TextUtils.java:168-175 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060brut.j.util/src/main/java/brut/util/TextUtils.java:149\u0060 it does not close everything it opens, so those exact 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":"brut.j.util/src/main/java/brut/util/TextUtils.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bd68dcb74d76a694712f1efd1ffddb8ef7cc65c2a90ed41504b5d86175c6a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): brut.j.yaml/src/main/java/brut/yaml/YamlPullParser.java:73-80 | brut.j.yaml/src/main/java/brut/yaml/YamlPullParser.java:181-188 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060brut.j.yaml/src/main/java/brut/yaml/YamlPullParser.java:73\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.j.yaml/src/main/java/brut/yaml/YamlPullParser.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e55648c8abf1f845c0bb4855e377bd9fba8d1035e0081b93a7c2863a9ee9125"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java:426-434 | brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java:555-563 \u2014 both copies are in the same file, so extract the block 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":"brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"949897e60e7a6a97d38189ae2c95b210a0968516329d22ad7c0bedbaa84e72a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java:208-214 | brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java:248-254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java:208\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"093d9873ec23416d9c295bf0962f2683a907980a3d173523bf33e027ba41c44e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java:204-211 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java:265-272 \u2014 before extracting anything, compare \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java\u0060 and \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"70528a1964029f4d7c00a3911013db3bf50bba983b71a052a8b798ec9ffa0906"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResArray.java:63-68 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResPlural.java:55-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResArray.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e72fc768c7b37ae1046b9347219c538cbe77cfcc7276252c77ff831a5547f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java:39-43 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java:41-45 \u2014 before extracting anything, compare \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java\u0060 and \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a174ff34ddb5d4f0caa2f476cd7aefd651eea5c135e9239620cfffb5387a1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java:75-82 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java:77-84 \u2014 before extracting anything, compare \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java\u0060 and \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbed66b4dc9919a94ac89135a1dd5587b6587ae60683f3ab7f18d0ac967c5fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java:84-91 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java:86-93 \u2014 before extracting anything, compare \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java\u0060 and \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"64be70f42c208d85600827a5413b8df719c6e38ab1750f7ea985e0c759611e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResArray.java:124-133 | brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResPlural.java:110-119 \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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResArray.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"809a2de0676b03e70bd8616206c19f299840b9ed5202d0f09667b019398bed21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResStringEncoder.java:238-243 | brut.j.yaml/src/main/java/brut/yaml/YamlUtils.java:139-144 \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 \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResStringEncoder.java:238\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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResStringEncoder.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"01344be6ba9bcb3c38a9ba81f9746275eee43f2897c4fba4e0fe4fe577c81e81"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :brut.j.util: :brut.j.util: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"56bab9b26b8a5178b1a97c2a7c7cbd28169769120e320e2e2db6c2adcdeaebab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: brut.j.yaml/src/main/java/brut/yaml/YamlUtils.java: brut.j.yaml/src/main/java/brut/yaml/YamlUtils.java changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in YamlUtils.encodeString at line 25. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 05:26:09 -04:00\u0027 --until=\u00272026-10-28 05:26:09 -04:00\u0027 --full-history --no-merges -- brut.j.yaml/src/main/java/brut/yaml/YamlUtils.java\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.j.yaml/src/main/java/brut/yaml/YamlUtils.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3535f857b857d76c370f155c2068137e8bf197c28447d11b9492c94dc48db775"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResDecoder.java: brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResDecoder.java changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ResDecoder.decodeManifest at line 357. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 05:26:09 -04:00\u0027 --until=\u00272026-10-28 05:26:09 -04:00\u0027 --full-history --no-merges -- brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResDecoder.java\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResDecoder.java"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2826ec3cc913dbb70e620e0dde9c07c2c6edfbf77b4a08d60d689e8dee5493"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java: brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in Main.cmdDecode at line 398. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 05:26:09 -04:00\u0027 --until=\u00272026-10-28 05:26:09 -04:00\u0027 --full-history --no-merges -- brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7d8acd5f911b6a3773f9b386fb3a727acbccc4d06c8d74f35140e018b6b68a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java: brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ApkDecoder.decode at line 82. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 05:26:09 -04:00\u0027 --until=\u00272026-10-28 05:26:09 -04:00\u0027 --full-history --no-merges -- brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2460becf7a070d76937b7cf99861fd5b460584975eada96a324ba7257de86f0f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: brut.j.zip/src/main/java/brut/zip/ZipUtils.java: brut.j.zip/src/main/java/brut/zip/ZipUtils.java changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in ZipUtils.normalizeForFs at line 36. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 05:26:09 -04:00\u0027 --until=\u00272026-10-28 05:26:09 -04:00\u0027 --full-history --no-merges -- brut.j.zip/src/main/java/brut/zip/ZipUtils.java\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.j.zip/src/main/java/brut/zip/ZipUtils.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"782f63fcc85f13e2e07254e188a95f84f8b2624b1087783e575d9123bc420e8e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryXmlResourceParser.java: brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryXmlResourceParser.java changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in BinaryXmlResourceParser.doNext at line 687. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 05:26:09 -04:00\u0027 --until=\u00272026-10-28 05:26:09 -04:00\u0027 --full-history --no-merges -- brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryXmlResourceParser.java\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryXmlResourceParser.java"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab793e871e1ace2be23d7842b27b172d250f4c321e079b1964a60cf3f8523305"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AaptInvoker.java: brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AaptInvoker.java changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in AaptInvoker.invoke at line 48. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 05:26:09 -04:00\u0027 --until=\u00272026-10-28 05:26:09 -04:00\u0027 --full-history --no-merges -- brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AaptInvoker.java\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AaptInvoker.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c0ab78b1fbcdfcc775b0173ea599e2511cfb576f412c5b4a5e035d6611d96c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryResourceParser.java: brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryResourceParser.java changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in BinaryResourceParser.parseType at line 371. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 05:26:09 -04:00\u0027 --until=\u00272026-10-28 05:26:09 -04:00\u0027 --full-history --no-merges -- brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryResourceParser.java\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryResourceParser.java"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cf9bcb1ca1b02af3b85f1d1c375c9a5aba7732e6c956e84a1e1870540a14d0"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 37 significant file(s) lose their only recent owner: brut.j.util/src/main/java/brut/util/TextUtils.java, brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResDecoder.java, brut.apktool/apktool-lib/src/main/java/brut/androlib/res/xml/ResXmlSerializer.java, brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResPackage.java, brut.j.yaml/src/main/java/brut/yaml/YamlPullParser.java, brut.j.yaml/src/main/java/brut/yaml/YamlUtils.java, brut.j.xml/src/main/java/brut/xml/XmlUtils.java, brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResAttribute.java (\u002B29 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f82e87d3725c03bc510f2d2c236919f6a47137c92104dd560bb2027b6c972dc"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (38 single-owned of 61 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 61 of the 97 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: build.gradle.kts."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Determine by magic bytes and fill in stripped extensions? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ResFileDecoder.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ac8e37eb484686e71ea001be3d27f84c6dbaa147012a8537e99ab37570d18d"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: the repository holds project manifests and neither \u0060README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a5992d4bd6ac1ea4b853ae69753fcd7e0410099c58731c86be53325ba8c96"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060brut.apktool/apktool-cli/build.gradle.kts\u0060 makes this repository a deployable product (line 6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-cli/build.gradle.kts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10862046db136e6f3b5c0f9e1bf2043cd760b390362caee52a1a3d7384137fc"}},{"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","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":"70ad5324bbd55b9644c94ff603c95a37024b586633bea205146db322b0940dad"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"8d5d66a451c61cc94a38845d693b00677b6709bdbeaf77a2a7e724bfe6abebd0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"b1c9624b50b70cd1673b1562f7a4d52fa2775f73b184e17d5f92259aab090d0e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"bfad174a289aaaf923b1046f6c55dca397b2761004e6f71153cbb14a07916bfa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"736a89fa6c4c7603016c3c998ad742fe7a7d25eb92ef74b60a404b84b9c352a8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"1e01c007d41b997e16991d9ecf96c4c9fff9a3805becc6083aa9c4db0239427f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"1f3e3a96386d3cf2a09fa1b2ee086568b14149ffbb176c4b92b8ecf6af2fa512"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"a378eb575e3f20eca26f26f9af5fcfc839b4b37f9977c04073aa58942c61cd4f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"9413d177ee3dfb094dc7ceb596e3a2705c4a851450d2130bbb4a0076070eb76d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"db881e73c52138a6f7ff5ee50fe3521b5eaac3c9506cc29e6359b9deafcc2aac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"c4be401ae961aa9fb1277f7eb4c9b73eaaacabb11661e655f812ab030a1994d9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"358420b627c913f5dac8b0c4279da12853d0c402f933af2cb6c3e6351dbd11f6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"78f0c8809c3544bdde3c0c0fd5a3fd27a61c1626608ecac38a7b6254d1fb476d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"0807b07c74cf789e7981854a6b9ffe357fe7225fe4797d883135bd5ab13f4b76"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"c35bb256abdcb4b788c06e81c655d576e6c10ea42f4f2c3a77979baee8e5861c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"3b20c9e3f5f07cd9ed7d38e1ad9e3677b956fa28fa72534ce39bdba4769b42e6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"d8e58bc216fb21c2872752331f18d01b59ec09ce8dc4dddd7b2127c44de354fb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"8cbcf540c3e272fc551dd295168e6c190dd149d160d22909590e6fdb827b3790"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"273e99c321d9e5c8a0468f6f584bdba6294260ce4c0af19d328083e57e70d108"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"39a0ccc47843737d5c50266ef089bea7ac8e91ea0c1208c36738cd26e38e0433"},"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":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 61 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 61 of the 97 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: brut.j.util/src/main/java/brut/util/BackgroundWorker.java. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.j.util/src/main/java/brut/util/BackgroundWorker.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a739bd93b2039cf2e99a73b6e26bf55277584da3a2e6a6f03ee3cf576b3dd3fb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Framework.java \u2194 ResDecoder.java: \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/Framework.java\u0060 and \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResDecoder.java\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060fd9d5d4d\u0060 refactor: zip archive revision and perf tweaks (#4253); \u006040787e58\u0060 fix: NIO refactor hotfix (#4249); \u0060076ccc60\u0060 fix: hotfix for yaml \u002B extra (#4231) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/Framework.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d8fc64376cc20b15f9ef59e01998fbe12aa05592efcc041c31932b16d02d3e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Framework.java \u2194 ResFileDecoder.java: \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/Framework.java\u0060 and \u0060brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/ResFileDecoder.java\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060fd9d5d4d\u0060 refactor: zip archive revision and perf tweaks (#4253); \u006040787e58\u0060 fix: NIO refactor hotfix (#4249); \u0060076ccc60\u0060 fix: hotfix for yaml \u002B extra (#4231) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/Framework.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf33d43003a2148f27073078e7a9ffba48aa37bde8b5e1670f19ebdec463c9c1"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d3b708f9d1836aa36088126922faed3fadaed5be1e50b36e86f2ccb599037ee"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"171a5915161e926e35d9f9302156f7a2c57d16c96d5bdd1af3f21e2d4308269b"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b6201b0bb220b4eef7d661f9601c3c4b15bbe07269c95bac4b2104d5b133a2f5"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Files.isRegularFile(apkFile) || !Files.isReadable(apkFile)\u0060 appears character-identically in 2 files \u2014 brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java, brut.apktool/apktool-lib/src/main/java/brut/androlib/res/Framework.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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"134b071c8c1fdfe3395035d2583c89c62b96f7033c2b31d8dbad914643e099f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mParent.equals(other.mParent) \u0026\u0026 mType == other.mType \u0026\u0026 mMin == other.mMin \u0026\u0026 mMax == other.mMax \u0026\u0026 mL10n == other.mL10n \u0026\u0026 Arrays.equals(m\u2026\u0060 appears character-identically in 2 files \u2014 brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java, brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"656addc888b8f27bd569329a466de2e835825cee2467a4b1effd7d0f2c30449b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mType \u003E= TYPE_FIRST_COLOR_INT \u0026\u0026 mType \u003C= TYPE_LAST_COLOR_INT\u0060 appears character-identically in 2 files \u2014 brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResItem.java, brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResPrimitive.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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResItem.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0344912b0363de5cfa81acb7a007706d3a3ff3691f8a891405f662c87a81ad2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mType \u003E= TYPE_FIRST_INT \u0026\u0026 mType \u003C= TYPE_LAST_INT\u0060 appears character-identically in 2 files \u2014 brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResItem.java, brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResPrimitive.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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResItem.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e4b2f87741ac675526b4c1581b9b2dc907d446dd701781d583c70c7f8a1e3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060obj == null || getClass() != obj.getClass()\u0060 appears character-identically in 23 files \u2014 brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/FeatureFlag.java, brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/StyledString.java, brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResConfig.java, brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/ResEntry.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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/FeatureFlag.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9734fd852d259cdd6054bf91898ddcdf737d8ffb88ebed80204cbf9033360fc4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skipUnresolved || keyId.pkgId() != pkg.getId()\u0060 appears character-identically in 3 files \u2014 brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java, brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.java, brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResStyle.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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"444f4704a239402ba600705920ea8b37b049ac02e1bba7d9b0c5f40c6d52c96b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type == TYPE_INT_DEC || type == TYPE_INT_HEX\u0060 appears character-identically in 2 files \u2014 brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java, brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResFlags.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":"brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResEnum.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9eab598a366519fdcfdde65e477cf17abe9959f0174a66cbedf678a337a722"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/17 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"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.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":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_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/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"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."]}]}