{"$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":"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"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":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"InputProviderKt.InputProvider (cyclomatic 64): InputProviderKt.InputProvider has cyclomatic complexity 64 (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":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"69744b65c28fb85af7d4e881514960055a3ea6dd744dcc112cc9e0123d4c1dfb"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackerInputProviderKt.TrackerInputProvider (cyclomatic 40): TrackerInputProviderKt.TrackerInputProvider has cyclomatic complexity 40 (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":"tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"11dbb080dcca91ad696af0341dcd3647fb8e1819349977c1e28bbc9c6ddf28f8"}},{"ruleId":"D1","level":"warning","message":{"text":"DateUtils.expDate (cyclomatic 40): DateUtils.expDate has cyclomatic complexity 40 (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":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a503c6c27c0b922881712af97b3db632ad95ff5464428dcbb1e7306d5491091"}},{"ruleId":"D1","level":"warning","message":{"text":"FieldProviderKt.ProvideByValueType (cyclomatic 37): FieldProviderKt.ProvideByValueType has cyclomatic complexity 37 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"406e2917b74eadbc2294e255032656f1315865a5153789e562ce83322e257ffa"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchParametersRepositoryImpl.getInputTypeByValueType (cyclomatic 37): SearchParametersRepositoryImpl.getInputTypeByValueType has cyclomatic complexity 37 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracker/src/androidMain/kotlin/org/dhis2/tracker/search/data/SearchParametersRepositoryImpl.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f61dd50e874e9f6d41afdd56d0a565942ca3fa6d96357cec64b5b4b241b7be"}},{"ruleId":"D1","level":"warning","message":{"text":"transifex_sync.cmd_postpull (cyclomatic 37): transifex_sync.cmd_postpull has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/update-translations/scripts/transifex_sync.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"600214655393b78b37a381913876284886c51dc3a113f10fb934b9dd69615f76"}},{"ruleId":"D1","level":"warning","message":{"text":"DateUtils.getNextPeriod (cyclomatic 32): DateUtils.getNextPeriod has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b327849f4890d47dc8e9cb3ce0dd2fa088c8229ce9a2d8947862c4df02263e6"}},{"ruleId":"D1","level":"warning","message":{"text":"DateUtils.getNextPeriod (cyclomatic 32): DateUtils.getNextPeriod has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e56678d5f9c8838a2fad786d9b1957667d5ab0ec39bb3b3f4ece808a98c149a"}},{"ruleId":"D1","level":"warning","message":{"text":"RuleEngineExtensionsKt.toRuleEngineObject (cyclomatic 24): RuleEngineExtensionsKt.toRuleEngineObject has cyclomatic complexity 24 (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. This shape REPEATS in the file: one other method here (RuleEngineExtensionsKt.toRuleEngineObject) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RuleEngineExtensions.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d59aec297432b07ffd9e411a3c19eb1d210d7331938df46197d12cb4a317b7"}},{"ruleId":"D1","level":"warning","message":{"text":"RuleEngineExtensionsKt.toRuleEngineObject (cyclomatic 24): RuleEngineExtensionsKt.toRuleEngineObject has cyclomatic complexity 24 (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. This shape REPEATS in the file: one other method here (RuleEngineExtensionsKt.toRuleEngineObject) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RuleEngineExtensions.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9028471d8e233dc34248507ad1a1ee41bc3a3449b86cf8cfa60c1b1a98eaa768"}},{"ruleId":"D1","level":"warning","message":{"text":"FieldUiModelImpl.equals (cyclomatic 23): FieldUiModelImpl.equals has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/model/FieldUiModelImpl.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2ebb4e00540a691d76b8e96ff65136044b07aa10b0bd9d10726b92a5fec13d"}},{"ruleId":"D1","level":"warning","message":{"text":"TableGroupToTableModelKt.toTableModel (cyclomatic 21): TableGroupToTableModelKt.toTableModel has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/model/mapper/TableGroupToTableModel.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5f563320bf03b9779d12b35ee7ad181e5afc22d624d74eef74fb805a97fca0"}},{"ruleId":"D1","level":"warning","message":{"text":"QrReaderFragment.promtForTEIMoreQr (cyclomatic 21): QrReaderFragment.promtForTEIMoreQr 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":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"32725174bb2dff3e84338405334dc196addbd7722ce45d3f6cbdaea0cab26768"}},{"ruleId":"D1","level":"warning","message":{"text":"Bindings.setEventIcon (cyclomatic 19): Bindings.setEventIcon 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":"app/src/main/java/org/dhis2/bindings/Bindings.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc41b131d354d2d11bfaf1eec41aed8e462169f4bb137e4d31ad676530e4d08"}},{"ruleId":"D1","level":"warning","message":{"text":"InputDataUiStateMapper.map (cyclomatic 18): InputDataUiStateMapper.map has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/states/mapper/InputDataUiStateMapper.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7425c992d0fd4cc98a891eb64f29ca7471c6c039ddbdd6290dd937f4dec7433"}},{"ruleId":"D1","level":"warning","message":{"text":"TroubleshootingRepository.checkActionVariables (cyclomatic 17): TroubleshootingRepository.checkActionVariables has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/troubleshooting/TroubleshootingRepository.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"5157fa9178c206e2ec594ead60d5ba0a6748a1a6c53969d350ddc67e782c5c87"}},{"ruleId":"D1","level":"warning","message":{"text":"transifex_sync.parse_tx_config (cyclomatic 17): transifex_sync.parse_tx_config has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/update-translations/scripts/transifex_sync.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a974f45c4d37e889f8b4aaa61292b352aa4d766cf570b1d469bae380f2657e95"}},{"ruleId":"D1","level":"warning","message":{"text":"transifex_sync.cmd_push_translations (cyclomatic 17): transifex_sync.cmd_push_translations has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/update-translations/scripts/transifex_sync.py"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"99abf995ffef233ffa4e1bf7187ff0df1c5db4cc66fea51d943739974aec2a48"}},{"ruleId":"D1","level":"warning","message":{"text":"DataSetTableScreenKt.DataSetInstanceScreen (cyclomatic 16): DataSetTableScreenKt.DataSetInstanceScreen has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/DataSetTableScreen.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7a16f4317a797af1ec71a029ce59a181c415010e822687bcf9a98d23916bbd"}},{"ruleId":"D1","level":"warning","message":{"text":"StringExtensionsKt.toUserFriendlyValue (cyclomatic 16): StringExtensionsKt.toUserFriendlyValue has cyclomatic complexity 16 (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":"commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/extensions/StringExtensions.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6a6ffb430f6da3de964d7f4d2c209362ae1cde19303183f74618a0a29151b2"}},{"ruleId":"D1","level":"warning","message":{"text":"UiEventTypesProviderImpl.provideUiRenderType (cyclomatic 16): UiEventTypesProviderImpl.provideUiRenderType has cyclomatic complexity 16 (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":"form/src/main/java/org/dhis2/form/ui/provider/UiEventTypesProviderImpl.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"445ddb7a30256dfd00c4a8329a5a699d0930c4cee71150b4cf1b08ca7b8a32df"}},{"ruleId":"D1","level":"warning","message":{"text":"TeiProgramListAdapter.orderList (cyclomatic 16): TeiProgramListAdapter.orderList 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":"app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/TeiProgramListAdapter.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2b50ccf2989a4ff0f964eb895a91f27bf99ce68954a75874ba73579dc7b56b"}},{"ruleId":"D1","level":"warning","message":{"text":"transifex_sync.load_token (cyclomatic 16): transifex_sync.load_token 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":".claude/skills/update-translations/scripts/transifex_sync.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef408ae5ff853af96825ca0b0abfa79ec9fc15a731201a6bd5795ea853d8c78f"}},{"ruleId":"D2","level":"warning","message":{"text":"transifex_sync.cmd_postpull (cognitive 91): transifex_sync.cmd_postpull has cognitive complexity 91 (threshold 15). Drivers by points: if/else 21 (63 pts), loops 9 (17 pts), error handling 2 (7 pts), boolean chains 4 (nesting depth added 55). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/update-translations/scripts/transifex_sync.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"062eb9ee293f23b5ae52f3b643e15f309736b8d7cb554a86118b36e495025786"}},{"ruleId":"D2","level":"warning","message":{"text":"DateUtils.expDate (cognitive 81): DateUtils.expDate has cognitive complexity 81 (threshold 15). Drivers by points: if/else 35 (69 pts), loops 3 (9 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"3431a58acc6c9d2f7e5dc1b45c672d52ce8a0005e83e2ea93147ad5f32b6a139"}},{"ruleId":"D2","level":"warning","message":{"text":"InputProviderKt.InputProvider (cognitive 56): InputProviderKt.InputProvider has cognitive complexity 56 (threshold 15). Drivers by points: if/else 22 (38 pts), match/switch 8 (15 pts), boolean chains 3 (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":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dc5748df7221214dbd36fb9553350d72bc1b983fc341a34c38f31bef95fe2c"}},{"ruleId":"D2","level":"warning","message":{"text":"QrReaderFragment.promtForTEIMoreQr (cognitive 39): QrReaderFragment.promtForTEIMoreQr has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (24 pts), loops 5 (10 pts), boolean chains 5 (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":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcdebf050ccb5de4846950fa917e187eaa7f2416f39f90804debbe4d7b634a7"}},{"ruleId":"D2","level":"warning","message":{"text":"StockManagerImpl.createEvent (cognitive 38): StockManagerImpl.createEvent has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (27 pts), error handling 6 (11 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stock-usecase/src/main/java/org/dhis2/android/rtsm/services/StockManagerImpl.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f734ffd5e120c966f15151a077cddd6a09ad45b9394e773ad1c5098dbc8458"}},{"ruleId":"D2","level":"warning","message":{"text":"DateUtils.getNextPeriod (cognitive 38): DateUtils.getNextPeriod has cognitive complexity 38 (threshold 15). Drivers by points: if/else 22 (32 pts), ternaries 2 (4 pts), boolean chains 1, 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":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce091558634bae050dd056b6122fe95c730911c4cad0b9622f805e0f8063cccb"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotatedStringHtmlHandler.pushPendingSpanStyles (cognitive 37): AnnotatedStringHtmlHandler.pushPendingSpanStyles has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (34 pts), loops 1 (3 pts) (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":"commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/html/internal/AnnotatedStringHtmlHandler.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34cb86067bc281af269e36c861f60cd0ca355647dd354758ccc1228462a241d"}},{"ruleId":"D2","level":"warning","message":{"text":"transifex_sync.parse_tx_config (cognitive 37): transifex_sync.parse_tx_config has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (30 pts), loops 2 (5 pts), boolean chains 2 (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":".claude/skills/update-translations/scripts/transifex_sync.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fdbf899b35c522f93d521b62b7f58eba2fa37d35f5cfafd3f2ac6a89af8757"}},{"ruleId":"D2","level":"warning","message":{"text":"Bindings.setEventIcon (cognitive 32): Bindings.setEventIcon has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 5 (10 pts), boolean chains 2, match/switch 1 (2 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":"app/src/main/java/org/dhis2/bindings/Bindings.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd35c1865c8874abad68772c099b11b94e212e4783439ac07bd1bf45a0e4b85e"}},{"ruleId":"D2","level":"warning","message":{"text":"TeiProgramListAdapter.orderList (cognitive 30): TeiProgramListAdapter.orderList has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 6 (11 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/TeiProgramListAdapter.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2102bbfa6ce9952920b85d08fe5bd7d99ae437e644c819852e776704681a160f"}},{"ruleId":"D2","level":"warning","message":{"text":"DateUtils.getNextPeriod (cognitive 28): DateUtils.getNextPeriod has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (21 pts), ternaries 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb443093c5183d7dd9bdecd6358df413a0f2b06b2a6ff4fea07bad42754c8eaf"}},{"ruleId":"D2","level":"warning","message":{"text":"DataSetTableScreenKt.DataSetInstanceScreen (cognitive 25): DataSetTableScreenKt.DataSetInstanceScreen has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (14 pts), match/switch 4 (9 pts), boolean chains 2 (nesting depth added 7). 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":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/DataSetTableScreen.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b179fbd910f1b31800e2513e3482b7d140d0de70883967a7c84e1c81d2765bd"}},{"ruleId":"D2","level":"warning","message":{"text":"EventViewHolder.initValues (cognitive 25): EventViewHolder.initValues has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 5 (8 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/EventViewHolder.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"690f8532b1ced2c65c8a72b2dd18081fa011b36d34196ba8d8647c90356d753c"}},{"ruleId":"D2","level":"warning","message":{"text":"transifex_sync.load_token (cognitive 24): transifex_sync.load_token has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/update-translations/scripts/transifex_sync.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04246ebb5102ff233d8552f352d6fe79d098e85227eb6894af83a5c5bec8113"}},{"ruleId":"D2","level":"warning","message":{"text":"transifex_sync.cmd_push_translations (cognitive 23): transifex_sync.cmd_push_translations has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 4 (5 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/update-translations/scripts/transifex_sync.py"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"8571d870e66ef4c9dc88bb42f098770464d67277d7c68794893c2915a78caf7f"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldUiModelImpl.equals (cognitive 22): FieldUiModelImpl.equals has cognitive complexity 22 (threshold 15). Drivers by points: if/else 22. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/model/FieldUiModelImpl.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"21049f1b8e36f8b87fc5a5bd42a3a5a710124fecf54324e54fc2d5f5033aa884"}},{"ruleId":"D2","level":"warning","message":{"text":"DataSetInstanceRepositoryImpl.getDataSetInstanceSectionCells (cognitive 20): DataSetInstanceRepositoryImpl.getDataSetInstanceSectionCells has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (15 pts), match/switch 3 (5 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/data/DataSetInstanceRepositoryImpl.kt"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca591dede3aed25ecf0ef88459656fc6c5314aa86533631bc35505196044d30"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchRepositoryImpl.saveToEnroll (cognitive 20): SearchRepositoryImpl.saveToEnroll has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 1 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepositoryImpl.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"665b64a9431daf55cf16ab430f58dff39673c4356668dcf5d68c7849ec5e0535"}},{"ruleId":"D2","level":"warning","message":{"text":"TableCellKt.TableCell (cognitive 18): TableCellKt.TableCell has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), match/switch 3 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"compose-table/src/main/java/org/dhis2/composetable/ui/TableCell.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"152a0f4ee34c7e3841ecca4044051de2571bac8fe5fd4b954b1e0b5eed2fda47"}},{"ruleId":"D2","level":"warning","message":{"text":"StockManagerImpl.performRuleActions (cognitive 17): StockManagerImpl.performRuleActions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 1 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stock-usecase/src/main/java/org/dhis2/android/rtsm/services/StockManagerImpl.kt"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf2a6501a24ecbee80c5ba2347c8065e5f87cce4cb0e8f2062f18882593d137"}},{"ruleId":"D2","level":"warning","message":{"text":"TeiMapManager.findFeature (cognitive 16): TeiMapManager.findFeature has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2_android_maps/src/main/java/org/dhis2/maps/managers/TeiMapManager.kt"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6d21d3baf2b93599efd12df1e3aa39e26d9817f836ead2e499e093a3571e83"}},{"ruleId":"D2","level":"warning","message":{"text":"NutritionRenderer.drawLinearFill (cognitive 16): NutritionRenderer.drawLinearFill has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/renderers/NutritionRenderer.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a26714fe3147c17dbbac233d1747c75ff9042b6f4d1258853708b53289074c6"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldProviderKt.ProvideByValueType (cognitive 16): FieldProviderKt.ProvideByValueType has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 6 (11 pts), if/else 5 (nesting depth added 5). 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":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0b506d6bd354236e375e4ea791b7272b6c76601ece5aca57d3993667161666"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InputProviderKt.InputProvider: MethodTooLong \u2014 InputProvider runs 635 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 535 over it, 6.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a163243a263aa12905e136da51c7325e59cfd5f8d8f2cda9cc0df4fe8d82a4fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrackerInputProviderKt.TrackerInputProvider: MethodTooLong \u2014 TrackerInputProvider runs 524 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 424 over it, 5.24\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":"tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ea50ef2f08bfe76daf74245942389f190f31cae58ee18d1820798fa190373e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DataSetInstanceRepositoryImpl: ClassTooLong \u2014 1233 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 833 over it, 3.08\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":"aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/data/DataSetInstanceRepositoryImpl.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23aeb11b258d676fc77872fe367014d684d2b2b83d71bc000189e9ee0969105"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FilterManager: TooManyMethods \u2014 77 methods. The bar is 30 methods; this is 47 over it, 2.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/filters/FilterManager.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8402f0e408122572f127937e1f544a54aec89b278fa249be254fd423f5a3872f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/DataSetInstanceRepositoryImpl.kt: FileTooLong \u2014 1282 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: DataSetInstanceRepositoryImpl (52-1510). The bar is 500 significant lines; this is 782 over it, 2.56\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/data/DataSetInstanceRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d67317b45feb587cdb3d00191397c17a347482c6c07387c88270e22055805b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FieldProviderKt.ProvideByValueType: MethodTooLong \u2014 ProvideByValueType runs 224 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 124 over it, 2.24\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":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"9deae3ea55dd6b7eb037dc16f980caaccd20be712c066a8a2ac3a3b0446e60ed"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SearchTEIViewModel: ClassTooLong \u2014 886 significant lines (blank, comment-only and punctuation-only lines excluded), 66 methods. The bar is 400 significant lines; this is 486 over it, 2.22\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2a07bcd09eda5c4ce8b75611b706a4185d60e52aa04b6f842f6efeae58e793"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SearchTEIViewModel: TooManyMethods \u2014 66 methods. The bar is 30 methods; this is 36 over it, 2.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"782745d83243f455d7fc3134c7c8d6f07cb184da56f03dea885ff261f9560655"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataSetTableScreenKt.DataSetTableScreen: MethodTooLong \u2014 DataSetTableScreen runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.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":"compose-table/src/main/java/org/dhis2/composetable/ui/DataSetTableScreen.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0a2e21fe8d0cb519fee26d33ed922db49fa2fb9396f92179eb052c6b90ead8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inputfield/FieldProvider.kt: FileTooLong \u2014 1002 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 502 over it, 2.00\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7947e81e98a222bff83469f25d2121710e9be37a6a6d5de027c2c79487c599"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RuleEngineExtensionsKt.toRuleEngineObject: MethodTooLong \u2014 toRuleEngineObject runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\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":"dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RuleEngineExtensions.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8c9b111a69bdf79cc85ef2bd78b658b68c554895eb59897b54dd76feb98b6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: searchTrackEntity/SearchTEIViewModel.kt: FileTooLong \u2014 970 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: SearchTEIViewModel (88-1432). The bar is 500 significant lines; this is 470 over it, 1.94\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4556f038642d07ffa9d69e895b4b9a0d1c87ae251b7d834a5aeea9ee13cd71b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FormRepositoryImpl: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\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":"form/src/main/java/org/dhis2/form/data/FormRepositoryImpl.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c9eed1ba119f6038ff2d0bfda3e4a8d339a682a3629893e6d90e0152c08eab"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DashboardRepositoryImpl: ClassTooLong \u2014 748 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 348 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/DashboardRepositoryImpl.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed0fb8bbceb41ce828c920d878f96726085ce46b60723d7f14f826546d1551e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FormViewModel: ClassTooLong \u2014 724 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 324 over it, 1.81\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/FormViewModel.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2a4ed3b6c625c6294336fddab84a63816397da2974f6bf8002fb74688ee130"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: QrReaderPresenterImpl: ClassTooLong \u2014 716 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 316 over it, 1.79\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":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f2c3725dd1a040cb7de929eb3de2cf943c9ff8f774e3acaee467a40434e1d0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TableCellKt.TableCell: MethodTooLong \u2014 TableCell runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"compose-table/src/main/java/org/dhis2/composetable/ui/TableCell.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"271e6ae1109f3885fdf7c1af0f6163414c352da170db6b8cd68cd1e2e1c24b3b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrackerRelationshipsRepository.mapToRelationshipModel: MethodTooLong \u2014 mapToRelationshipModel runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\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":"tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed8b53c176f19185005326a51c77f5abd6b1f5fadd24b1ab21ea93af4c067e8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GranularSyncRepository: ClassTooLong \u2014 683 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 283 over it, 1.71\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":"app/src/main/java/org/dhis2/utils/granularsync/data/GranularSyncRepository.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3774a6d0e4a721e727f8e1c28083ddff21b542e5bc480d830bbf428eb1abade"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FilterRepository: 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":"commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52b4e10540bab36f2f91f9ed4e3d51f6fce179158ce5762e16907254810a0b4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FormRepositoryImpl: ClassTooLong \u2014 671 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 271 over it, 1.68\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":"form/src/main/java/org/dhis2/form/data/FormRepositoryImpl.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d01d92c945fbd91150501cc3be388f7c8a4d3d8d63f1faeaa6fa2335a40f4f9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TableGroupToTableModelKt.toTableModel: MethodTooLong \u2014 toTableModel runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\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":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/model/mapper/TableGroupToTableModel.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f01ac3fcafa58baf5903c92a4c13bf6234e879cb3037cc9af831cf4ec8d4d87"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FilterResources: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/filters/FilterResources.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"db34c22a365514b7fcc4f676bb066498ffe9296be4a629716a6f59a107a024c4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DashboardRepositoryImpl: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. Most of these members implement teiDashboard.DashboardRepository (38 of 48 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/DashboardRepositoryImpl.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"358a35631d00966424de7a78fe2cef208c2ba10c491833f37b3de4e58ee2c3ab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FormViewModel: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/FormViewModel.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc0101c33ad7bc1e12097d5bd8fff812bfbc6f3a7a10e43979b140226ee1641"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/FormViewModel.kt: FileTooLong \u2014 797 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: FormViewModel (76-1111). The bar is 500 significant lines; this is 297 over it, 1.59\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":"form/src/main/java/org/dhis2/form/ui/FormViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1796cb0f19f839acd2303380c630dc13231aca6ba82259c7befabff214e77d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: teiDashboard/DashboardRepositoryImpl.kt: FileTooLong \u2014 790 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: DashboardRepositoryImpl (45-944). The bar is 500 significant lines; this is 290 over it, 1.58\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":"app/src/main/java/org/dhis2/usescases/teiDashboard/DashboardRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46ff57ee08164bb1ca8b6f61dff8aa94af70c9a1cac9bdf2b5e059f320ab6e6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DataSetTableViewModel: ClassTooLong \u2014 618 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 218 over it, 1.55\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":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/viewModel/DataSetTableViewModel.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22849255c2dda58953a4e4f89b18e2a5022b600c49af5859e519bef0e270bf5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/GranularSyncRepository.kt: FileTooLong \u2014 772 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: GranularSyncRepository (58-959). The bar is 500 significant lines; this is 272 over it, 1.54\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":"app/src/main/java/org/dhis2/utils/granularsync/data/GranularSyncRepository.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcaeb4e9fe4b6ef90c64b80de86125b7bf4b69e49f8117574a252c9043203ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/DataSetTableScreen.kt: FileTooLong \u2014 769 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 269 over it, 1.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/DataSetTableScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a916568aa5d24cce25732da53594b5e79765a5771e65bc43fba7399dfd77471b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EventCaptureActivity: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a03e140522f331147e8e4df9c76d13bc2cc07ac5a4f53b2a215075f0ac24f6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FilterRepository: ClassTooLong \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 400 significant lines; this is 201 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":"commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3f3fe3e8eb79ac17778630affaa43938656eefa8b8072877f5b8c71aad3ef8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataSetInstanceRepositoryImpl.getDataSetInstance: MethodTooLong \u2014 getDataSetInstance runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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":"aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/data/DataSetInstanceRepositoryImpl.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21a012bf7e4e356e7d6b8f2536d37b69c0eac7a2eee176f4903b220b046a625"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: qrReader/QrReaderPresenterImpl.kt: FileTooLong \u2014 741 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: QrReaderPresenterImpl (28-1113). The bar is 500 significant lines; this is 241 over it, 1.48\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":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"383b1f87643d58f22d012539485fa8a384447f27b104134fe2d438bb1d68b97a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DateUtils: ClassTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 190 over it, 1.48\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":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03e02df408d0065705a81aac982e5dc3ac6fdd421107c82b2435ba38711824b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TeiDashboardMobileActivity: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/TeiDashboardMobileActivity.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"386c6acd8b27a1f35bdc515f5fb7e607e55c69617684ecd037b7d1060f1842ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inputs/InputProvider.kt: FileTooLong \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 233 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f56712f6a88fc14d6e414cfb5dc7ceacebfd416d346d44798b02e493a0f139"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DateUtils.expDate: MethodTooLong \u2014 expDate runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\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":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82446bfdd0df3f5d2d9534b2705e11e34b8e548c81edfeac645c2a1d506bf22"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SyncParametersSettingItemKt.SyncParametersSettingItem: MethodTooLong \u2014 SyncParametersSettingItem runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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":"app/src/main/java/org/dhis2/usescases/settings/ui/SyncParametersSettingItem.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdab60445b103f7e72cf1bab1d82a2811e93fb01ffc68f941fffcd3e0f62e317"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataSetInstanceRepositoryImpl.getDataSetInstanceSectionCells: MethodTooLong \u2014 getDataSetInstanceSectionCells runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\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":"aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/data/DataSetInstanceRepositoryImpl.kt"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"560ea481db1ab3d38602617f45935939862c8813e2036d3cdf377be9d618eecf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EventRepository: ClassTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 169 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":"form/src/main/java/org/dhis2/form/data/EventRepository.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2221199997006b66fb04b12e344373f06a5f17cf3d1407fa73ed2b4beee8814"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FormValueStore: ClassTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 163 over it, 1.41\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/data/FormValueStore.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b248d1997f861b91573170663e285dc6bffe771408ca7673c945c7f5fa235ad"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SearchTEActivity: 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":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEActivity.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e83238dba8d4c3141fe4b989edd62a6b605c45bc24882c7a335bb9f5a72e88"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/FormRepositoryImpl.kt: FileTooLong \u2014 700 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: FormRepositoryImpl (32-969). The bar is 500 significant lines; this is 200 over it, 1.40\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/data/FormRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4be51a9aefe3320e16985d6d2118ea6f8f7a4f00c9708cd3cebb0d572e6f9f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EventMapFragment.onCreateView: MethodTooLong \u2014 onCreateView runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\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":"app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"186f65722d08e89ff492714885b9b559f27c950a5ac4183d70b228f0de066280"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: viewModel/DataSetTableViewModel.kt: FileTooLong \u2014 687 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: DataSetTableViewModel (72-984). The bar is 500 significant lines; this is 187 over it, 1.37\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/viewModel/DataSetTableViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa36afb845ee00a5fb728ae0972c93a79138d24c9146f2b30364ac6f230bf8be"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TeiDashboardMobileActivity: ClassTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 148 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/TeiDashboardMobileActivity.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"52711c906d7e61a9e857646b5d947847b98e8fa67cd6b540f20463059019773e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SearchParametersScreenKt.SearchParametersScreen: MethodTooLong \u2014 SearchParametersScreen runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracker/src/commonMain/kotlin/org/dhis2/tracker/search/ui/screen/SearchParametersScreen.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d1d693fb7f06ba8c2a2d1150eded7502c9d3078627fbe6629b515740569734"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SearchTEPresenter: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. Most of these members implement searchTrackEntity.Presenter (32 of 40 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEPresenter.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"189ee375c7abb611b4a4e64048d4de96b0389c5a2f50b345a7347ddf7a9bf6aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EventRepository: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/data/EventRepository.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2f68afbfb101b0aeb61fa6954e2532906155b9009f676a885796bf1c2491f3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CredentialsViewModel: ClassTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 131 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/viewmodel/CredentialsViewModel.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"465d22e25ea4b4470100efadd54f0949815948ac5160658b571eb38ba8caf59b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: QRCodeGenerator: ClassTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 126 over it, 1.32\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a9f6ab9a86e8c5ab3009366dc687d706eb670d08bee61a2906f1705c28c1e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: teiDashboard/TeiDashboardMobileActivity.kt: FileTooLong \u2014 655 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: TeiDashboardMobileActivity (96-892). The bar is 500 significant lines; this is 155 over it, 1.31\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/TeiDashboardMobileActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38fd2575fce9a51890ba573d263b4e6219678989e0e71867edd32d6cb07e30a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FilterManager: ClassTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded), 77 methods. The bar is 400 significant lines; this is 119 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/filters/FilterManager.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0373c9f247b6c795014beeaa3598ec8c2f45a0bcbbb26cac52cc3a3d93fb0d2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/FilterRepository.kt: FileTooLong \u2014 646 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: FilterRepository (48-821). The bar is 500 significant lines; this is 146 over it, 1.29\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb173e2235c10117047079fdad98bebfbdfad72fd90f8f9c0e22fbbddfab8e6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TEIDataFragment: ClassTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 115 over it, 1.29\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TEIDataFragment.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"092f7f8e295686bd2f01e8f16c770f4e52e37ab30c1a19abedb34520c095d4f5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataSetTableViewModel.onUiAction: MethodTooLong \u2014 onUiAction runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/viewModel/DataSetTableViewModel.kt"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"8582c6a893c4ba4b79af6d45ed5b7606acaf447402331ad74ef37415bcf06962"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/MapSelectorScreen.kt: FileTooLong \u2014 638 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 138 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0df18572f4f581f0082e321d831ad37e29f716334468d930c87e7d5225b3866"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ManageStockViewModel: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/managestock/ManageStockViewModel.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2faaf4f8972f291be3f9b47a154545d13a9a5fa72f329e69309e4cb8642910e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/EventRepository.kt: FileTooLong \u2014 618 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: EventRepository (52-776). The bar is 500 significant lines; this is 118 over it, 1.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/data/EventRepository.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dfb709e18752b0f640ced63e7637967354ce69b3372d55900b7ecd64c3de65"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DataSetInstanceRepositoryImpl: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/data/DataSetInstanceRepositoryImpl.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"220c1834c2051d4da4be1f1a8deb62c1d9ab9295254321ea0811f40d28f4f211"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DateUtils.getNextPeriod: MethodTooLong \u2014 getNextPeriod runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\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":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afed8f75ab9ac1adc4f1456b595ccea4ee39743351a78c9cb720e663d9ebb0e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ManageStockTableKt.ManageStockTable: MethodTooLong \u2014 ManageStockTable runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\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":"stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/managestock/components/ManageStockTable.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8761b161607fa23bc89b51d3cf86e060dffb11a5bf6fc0d95f4a80483ad2f92f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screen/CredentialsScreen.kt: FileTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 113 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/screen/CredentialsScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"317b898849e60a42b61448daf95a62b5e524ea689b54d9f80452fb5ade02c796"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: qr/QRCodeGenerator.kt: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: QRCodeGenerator (46-722). The bar is 500 significant lines; this is 102 over it, 1.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f8a1822e20fa59bcd2a57f0fe8ac7b60179f9426787d9fd6bf42f5c1d0922b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: date/DateUtils.java: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: DateUtils (15-783). The bar is 500 significant lines; this is 102 over it, 1.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ea8ea537f40846adc9ede9269c0f8086e05f5f4631cf0bd0b9fc97da7b5952"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CredentialsViewModel: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/viewmodel/CredentialsViewModel.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e527faa66cd622c840f5ad95c4d397317edaa2cb986e1d91af4e63e165bb60ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/transifex_sync.py: FileTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 100 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/update-translations/scripts/transifex_sync.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12667c660cc637b7bac06bd9535ea0ae548aff05f7ffb3349fbec52c5253a37f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: teidata/TEIDataFragment.kt: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: TEIDataFragment (88-815). The bar is 500 significant lines; this is 99 over it, 1.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TEIDataFragment.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d6d9e45141e56c282cbe3c82396e1886a0f85f17e6da6abba5ba54a0ca897e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/FormValueStore.kt: FileTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: FormValueStore (32-781). The bar is 500 significant lines; this is 92 over it, 1.18\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":"form/src/main/java/org/dhis2/form/data/FormValueStore.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"129a20b95e26c18b00795cde208fe4e656cd73a0731439b6090a4468221afc21"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: provider/TrackerInputProvider.kt: FileTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 92 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0a4dff89d40f9f5fc054b937421b1da174e227cabdc508ae5b161c7c557b37"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DateUtils.getNextPeriod: MethodTooLong \u2014 getNextPeriod runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"048aa3117ab6ef4114a36cf545ee1a0e8c8fc9eddb908fe24508930070a00620"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: viewmodel/CredentialsViewModel.kt: FileTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: CredentialsViewModel (56-870). The bar is 500 significant lines; this is 84 over it, 1.17\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":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/viewmodel/CredentialsViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf02695d063e9737b43cce1ad38a8527a9717b464fb38a0e61e352e48234821"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LoginRepositoryImpl: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. Most of these members implement data.LoginRepository (30 of 35 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39ac193e3999fc35a03f2f46c88859d330f7c213ff3eb632ac2202a43626aab"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SearchTEActivity: ClassTooLong \u2014 461 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 61 over it, 1.15\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":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEActivity.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5826757e22384b1e73d8d8592661b1c1bbb6f6d95df62228f661814581698099"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FormView: ClassTooLong \u2014 461 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 61 over it, 1.15\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":"form/src/main/java/org/dhis2/form/ui/FormView.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29611996f1fdf2d8848ffb7b74d689dd0a1bc606ea7a5916442db3c45ae3652"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/SearchTEUi.kt: FileTooLong \u2014 575 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 75 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/SearchTEUi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"134282966483b25a0c9db2f21a2b6ef40bf63d58bad85cf01f31d3cc06ef0fe2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataSetInstanceRepositoryImpl.dataSetInstanceConfiguration: MethodTooLong \u2014 dataSetInstanceConfiguration runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/data/DataSetInstanceRepositoryImpl.kt"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c73c4adf65c8c6bbba8a6b841ecf25efd5e4094b879d21c9d21de7c644b5a2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExtensionsKt.profilePicturePath: MethodTooLong \u2014 profilePicturePath runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/bindings/Extensions.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c232378d4a12d6133f07192ce2f10e559185ec48acb732661f01527d80e350"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SMSSettingItemKt.SMSSettingItem: MethodTooLong \u2014 SMSSettingItem runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/settings/ui/SMSSettingItem.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37713608f7537db9ae001940a676bb5e59171f2564ad940128581b4a186be5c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfilePictureProvider.invoke: MethodTooLong \u2014 invoke runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracker/src/androidMain/kotlin/org/dhis2/tracker/data/ProfilePictureProvider.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dda8f0dfd069007d9c62d7b010d6ff238f0b4a0e3da77fff311f9fef1b458d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EventInitialRepositoryImpl: ClassTooLong \u2014 456 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 56 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialRepositoryImpl.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65946311846839c6e7b2111950da9c6b6fc0382a7f368d2e030750d4759ef47"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TeiDataRepositoryImpl.getGroupedEvents: MethodTooLong \u2014 getGroupedEvents runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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":"app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TeiDataRepositoryImpl.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ffcdcfbfcefd7182f7f7409b5aecb1fe883aa09522ce5795c7fa134a12355b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AndroidSyncRepository: 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":"sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncRepository.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8bdc157e4e0e09af5dc18a5646ffbab62c2d040d594873914dba32597f6526"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataSetDetailRowKt.DataSetDetails: MethodTooLong \u2014 DataSetDetails 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":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/DataSetDetailRow.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb925a14aa6fbd22e1668ac7c0dcc72f2d68004d4057b4ca4455097599330fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TableKt.TablePreview: MethodTooLong \u2014 TablePreview runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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":"compose-table/src/main/java/org/dhis2/composetable/ui/Table.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8aa3657d3e93f813723c80948f557ad320529ad1777d9a097d7a5f45c50a6b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TeiDataRepositoryImpl: ClassTooLong \u2014 444 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 44 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TeiDataRepositoryImpl.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"279f1a2390013a2d44a5f8716e5aed7579beb24df9ea06990f7462a809e127f1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SearchTrackedEntityRepositoryImpl: ClassTooLong \u2014 444 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 44 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracker/src/androidMain/kotlin/org/dhis2/tracker/search/data/SearchTrackedEntityRepositoryImpl.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec4c6b9941d5f81d6eeb98bf06950981555fa6bdf3e5cb1e0064e9f8fff6279"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: filters/FilterManager.java: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: FilterManager (42-781). The bar is 500 significant lines; this is 55 over it, 1.11\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/filters/FilterManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d2ff2d2612a0b09e5ab069920e538aa334cd16474620e30c40251367d5ab6c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EventDetailsRepository: 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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a00759a7e0c26e902611b1f1b9c3569a08f0d58693b6e2194e71743426096c7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SearchTEModule: 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":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEModule.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"39debf86090d33eeea4f4b50c823a03541326eae09fbde9619fd832556fc8a0c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DateUtils: 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":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24ee29e893e570be14c34b407d8169ded27c88e38e6df8ef03a9b73fe46f43c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProgramUiKt.ProgramItem: MethodTooLong \u2014 ProgramItem runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"app/src/main/java/org/dhis2/usescases/main/program/ProgramUi.kt"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"3537d6e3067f55658d18821daa6ca71cfafad488f5f895d42012c5610ef48a56"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsScreenKt.SettingItemList: MethodTooLong \u2014 SettingItemList runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"app/src/main/java/org/dhis2/usescases/settings/ui/SettingsScreen.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d134bfb9a227eece99620898f64aab7dde3d5af412925f1b65970d46ce160f8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DropdownComponentsKt.DropdownComponentTransactions: MethodTooLong \u2014 DropdownComponentTransactions runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e061fe3135213150d797b2def702802f35bc895b3cdc0c327b42e5c0bc3cd2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: searchTrackEntity/SearchTEActivity.kt: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: SearchTEActivity (84-782). The bar is 500 significant lines; this is 42 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"484246dc41beb40f6287987de487ef417e6e6a2825de334c00794d0a1e1548ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: program/ProgramUi.kt: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 41 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/main/program/ProgramUi.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec937e9f71bf41f00f06cfd8352197b419ae6849a3d8be343bca8bffdfab6995"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilterPeriodsDialogUIKt.FilterPeriodsDialogUI: MethodTooLong \u2014 FilterPeriodsDialogUI runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/filters/periods/ui/FilterPeriodsDialogUI.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ee35fc70bd7105b4bc53641f69a62c6bcc8540dc9b4952f7209f98ef19a1ee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RelationshipsScreenKt.RelationShipTypeSection: MethodTooLong \u2014 RelationShipTypeSection runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracker/src/commonMain/kotlin/org/dhis2/tracker/relationships/ui/RelationshipsScreen.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fa012d8a4cd33ab52551fe88194c968b2fbee90266802acc00c89292c03a02"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AndroidSyncRepository: ClassTooLong \u2014 431 significant lines (blank, comment-only and punctuation-only lines excluded), 34 methods. The bar is 400 significant lines; this is 31 over it, 1.08\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":"sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncRepository.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd97235ccb0ecb828c13e4a0c379a226dc6270405c0fb9416e84b1e49983eba"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConflictGenerator: ClassTooLong \u2014 431 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 31 over it, 1.08\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":"app/src/main/java/org/dhis2/usescases/development/ConflictGenerator.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"556342e8f669bae793d79e4781b0f84e159dd0acf8385a362689b3ef773e12f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/FormView.kt: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: FormView (78-752). The bar is 500 significant lines; this is 36 over it, 1.07\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":"form/src/main/java/org/dhis2/form/ui/FormView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d85098826b65d28388f69e55a557aa5410b200eac1a50f03c44f40920e15ee"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: App: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/App.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be32a355829cf666a263a81ba92f116ab57e2cba92b3136269146f8fefe78c4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingsRepository: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/settings/SettingsRepository.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"be27af66b487a496fd5585ec5a48e51efb57fcaa71248ebc28f56b46d4e40480"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EventCaptureActivity: ClassTooLong \u2014 426 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 400 significant lines; this is 26 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f06a024aa21db668b5bc0f9a665b04b8989441df346256a9b95fe2e1d70b4f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataTableKt.DataTable: MethodTooLong \u2014 DataTable runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\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":"compose-table/src/main/java/org/dhis2/composetable/ui/DataTable.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f773e012e698bd07fdade789fce3e9382f99ec611c39b3b7e28d3d5e29563c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChartModel: ClassTooLong \u2014 423 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 23 over it, 1.06\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":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ui/AnalyticsModel.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9653335eb6af09ff06f848623f6a4d8646cd5386f7d22cc91b0d4d79fb0906"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SearchParametersScreenProviderKt.provideSearchScreen: MethodTooLong \u2014 provideSearchScreen runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/searchparameters/SearchParametersScreenProvider.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4059bd2d7f4b7bb0c53ace4222ebf4ae849db7a2dbdd7cc948cb395ffdb5513d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RelationshipFragment.RelationshipMapScreen: MethodTooLong \u2014 RelationshipMapScreen runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/relationships/RelationshipFragment.kt"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f9da6cac8c5411e1091f8488720861e8c2201cc27bfdc63303a126793454a1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TEIDataPresenter: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TEIDataPresenter.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3dd574580f72e52a6bd1033d6133a374e6e5857b2df8d1d8c7ed1389aa85b2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Injector: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/di/Injector.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8442e78ee08270310c7efc7967e25b0819349c93e0b502d5c72b05e988d233aa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GraphToTable.mapToCompose: MethodTooLong \u2014 mapToCompose runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToTable.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cafd7b75e6dd1f4795336892cbff5c3b88988b62e91254ef5ef5cf2d38ef7d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RulesUtilsProviderImpl.applyRuleEffects: MethodTooLong \u2014 applyRuleEffects runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"form/src/main/java/org/dhis2/form/data/RulesUtilsProviderImpl.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e454cd93e2161226c8b73bdbbf1e9202de77ab8d9fb440c3fbd8b7bfa50f6f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eventCapture/EventCaptureActivity.kt: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: EventCaptureActivity (83-713). The bar is 500 significant lines; this is 10 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d81e1528016476410bb633891c1f4049e00ffb05cd70d5d1734230fbe76f96"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataSetTableScreenKt.DataSetTable: MethodTooLong \u2014 DataSetTable 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":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/DataSetTableScreen.kt"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef303a0db1da1b5b9216c3da9f1a8e142aaba4fbfc5262274c89f0f79f99abc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/AnalyticsModel.kt: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: ChartModel (86-701). The bar is 500 significant lines; this is 8 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ui/AnalyticsModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8dbecae47ea21b53e730a57f290cd64852cb9d128f4cce18e09dc33ac4b6551"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextInputKt.TextInputContent: MethodTooLong \u2014 TextInputContent 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":"compose-table/src/main/java/org/dhis2/composetable/ui/TextInput.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"828913916870728f897cdfd6164c4330153620bee14eea65c137e676487c0b42"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MapSelectorScreenKt.LocationInfoContent: MethodTooLong \u2014 LocationInfoContent 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":"dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorScreen.kt"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64a9c4b367401497d1f8470ecf07470fb3d3db475eacd1e6d68fb0eecd0047f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SearchTrackedEntityRepositoryImpl.getRelationShips: MethodTooLong \u2014 getRelationShips 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":"tracker/src/androidMain/kotlin/org/dhis2/tracker/search/data/SearchTrackedEntityRepositoryImpl.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b209010eddbdd31dae3fe6189c1c481518ce618b05d3b75884feb361f30c554"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EnrollmentRepository: ClassTooLong \u2014 403 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 3 over it, 1.01\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":"form/src/main/java/org/dhis2/form/data/EnrollmentRepository.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a9600776fb1dd7f7f0995e4cd689d950c80ba122ae5b74d6d73d0f4ce6e83d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LoginRepositoryImpl: ClassTooLong \u2014 402 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 2 over it, 1.01\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":"login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ddcd2409df55008f510b42a57128041491a5b56ef7c0bf56690ce9700937de"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 45 shared lines): app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt:126-194 | app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt:379-443 | app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt:246-310 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/mapper/TEICardMapper.kt:373-441 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:264-328 \u2014 These 5 members are variants of one another: a block of 45 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3027be34c3623d7ee38c8ec40d480ef717be58863b8f9aa13cdec78853c3eb5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (83 shared lines): app/src/main/java/org/dhis2/bindings/Extensions.kt:27-154 | tracker/src/androidMain/kotlin/org/dhis2/tracker/data/ProfilePictureProvider.kt:14-141 \u2014 These two members are variants of one another: 83 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/bindings/Extensions.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb8095bfcc9ed12b88d22159e6c74b2c787f4ca2d0e61a55150c89447beb1f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (69 shared lines): commons/src/main/java/org/dhis2/commons/date/DateUtils.java:500-629 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:637-759 \u2014 These two members are variants of one another: 69 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22c6bc12f35044de2ce15951e4769a1272571c7cdee3ff71c50758e85b51348"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (56 shared lines): login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt:187-273 | login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt:142-229 \u2014 These two members are variants of one another: 56 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa24be31e6b2b8b69f982a03faa0522a50f6c617842c3b713cf2986881fc61c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (52 shared lines): app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:107-185 | form/src/main/java/org/dhis2/form/data/FormValueStore.kt:419-488 \u2014 These two members are variants of one another: 52 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29bde259af332e231587faa6a484216173a52d9409c4603c0d917e873ec1007"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (46 shared lines): stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt:63-208 | stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt:289-449 \u2014 These two members are variants of one another: 46 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d9492686c3690b1edddc3adba365739ce1e3b440c89888e465a7d5e55ec2ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:550-608 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:618-677 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:687-746 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:756-816 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:826-889 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:899-963 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:973-1032 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1042-1101 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1112-1180 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1191-1259 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1270-1338 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:82-157 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:167-220 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:231-307 \u2014 These 14 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 14 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"092a4fcce38e4f2b175a73d6fa528553e21557339ccdc2ffc89ffceee365e769"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): commons/src/main/java/org/dhis2/commons/date/DateUtils.java:79-89 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:91-104 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:106-116 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:118-130 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:132-142 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:144-156 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a5fe9a717ef9e2110f43c8a74cce031a231fab2d95bddd3f8dcfbcbe5f5670"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt:73-267 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/mapView/SearchTEMap.kt:125-339 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/relationships/RelationshipFragment.kt:223-377 | dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapItemHorizontalList.kt:114-216 | tracker/src/commonMain/kotlin/org/dhis2/tracker/relationships/ui/RelationshipsScreen.kt:201-338 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7141162e50ba8ce1d43438b266b2b342f6ae0462cb93d31c7e5162a192a89a85"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ui/AnalyticsModel.kt:251-286 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ui/AnalyticsModel.kt:291-326 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ui/AnalyticsModel.kt:331-366 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ui/AnalyticsModel.kt:371-406 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ui/AnalyticsModel.kt:411-446 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ui/AnalyticsModel.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"e184f557ad96e6f209564ba0d98b4dc6ffa82e8e32863e84e803af2793b1051e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt:89-106 | app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt:448-466 | app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt:112-129 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:333-350 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"560533477fe5dc0211a4b0f28ab3da700fac5d3ee3ae11f85eb7085c6c3e6af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt:237-269 | app/src/main/java/org/dhis2/usescases/main/program/ProgramUi.kt:634-666 | app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt:319-351 | commons/src/main/java/org/dhis2/commons/ui/SyncButtonProvider.kt:22-50 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"007caa9d4bade3a10bda96c43ec00dc47db6406b94109cf417f80f0f4dcbd7c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/src/main/java/org/dhis2/usescases/programStageSelection/ProgramStageSelectionViewHolder.kt:28-62 | app/src/main/java/org/dhis2/usescases/settingsprogram/ui/SettingsProgramScreen.kt:51-140 | app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/ui/EnrollToProgram.kt:45-111 | commons/src/main/java/org/dhis2/commons/bindings/TEICardExtensions.kt:72-110 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/programStageSelection/ProgramStageSelectionViewHolder.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6304d65a033af76151709188a8338e529602b0da4139ee50e0c52b35d9c59e9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt:92-118 | commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt:121-147 | stock-usecase/src/main/java/org/dhis2/android/rtsm/services/StockTableDimensionStore.kt:100-126 | stock-usecase/src/main/java/org/dhis2/android/rtsm/services/StockTableDimensionStore.kt:129-155 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41e67197ea6e46761f324e08a2e39797b6eb22ed10b8af497027fefe9877528"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/bindings/AnalyticsBindings.kt:35-66 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/bindings/DateToPosition.kt:16-68 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/data/Graph.kt:42-83 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/data/Graph.kt:130-163 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/bindings/AnalyticsBindings.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0bc3aa904f0bc7ad6e3e2cf571bf8f68e2800f13a5078e9fae666fa54c49c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt:31-77 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt:86-142 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt:153-205 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt:213-241 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba01ca9705118d36834bccc4f7df674bc359529e246b2f4a9791712adbac8225"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (102 corresponding lines): form/src/main/java/org/dhis2/form/ui/provider/inputfield/AgeProvider.kt:38-156 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerAgeInputProvider.kt:37-138 \u2014 These two members are one piece of code written twice and then edited apart: 102 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/AgeProvider.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48d3369a35e7fd8aa78111b107662fbcd42a957eca62e3e41ec0a9e89120655"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:574-649 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:683-785 \u2014 These two members are one piece of code written twice and then edited apart: 76 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace9ff7316e703952f331ff8926f06c36aa49d0271aa94eecdbe88b007e7e9d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (86 corresponding lines): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToBarChart.kt:24-118 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToLineChart.kt:30-115 \u2014 These two members are one piece of code written twice and then edited apart: 86 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToBarChart.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f731c1c0021db29d35a74a1b88bb1ab2da523a8549199e0fda80ae26d9071c96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (80 corresponding lines): app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt:295-374 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:180-259 \u2014 These two members are one piece of code written twice and then edited apart: 80 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"170f36058b1231c06a59c05e2dcc8ce54b8ece5ab16627c85a232b6bf1591e2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt:498-555 | app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt:580-644 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34aff2dbd528ab3edf56070b7c1ec848d8b759cc5c24a9e17e3545513006dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): app/src/main/java/org/dhis2/usescases/qrCodes/QrActivity.java:64-128 | app/src/main/java/org/dhis2/usescases/qrCodes/eventsworegistration/QrEventsWORegistrationActivity.java:50-98 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/qrCodes/QrActivity.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"599157533a513245d87c773c8bc6a7d95e0ef7d7199e5254a7565870fe7eb88d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): form/src/main/java/org/dhis2/form/ui/provider/inputfield/MatrixInputProvider.kt:24-77 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/SequentialInputProvider.kt:24-76 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/MatrixInputProvider.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"53183a0cd22c58606f7db5021b7e46533f1583e271a99bfe677985d236bec665"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt:319-392 | login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt:294-381 \u2014 These two members are one piece of code written twice and then edited apart: 74 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"85974953c522bfcd51f55952c251e4541d2d630f04761287e08138a40e7ba772"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/component/ValidationRulesErrorDialog.kt:135-189 | commons/src/main/java/org/dhis2/commons/ui/PagerIndicator.kt:75-130 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/component/ValidationRulesErrorDialog.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e4fd9d374f1b81abd975381a49646b52949918963eadb9e54ffc0c53072ad8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncRepository.kt:408-470 | sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncRepository.kt:473-534 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncRepository.kt"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"746cc53850dd7c4c88950e30a62a54a81fbba0de2d14419744fc48db8ae86867"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCapturePresenterImpl.kt:105-162 | app/src/main/java/org/dhis2/usescases/teiDashboard/DashboardViewModel.kt:317-380 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCapturePresenterImpl.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"243d75101d358400fbd91ca393dae4014c4e9f0593a59120f9c35b925e7183a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): form/src/main/java/org/dhis2/form/ui/provider/inputfield/DateProvider.kt:40-110 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerDateTimeProvider.kt:34-95 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/DateProvider.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bfc43a0de7b527958f9ea5d1cbf161a22f27ae1d502898c87e99cf172e1cda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 43\u002B corresponding lines): dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt:108-150 | dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt:223-269 | stock-usecase/src/main/java/org/dhis2/android/rtsm/services/rules/RuleValidationHelperImpl.kt:245-292 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 43 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":"dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d0c3cd1d57284b84640411678621bc4ca03401bb0114e50d2f5cc135da221e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventDetailViewModel.kt:78-127 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt:264-314 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventDetailViewModel.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fd77c380063adacdaf7a3f68aed9d8fc44ab30236d24e31bab2853649cadb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 48\u002B corresponding lines): form/src/main/java/org/dhis2/form/ui/provider/inputfield/CheckBoxProvider.kt:25-72 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/MultiSelectionInputProvider.kt:19-71 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/RadioButtonProvider.kt:24-71 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 48 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/CheckBoxProvider.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a55b13029c69ca3861691d626d56644f30d96357c9c0583a1903142e1603c87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/TeiProgramListRepositoryImpl.java:40-62 | app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/TeiProgramListRepositoryImpl.java:66-84 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/TeiProgramListRepositoryImpl.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4822b28ca40ec4e2afb06e4ce7cbd20d5f71064ee764c4aa0037891306d6b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): form/src/main/java/org/dhis2/form/ui/provider/inputfield/CheckBoxProvider.kt:80-138 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/RadioButtonProvider.kt:79-137 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/CheckBoxProvider.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c709fc9c563b3fb502eda2305904476c87fb033dc1fd2b48817f1be9ec97abd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): app/src/main/java/org/dhis2/utils/granularsync/data/GranularSyncRepository.kt:80-136 | app/src/main/java/org/dhis2/utils/granularsync/data/GranularSyncRepository.kt:139-184 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/utils/granularsync/data/GranularSyncRepository.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d58077e183ab93ba8e221a598b6c1307603b8dd4073288232d220de9c4fe282"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:141-179 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:241-283 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbe1cc514080f82969f58fa6fcb5ecc71304762f0b0dc13d0dbe729f7e8d2ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt:97-136 | tracker/src/androidMain/kotlin/org/dhis2/tracker/events/CreateEventUseCaseRepositoryImpl.kt:70-109 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"667556887da360b52214767c5a269943c661c529a7f80a11840623e1db6f7e99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt:346-382 | app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt:395-420 \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":"app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca58a1a53315f218b447f30273727563959696c48a41b7ff447d75cf9eb44f33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 45\u002B corresponding lines): app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt:175-229 | app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventMapper.kt:294-338 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TeiDataRepositoryImpl.kt:458-502 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 45 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":"app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"87eb31d02509c8b23791d19fe79866ba122131fa1358af9f3681848d83907d5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/src/main/java/org/dhis2/utils/granularsync/SyncStatusItem.kt:81-119 | commons/src/main/java/org/dhis2/commons/ui/icons/SyncStateIcon.kt:14-45 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/utils/granularsync/SyncStatusItem.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"770226d3cc6198736428201d499dace0c30e12c1610f8dfe79ad8f5010f9551d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/src/main/java/org/dhis2/usescases/development/ConflictGenerator.kt:474-509 | app/src/main/java/org/dhis2/usescases/development/ConflictGenerator.kt:511-543 \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":"app/src/main/java/org/dhis2/usescases/development/ConflictGenerator.kt"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"4271adf62a0923288471f83c6145f34cda028e3b69569abb182ed050923ba5a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:311-355 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:357-389 \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":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0d6e0c4cc46cd1d8f4e7e7f62e5dff355bcd1352298c64da13d7babb75a8b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt:252-290 | form/src/main/java/org/dhis2/form/data/EventRepository.kt:393-432 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9339a4cf97d45589e1e3bc1b4a29f116ccf8757475fb28f31dbabc41492ce85c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerCheckboxInputProvider.kt:18-56 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerRadioButtonInputProvider.kt:18-58 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerCheckboxInputProvider.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5798adb762946e00379f75d3ce160920b1adb8a80a3bba019df4ef12f01468"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt:31-75 | tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt:33-84 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a49572f07b3b3e8f10093a88039aa676c83c699d4cd549a8a91479334c55b18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt:77-118 | tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt:86-144 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"111341a78abb970e1c4f9017f6857d40554b1bf05fcf249f8e13086cb8810c03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/SearchTEUi.kt:551-588 | app/src/main/java/org/dhis2/usescases/troubleshooting/ui/TroubleshootingUi.kt:386-421 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/SearchTEUi.kt"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb45a268b3242e568f33c90b38db1912c45435bba7171a3decaf54d705bbd23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/src/main/java/org/dhis2/bindings/StringExtensions.kt:33-75 | commons/src/main/java/org/dhis2/commons/extensions/StringExtensions.kt:8-40 \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":"app/src/main/java/org/dhis2/bindings/StringExtensions.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b19a5ff3f83112622d1334ea02d6cce2a2d2e2e865ddfec2dfa0c71b2adff4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/src/main/java/org/dhis2/usescases/searchTrackEntity/adapters/SearchTeiModelExtensions.kt:267-306 | commons/src/main/java/org/dhis2/commons/bindings/TEICardExtensions.kt:39-70 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/adapters/SearchTeiModelExtensions.kt"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f70429f1295b4b951fcb52c814fc63ccd9b27812b6ee0fe521eadfc8d56f88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): app/src/main/java/org/dhis2/utils/category/CategoryDialogPresenter.kt:37-65 | app/src/main/java/org/dhis2/utils/category/CategoryDialogPresenter.kt:77-104 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/utils/category/CategoryDialogPresenter.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25a0b8c937ce313ce38ff059536bb67a12092fee7d9e5402867331cf06d1c5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt:54-89 | stock-usecase/src/main/java/org/dhis2/android/rtsm/services/StockTableDimensionStore.kt:54-89 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"529c837e9d536811fd82b79e50b9bf41671f14ad0dff451142c7011c0be5b7df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): .claude/skills/update-translations/scripts/transifex_sync.py:238-256 | .claude/skills/update-translations/scripts/transifex_sync.py:657-680 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/update-translations/scripts/transifex_sync.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b84790624c6b641be9dacff95384f5065f7e7d4654af139ded83893fa4ff77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/domain/ValueValidator.kt:15-34 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/provider/IdsProvider.kt:23-42 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/domain/ValueValidator.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"382d7b1a3e43bd646afedf87498025e49d3eb097ee540088aaf01e9b0897aa26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt:66-107 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:103-144 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"764022ff8fa9fb9944013c08698d76a547c0cc42fa78d0bb87546b6eeff30e62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 43\u002B corresponding lines): form/src/main/java/org/dhis2/form/data/FormRepositoryImpl.kt:275-317 | form/src/main/java/org/dhis2/form/data/FormRepositoryImpl.kt:326-377 | form/src/main/java/org/dhis2/form/data/FormRepositoryImpl.kt:386-437 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 43 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":"form/src/main/java/org/dhis2/form/data/FormRepositoryImpl.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c9c42d9bef3606a2e26793ed7bf81d27227466e29520ea24387a11af4884e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt:347-375 | form/src/main/java/org/dhis2/form/data/EventRepository.kt:300-326 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"be96e09c7e4d93bd024eefee4e6a11527369b8502a34536da4645bf5b24fae30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt:471-496 | app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialActivity.kt:353-382 \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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"010e577630f6f468d9186cf6687adaa440c140e4a65c9194394f115033b19507"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/indicators/IndicatorsFragment.kt:129-142 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ui/GroupAnalyticsFragment.kt:176-189 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/indicators/IndicatorsFragment.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cccb77acde7b35ab5399c210d585424d60e60b4a67da5867f3983dc52be07e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): form/src/main/java/org/dhis2/form/data/metadata/EnrollmentConfiguration.kt:100-131 | form/src/main/java/org/dhis2/form/data/metadata/EnrollmentConfiguration.kt:133-164 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/data/metadata/EnrollmentConfiguration.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3e9ffc808706f681ea0f638cc1a9d1a93411f7896b422f0fefbfbf98ff6f0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncBackgroundJobAction.kt:32-67 | sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncBackgroundJobAction.kt:69-104 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncBackgroundJobAction.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e815e7d2ab40833a008b9cd4c8836e8811178f82ae58e7e03107108c4222e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): tracker/src/androidMain/kotlin/org/dhis2/tracker/search/data/SearchParametersRepositoryImpl.kt:25-62 | tracker/src/androidMain/kotlin/org/dhis2/tracker/search/data/SearchParametersRepositoryImpl.kt:65-92 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracker/src/androidMain/kotlin/org/dhis2/tracker/search/data/SearchParametersRepositoryImpl.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d39c40b0722e906ed84e8028b0347fc5b78f857be40b8a82382d4be208fd7a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt:162-186 | stock-usecase/src/main/java/org/dhis2/android/rtsm/services/StockTableDimensionStore.kt:164-188 \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":"commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdc075a60071e9f14df4d799969558650b9a596af1c7586c1e73296ac68f53e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt:476-509 | app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialRepositoryImpl.kt:78-106 | app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialRepositoryImpl.kt:117-146 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ee5a9d98d7af759d07c321aa17d8bc8e3546ce6b98e923d49e5699618a3a47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt:372-406 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt:416-447 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa467400f9fe7beeae5fca1fd9578b9a591f198adbf1260226908c891d36f600"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/extensions/StringExtensions.kt:139-153 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/AgeProvider.kt:211-225 \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":"commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/extensions/StringExtensions.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5987a4fa44f2e8e451e0cf9e4d87fdfc316d0cd1ebd56f6f0524fa94665bc015"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): app/src/main/java/org/dhis2/utils/ValueUtils.kt:41-79 | app/src/main/java/org/dhis2/utils/ValueUtils.kt:87-118 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/utils/ValueUtils.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f02377464fd2fa37f19e419b258dd3749755131db40301f495136295e16da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/polygon/MapPolygonToFeature.kt:15-36 | dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/polygon/MapPolygonToFeature.kt:38-58 \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":"dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/polygon/MapPolygonToFeature.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ca62b7c0ab034358d69ad352f39ff57bbef1037758fd9e9b443c227540afc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): commons/src/main/java/org/dhis2/commons/filters/periods/ui/viewmodel/FilterPeriodsDialogViewmodel.kt:126-149 | commons/src/main/java/org/dhis2/commons/filters/periods/ui/viewmodel/FilterPeriodsDialogViewmodel.kt:154-182 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/filters/periods/ui/viewmodel/FilterPeriodsDialogViewmodel.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a60480bc1281d4d92a6d2dc19c4c2a9f26f4dc26bc93a52e8d074103e9231bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/org/dhis2/usescases/qrCodes/QrActivity.java:43-55 | app/src/main/java/org/dhis2/usescases/qrCodes/eventsworegistration/QrEventsWORegistrationActivity.java:35-47 \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":"app/src/main/java/org/dhis2/usescases/qrCodes/QrActivity.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"512ea979a3b9ebdca4cfc02f2bec7890f6c08e29990227b439ab440011d6345b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/TeisMapperExtensions.kt:10-44 | dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/TeisMapperExtensions.kt:98-130 | dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/TeisMapperExtensions.kt:176-212 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 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":"dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/TeisMapperExtensions.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7762cc1d6e4451aca40837c61b39b4b6548f8090f65a39976bba74d8043b14fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:297-314 | app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:319-336 | form/src/main/java/org/dhis2/form/data/FormValueStore.kt:665-682 | form/src/main/java/org/dhis2/form/data/FormValueStore.kt:687-704 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"49404eae7284698a4347c9bb4a90863ab1ee1c53f0a7ea1af1a7dd4f95a593d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt:727-743 | app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt:748-765 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45328172e53cf59c2fee558d74b87cf019b10defd66c05af565738b688e94f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/featurecollection/MapAttributeToFeature.kt:15-31 | dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/featurecollection/MapDataElementToFeature.kt:15-31 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/featurecollection/MapAttributeToFeature.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7beb3b1b59732095fed4badf31b81739a7206e73a3cf3a9c5494cc1bf67214e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:487-540 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:36-71 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"625b8075d46d913a4e519e2ba9c0aabff558d19d0275fe251d9e35c70f3ff15c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncBackgroundJobAction.kt:128-150 | sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncBackgroundJobAction.kt:244-266 | sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncBackgroundJobAction.kt:269-287 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncBackgroundJobAction.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e875b06a59739e763b2099dfdb35c7b719c412c30cc7bde6015dbf2cb1ea3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/org/dhis2/App.kt:136-160 | commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/reporting/CrashReportControllerImpl.kt:21-40 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/App.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4e57a3c57b63425ca5e0c700e100bec5818228441b11df28b3e2111ec50f33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepositoryImpl.java:398-411 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepositoryImpl.java:414-427 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepositoryImpl.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8746e70012a062ce36a3d51c25e5fed54ce658542257d637dbbfee2bf96aa55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): compose-table/src/main/java/org/dhis2/composetable/ui/TextInput.kt:98-123 | form/src/main/java/org/dhis2/form/ui/keyboard/KeyboardState.kt:18-43 \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":"compose-table/src/main/java/org/dhis2/composetable/ui/TextInput.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90edf009e46792f38f6b472c7b479162e9ccc93c5e7fe6889024415edfad56f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/viewmodel/PinViewModel.kt:76-91 | login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/viewmodel/PinViewModel.kt:148-169 \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":"login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/viewmodel/PinViewModel.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"992347131c15c956e8f386e556cbf77ee407ef97d1a25c047ec035d9688ed00c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt:502-531 | app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialActivity.kt:384-415 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b2bddac089cb1c767cc47437fc00eb827619c96f2620298d53aa7369193fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialPresenter.kt:177-199 | app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialPresenter.kt:208-230 \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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialPresenter.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"152a1bafb5f10cf107f9f56f0777be596803a8397272f191105e7ead281bd0da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/ui/EventDetailsFragment.kt:333-359 | app/src/main/java/org/dhis2/usescases/teiDashboard/dialogs/scheduling/SchedulingDialog.kt:195-221 | form/src/main/java/org/dhis2/form/ui/FormView.kt:322-353 \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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/ui/EventDetailsFragment.kt"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b356a84c41d434add2de038a916762789e7a06d716798bae059680e21a94838"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): form/src/main/java/org/dhis2/form/data/RulesUtilsProviderImpl.kt:503-522 | form/src/main/java/org/dhis2/form/data/RulesUtilsProviderImpl.kt:524-545 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/data/RulesUtilsProviderImpl.kt"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fbd251665e2b994d319a8a66c5f703dc09e011a0fdefc88cace6bd7eafca90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt:584-610 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt:613-636 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt:638-670 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 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":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"4547e205db0c9363feb1e62b9a06070b9059c66655a52bfe871a864e223ecee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): form/src/main/java/org/dhis2/form/ui/provider/inputfield/CheckBoxProvider.kt:146-179 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/SwitchProvider.kt:19-46 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/CheckBoxProvider.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8dd1160dd980dd23941ae46fe801f5d1001092839c2d043ec102db922c197f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/org/dhis2/bindings/Bindings.java:58-79 | app/src/main/java/org/dhis2/bindings/Bindings.java:82-102 \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":"app/src/main/java/org/dhis2/bindings/Bindings.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3635e012113f4ab3f6b62d731e25359b70a9f241f4c430863f9b56b7655b00a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/org/dhis2/bindings/DialFloatingActionButtonExtensions.kt:20-43 | app/src/main/java/org/dhis2/bindings/DialFloatingActionButtonExtensions.kt:45-67 \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":"app/src/main/java/org/dhis2/bindings/DialFloatingActionButtonExtensions.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a272a99d4be7851df81c7cd0edffdce556fd8ad6f0e0bef04e01b8d5c43f1733"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/DataSetListFragment.kt:127-155 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TEIDataFragment.kt:757-778 \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":"app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/DataSetListFragment.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"609f01b7f9d4b918ab3db658afc5764b1120bd5a20e5e5cc809a8b50a8c76003"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEActivity.kt:307-329 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEActivity.kt:636-657 \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":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEActivity.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"a022363208702b03f093bc35bbf452c728d7137b76c7c613758fbb542ae64c8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEModule.java:292-313 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/relationships/RelationshipModule.java:152-173 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEModule.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"b261d67ff98258724a31228a79d1034d74f8f9eb756c184792031b3f730892ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/SearchTEUi.kt:522-548 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/SearchTEUi.kt:591-617 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/SearchTEUi.kt:620-641 \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":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/SearchTEUi.kt"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f8640b66085f1b74995a93bbc35d9e85820908de1bf82d8722363eb6bbb618"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 24\u002B corresponding lines): commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt:273-302 | commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt:323-347 | commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt:407-430 | commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt:481-511 | commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt:656-685 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"04413ba6bfca4a97e4eb2ab41dd470e6b1addcf3a6639e67d59883fb884105ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/src/main/java/org/dhis2/usescases/main/program/ProgramUi.kt:694-720 | app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/ui/EnrollToProgram.kt:126-152 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/main/program/ProgramUi.kt"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9960b49776c48613adb2eff70b1a26caf1597d9502ea1abe5ce74ded4b8bb16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt:185-208 | app/src/main/java/org/dhis2/usescases/settings/ui/SyncMetadataSettingItem.kt:164-196 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"6698acfae2835117feb73a66afb4985e24c338ac35bb472cb31a684544a37c50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/org/dhis2/usescases/settings/SettingsRepository.kt:148-168 | app/src/main/java/org/dhis2/usescases/settings/SettingsRepository.kt:171-191 \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":"app/src/main/java/org/dhis2/usescases/settings/SettingsRepository.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e94abffe007c708408fb2535e085967044837b5df4a2db9b1545d7770b85524"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): tracker/src/commonMain/kotlin/org/dhis2/tracker/search/domain/SearchTrackedEntities.kt:19-40 | tracker/src/commonMain/kotlin/org/dhis2/tracker/search/domain/SearchTrackedEntities.kt:46-64 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracker/src/commonMain/kotlin/org/dhis2/tracker/search/domain/SearchTrackedEntities.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b7fc9dfa6a886db3c0294a13e4f6c57ed86eb370659ce7f4c57ed642899f47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): login/src/commonMain/kotlin/org/dhis2/mobile/login/authentication/ui/viewmodel/TwoFASettingsViewModel.kt:69-91 | login/src/commonMain/kotlin/org/dhis2/mobile/login/authentication/ui/viewmodel/TwoFASettingsViewModel.kt:110-133 \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":"login/src/commonMain/kotlin/org/dhis2/mobile/login/authentication/ui/viewmodel/TwoFASettingsViewModel.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7ba0151ec4d156e3270e4cc198075b11a211c2ace656d3bf6b61dd8ea930ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/viewmodel/CredentialsViewModel.kt:160-182 | login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/viewmodel/CredentialsViewModel.kt:229-253 \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":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/viewmodel/CredentialsViewModel.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"98367a6e292426260498e17f07b05cb627b87a32913f8ab2aa9124a9691f3b74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): form/src/main/java/org/dhis2/form/data/EnrollmentRepository.kt:107-125 | form/src/main/java/org/dhis2/form/data/EventRepository.kt:169-193 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/data/EnrollmentRepository.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a595c96f78a8b247a1340fa6f7438baed0db2b6e14bfc3bb0888db2dfec197f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): dhis2_android_maps/src/main/java/org/dhis2/maps/managers/EventMapManager.kt:153-176 | dhis2_android_maps/src/main/java/org/dhis2/maps/managers/RelationshipMapManager.kt:142-165 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2_android_maps/src/main/java/org/dhis2/maps/managers/EventMapManager.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bc1d25ef6e55321bad785ec92176b4de41a5b0565e00d10f50ce98fc253229"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): dhis2_android_maps/src/main/java/org/dhis2/maps/managers/MapManager.kt:254-284 | dhis2_android_maps/src/main/java/org/dhis2/maps/managers/MapManager.kt:311-341 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2_android_maps/src/main/java/org/dhis2/maps/managers/MapManager.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"61651963ac060ef3fd03031b833737e681bc2658bff470567f85aa262b148a10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): form/src/main/java/org/dhis2/form/data/EnrollmentRepository.kt:279-298 | form/src/main/java/org/dhis2/form/data/EventRepository.kt:721-746 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/data/EnrollmentRepository.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6bf13dfbf37b8b0ab6cc299ce2051078a2b4f52a395d82e895e666748aa439"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt:560-575 | app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt:649-660 \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":"app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa5ffc729ee9caa1363e2220730cd840ee5b7ade61cdb6dc4baaba0d5e039b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): app/src/main/java/org/dhis2/usescases/development/ConflictGenerator.kt:326-344 | app/src/main/java/org/dhis2/usescases/development/ConflictGenerator.kt:382-404 | app/src/main/java/org/dhis2/usescases/development/ConflictGenerator.kt:455-472 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/development/ConflictGenerator.kt"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cfded0b66209da35a6548582fd19ba9074a38364915549ba1c806ecb3e1ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): commons/src/main/java/org/dhis2/commons/bindings/ValueExtensions.kt:13-29 | commons/src/main/java/org/dhis2/commons/bindings/ValueExtensions.kt:36-45 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/bindings/ValueExtensions.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41b4dc300e71a897f180ace20a8053040b7125806adfa6eb37f1942ed52997f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt:232-251 | app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt:257-276 | app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt:282-300 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c61da1523e0661f362521f06dd6325249f1ba98d8f86ca7b2e194a9626d333"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): sync/src/commonMain/kotlin/org/dhis2/mobile/sync/domain/SyncMetadata.kt:78-99 | sync/src/commonMain/kotlin/org/dhis2/mobile/sync/domain/SyncMetadata.kt:104-123 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sync/src/commonMain/kotlin/org/dhis2/mobile/sync/domain/SyncMetadata.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18c508e290dc17344958f92ef8882a28764823e8660b7996253ab3cecc09398"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): form/src/main/java/org/dhis2/form/data/EnrollmentRepository.kt:436-457 | form/src/main/java/org/dhis2/form/data/EnrollmentRepository.kt:463-483 \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":"form/src/main/java/org/dhis2/form/data/EnrollmentRepository.kt"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"2646d67f6d49e6ff498b8dc1a8480661d8684d362858318740a4c61da53fc004"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/TeiProgramListInteractor.java:182-192 | app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/TeiProgramListInteractor.java:194-204 \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":"app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/TeiProgramListInteractor.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b7db1a04382aeb0bc20853645a2b348d10981d6f37912ecfa4fe48b347325f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/org/dhis2/usescases/teiDashboard/ui/mapper/InfoBarMapper.kt:167-186 | app/src/main/java/org/dhis2/usescases/teiDashboard/ui/mapper/InfoBarMapper.kt:193-212 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/ui/mapper/InfoBarMapper.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee7717d602c26fe59e6d612cfcf8a6c2e093b59f291354eaca34599ecf40abb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/providers/InputFieldsProvider.kt:335-357 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/CategorySelectorProvider.kt:136-164 \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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/providers/InputFieldsProvider.kt"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ff5c66d6b09ffb762bf933c78ce5feaad3f888e6dc851b319d804ddc238fae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:353-372 | app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:374-394 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed87f75f098ed87e1889b813c95518934dac061fac126bb038799e5061f5ec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt:448-468 | app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialActivity.kt:330-350 \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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82b24b3381e5a7afe3f1636eaa89e12e7638f097ef8bac82e1354daacc53721"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/src/main/java/org/dhis2/utils/analytics/matomo/MatomoAnalyticsControllerImpl.kt:175-199 | app/src/main/java/org/dhis2/utils/analytics/matomo/MatomoAnalyticsControllerImpl.kt:208-230 \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":"app/src/main/java/org/dhis2/utils/analytics/matomo/MatomoAnalyticsControllerImpl.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ead019a8d008ef31696979b2a20433608f6e78ce25e2ff2a859daaa39e0bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt:466-486 | login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt:491-511 \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":"login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"be92d976778a8ef8c5016779d6126e206e05281de01f471db601cb9fb813db6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepositoryImpl.java:278-285 | app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/TeiProgramListRepositoryImpl.java:153-159 \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":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepositoryImpl.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"860673cdb9bb62ed0477aaf7ac23591091f3dc0238dda508b838a19bd93ec0c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventDetailActivity.kt:193-209 | app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventDetailActivity.kt:401-417 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventDetailActivity.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e13d023c028329dfd9673c97151159ff43d5516a2d14914c2907d7c4bc0c03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEPresenter.java:462-470 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEPresenter.java:473-482 \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":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEPresenter.java"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"a317139598b448a5ddbfa6d7a259a1006458991a8ceb58798bbc4d704cbb8fa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/TeisMapperExtensions.kt:132-152 | dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/TeisMapperExtensions.kt:154-174 \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":"dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/TeisMapperExtensions.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c13c8e59d302ef4db13ebcde90e50ef744936ff27cdced7e9c23a51101b5a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/point/MapPointToFeature.kt:16-29 | dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/point/MapPointToFeature.kt:31-43 \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":"dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/point/MapPointToFeature.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"360f7fa9f5c9e375d543c691807e07cb36e782fad59219c0f82eee9da16866fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): form/src/main/java/org/dhis2/form/data/FormValueStore.kt:507-532 | form/src/main/java/org/dhis2/form/data/FormValueStore.kt:538-557 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/data/FormValueStore.kt"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"7262f30ebeac15c363cbf8e325d7b29599605baf8229a40819013e6791c443e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): commons/src/main/java/org/dhis2/commons/filters/data/EventProgramFilterSearchHelper.kt:101-121 | commons/src/main/java/org/dhis2/commons/filters/data/TrackerFilterSearchHelper.kt:153-177 \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":"commons/src/main/java/org/dhis2/commons/filters/data/EventProgramFilterSearchHelper.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d8b50685e75503a4a8c7ca8fe5457fc7509a451d6cd4879afc022d237b4c0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToTable.kt:228-243 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToTable.kt:248-264 \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":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToTable.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fb659b6825feb4a672dcd7a59d52782c1042a5dd1735523f120ffe22f6e751"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): form/src/main/java/org/dhis2/form/ui/customintent/CustomIntentActivityResultContract.kt:128-142 | form/src/main/java/org/dhis2/form/ui/customintent/CustomIntentActivityResultContract.kt:148-161 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/customintent/CustomIntentActivityResultContract.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22a5474d35f6540b43105a31a27016934d84d6f6f8dc2467b73e1536ab48f26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/org/dhis2/utils/granularsync/ui/SyncUiStateMapper.kt:77-95 | app/src/main/java/org/dhis2/utils/granularsync/ui/SyncUiStateMapper.kt:98-114 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/utils/granularsync/ui/SyncUiStateMapper.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"157813796c98383064f4856dd4a3e9bfc6203c801a7e1bd5af798149e2cf6c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/mapper/TEICardMapper.kt:52-64 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:46-67 \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":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/mapper/TEICardMapper.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b768a3f96a9b7b18e08e07917ad27e0123e1a6b63e1f2fc4d562e375ea2c53f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt:188-203 | stock-usecase/src/main/java/org/dhis2/android/rtsm/services/StockTableDimensionStore.kt:190-205 \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":"commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"0540a1ef7bc11bddee01b8e4c46b98f0099e2c4f3028c153f8ac5d0c6f366900"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/VisualizationToGraph.kt:84-101 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/VisualizationToGraph.kt:109-121 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/VisualizationToGraph.kt:129-141 \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":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/VisualizationToGraph.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a730d03078cc07b10fc6ad7fe93d8c6c1150c464337e2c29138309eaebc546"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt:169-182 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt:201-215 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e21e35d39db4f077a654d2420f2611958dd740d428ec09b80748a917463aa7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/src/main/java/org/dhis2/usescases/programStageSelection/ProgramStageSelectionActivity.kt:114-131 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TEIDataFragment.kt:736-752 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/programStageSelection/ProgramStageSelectionActivity.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7cef245da03a879505d7478e2070176b5e47fc1c6514418797f17dea5d014d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): app/src/main/java/org/dhis2/usescases/settings/SyncManagerPresenter.kt:212-236 | app/src/main/java/org/dhis2/usescases/settings/SyncManagerPresenter.kt:238-259 | app/src/main/java/org/dhis2/usescases/settings/SyncManagerPresenter.kt:261-281 | app/src/main/java/org/dhis2/usescases/settings/SyncManagerPresenter.kt:293-320 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/settings/SyncManagerPresenter.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fac929dae37550c83099bfd42ac01570f8c8d0e6b435b8963676abbe8bc893e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): commons/src/main/java/org/dhis2/commons/dialogs/AlertBottomDialog.kt:113-126 | dhis2_android_maps/src/main/java/org/dhis2/maps/layer/MapLayerDialog.kt:182-195 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/dialogs/AlertBottomDialog.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1917cf960c374504f2f1b9f23ba151bb69d9a40f2b07b14ddea1512164269800"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): form/src/main/java/org/dhis2/form/data/FormValueStore.kt:754-764 | form/src/main/java/org/dhis2/form/data/FormValueStore.kt:770-780 \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":"form/src/main/java/org/dhis2/form/data/FormValueStore.kt"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d3d2887ed58bede1eb877a321c0d80063d2c7d27a4bc5642c9bccd7bae943b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/relationships/RelationshipFragment.kt:506-523 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/relationships/RelationshipFragment.kt:525-542 \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":"app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/relationships/RelationshipFragment.kt"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"7480bccb7f2808016046d99efb0fb5f9e97c090e70bea5a2149b5a51e67472d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt:129-139 | login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt:147-157 \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":"login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b137a95e0cdf5280275e2d9979674196731dd6aa30d9d818537fe41df45e3737"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/viewmodel/CredentialsViewModel.kt:500-518 | login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/viewmodel/CredentialsViewModel.kt:520-538 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/viewmodel/CredentialsViewModel.kt"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"21535a8e959d5e9b3c9cfd3127ed4c7142ec085f27265fc62722f7fd58928f22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): sync/src/commonMain/kotlin/org/dhis2/mobile/sync/domain/SyncStatusController.kt:54-69 | sync/src/commonMain/kotlin/org/dhis2/mobile/sync/domain/SyncStatusController.kt:77-92 | sync/src/commonMain/kotlin/org/dhis2/mobile/sync/domain/SyncStatusController.kt:100-115 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sync/src/commonMain/kotlin/org/dhis2/mobile/sync/domain/SyncStatusController.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7252fe3f2cd5879efcc616cfe33191780c4c8c42cf4f167e7a385c9a19479a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureRepositoryImpl.kt:183-198 | app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialRepositoryImpl.kt:274-296 \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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureRepositoryImpl.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafe1b2863e3998d09e61cf66e217311672666e028ebe0726c5b0b5496e1c0bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/org/dhis2/usescases/datasets/datasetInitial/DataSetInitialActivity.java:67-74 | app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/TeiProgramListActivity.java:35-41 \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":"app/src/main/java/org/dhis2/usescases/datasets/datasetInitial/DataSetInitialActivity.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8512e487d7b3ef31a6e794fcd10b52dc87e3f2ef4d2d73d96ca141754971f24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/src/main/java/org/dhis2/usescases/teiDashboard/DashboardRepositoryImpl.kt:645-663 | app/src/main/java/org/dhis2/usescases/teiDashboard/DashboardRepositoryImpl.kt:673-691 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/DashboardRepositoryImpl.kt"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acad8ac5d8aee28a5bae93dee0465674df43c65930d56270b24f277863c5e88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt:150-164 | app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialRepositoryImpl.kt:248-263 \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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed5f3f37689f5b35a863666a2e142cef79010046a357cd8a03d032f7fff87a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): form/src/main/java/org/dhis2/form/data/RulesUtilsProviderImpl.kt:457-469 | form/src/main/java/org/dhis2/form/data/RulesUtilsProviderImpl.kt:475-488 \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":"form/src/main/java/org/dhis2/form/data/RulesUtilsProviderImpl.kt"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e05736a402437292c5b2e77b48042d3dc3687d147221bb08f2ae9979e10352"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/domain/ValueValidator.kt:39-47 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/provider/IdsProvider.kt:10-18 \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":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/domain/ValueValidator.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aacf2495f60e10fa88a1c2aea797f92631936b0039d1c663e4afa2f64e15c85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): app/src/main/java/org/dhis2/usescases/teiDashboard/TeiAttributesProvider.kt:15-32 | app/src/main/java/org/dhis2/usescases/teiDashboard/TeiAttributesProvider.kt:66-86 | app/src/main/java/org/dhis2/usescases/teiDashboard/TeiAttributesProvider.kt:91-109 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/TeiAttributesProvider.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ded806b93ea207e0cdae2f4a36070817d3daeba99bc2df18da4801b9b054c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/org/dhis2/utils/analytics/matomo/MatomoAnalyticsControllerImpl.kt:55-69 | commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/reporting/CrashReportControllerImpl.kt:92-106 \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":"app/src/main/java/org/dhis2/utils/analytics/matomo/MatomoAnalyticsControllerImpl.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadb13f8865045031086be390af3dc9e5ce15dacda2bf1232e44a9604bb4988d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java:270-279 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java:282-291 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java:294-303 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java:306-315 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java:318-327 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java:330-339 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e98057414210fa6bf13d5708eebe87424ca22c5e11a716ebbc21c61dc41a8d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): commons/src/main/java/org/dhis2/commons/filters/data/EventProgramFilterSearchHelper.kt:23-31 | commons/src/main/java/org/dhis2/commons/filters/data/TrackerFilterSearchHelper.kt:29-39 \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":"commons/src/main/java/org/dhis2/commons/filters/data/EventProgramFilterSearchHelper.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e828413c51e94eb162fd56e3fdefaadfdfc6254e653bd03ce19ea3f24374a6b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt:228-241 | commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt:244-261 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b468e327160352d6ead4c8a63741f4b6406e5c5c772e2f6c6d06f4ada10bb9c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ChartsRepositoryImpl.kt:71-90 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ChartsRepositoryImpl.kt:95-121 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ChartsRepositoryImpl.kt:123-148 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ChartsRepositoryImpl.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2110ef24e3f0cce3d04db697c4aaadbcd794ae8a428a20c16c337f8676edc6ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/org/dhis2/usescases/main/MainViewModel.kt:285-299 | app/src/main/java/org/dhis2/usescases/main/MainViewModel.kt:302-317 \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":"app/src/main/java/org/dhis2/usescases/main/MainViewModel.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34a84efc6d7a3edc2e0f9eb98861111d5c6007ac19a5ad8001a06d992803a7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 19\u002B corresponding lines): app/src/main/java/org/dhis2/utils/analytics/matomo/MatomoAnalyticsControllerImpl.kt:32-52 | app/src/main/java/org/dhis2/utils/analytics/matomo/MatomoAnalyticsControllerImpl.kt:99-119 | app/src/main/java/org/dhis2/utils/analytics/matomo/MatomoAnalyticsControllerImpl.kt:124-142 | app/src/main/java/org/dhis2/utils/analytics/matomo/MatomoAnalyticsControllerImpl.kt:149-169 | app/src/main/java/org/dhis2/utils/analytics/matomo/MatomoAnalyticsControllerImpl.kt:235-253 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/utils/analytics/matomo/MatomoAnalyticsControllerImpl.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e27ff1464b45dd5841831839b2183434d6029b3115d2a5a38d7855b24bd602"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): dhis2_android_maps/src/main/java/org/dhis2/maps/camera/CameraExtension.kt:49-70 | dhis2_android_maps/src/main/java/org/dhis2/maps/camera/CameraExtension.kt:72-91 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2_android_maps/src/main/java/org/dhis2/maps/camera/CameraExtension.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"38585eae2a592952bed2714aa9c12ee677ae34fa588ea4e0cd64bfc79c2b666d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): commons/src/main/java/org/dhis2/commons/extensions/StringExtensions.kt:45-59 | commons/src/main/java/org/dhis2/commons/extensions/StringExtensions.kt:62-76 \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":"commons/src/main/java/org/dhis2/commons/extensions/StringExtensions.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5012c5f8921720e36bcea251260d3e1dda46b7fa6ae418c6291c7ec188780e30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): form/src/main/java/org/dhis2/form/ui/FieldViewModelFactoryImpl.kt:114-142 | form/src/main/java/org/dhis2/form/ui/FieldViewModelFactoryImpl.kt:184-212 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/FieldViewModelFactoryImpl.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6ef2e153d7e5e061abca04a07dc787809e46f4e0f9c1bf3339650dc4a6de5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/org/dhis2/usescases/crash/CrashActivity.kt:84-95 | app/src/main/java/org/dhis2/usescases/crash/CrashActivity.kt:269-281 \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":"app/src/main/java/org/dhis2/usescases/crash/CrashActivity.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9478c9aebedb173e9b574d7c6ae58080c3ac99c1130d6c027614f5d44beed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/EventMapLayer.kt:118-133 | dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/EventMapLayer.kt:135-150 \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":"dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/EventMapLayer.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4901c60a2c10ce8950fbc7ab15897d91e68ce7f678ee742d0a6d7ef13ee2975b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/SearchScreenConfigurator.kt:77-86 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/SearchScreenConfigurator.kt:88-97 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/SearchScreenConfigurator.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8ff5416eb9a0f56fff3da6851054546214fdf80b9983da38d489a0153ce6f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 9\u002B corresponding lines): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt:217-225 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt:237-245 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt:247-255 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt:257-265 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt:267-279 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt:281-293 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"85230bccf5229c14ef240fd50df5321a48eb6fe8268a3c3655298fc2d0234ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt:214-225 | app/src/main/java/org/dhis2/usescases/settings/ui/SyncMetadataSettingItem.kt:202-213 \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":"app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b15e101afbb62cb732d1a304a219c2807e8a219193e48a57824473b6c301a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): commons/src/main/java/org/dhis2/commons/date/DateUtils.java:66-76 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:215-225 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:227-235 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:242-250 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"021eb22c52098c6bb7ac67cdca05223a70d0062e750d794588eb8be736f2a504"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/GranularSyncWorker.kt:91-104 | sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/SyncDataWorker.kt:72-86 | sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/SyncMetadataWorker.kt:70-84 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/GranularSyncWorker.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7814732b5d981900d60ab2d995171b501c0058df6efc49fb7a583c310311f75d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/indicators/IndicatorsFragment.kt:147-161 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ui/GroupAnalyticsFragment.kt:194-208 \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":"app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/indicators/IndicatorsFragment.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a83ed3bedcf2a20366a1da3939a69ea0e518d9e4f71ee839019171a37180f01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt:526-543 | login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt:546-563 \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":"login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"629e0d20931dddcb042ce3268fab52d183a0dd54a4d0ddfc439f81d93f5893ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): stock-usecase/src/main/java/org/dhis2/android/rtsm/services/rules/RuleValidationHelperImpl.kt:154-166 | dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt:77-87 \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":"stock-usecase/src/main/java/org/dhis2/android/rtsm/services/rules/RuleValidationHelperImpl.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c25e5056ef750c14db6603fba75aecffb6cedba35b60bd2bede90b3565f350"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): sync/src/commonMain/kotlin/org/dhis2/mobile/sync/domain/SyncDataSet.kt:15-25 | sync/src/commonMain/kotlin/org/dhis2/mobile/sync/domain/SyncEvent.kt:15-25 | sync/src/commonMain/kotlin/org/dhis2/mobile/sync/domain/SyncTei.kt:15-26 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sync/src/commonMain/kotlin/org/dhis2/mobile/sync/domain/SyncDataSet.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d570c86deb4ed20b2012b6d74bfb9092f4b55ec1c78c735970f5d9b7875158cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/viewModel/DataSetTableViewModel.kt:750-767 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/viewModel/DataSetTableViewModel.kt:826-845 \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":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/viewModel/DataSetTableViewModel.kt"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"96476523e6f646f64a0172d4cc7180f77cb19ccd59ec3975456934ef44b2db90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialPresenter.kt:284-299 | app/src/main/java/org/dhis2/usescases/programStageSelection/ProgramStageSelectionPresenter.kt:85-96 \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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialPresenter.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d76d1e601621b438b0498b18bcfc01ddb1451d186910a9c5e4fd8e2ef01fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/org/dhis2/usescases/teiDashboard/TeiDashboardPresenter.java:84-101 | app/src/main/java/org/dhis2/usescases/teiDashboard/TeiDashboardPresenter.java:168-179 \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":"app/src/main/java/org/dhis2/usescases/teiDashboard/TeiDashboardPresenter.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b875487e15cea0c4c57050ad5c5c9d6fed3a3b9d80d3221ed055a94281457aed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/org/dhis2/data/forms/dataentry/SearchTEIRepositoryImpl.kt:93-110 | form/src/main/java/org/dhis2/form/data/UniqueAttributeController.kt:114-131 \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":"app/src/main/java/org/dhis2/data/forms/dataentry/SearchTEIRepositoryImpl.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"00317be302ccabeb332ce6903c6b4ab8da22e75d6b358e0eb26dd2b69a95f21b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): login/src/desktopMain/kotlin/org/dhis2/mobile/login/main/ui/screen/WebAuthenticator.desktop.kt:14-29 | login/src/desktopMain/kotlin/org/dhis2/mobile/login/main/ui/screen/WebRecoveryr.desktop.kt:12-30 \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":"login/src/desktopMain/kotlin/org/dhis2/mobile/login/main/ui/screen/WebAuthenticator.desktop.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"166b618c85834082b0981735f939a8d4ef524c5c627013569e041df08eed4749"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/src/main/java/org/dhis2/bindings/ViewExtensions.kt:53-70 | commons/src/main/java/org/dhis2/commons/bindings/CommonExtensions.kt:136-153 \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":"app/src/main/java/org/dhis2/bindings/ViewExtensions.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df4c65288ee1191f18a66e46d4affa3e4ec2dcd3ccf1592fe06f13e42ec3241"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt:147-159 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:162-174 \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":"app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"038ddbcf6a77af4fc83272425e1282206acb4ac03f90745b22fd0076a4f54c30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/mapper/TEICardMapper.kt:264-276 | app/src/main/java/org/dhis2/usescases/teiDashboard/ui/mapper/TeiDashboardCardMapper.kt:203-214 \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":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/mapper/TEICardMapper.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"2879325d47358e02e4a7c916c63bc71fb3207c24238334583c799ae7b93c0b39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): login/src/commonMain/kotlin/org/dhis2/mobile/login/accounts/ui/viewmodel/AccountsViewModel.kt:37-50 | login/src/commonMain/kotlin/org/dhis2/mobile/login/main/domain/usecase/GetInitialScreen.kt:31-39 \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":"login/src/commonMain/kotlin/org/dhis2/mobile/login/accounts/ui/viewmodel/AccountsViewModel.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb3ba29a3c6e10d9a93f6cdb5c12a89a58b174ec6aa04146bd664c5eac7bf97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): form/src/main/java/org/dhis2/form/data/FormValueStore.kt:52-63 | app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:73-80 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/data/FormValueStore.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e9c1657ff01478eaed64d6a82096c0b3d2f94199278fd89f4b3d56939ede14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/src/main/java/org/dhis2/usescases/qrCodes/QrPresenter.java:30-49 | app/src/main/java/org/dhis2/usescases/qrCodes/eventsworegistration/QrEventsWORegistrationPresenter.java:25-34 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/qrCodes/QrPresenter.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c9d5d37e8ee7a90a4e5f70ae372a4341321ff5c9472037ffabf82322e8e8e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/ui/UiActionHandlerImpl.kt:303-312 | form/src/main/java/org/dhis2/form/ui/FormView.kt:426-435 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/ui/UiActionHandlerImpl.kt"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"b725c9734e7c295066746e83f4843aeec7bfd74d6a8c055b96278cc2a34360e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/org/dhis2/usescases/general/ui/SessionRenewalDialog.kt:34-40 | app/src/main/java/org/dhis2/utils/category/CategoryDialog.kt:50-56 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/general/ui/SessionRenewalDialog.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4543f6318195731c55ae091dc04e7d2e3ad7ea5f81692b5ac32d5a1a50587eb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): dhis2_android_maps/src/main/java/org/dhis2/maps/managers/RelationshipMapManager.kt:189-202 | dhis2_android_maps/src/main/java/org/dhis2/maps/managers/TeiMapManager.kt:460-473 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2_android_maps/src/main/java/org/dhis2/maps/managers/RelationshipMapManager.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50e8f7cab1abda7101c77121ab9dce45743ecff3004400591617c741ef57ffd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/src/main/java/org/dhis2/usescases/datasets/datasetInitial/periods/data/DatasetPeriodSource.kt:82-85 | commons/src/main/java/org/dhis2/commons/periods/data/PeriodSource.kt:122-125 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/datasets/datasetInitial/periods/data/DatasetPeriodSource.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97a459104494492d5628132b6d7d4aa1404bd86ee51887a07638eb1c6e27fca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/FieldMapLayer.kt:93-97 | dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/RelationshipMapLayer.kt:216-227 | dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/TeiEventMapLayer.kt:145-151 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/FieldMapLayer.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"78eba2b064c4e47ce87116bc2c2bb6fce94a34b94ee192b9287b087a62955595"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/data/DataSetInstanceRepositoryImpl.kt:1150-1160 | commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/ValueParserImpl.kt:55-66 \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":"aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/data/DataSetInstanceRepositoryImpl.kt"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d646d05da9ed117bb10bbfda044117641f5e428f1020581c22becb65a6be7e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/providers/PreferenceProviderImpl.kt:83-90 | login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt:259-268 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/providers/PreferenceProviderImpl.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a55992fc070c5c4797f8b8a6a59c8e60f4e2056bde000aaa73d6d0ba8ac669"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt:277-288 | login/src/androidMain/kotlin/org/dhis2/mobile/login/pin/data/SessionRepositoryImpl.kt:75-85 \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":"login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"4587fa144576c475e7b491f95337b25b24fa7fd5de352f352f1234b7b52eb86b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): login/src/commonMain/kotlin/org/dhis2/mobile/login/main/domain/usecase/LoginUser.kt:13-22 | login/src/commonMain/kotlin/org/dhis2/mobile/login/main/domain/usecase/ValidateServer.kt:12-20 \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":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/domain/usecase/LoginUser.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0689f2f1b73ad08af3d4ac1d3bc458c4fb4eb605bcba0f578a35dde2468d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): commons/src/main/java/org/dhis2/commons/bindings/SdkExtensions.kt:186-193 | tracker/src/androidMain/kotlin/org/dhis2/tracker/search/data/SearchTrackedEntityRepositoryImpl.kt:467-476 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/bindings/SdkExtensions.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc309723bdbc185712494aafcf7a60d81f5b0babd859e327fd9de2dd7694e555"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/src/main/java/org/dhis2/metadata/usecases/TrackedEntityInstanceConfiguration.kt:77-86 | commons/src/main/java/org/dhis2/commons/bindings/SdkExtensions.kt:118-125 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/metadata/usecases/TrackedEntityInstanceConfiguration.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b87b0f90268cb710539919442c79f98746872e8c03123aaba3f690c6836a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/org/dhis2/usescases/searchTrackEntity/mapView/SearchTEMap.kt:413-419 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/relationships/RelationshipFragment.kt:444-452 \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":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/mapView/SearchTEMap.kt"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9dfc9b18a4ae86b4e298544305b7d2020a19603806ac2481ea676de1add6299"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/mapper/TEICardMapper.kt:296-304 | app/src/main/java/org/dhis2/usescases/teiDashboard/ui/mapper/TeiDashboardCardMapper.kt:232-240 \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":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/mapper/TEICardMapper.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d547e025443edc289210dfbfa2ad311451c76bcaf2720dba84f966dce75a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/domain/usecase/ForgotPinUseCase.kt:18-25 | login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/domain/usecase/SavePinUseCase.kt:18-24 \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":"login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/domain/usecase/ForgotPinUseCase.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6571a0ea8580dba43692e97cd906f6050030fdf1303e66c23903586a39d075bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt:533-541 | app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialActivity.kt:310-318 \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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"8052c0b891bf3ae847a4e61c8d5d34d10bd7f20006f26ba12c3b9b1c7b0d692e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): form/src/main/java/org/dhis2/form/data/EnrollmentRepository.kt:87-92 | form/src/main/java/org/dhis2/form/data/EventRepository.kt:567-574 \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":"form/src/main/java/org/dhis2/form/data/EnrollmentRepository.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"95decf64a01536f0b6e479fd00b68fc510afff6edf5ff913e179291fde92e5e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/src/main/java/org/dhis2/data/dhislogic/EnrollmentEventGeneratorRepositoryImpl.kt:45-52 | app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventMapper.kt:163-169 \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":"app/src/main/java/org/dhis2/data/dhislogic/EnrollmentEventGeneratorRepositoryImpl.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36ef5d4559218686af98fea9f086eac9db4490ccbcae40f9273655b20cab52d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt:71-107 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:108-144 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 158 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt:71\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"370e649a889865d2ff4ca21a1e86b48f1c98753b5f5a3bd0cd590e6a204d54ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt:180-214 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/mapView/SearchTEMap.kt:246-281 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/searchTrackEntity/mapView/SearchTEMap.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 109 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt:180\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":"app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d3d4930237ee1abb25f1c0cae2cdfbf3306a2609184dac2d6e7539c55f06b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt:56-89 | commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/providers/PreferenceProviderImpl.kt:48-81 \u2014 before extracting anything, compare \u0060commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt\u0060 and \u0060commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/providers/PreferenceProviderImpl.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8646bd2140e476e8787ab00ce4f37a872ee0a872067ff3521ae5eb81f9236ece"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/screen/CredentialsScreen.kt:750-783 | login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/screen/CredentialsScreen.kt:801-834 \u2014 both copies are in the same file, so extract the block 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 \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/screen/CredentialsScreen.kt:750\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":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/screen/CredentialsScreen.kt"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"963ceec97a3ebc46e7aa545980d36898a68c2127d703a0528647879677a0d44c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 4): app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt:154-185 | app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt:403-434 | app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt:270-301 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:288-319 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt:154\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":"app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bb20dcbb116735fc320890bbe8ab94d2a423cf0c1632edd230c507273d75ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:120-151 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:270-301 \u2014 both copies are in the same file, so extract the block 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 \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:120\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"beacd07521d32334ca6ece5040eaf05b74726f9931c1fbacb339eb270f69498d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): form/src/main/java/org/dhis2/form/ui/provider/inputfield/MatrixInputProvider.kt:46-77 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/SequentialInputProvider.kt:45-76 \u2014 before extracting anything, compare \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/MatrixInputProvider.kt\u0060 and \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/SequentialInputProvider.kt\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other 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 \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/MatrixInputProvider.kt:46\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/MatrixInputProvider.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c670fd61854c9c28ad2d3cc9f62a935723c2d3803901e0ba6edc3a8d91ce9841"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3): app/src/main/java/org/dhis2/utils/customviews/BreakTheGlassBottomDialog.kt:122-152 | app/src/main/java/org/dhis2/utils/granularsync/SyncStatusDialog.kt:279-309 | commons/src/main/java/org/dhis2/commons/dialogs/bottomsheet/BottomSheetDialog.kt:233-263 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/utils/customviews/BreakTheGlassBottomDialog.kt\u0060 and \u0060app/src/main/java/org/dhis2/utils/granularsync/SyncStatusDialog.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/utils/customviews/BreakTheGlassBottomDialog.kt:122\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060org.dhis2.R\u0060 in one and \u0060org.dhis2.commons.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/utils/customviews/BreakTheGlassBottomDialog.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"967e5af8ed3e20b8447cbc5e03b4750a6428cea9a86c991b2382f468b47b1e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt:234-264 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/relationships/RelationshipFragment.kt:347-377 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/relationships/RelationshipFragment.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt:234\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":"app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"918e75a92bc3db419bdeb94eb70e3c4fb22fdfff90efcc9bb4a5eb602e1a6f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/Toolbar.kt:90-120 | stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/Toolbar.kt:211-241 \u2014 both copies are in the same file, so extract the block 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 \u0060stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/Toolbar.kt:90\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":"stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/Toolbar.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"766c1a46650fd4914098a8bd45c864993bb1e2c4ad82ac1a7dd67f4f1bf48bd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 3): app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt:185-213 | app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventMapper.kt:295-322 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TeiDataRepositoryImpl.kt:459-486 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt:185\u0060 it does not close everything it opens, so those exact 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":"app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5921207ce7732cd0c48856082f22dba9a2d14e7d592da3388a5ef7016c5a2f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:164-191 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerAgeInputProvider.kt:68-94 \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 \u0060aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:164\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92e3ed199adbca15d462de0d13ea56f0e47b273a5bcd9d2b21756743d33c2d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:147-172 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:250-276 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:147\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"77752aea5d2f6a77e7e65240b1530340549135336b8aa9dcbd5d1c6ccfd2d965"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt:115-140 | dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt:236-260 \u2014 both copies are in the same file, so extract the block 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 \u0060dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt:115\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f2309d3f3dc25f16ff41935839d99cfcdb499a95be1888a82d9e2e18c38ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:144-168 | app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:200-224 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:144\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92f50c96669e26804b7bb9bf12681c01e9260d8cd188ca8f380e1595c1dd2a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt:301-325 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:186-210 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 170 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt:301\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: \u0060Event\u0060 names \u0060androidx.compose.material.icons.outlined.Event\u0060 in one and \u0060org.hisp.dhis.android.core.event.Event\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3b392bc20dc8eeb903816b1575e283b8e6d3f2bd63db86e8a898f47070cab2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt:212-236 | login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt:168-192 \u2014 before extracting anything, compare \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt\u0060 and \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 145 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt:212\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a382a2e5e2e875fa39423579a9fb6863a1221c4ba7db60a08d52c8192cd9dd2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt:281-303 | login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt:244-268 \u2014 before extracting anything, compare \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt\u0060 and \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 145 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"23376c64f6d3f81340268f1f760110d946b20ca179484bf98e9e13bf4cb57ca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 2): app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:108-128 | form/src/main/java/org/dhis2/form/data/FormValueStore.kt:420-443 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt\u0060 and \u0060form/src/main/java/org/dhis2/form/data/FormValueStore.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060form/src/main/java/org/dhis2/form/data/FormValueStore.kt:420\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"69785bb336a0de0f06f72bc946e5420dee98b916166dd89f776d28218a5a21b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt:351-374 | form/src/main/java/org/dhis2/form/data/EventRepository.kt:303-326 \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 \u0060app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt:351\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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8a9544c996d3890bce582469ecda8d0e82a0aab5dbdff17c41b79756bcea2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/main/program/ProgramUi.kt:418-441 | app/src/main/java/org/dhis2/usescases/main/program/ProgramUi.kt:479-502 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/usescases/main/program/ProgramUi.kt:418\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/main/program/ProgramUi.kt"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d0284c47f36e369db69a93e911c0b77eca37e3cfa6789e03108b9339c2c1e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): form/src/main/java/org/dhis2/form/ui/provider/inputfield/AgeProvider.kt:72-95 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerAgeInputProvider.kt:71-94 \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 \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/AgeProvider.kt:72\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/AgeProvider.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6ba8c78d3240ce088b83b873d7b4c57fbc1e232902e4ed19dc91dd6ef10281"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialRepositoryImpl.kt:79-101 | app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialRepositoryImpl.kt:118-140 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialRepositoryImpl.kt:79\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialRepositoryImpl.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a20eadd0921667b52e46d7a7994cf167019de79f7b9cf991235e21785182d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/data/DataSetInstanceRepositoryImpl.kt:697-716 | aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/data/DataSetInstanceRepositoryImpl.kt:761-782 \u2014 both copies are in the same file, so extract the block 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 \u0060aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/data/DataSetInstanceRepositoryImpl.kt:697\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":"aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/data/DataSetInstanceRepositoryImpl.kt"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"732c94236acf37d04159025c238c42cc02e3e49e64836e60f15990db64aa7425"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:113-134 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:200-221 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:113\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"430aecbc01a0126825c8ae2b77da31e77a87d6478f56512b3b377c6f069003fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:97-118 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:182-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8943f87366b0b4bbe45ce59fd28df13ce5d456595c91df005ed975099b90d46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 3): app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt:193-213 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/mapView/SearchTEMap.kt:260-280 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/relationships/RelationshipFragment.kt:313-332 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/searchTrackEntity/mapView/SearchTEMap.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 109 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt:193\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":"app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff8e628c4389ac3844688cf566644c15f4293350924f6757e0880fa58c53ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/org/dhis2/bindings/Extensions.kt:122-142 | tracker/src/androidMain/kotlin/org/dhis2/tracker/data/ProfilePictureProvider.kt:109-129 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/bindings/Extensions.kt\u0060 and \u0060tracker/src/androidMain/kotlin/org/dhis2/tracker/data/ProfilePictureProvider.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/bindings/Extensions.kt:122\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/bindings/Extensions.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"255b521a1012bf63ee2e74a4bba4c4b6cb1e4cf081300d839a10e5eded6decf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/main/program/ProgramUi.kt:449-469 | app/src/main/java/org/dhis2/usescases/main/program/ProgramUi.kt:511-531 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/usescases/main/program/ProgramUi.kt:449\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/org/dhis2/usescases/main/program/ProgramUi.kt:510\u0060 calls \u0060isDownloading\u0060 and \u0060app/src/main/java/org/dhis2/usescases/main/program/ProgramUi.kt:448\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":"app/src/main/java/org/dhis2/usescases/main/program/ProgramUi.kt"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"77722f4bff62c572df8938c5fe320eaad6099edac0caa13ec98d7c7830c6a86a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/SearchTEUi.kt:349-369 | app/src/main/java/org/dhis2/usescases/troubleshooting/ui/TroubleshootingUi.kt:363-383 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/SearchTEUi.kt"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ba6a35e65a8d70a29612c21fbf7d1f2004cc2b738c72374a14e4011da488eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/filters/dates/FilterPeriodView.kt:50-69 | commons/src/main/java/org/dhis2/commons/filters/dates/FilterPeriodView.kt:72-92 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060filterItem\u0060 to \u0060EnrollmentDateFilter\u0060 in one and \u0060PeriodFilter\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/filters/dates/FilterPeriodView.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8dddbfacd833b56967cbbe5ebd38e4b03bdf268e5a8e5f6f7b2a42906f52761"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 10): form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:572-591 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:641-660 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:710-729 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:779-798 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:853-872 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:996-1015 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1065-1084 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1135-1154 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1214-1233 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1293-1312 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:592\u0060 calls \u0060autocompleteList\u0060 and \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:661\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":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2b558eaa14d4f374e49fb3c4606b0b4fd6c1d86c42e8db1b478cda0d2d1022"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 4): app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt:222-239 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/mapView/SearchTEMap.kt:288-307 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/relationships/RelationshipFragment.kt:335-352 | dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapItemHorizontalList.kt:185-202 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/searchTrackEntity/mapView/SearchTEMap.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 109 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt:222\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/relationships/RelationshipFragment.kt:334\u0060 calls \u0060onMapRelationshipClicked\u0060 and \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapItemHorizontalList.kt:184\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":"app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fc1047fa1bfbf4714310501b8dc0b5275702d2aa5ba5dde06ab499e2e3f752"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 4): app/src/main/java/org/dhis2/utils/customviews/BreakTheGlassBottomDialog.kt:132-151 | app/src/main/java/org/dhis2/utils/granularsync/SyncStatusDialog.kt:289-308 | commons/src/main/java/org/dhis2/commons/dialogs/bottomsheet/BottomSheetDialog.kt:243-262 | dhis2_android_maps/src/main/java/org/dhis2/maps/layer/MapLayerDialog.kt:208-225 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/utils/customviews/BreakTheGlassBottomDialog.kt\u0060 and \u0060app/src/main/java/org/dhis2/utils/granularsync/SyncStatusDialog.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/utils/customviews/BreakTheGlassBottomDialog.kt:132\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/utils/customviews/BreakTheGlassBottomDialog.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7d33c0be26dd778d58d9d8dbe7e5129da9a095874a0fcf398b24a4bae2bfbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:514-533 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:980-998 \u2014 both copies are in the same file, so extract the block 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":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"b940602bd4d6add3b203cd8b7a27e3d248762a183b64862512641fd34a5421a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:363-382 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:389-408 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:363\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":"app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4daf7cd6f15560bca4c1af30e883a12dae244094c50725e0ed988fa303f2225"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToBarChart.kt:27-46 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToLineChart.kt:33-52 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToBarChart.kt:27\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToBarChart.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc139096636279de55df2f907c914d818fd3f84e20fa28cf60b3ba1ed9fecc2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): form/src/main/java/org/dhis2/form/ui/FormView.kt:499-518 | form/src/main/java/org/dhis2/form/ui/dialog/QRDetailBottomDialog.kt:236-255 \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 \u0060form/src/main/java/org/dhis2/form/ui/FormView.kt:499\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":"form/src/main/java/org/dhis2/form/ui/FormView.kt"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4de9d904daacd3884c5fb49900b3bce70be1e255691c44c93d09fa8a27c5e6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt:78-97 | tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt:100-119 \u2014 before extracting anything, compare \u0060tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt\u0060 and \u0060tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt:78\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"18400e1a46e99cf3fdb6729116610c3adde3b84eafc10b185d8e074a02d9a17e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 8): tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt:103-121 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt:126-144 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt:149-167 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt:268-286 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt:291-309 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt:314-332 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt:337-355 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt:360-378 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt:103\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":"tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"df40a00736d7c76a6d94d5077e207694bfb43f8ea8fa81a4658b6f1eba7ae4fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 7): form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:653-671 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:722-740 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:865-883 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:938-956 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1008-1026 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1077-1095 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:196-214 \u2014 before extracting anything, compare \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt\u0060 and \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:653\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2818a3ad506d0072ce62964a10b7aa6ed38391ca210583a0cd9df5604df9843"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 5): app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt:229-243 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/mapView/SearchTEMap.kt:295-313 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/relationships/RelationshipFragment.kt:342-356 | dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapItemHorizontalList.kt:192-206 | tracker/src/commonMain/kotlin/org/dhis2/tracker/relationships/ui/RelationshipsScreen.kt:290-306 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/searchTrackEntity/mapView/SearchTEMap.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 109 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt:229\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8e4346d8ad490b8f8cf705e3a5810337c06fcadad46dc12b61c471f27f7409"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/component/ValidationRulesErrorDialog.kt:136-154 | commons/src/main/java/org/dhis2/commons/ui/PagerIndicator.kt:76-94 \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 \u0060aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/component/ValidationRulesErrorDialog.kt:136\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/component/ValidationRulesErrorDialog.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"754aad34210c78d426a4cca0f56e7662fc2899302c72bf4a57b3dd44bd8f512a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt:118-136 | tracker/src/androidMain/kotlin/org/dhis2/tracker/events/CreateEventUseCaseRepositoryImpl.kt:91-109 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt:118\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"585f762aef819bdc0277dfdeca325feafb0bfa443c70cd6455674693d7c90531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventMapper.kt:85-103 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TeiDataRepositoryImpl.kt:427-445 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventMapper.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fafa404298c888018391c27231303f7322ad3095b2f9c188724f3376066ba38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/settings/SyncManagerPresenter.kt:242-259 | app/src/main/java/org/dhis2/usescases/settings/SyncManagerPresenter.kt:302-320 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/settings/SyncManagerPresenter.kt:242\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":"app/src/main/java/org/dhis2/usescases/settings/SyncManagerPresenter.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde0eff3adde88f979c1372dd4aff895051118b39e9599fe4e643a3542c83136"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/resources/DhisPeriodUtils.kt:72-86 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/PeriodStepProviderImpl.kt:108-126 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060commons/src/main/java/org/dhis2/commons/resources/DhisPeriodUtils.kt:72\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"commons/src/main/java/org/dhis2/commons/resources/DhisPeriodUtils.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"570ee7fd46a0a4c1e35676282b648e228df310d29c075c9d2c4d99d1918e911d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): form/src/main/java/org/dhis2/form/ui/provider/inputfield/CheckBoxProvider.kt:109-127 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/RadioButtonProvider.kt:109-127 \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":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/CheckBoxProvider.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"720aa14d4e2115e41c4852f1ba0aac3e0427dc3b7bca6f06f36774e9b684becd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): form/src/main/java/org/dhis2/form/ui/provider/inputfield/MatrixInputProvider.kt:25-43 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/SequentialInputProvider.kt:25-42 \u2014 before extracting anything, compare \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/MatrixInputProvider.kt\u0060 and \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/SequentialInputProvider.kt\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other 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":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/MatrixInputProvider.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf3592d7945bb6fc5a225e4dd7abe4a384f6fbec6f46a615b0f9770cfb71ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt:240-255 | login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt:196-214 \u2014 before extracting anything, compare \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt\u0060 and \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 145 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt:240\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a36eeedd9432193994e2a2a8e48f3bbec67fd2d74d4ca18c96d23059cfb1a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt:111-129 | stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt:350-368 \u2014 both copies are in the same file, so extract the block 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 \u0060stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt:111\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44662b623803ae4d00c25e5b89a2d87df38ec029bb5fb6c776bdb09f487283a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncRepository.kt:429-447 | sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncRepository.kt:494-512 \u2014 both copies are in the same file, so extract the block 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 \u0060sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncRepository.kt:429\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":"sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncRepository.kt"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f4377712204f443b388a6019e51a9a6c3bd6eb70d8ffc42833cd07f24e4ef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt:177-194 | app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt:426-443 | app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt:293-310 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/mapper/TEICardMapper.kt:424-441 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:311-328 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt:177\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":"app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a3f286f8736c8af327fe927ce17572d50b02787583bdfb0af37e9c8239af33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt:127-144 | app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt:380-397 | app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt:247-264 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:265-282 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt:127\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060State\u0060 in one and \u0060State?\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8bb1b81024e598ff64fea95e184d97a96bc57ef2d8e2fc0f5f5f7f3fea6064"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt:252-269 | app/src/main/java/org/dhis2/usescases/main/program/ProgramUi.kt:649-666 | app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt:334-351 | commons/src/main/java/org/dhis2/commons/ui/SyncButtonProvider.kt:33-50 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 130 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt:252\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":"app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9991fbbccddaef7a7a576c0ff8e57a2db28132e5802149784a2ab200d53c8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): app/src/main/java/org/dhis2/usescases/programStageSelection/ProgramStageSelectionViewHolder.kt:35-52 | app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/ui/EnrollToProgram.kt:57-74 | commons/src/main/java/org/dhis2/commons/bindings/TEICardExtensions.kt:82-99 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/programStageSelection/ProgramStageSelectionViewHolder.kt:35\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/programStageSelection/ProgramStageSelectionViewHolder.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97fff8669558767fb09e2e0adfd8dcf0d185beb11aee3db3f60cd1ab615c2b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:131-146 | form/src/main/java/org/dhis2/form/data/FormValueStore.kt:446-463 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt\u0060 and \u0060form/src/main/java/org/dhis2/form/data/FormValueStore.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060form/src/main/java/org/dhis2/form/data/FormValueStore.kt:446\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":"app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a002e4b8d2708d62da3f10f3682e381d78cce5822fa182d6b6b0ba99bc2853"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialRepositoryImpl.kt:400-417 | app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialRepositoryImpl.kt:432-448 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialRepositoryImpl.kt:400\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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialRepositoryImpl.kt"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"207e4da438556a72f2098ce3c2141dc59e8d261ddbf8634a2e1cc2b8c19a679b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/dialogs/bottomsheet/BottomSheetDialog.kt:202-219 | commons/src/main/java/org/dhis2/commons/dialogs/bottomsheet/BottomSheetDialogContent.kt:118-135 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060commons/src/main/java/org/dhis2/commons/dialogs/bottomsheet/BottomSheetDialog.kt:202\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/dialogs/bottomsheet/BottomSheetDialog.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"61280e483d75e9d3f2605e14e2e52dc2596e7bd9d9813d04e0af4ea9d274aca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/filters/periods/ui/viewmodel/FilterPeriodsDialogViewmodel.kt:133-149 | commons/src/main/java/org/dhis2/commons/filters/periods/ui/viewmodel/FilterPeriodsDialogViewmodel.kt:165-182 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060commons/src/main/java/org/dhis2/commons/filters/periods/ui/viewmodel/FilterPeriodsDialogViewmodel.kt:133\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":"commons/src/main/java/org/dhis2/commons/filters/periods/ui/viewmodel/FilterPeriodsDialogViewmodel.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fddab95e8e08335a2ba67a92ec069708827e1cbec90ca4d04e9bb67419067b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt:58-75 | tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt:67-84 \u2014 before extracting anything, compare \u0060tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt\u0060 and \u0060tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt:58\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":"tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"21311d42751c6dd1c83552adc880b02fcd0871cfb5b6a12667ea1ccd9eb945bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 10): form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:551-566 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:619-635 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:688-704 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:757-773 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:900-916 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:974-990 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1043-1059 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1113-1129 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1192-1208 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1271-1287 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9989a43b0cc17593c5f57ef15f3ac5f0106f6af0dec502409f5b40af8442dcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt:90-106 | app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt:450-466 | app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt:113-129 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:334-350 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt:450\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Event\u0060 names \u0060androidx.compose.material.icons.outlined.Event\u0060 in one and \u0060org.hisp.dhis.android.core.event.Event\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt:449\u0060 calls \u0060eventModule\u0060, \u0060eventService\u0060, \u0060blockingIsEditable\u0060 and \u0060app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt:89\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":"app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"06baad24bb96a00f0bfed3523791cb6e6a0d71076453b05f14736d5a134bc32b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 3): app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:667-678 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:756-770 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:1038-1054 \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 \u0060app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:667\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea5be29606ca9f35b5f9a086ad999987ae60e484ecdfa1bada39fb74351d870"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt:115-131 | dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt:236-252 | stock-usecase/src/main/java/org/dhis2/android/rtsm/services/rules/RuleValidationHelperImpl.kt:259-275 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt:115\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":"dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfbb9e9d08abd8371b85c4c99a6ce0fbb86e9f5ee887dd41f3a0e82ca3f604f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/TeisMapperExtensions.kt:19-35 | dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/TeisMapperExtensions.kt:111-127 | dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/TeisMapperExtensions.kt:185-201 \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 \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/TeisMapperExtensions.kt:19\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":"dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/TeisMapperExtensions.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b1534387975a6553213d40fc302babe03c2b166feb35cce62da0ca55e140cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/DataSetTableScreen.kt:346-362 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/DataSetTableScreen.kt:435-451 \u2014 both copies are in the same file, so extract the block 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 \u0060aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/DataSetTableScreen.kt:346\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/DataSetTableScreen.kt"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6b1f3ac74ebafe62bfd2dcc2006b5d774b5b7d60e8e04636a843f7ff3ac67a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:86-102 | form/src/main/java/org/dhis2/form/data/FormValueStore.kt:631-647 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt\u0060 and \u0060form/src/main/java/org/dhis2/form/data/FormValueStore.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:86\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":"app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e27d46a883a4aec8c3f1732e91cebf599cd8d4cc62fe048d80fa6279df142f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:259-275 | form/src/main/java/org/dhis2/form/data/FormValueStore.kt:564-580 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt\u0060 and \u0060form/src/main/java/org/dhis2/form/data/FormValueStore.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"4daa3eab627bd543001ef13ee071abd5abb3aa73499f753b535aec1b21807eb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/datasets/datasetInitial/periods/data/DatasetPeriodSource.kt:63-79 | commons/src/main/java/org/dhis2/commons/periods/data/PeriodSource.kt:76-92 \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 \u0060app/src/main/java/org/dhis2/usescases/datasets/datasetInitial/periods/data/DatasetPeriodSource.kt:63\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":"app/src/main/java/org/dhis2/usescases/datasets/datasetInitial/periods/data/DatasetPeriodSource.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a26d7befe68e8eea08dbb19f27a68669746f4d4f5274ae19b5935701431fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:581-593 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:696-712 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:581\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":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d7ff58295b014e3bcf1c8ed570de6b36fa31149fc584d8dccbc15de3640c27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt:380-396 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt:421-437 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt:380\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"5586fc5837982ff5f6a898211744621723c69e9df253b7a5277f6d0cc86e1ce7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt:185-201 | app/src/main/java/org/dhis2/usescases/settings/ui/SyncMetadataSettingItem.kt:164-180 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/settings/ui/SyncMetadataSettingItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt:185\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c9043523f8462702fa49803d061adf5c3e076138d0e0d289abeb0aecdc8820"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt:492-508 | commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt:666-682 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e2dcff4ddee9160e70f8107984b20949ac954ec62389fc38ef547c3e5c838f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt:588-604 | commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt:745-761 \u2014 both copies are in the same file, so extract the block 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 \u0060commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt:588\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a29f57e0693cbc1794a7eb10bf99381d0c0a683c779dd00f91fba7d249fa80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/TeiEventMapLayer.kt:98-112 | dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/TeiMapLayer.kt:102-118 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/TeiEventMapLayer.kt:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/TeiMapLayer.kt:121\u0060 calls \u0060deselectCurrentPoint\u0060 and \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/TeiEventMapLayer.kt:115\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/TeiEventMapLayer.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24b41cffecf6bd0b80ef57c1a804d4b79618075f7cd811f7a68201f80c00f26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): dhis2_android_maps/src/main/java/org/dhis2/maps/managers/RelationshipMapManager.kt:97-113 | dhis2_android_maps/src/main/java/org/dhis2/maps/managers/TeiMapManager.kt:286-302 \u2014 before extracting anything, compare \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/managers/RelationshipMapManager.kt\u0060 and \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/managers/TeiMapManager.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"dhis2_android_maps/src/main/java/org/dhis2/maps/managers/RelationshipMapManager.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59842600a5205d14f259b8bc75859e9cf3e8681bc3405cf9f36bb77b2120774"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToBarChart.kt:74-90 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToLineChart.kt:78-94 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToBarChart.kt:74\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToBarChart.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e1e6b3802c1f31fb2bac05af609d0e661db997a841ae70d8eb58c0a0d36daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): form/src/main/java/org/dhis2/form/ui/provider/inputfield/DateProvider.kt:62-78 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerDateTimeProvider.kt:60-76 \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 \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/DateProvider.kt:62\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/DateProvider.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1483953288616abb345a1d14f5a24610b270762935c7c8a337488469dd3ac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:592-608 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:800-816 \u2014 both copies are in the same file, so extract the block 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 \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:592\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":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08c7bf65043dadfea1154d3050bfdba6cbcdcc057200a8ee5eca833a4a6fb7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt:131-147 | stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt:370-386 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt:131\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":"stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75147141c35b4d315aa663ec6e6b917fe8ee767f358363788602c84f0c7d908"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncRepository.kt:454-470 | sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncRepository.kt:519-534 \u2014 both copies are in the same file, so extract the block 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 \u0060sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncRepository.kt:454\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncRepository.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b817c5856ebfd8a739664fd3d5e2608d36eaf432086db7138001fab4b95fa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt:244-260 | tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt:372-388 \u2014 before extracting anything, compare \u0060tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt\u0060 and \u0060tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt:244\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b61ebdd3a0334e8369853df1228e008bc72b11f889d75d3829b19190ee041f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 10): form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:662-677 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:731-746 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:874-889 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1017-1032 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1086-1101 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1165-1180 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1244-1259 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1323-1338 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:142-157 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:292-307 \u2014 before extracting anything, compare \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt\u0060 and \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:662\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":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54135fec7a392ec3f6fdd65eaa25351095d9baa46a3ec50c806cf4f0b780b3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/bindings/AnalyticsBindings.kt:36-51 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/bindings/DateToPosition.kt:27-42 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/data/Graph.kt:49-64 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/data/Graph.kt:131-146 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/bindings/AnalyticsBindings.kt:36\u0060 it does not close everything it opens, so those exact 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, \u0060dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/data/Graph.kt:65\u0060 calls \u0060between\u0060, \u0060from\u0060, \u0060toFloat\u0060 and \u0060dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/bindings/AnalyticsBindings.kt:53\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":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/bindings/AnalyticsBindings.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6c5d9078b0709a0d7949161a1955f00cc64cea25803b0451319a2ddb5e3a84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/org/dhis2/data/dhislogic/DhisEnrollmentUtils.kt:32-47 | form/src/main/java/org/dhis2/form/data/FormValueStore.kt:539-554 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/dhislogic/DhisEnrollmentUtils.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2428693eae9af60411286d1c7cf2c02beb8ff338ca893eb012db934b6f825f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/development/ConflictGenerator.kt:483-498 | app/src/main/java/org/dhis2/usescases/development/ConflictGenerator.kt:517-532 \u2014 both copies are in the same file, so extract the block 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":"app/src/main/java/org/dhis2/usescases/development/ConflictGenerator.kt"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99780f103b7cff9ecb63979ea9785001734150f61109934d755f88ce288a1f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt:342-374 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:227-259 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 170 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt:342\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":"app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"de726dd9c135adb18753a787a49d2f801daf3f8db3410368cd7d81f428822c44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt:276-291 | app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt:365-379 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt:276\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa377f08c555d6b9ce600f4bf15515d7712c20fa5b5c15d01845a791e2d0f9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventDetailRepositoryImpl.kt:71-85 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepositoryImplKt.kt:390-405 \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 \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventDetailRepositoryImpl.kt:71\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventDetailRepositoryImpl.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdd9da0d0e24c12e19e478551246f823cab88457c7044a44b42613801cfb714"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/settings/ui/SyncParametersSettingItem.kt:123-138 | app/src/main/java/org/dhis2/usescases/settings/ui/SyncParametersSettingItem.kt:154-169 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/usescases/settings/ui/SyncParametersSettingItem.kt:123\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":"app/src/main/java/org/dhis2/usescases/settings/ui/SyncParametersSettingItem.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"189242b50ae6429fcd8420413f3617d70aab1b7e8309c7bb2f9c62a791b4afd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/filters/periods/ui/FilterPeriodsDialogUI.kt:59-74 | commons/src/main/java/org/dhis2/commons/filters/periods/ui/FilterPeriodsDialogUI.kt:90-105 \u2014 both copies are in the same file, so extract the block 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 \u0060commons/src/main/java/org/dhis2/commons/filters/periods/ui/FilterPeriodsDialogUI.kt:59\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/filters/periods/ui/FilterPeriodsDialogUI.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1356a2bbc5a8d661e9bea21e36580284bf6caa96285aff25ca48c6351721ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt:171-186 | stock-usecase/src/main/java/org/dhis2/android/rtsm/services/StockTableDimensionStore.kt:173-188 \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 \u0060commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt:171\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf628141d5d4faf0ab90c298f13b952118a79d5b003444d968da7c2613149ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): form/src/main/java/org/dhis2/form/data/EnrollmentRepository.kt:204-219 | form/src/main/java/org/dhis2/form/data/EventRepository.kt:659-674 \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":"form/src/main/java/org/dhis2/form/data/EnrollmentRepository.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"075e2bc4abe28e62f942776969bbe39ad36aefc2f30c7daec5afece8b98195f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): app/src/main/java/org/dhis2/usescases/programStageSelection/ProgramStageSelectionViewHolder.kt:40-54 | app/src/main/java/org/dhis2/usescases/settingsprogram/ui/SettingsProgramScreen.kt:119-133 | app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/ui/EnrollToProgram.kt:62-76 | commons/src/main/java/org/dhis2/commons/bindings/TEICardExtensions.kt:87-101 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/programStageSelection/ProgramStageSelectionViewHolder.kt:40\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060commons/src/main/java/org/dhis2/commons/bindings/TEICardExtensions.kt:103\u0060 calls \u0060SquareWithNumber\u0060 and \u0060app/src/main/java/org/dhis2/usescases/programStageSelection/ProgramStageSelectionViewHolder.kt:55\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/programStageSelection/ProgramStageSelectionViewHolder.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff066f7093a367a58ba9efa801fb5c47527220aca8e8cd4ac474d2a76f37a1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): app/src/main/java/org/dhis2/bindings/Extensions.kt:63-111 | tracker/src/androidMain/kotlin/org/dhis2/tracker/data/ProfilePictureProvider.kt:50-98 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/bindings/Extensions.kt\u0060 and \u0060tracker/src/androidMain/kotlin/org/dhis2/tracker/data/ProfilePictureProvider.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/bindings/Extensions.kt:63\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":"app/src/main/java/org/dhis2/bindings/Extensions.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd86b22154d9a6990d8b871d5f83653feaedefea2663bbea827a003f9db409bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:171-185 | form/src/main/java/org/dhis2/form/data/FormValueStore.kt:474-488 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt\u0060 and \u0060form/src/main/java/org/dhis2/form/data/FormValueStore.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:171\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":"app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec67731fc199aba3f29b2c80090da6dae8f86437870a0f4ca5f22577bef25227"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/ui/EventDetailsViewModel.kt:106-120 | app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/ui/EventDetailsViewModel.kt:213-227 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/ui/EventDetailsViewModel.kt:106\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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/ui/EventDetailsViewModel.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c9e8d198f078f4432f91eb6ad50bfc7fa7e0841c4fe0f5c7743dbf8d53611d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialPresenter.kt:185-199 | app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialPresenter.kt:216-230 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialPresenter.kt:185\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialPresenter.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c77422efffbb6ea08b0568fb4a4a3a5d6f9b9486cd91973b4247aecf1dcbf12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:80-94 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:222-236 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:80\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":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed559123ecb2badc1807c67707eb4ebc59674ee5ba26da81b4170f7488c68d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): app/src/main/java/org/dhis2/utils/category/CategoryDialogPresenter.kt:42-56 | app/src/main/java/org/dhis2/utils/category/CategoryDialogPresenter.kt:82-95 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/utils/category/CategoryDialogPresenter.kt:42\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":"app/src/main/java/org/dhis2/utils/category/CategoryDialogPresenter.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a652fb935ee504d21127bddc79b233514269662a0b3bc2b06b3484197a403f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorScreen.kt:175-189 | dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorScreen.kt:290-304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorScreen.kt:289\u0060 calls \u0060Column\u0060, \u0060weight\u0060 and \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorScreen.kt:173\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":"dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorScreen.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f91104ce78f5928711234c552bf1ebaa12422accdda7557bc9a87ac92c4903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToTable.kt:229-243 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToTable.kt:250-264 \u2014 both copies are in the same file, so extract the block 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 \u0060dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToTable.kt:229\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":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToTable.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d74699783748899b5065f348376a3123779613dac934616c2b192598c31ab52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt:188-202 | login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt:143-157 \u2014 before extracting anything, compare \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt\u0060 and \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 145 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt:188\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"449a352913cf95838cfcd778a08069b86373e0bdbfcaf9780c1b8525f30398f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt:320-334 | login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt:307-321 \u2014 before extracting anything, compare \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt\u0060 and \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 145 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt:320\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9bd52dcf20ffe15d897ad6399922dda292aa17fd806e68763e9bb34afde7de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 11): form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:569-582 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:638-651 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:707-720 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:776-789 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:850-863 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:993-1006 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1062-1075 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1132-1145 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1211-1224 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1290-1303 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:247-260 \u2014 before extracting anything, compare \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt\u0060 and \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:569\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb719947dc3af18d390725850b5ffef0d9efa367a17135da5bf2b3d391ba1ee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 9): form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:658-671 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:727-740 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:870-883 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1013-1026 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1082-1095 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1161-1174 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1240-1253 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1319-1332 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:201-214 \u2014 before extracting anything, compare \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt\u0060 and \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:658\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":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"d959478742ebc6760b232c2ddfb6652a457bc09991690e15f3bbac7ea8c3bd14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt:131-144 | app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt:384-397 | app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt:251-264 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/mapper/TEICardMapper.kt:378-391 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:269-282 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ceea7bae0d72e4660483613bf97aa60f5d4f2d8db0693add79d3079bb9a8cc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ui/AnalyticsModel.kt:261-274 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ui/AnalyticsModel.kt:301-314 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ui/AnalyticsModel.kt:341-354 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ui/AnalyticsModel.kt:381-394 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ui/AnalyticsModel.kt:421-434 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ui/AnalyticsModel.kt:261\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/ui/AnalyticsModel.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a8ba0f78038f6ba31dd24e66d44866e37953d0892b7f2e551a16becccd9105"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 3): app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:579-588 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:694-707 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:791-800 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:578\u0060 calls \u0060has\u0060, \u0060uid\u0060, \u0060getString\u0060 and \u0060app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:790\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7e04800e73ed9ccde7a25b737b55c0c729bd8bf07d3f681fd2af7c3b13bd9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:584-597 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:673-686 \u2014 both copies are in the same file, so extract the block 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 \u0060aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:584\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":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5416a4870a8bf5352a16433937b0096df1c3509b9c5ec68a010ee6c89d8953d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt:535-548 | app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt:618-630 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt:535\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":"app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"4302466a3dfaf5b9857948485c72fd663167b6c67e52cfc5cbfd6b661bb0a4af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCapturePresenterImpl.kt:116-129 | app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventDetailViewModel.kt:99-112 \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 \u0060app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCapturePresenterImpl.kt:116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060BarChart\u0060 names \u0060androidx.compose.material.icons.filled.BarChart\u0060 in one and \u0060androidx.compose.material.icons.outlined.BarChart\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCapturePresenterImpl.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63c88208a5af20db997229a4ce4ec86b216f65140219a0d3812424ebaefc5d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:830-843 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:1007-1020 \u2014 both copies are in the same file, so extract the block 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":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fb71958780573344032cfbf1b78592169ce6048ae024d989a54537bcc32c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt:150-163 | app/src/main/java/org/dhis2/usescases/settings/ui/SyncMetadataSettingItem.kt:129-142 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/settings/ui/SyncMetadataSettingItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt:150\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e798d6418ef49482391feec69a985304369fa36bcd1b28a4b6172d90a9b631e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/teiDashboard/dialogs/scheduling/SchedulingDialog.kt:200-213 | form/src/main/java/org/dhis2/form/ui/FormView.kt:327-340 \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 \u0060app/src/main/java/org/dhis2/usescases/teiDashboard/dialogs/scheduling/SchedulingDialog.kt:200\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/dialogs/scheduling/SchedulingDialog.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d1f75a9e8ecefe8c7cdabde9d14afce60bbb3f1240b47988726d7f8958972b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): form/src/main/java/org/dhis2/form/data/FormValueStore.kt:461-473 | form/src/main/java/org/dhis2/form/data/FormValueStore.kt:599-612 \u2014 both copies are in the same file, so extract the block 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 \u0060form/src/main/java/org/dhis2/form/data/FormValueStore.kt:461\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/data/FormValueStore.kt"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cccf7dbe676eb4d291022006506d734bef3c30c842ace899dfd368ad0d3cafd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): form/src/main/java/org/dhis2/form/ui/provider/inputfield/RadioButtonProvider.kt:45-56 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/RadioButtonProvider.kt:94-107 \u2014 both copies are in the same file, so extract the block 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 \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/RadioButtonProvider.kt:45\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/RadioButtonProvider.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72b02b03a61be1ff31ffaef3e05753c930ea2bb3447e0d1d4f6a08941ab7a1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 11): form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:660-672 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:729-741 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:872-884 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1015-1027 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1084-1096 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1163-1175 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1242-1254 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:1321-1333 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:140-152 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:203-215 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:290-302 \u2014 before extracting anything, compare \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt\u0060 and \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt:660\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":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/FieldProvider.kt"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a0966f2fa0aaf5a1abaa98b54b85cd72b9860624a368bb81cdb357e19a80de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt:162-174 | app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt:411-423 | app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt:278-290 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/mapper/TEICardMapper.kt:409-421 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:296-308 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/events/EventInfoProvider.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/mapper/DatasetCardMapper.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"233e24e60ab5eb2d14f66404f72f9589f26fd740805baa44c57d0d8138ec770f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncBackgroundJobAction.kt:134-146 | sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncBackgroundJobAction.kt:250-262 | sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncBackgroundJobAction.kt:271-283 \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 \u0060sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncBackgroundJobAction.kt:134\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncBackgroundJobAction.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d538b490af76e8707a443fbc74f0c286115af45714f648e543c2e904a0234f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/dhis2/bindings/Extensions.kt:31-43 | tracker/src/androidMain/kotlin/org/dhis2/tracker/data/ProfilePictureProvider.kt:18-30 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/bindings/Extensions.kt\u0060 and \u0060tracker/src/androidMain/kotlin/org/dhis2/tracker/data/ProfilePictureProvider.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/bindings/Extensions.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d495335e59d876adbb9676af448c05f3939e6f552ed96e387c1b1bcbf6165a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:228-240 | form/src/main/java/org/dhis2/form/data/FormValueStore.kt:613-625 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt\u0060 and \u0060form/src/main/java/org/dhis2/form/data/FormValueStore.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:228\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":"app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddaf32213ae38a39e96ef409780868d35d526e42d13bffa9c83ca0a7407abb16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt:509-521 | app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt:586-597 \u2014 both copies are in the same file, so extract the block 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":"app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ca0c059cd7a30a8ddbb6a9a092d6de1bf99bcc8aa865f0b73f0b8cd9ba4098"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt:378-390 | form/src/main/java/org/dhis2/form/data/EventRepository.kt:359-371 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"811626caecfc2525de0e6f681a39c75ef352cec06d585b7099f02ef486550214"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt:136-148 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/mapView/SearchTEMap.kt:199-211 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/searchTrackEntity/mapView/SearchTEMap.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 109 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt:136\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/programEventDetail/eventMap/EventMapFragment.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0faf1d877545820afd3e62c288d4895c1b6f583064d47410332fbd86a6a076"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEActivity.kt:315-327 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEActivity.kt:643-655 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEActivity.kt:315\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":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEActivity.kt"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"655ca96d4c3c80f4affe54bad5e6940885f690a0083e6039d29432340080c1f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt:589-601 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt:615-627 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt:589\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt:588\u0060 calls \u0060isOnline\u0060 and \u0060app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt:614\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":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"28718f8107ebc38cef58fd6df3da0fcb5cd94e4d998f08fa8d8c240e110e9cae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/settingsprogram/ui/SettingsProgramScreen.kt:70-82 | login/src/commonMain/kotlin/org/dhis2/mobile/login/authentication/ui/screen/TwoFASettingsScreen.kt:95-107 \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 \u0060app/src/main/java/org/dhis2/usescases/settingsprogram/ui/SettingsProgramScreen.kt:70\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/settingsprogram/ui/SettingsProgramScreen.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b039a6ddbf27a73251e266cd22203b6997f2ce1ffaa044ea9c33c24b688c9d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/teiDashboard/TeiAttributesProvider.kt:67-79 | app/src/main/java/org/dhis2/usescases/teiDashboard/TeiAttributesProvider.kt:92-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/TeiAttributesProvider.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba50a1fb7931f430108f0e7fd923b9fa50c5536a8e9751cbe4fabd4dc685d04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TeiDataRepositoryImpl.kt:282-294 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TeiDataRepositoryImpl.kt:367-379 \u2014 both copies are in the same file, so extract the block 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":"app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TeiDataRepositoryImpl.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cdb49bb4f6c52744d7aef598f0d9a1686d6bdbf66332c8761d352ff33f8bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/featurecollection/MapAttributeToFeature.kt:19-31 | dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/featurecollection/MapDataElementToFeature.kt:19-31 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/featurecollection/MapAttributeToFeature.kt:19\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":"dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/featurecollection/MapAttributeToFeature.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"308738423371345cb5ed6f153e6c5a421cb72824fdfffd6b96ea5430fe2af17d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dhis2_android_maps/src/main/java/org/dhis2/maps/managers/RelationshipMapManager.kt:174-186 | dhis2_android_maps/src/main/java/org/dhis2/maps/managers/TeiMapManager.kt:409-421 \u2014 before extracting anything, compare \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/managers/RelationshipMapManager.kt\u0060 and \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/managers/TeiMapManager.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/managers/RelationshipMapManager.kt:174\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":"dhis2_android_maps/src/main/java/org/dhis2/maps/managers/RelationshipMapManager.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8072da9558e760517e3cd68328bf3993a801fe217cb0f348d58ab5c76120be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/AnalyticTeiSettingsToSettingsAnalyticsModel.kt:78-90 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/AnalyticTeiSettingsToSettingsAnalyticsModel.kt:93-105 \u2014 both copies are in the same file, so extract the block 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":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/AnalyticTeiSettingsToSettingsAnalyticsModel.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d4df90cdd4cf654b05a85dd77154667ad0b3742e4839984b5471b72751aea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): form/src/main/java/org/dhis2/form/ui/provider/inputfield/AgeProvider.kt:43-55 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerAgeInputProvider.kt:42-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/AgeProvider.kt:43\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/AgeProvider.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c2c042b256aa0af40469cce66859b0ed5c5e3f0bb6f50d2f54502899791c25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): form/src/main/java/org/dhis2/form/ui/provider/inputfield/CheckBoxProvider.kt:46-56 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/CheckBoxProvider.kt:95-107 \u2014 both copies are in the same file, so extract the block 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 \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/CheckBoxProvider.kt:46\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/CheckBoxProvider.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"30016fe90a40a3badfcde23d959e0481c04496d55bc1a655136cf9c3f426302f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:83-94 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt:232-244 \u2014 both copies are in the same file, so extract the block 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":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputsForTextValueTypeProvider.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf5e20f6637e04c3208bf3e81e9c167c840d0eae33871663619dc82117f699d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt:283-295 | tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt:351-363 \u2014 both copies are in the same file, so extract the block 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 \u0060tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt:283\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":"tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad563dc9461e00255aa172b56ec0ddf244fff9980f30a6ff13e266f4061df03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/domain/ValueValidator.kt:16-30 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/provider/IdsProvider.kt:24-38 \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 \u0060aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/domain/ValueValidator.kt:16\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/domain/ValueValidator.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf78d32227cfa644520e5d5cbe9e4aba7c0d7589c6a3b90e24dfe87aa7455435"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/org/dhis2/data/forms/dataentry/SearchTEIRepositoryImpl.kt:21-32 | form/src/main/java/org/dhis2/form/data/FormValueStore.kt:508-519 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/forms/dataentry/SearchTEIRepositoryImpl.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f72f2ac0bd34978d6a2f3c355ec15610e0dfa6d503e1737a5d95841eacdb5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:298-309 | form/src/main/java/org/dhis2/form/data/FormValueStore.kt:666-677 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt\u0060 and \u0060form/src/main/java/org/dhis2/form/data/FormValueStore.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:298\u0060 it does not close everything it opens, so those exact 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":"app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c821dd2b123e7e64e96ec2f23b67e34301670b186af69408c9b6a7a7425a35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:320-331 | form/src/main/java/org/dhis2/form/data/FormValueStore.kt:688-699 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt\u0060 and \u0060form/src/main/java/org/dhis2/form/data/FormValueStore.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:320\u0060 it does not close everything it opens, so those exact 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":"app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"401a83b851d71d705749d4175c8628724353bd8cd546dde6c40e7fbe636f0623"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/development/ConflictGenerator.kt:333-344 | app/src/main/java/org/dhis2/usescases/development/ConflictGenerator.kt:462-472 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/usescases/development/ConflictGenerator.kt:333\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":"app/src/main/java/org/dhis2/usescases/development/ConflictGenerator.kt"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae9980634d1be4298abda09cbe43f063de8d71d3eb565a966966a1a55583061"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventDetailViewModel.kt:104-115 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt:294-305 \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 \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventDetailViewModel.kt:104\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060BarChart\u0060 names \u0060androidx.compose.material.icons.filled.BarChart\u0060 in one and \u0060androidx.compose.material.icons.outlined.BarChart\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventDetailViewModel.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e483e48529dc75db0c5db333a06a08aa8290af176e7d856e205d0ba749fab865"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/periods/data/PeriodSource.kt:39-50 | commons/src/main/java/org/dhis2/commons/periods/data/PeriodSource.kt:61-72 \u2014 both copies are in the same file, so extract the block 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 \u0060commons/src/main/java/org/dhis2/commons/periods/data/PeriodSource.kt:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/periods/data/PeriodSource.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"599a5c025349e2d15ab3cf64db90ae7cc67a9da3e6a5775a82ee3ca96df6460b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt:94-105 | stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt:228-239 \u2014 both copies are in the same file, so extract the block 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":"stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b1f00d059db0a2c8e81bcfbc716b5bf7683bfd19a58f6346611f14bcd4084f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt:259-270 | tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt:328-338 \u2014 both copies are in the same file, so extract the block 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 \u0060tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt:259\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c9a62fe12a6d0309b4c4a86e7a8d7cabfdb11f215b8a41f047913021cbec7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 9): tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt:102-112 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt:125-135 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt:148-158 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt:267-277 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt:290-300 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt:313-323 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt:336-346 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt:359-369 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt:382-392 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/provider/TrackerInputProvider.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1693d317f5a13f4801521fb52541487dcfc01ccb25a2403a6ffef316e651a1dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt:100-109 | stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt:234-243 | stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt:338-348 \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 \u0060stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt:100\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/DropdownComponents.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40e7c54cd00ae28f792371a057a170f48ab6195ac588b1540ed08b501011d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/featurecollection/MapRelationshipsToFeatureCollection.kt:63-73 | dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/featurecollection/MapRelationshipsToFeatureCollection.kt:124-134 \u2014 both copies are in the same file, so extract the block 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 \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/featurecollection/MapRelationshipsToFeatureCollection.kt:63\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, 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":"dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/mapper/featurecollection/MapRelationshipsToFeatureCollection.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df529b533cf3bf4a47cf67304964d7cd57b962a2084c985c79acc4aa554fb25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorScreen.kt:159-169 | dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorScreen.kt:250-260 \u2014 both copies are in the same file, so extract the block 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 \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorScreen.kt:159\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorScreen.kt:247\u0060 calls \u0060MapTopBar\u0060 and \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorScreen.kt:158\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":"dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorScreen.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11427ab615c804615d370be245de7c3e9d8454b3eddb9ed30912166b77fe9c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): app/src/main/java/org/dhis2/utils/customviews/BreakTheGlassBottomDialog.kt:120-129 | app/src/main/java/org/dhis2/utils/granularsync/SyncStatusDialog.kt:277-286 | commons/src/main/java/org/dhis2/commons/dialogs/AlertBottomDialog.kt:114-123 | commons/src/main/java/org/dhis2/commons/dialogs/bottomsheet/BottomSheetDialog.kt:231-240 | dhis2_android_maps/src/main/java/org/dhis2/maps/layer/MapLayerDialog.kt:183-192 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/utils/customviews/BreakTheGlassBottomDialog.kt\u0060 and \u0060app/src/main/java/org/dhis2/utils/granularsync/SyncStatusDialog.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/utils/customviews/BreakTheGlassBottomDialog.kt:120\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060org.dhis2.R\u0060 in one and \u0060org.dhis2.commons.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/utils/customviews/BreakTheGlassBottomDialog.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2f1ec3daa121c61c7847a0a813515d12cebc281d40a027d56330a984f85f32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt:97-106 | commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt:126-135 | stock-usecase/src/main/java/org/dhis2/android/rtsm/services/StockTableDimensionStore.kt:105-114 | stock-usecase/src/main/java/org/dhis2/android/rtsm/services/StockTableDimensionStore.kt:134-143 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt:97\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"27733674423296b26d3aa3620f47fd0ff31714c28c5e49ad8dafe256fa0ee4c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt:42-51 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt:97-106 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt:223-232 \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 \u0060dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt:42\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt:41\u0060 calls \u0060withLegendStrategy\u0060 and \u0060dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt:222\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":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"10200f5a32758f843fd808640dd72141deef464f20ed8e72d3a3fb84e4eb679d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): compose-table/src/main/java/org/dhis2/composetable/ui/TextInput.kt:100-109 | form/src/main/java/org/dhis2/form/ui/keyboard/KeyboardState.kt:20-29 \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 \u0060compose-table/src/main/java/org/dhis2/composetable/ui/TextInput.kt:100\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"compose-table/src/main/java/org/dhis2/composetable/ui/TextInput.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46163c2697cf8cf6031776f3c7035ff94fea6aab6bc5b3408a8c1821daa43ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt:254-263 | stock-usecase/src/main/java/org/dhis2/android/rtsm/services/rules/RuleValidationHelperImpl.kt:279-288 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt:264\u0060 calls \u0060created\u0060, \u0060toRuleEngineInstantOrNow\u0060, \u0060createdAtClient\u0060 and \u0060stock-usecase/src/main/java/org/dhis2/android/rtsm/services/rules/RuleValidationHelperImpl.kt:289\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b4af3412e56d4204102a0ebaaeb8d47830f8adde7b09117388e3637bbd0150"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToBarData.kt:40-49 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToLineData.kt:21-29 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToBarData.kt:40\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":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToBarData.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e6a1e5ad015a8edb0275211800cf1728b60bb674f559b0597f597d6b2142bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 11): aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:338-346 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:445-453 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:465-473 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:485-493 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:505-513 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:547-555 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:771-779 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:812-820 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:855-863 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:897-905 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:916-924 \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:347\u0060 calls \u0060onAction\u0060, \u0060OnFocusChanged\u0060 and \u0060aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:906\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":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"d089de748aac3025778d7e9132f020d85b25181a9133419581d95d1d4112621d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 10): aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:442-450 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:462-470 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:482-490 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:502-510 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:522-530 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:544-552 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:768-776 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:809-817 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:894-902 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:913-921 \u2014 all 10 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 \u0060aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:442\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c38c440c594f6dbd418e99cfa98e670fcea6e77723558cf68362d20e8b5af79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt:42-50 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt:97-105 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt:175-183 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt:223-231 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt:42\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt:41\u0060 calls \u0060withLegendStrategy\u0060 and \u0060dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt:222\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":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"07dca592d17b863a5cfe692024bcfbf3b681d39739e85aa92f8ad13055ea69a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/org/dhis2/utils/granularsync/data/GranularSyncRepository.kt:388-396 | app/src/main/java/org/dhis2/utils/granularsync/data/GranularSyncRepository.kt:742-750 \u2014 both copies are in the same file, so extract the block 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":"app/src/main/java/org/dhis2/utils/granularsync/data/GranularSyncRepository.kt"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdff612d6fbfda5916c0bd5cfa05ad680d5a7aaebddd850cdbdc381fa22591c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): form/src/main/java/org/dhis2/form/data/metadata/FormBaseConfiguration.kt:57-65 | form/src/main/java/org/dhis2/form/data/metadata/FormBaseConfiguration.kt:69-77 \u2014 both copies are in the same file, so extract the block 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 \u0060form/src/main/java/org/dhis2/form/data/metadata/FormBaseConfiguration.kt:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/data/metadata/FormBaseConfiguration.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"453b2258d458720625c540774c27fc329030728bbca203a05f7fbf0dfed44e84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): form/src/main/java/org/dhis2/form/ui/provider/inputfield/CheckBoxProvider.kt:26-34 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/MultiSelectionInputProvider.kt:20-28 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060form/src/main/java/org/dhis2/form/ui/provider/inputfield/CheckBoxProvider.kt:26\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/CheckBoxProvider.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6697278734b92113212db48121204d59e567d4b005e224c4cfca5656c0c001"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/domain/ValueValidator.kt:40-47 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/provider/IdsProvider.kt:11-18 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/domain/ValueValidator.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6245ebfedb74718b06948d059f2ee98d282cf28b5d01441c73ced12a2a5f3e16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/DataSetListAdapter.kt:42-49 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/adapters/SearchTeiLiveAdapter.kt:91-98 \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 \u0060app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/DataSetListAdapter.kt:42\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/src/main/java/org/dhis2/usescases/searchTrackEntity/adapters/SearchTeiLiveAdapter.kt:89\u0060 calls \u0060when\u0060 and \u0060app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/DataSetListAdapter.kt:41\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":"app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/DataSetListAdapter.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41999f7d47742f7633752239f87750b20bf31aad1c9043ef464f8c4de08426f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt:142-149 | dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt:262-269 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt:142\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":"dhis2-mobile-program-rules/src/main/java/org/dhis2/mobileProgramRules/RulesRepository.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3535f54a2ccbc396e2c1a5f4e07a7cda58690576e01d8a59af769806e3a9b070"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/polygon/MapPolygonToFeature.kt:16-23 | dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/polygon/MapPolygonToFeature.kt:39-46 \u2014 both copies are in the same file, so extract the block 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 \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/polygon/MapPolygonToFeature.kt:16\u0060 it does not close everything it opens, so those exact 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, \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/polygon/MapPolygonToFeature.kt:24\u0060 calls \u0060update\u0060 and \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/polygon/MapPolygonToFeature.kt:47\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":"dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/polygon/MapPolygonToFeature.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b55a1cfdfedf6ffcb791e2a6d14bc42e52647b15394406b813512f88064449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/charts/ChartMarker.kt:57-67 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/charts/RadarChartMarker.kt:48-58 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/charts/ChartMarker.kt:57\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":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/charts/ChartMarker.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d017c226e2ebbfe2f354a2ef6fd1803c94cd4f4b7635e299ff08e721de920b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:342-348 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:839-845 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:838\u0060 calls \u0060onAction\u0060, \u0060OnCall\u0060 and \u0060aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt:341\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":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4024a001f2c9eaf9502dd3c601e17b3193f2dec395548156f1bdb32952bfd94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/teiDashboard/TeiDashboardMobileActivity.kt:657-663 | stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/HomeActivity.kt:207-213 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060org.dhis2.R\u0060 in one and \u0060org.dhis2.android.rtsm.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/TeiDashboardMobileActivity.kt"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ddd94c3421c5b6b35ad32ead44111b6794c6284ebed211823ff4dfd15315c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/bindings/CommonExtensions.kt:60-66 | commons/src/main/java/org/dhis2/commons/resources/ColorUtils.kt:79-85 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060color\u0060 to \u0060Int\u0060 in one and \u0060Int): Int = if (getContrast(color) \u003E 0.500\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/bindings/CommonExtensions.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"826ce7a5def9a77358f6db2052719de87c02c62783a7c20bcb5acf9c84b84145"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): dhis2_android_maps/src/main/java/org/dhis2/maps/managers/DefaultMapManager.kt:108-112 | dhis2_android_maps/src/main/java/org/dhis2/maps/managers/EventMapManager.kt:184-188 \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":"dhis2_android_maps/src/main/java/org/dhis2/maps/managers/DefaultMapManager.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49fee770932c5990d5ca88665a255489981d82c8112926a59af165bdfe308aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/EventIdlingResourceSingleton.kt:11-23 | app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/EventListIdlingResourceSingleton.kt:11-23 | commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/coroutine/AndroidIdlingResource.kt:9-33 | dhis2_android_maps/src/main/java/org/dhis2/maps/utils/OnMapReadyIdlingResourceSingleton.kt:11-23 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. 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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/EventIdlingResourceSingleton.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0934d78e11b443fcb60b5924d7d90f3cb120ee1b0b491a9f5d9e626241c1ce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TeiDataIdlingResourceSingleton.kt:11-21 | commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/coroutine/AndroidIdlingResource.kt:9-33 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note 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":"app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TeiDataIdlingResourceSingleton.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f8a57be3a358c47a6b86983357074f7bfe6194372df62a5664fe05fdd40138"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/dhis2/java/org/dhis2/utils/granularsync/GranularSyncModule.kt:49-55 | app/src/dhis2PlayServices/java/org/dhis2/utils/granularsync/GranularSyncModule.kt:74-80 \u2014 before extracting anything, compare \u0060app/src/dhis2/java/org/dhis2/utils/granularsync/GranularSyncModule.kt\u0060 and \u0060app/src/dhis2PlayServices/java/org/dhis2/utils/granularsync/GranularSyncModule.kt\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/dhis2/java/org/dhis2/utils/granularsync/GranularSyncModule.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ea3d19cd8bbf40ce30e97771ed6c12c3b87b4cf2c53c11b4814010a1d2b2f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): app/src/main/java/org/dhis2/bindings/ViewExtensions.kt:34-51 | commons/src/main/java/org/dhis2/commons/bindings/CommonExtensions.kt:117-134 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/bindings/ViewExtensions.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b575f3c7c39ddb5aa496eb3e98c0e78f0ffa829913280c5b2b15d3916f5e25e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/org/dhis2/data/dhislogic/DhisEnrollmentUtils.kt:84-90 | form/src/main/java/org/dhis2/form/data/UniqueAttributeController.kt:101-107 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/dhislogic/DhisEnrollmentUtils.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"453f33c60d94374f50327d46fc6b7ea1f441d56454271e387e8d948a1fa42b79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/org/dhis2/data/dhislogic/DhisEnrollmentUtils.kt:97-106 | form/src/main/java/org/dhis2/form/data/UniqueAttributeController.kt:138-147 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/dhislogic/DhisEnrollmentUtils.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f3ba4f7e12ec2541a8b815d4c31b2ea42534ff624aed1b65e425575b5bf570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:285-292 | form/src/main/java/org/dhis2/form/data/FormValueStore.kt:653-660 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt\u0060 and \u0060form/src/main/java/org/dhis2/form/data/FormValueStore.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt:285\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":"app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd802e128a518e7f3c91dc60d0b13f852c285d498e448aef140fde678826e424"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/development/ConflictGenerator.kt:563-567 | app/src/main/java/org/dhis2/utils/granularsync/data/GranularSyncRepository.kt:999-1003 \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 \u0060app/src/main/java/org/dhis2/usescases/development/ConflictGenerator.kt:563\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":"app/src/main/java/org/dhis2/usescases/development/ConflictGenerator.kt"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f1063ad06b28a6f68461a8b3a45f7317785d5667639bd2f65d33b506be4583"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/enrollment/EnrollmentActivity.kt:352-358 | app/src/main/java/org/dhis2/usescases/enrollment/FormInjector.kt:70-76 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/enrollment/EnrollmentActivity.kt"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c6629a578daa7cbaff28fc13d750bf5188a9f06944a0f38914cb0d7e497463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/eventCaptureFragment/EventCaptureFormPresenter.kt:129-135 | app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt:443-449 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/eventCaptureFragment/EventCaptureFormPresenter.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"37afbddd62f909632186e3724e35875322d288570f3fbb748e05a102e0de8539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/providers/InputFieldsProvider.kt:411-423 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/CoordinatesProvider.kt:82-94 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/providers/InputFieldsProvider.kt"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5bbb12c6e323f772701cacfac588648efdec7d1cf961cf8aa1e9b4db168d11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/main/ui/NewVersionDialog.kt:37-42 | form/src/main/java/org/dhis2/form/ui/dialog/OptionSetDialog.kt:35-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/main/ui/NewVersionDialog.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0bff7565bcae36d90001cf6c195b998593867e4498a1f27462c5e0c11d0071"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt:134-142 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt:149-157 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 158 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt:134\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a1f52d34526cd0afaac11626722c4cb74c151db41b7f45e51eef47d68fcb2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/teiDashboard/DashboardRepositoryImpl.kt:58-65 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TeiDataRepositoryImpl.kt:183-190 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/DashboardRepositoryImpl.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf200b7e9bc9bea85d5927ec4c55aa33c58e186d524d5e5eaf90d4644a6b227"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/teiDashboard/DashboardRepositoryImpl.kt:71-79 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TeiDataRepositoryImpl.kt:172-180 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, 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":"app/src/main/java/org/dhis2/usescases/teiDashboard/DashboardRepositoryImpl.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c020dad11f5c5a65420186dc30079d641642cfe7d2c093e9d2748e31af65ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): commons/src/main/java/org/dhis2/commons/periods/data/PeriodLabelProvider.kt:216-225 | commons/src/main/java/org/dhis2/commons/periods/data/PeriodLabelProvider.kt:230-239 | commons/src/main/java/org/dhis2/commons/resources/DhisPeriodUtils.kt:103-112 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/PeriodStepProviderImpl.kt:155-164 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060commons/src/main/java/org/dhis2/commons/periods/data/PeriodLabelProvider.kt:216\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/periods/data/PeriodLabelProvider.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"648df2b40ecc50e938fb48ee0592215cbe76166c01be12fe80d1c88ce73d0eaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt:134-140 | commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/providers/PreferenceProviderImpl.kt:135-141 \u2014 before extracting anything, compare \u0060commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt\u0060 and \u0060commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/providers/PreferenceProviderImpl.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt:134\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, 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":"commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e16dd5ed3d930b21be4cafe16d018052f74d8bed710b25c361859c1561a7b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt:143-148 | commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/providers/PreferenceProviderImpl.kt:144-149 \u2014 before extracting anything, compare \u0060commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt\u0060 and \u0060commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/providers/PreferenceProviderImpl.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79d7300b7d1f84eefc9db0b1c99c91ef8f7bd10b755b024ea5b4181e34d13b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt:154-159 | commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/providers/PreferenceProviderImpl.kt:155-160 \u2014 before extracting anything, compare \u0060commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt\u0060 and \u0060commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/providers/PreferenceProviderImpl.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt:154\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":"commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de6f2b1f35ec887117097c71e713e6aaff166fe594fade8890fdf39e3635d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt:201-208 | commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/providers/PreferenceProviderImpl.kt:212-219 \u2014 before extracting anything, compare \u0060commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt\u0060 and \u0060commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/providers/PreferenceProviderImpl.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt:201\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8018934080f94dd5bfde463f47c50697759ab8fc1201da786a0c1de6461c9f56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/FieldMapLayer.kt:74-83 | dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/TeiEventMapLayer.kt:126-135 \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":"dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/FieldMapLayer.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f66766f494bc8793b4c0be90219a78f84637a1a015a441cc6cc6dbc18949f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dhis2_android_maps/src/main/java/org/dhis2/maps/managers/RelationshipMapManager.kt:207-212 | dhis2_android_maps/src/main/java/org/dhis2/maps/managers/TeiMapManager.kt:499-504 \u2014 before extracting anything, compare \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/managers/RelationshipMapManager.kt\u0060 and \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/managers/TeiMapManager.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/managers/RelationshipMapManager.kt:207\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2_android_maps/src/main/java/org/dhis2/maps/managers/RelationshipMapManager.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43ed24214bfd6a016960c977cfb1a94a6eb130fd7b02b768fc10dd21ef4e9a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): form/src/main/java/org/dhis2/form/data/OptionsRepository.kt:27-35 | form/src/main/java/org/dhis2/form/data/metadata/OptionSetConfiguration.kt:13-21 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/data/OptionsRepository.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0980ae43a51e17481c01f530ff6707de3f242b352c3d4d8279c3077dde57dce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): form/src/main/java/org/dhis2/form/extensions/FieldUiModelExtensions.kt:61-66 | tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/state/TrackerInputUiState.kt:59-64 \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 \u0060form/src/main/java/org/dhis2/form/extensions/FieldUiModelExtensions.kt:61\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":"form/src/main/java/org/dhis2/form/extensions/FieldUiModelExtensions.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af89cae27fcfe35a7e392b42df8e9ab176c08d28d6c05fbebe9d8ad93a954b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt:398-410 | login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt:387-399 \u2014 before extracting anything, compare \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt\u0060 and \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 145 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt:398\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf05106ee8f751cbb3b4dc06c84e8e9ceb4081bf93bade3faccefea318c3a269"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt:416-428 | login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt:405-417 \u2014 before extracting anything, compare \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt\u0060 and \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 145 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt:416\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":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea20c3b626c869dbcddc2736a35999c81746b65f956658ea322fb1ef5eedc20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt:437-456 | login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt:426-445 \u2014 before extracting anything, compare \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt\u0060 and \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/components/PinDialog.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 145 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt:437\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":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/components/OfflineCredentialDialog.kt"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"7862b05a7b683cdf509ee3c9359cd87b2218b5322ac63ba47c5c39b3f5141641"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/DataSetListAdapter.kt:32-36 | commons/src/main/java/org/dhis2/commons/featureconfig/ui/FeatureListAdapter.kt:17-21 \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 \u0060app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/DataSetListAdapter.kt:32\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/datasetList/DataSetListAdapter.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"671755944f2d81c99782051e7c70a2c5d1942462cf3e6e32a18a174ddf5e3315"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): app/src/main/java/org/dhis2/usescases/notes/NotesAdapter.kt:57-66 | app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/DashboardProgramAdapter.kt:18-27 | app/src/main/java/org/dhis2/utils/category/CategoryDialogAdapter.kt:30-39 | app/src/main/java/org/dhis2/utils/granularsync/SyncConflictAdapter.kt:25-34 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/notes/NotesAdapter.kt:57\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/notes/NotesAdapter.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6b3a2b4871c917231cad9ef164841957b6c2018053afcb4c639ab7552cdefe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt:306-316 | app/src/main/java/org/dhis2/usescases/settings/ui/SyncMetadataSettingItem.kt:219-229 \u2014 before extracting anything, compare \u0060app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/settings/ui/SyncMetadataSettingItem.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt:306\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":"app/src/main/java/org/dhis2/usescases/settings/ui/SyncDataSettingItem.kt"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ceb4a779a3e6539914451eb0e7b121bb03cf74860eebc3d615ef8036c7cff03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/teiDashboard/dialogs/scheduling/SchedulingDialog.kt:100-107 | commons/src/main/java/org/dhis2/commons/filters/periods/ui/FilterPeriodsDialog.kt:60-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: \u0060R\u0060 names \u0060org.dhis2.commons.R\u0060 in one and \u0060org.dhis2.form.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/dialogs/scheduling/SchedulingDialog.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a133495a8ba39d109bf556e2abdc768518f43c73111c0062b753cf5639615cf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/teiDashboard/dialogs/scheduling/SchedulingDialog.kt:226-231 | commons/src/main/java/org/dhis2/commons/filters/periods/ui/FilterPeriodsDialog.kt:97-102 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060args\u0060 to \u0060Bundle): LaunchMode = if (Build.VERSION.SDK_INT \u003E= Build.VERSION_CODES.TIRAMISU\u0060 in one and \u0060Bundle): FilterDialogLaunchMode = if (Build.VERSION.SDK_INT \u003E= Build.VERSION_CODES.TIRAMISU\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/dialogs/scheduling/SchedulingDialog.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87785ee510b0623caed7d18f428eca102e462e1426c2670d3ffffaeaf169157"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/filters/data/EventProgramFilterSearchHelper.kt:34-49 | commons/src/main/java/org/dhis2/commons/filters/data/TrackerFilterSearchHelper.kt:42-57 \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":"commons/src/main/java/org/dhis2/commons/filters/data/EventProgramFilterSearchHelper.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdceca23356f696664fe4f7968279981c007caa3dc6496a16b027a4379fceea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/EnrollmentMapLayer.kt:108-117 | dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/TeiMapLayer.kt:133-142 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/EnrollmentMapLayer.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"591c369656e8b228d0b4504ed6c79888606bf041a61a9b3eef1f3dcf94a88917"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): form/src/main/java/org/dhis2/form/ui/provider/inputfield/ImageInputProvider.kt:144-150 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/InputFileProvider.kt:81-87 \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":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/ImageInputProvider.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"543d60157f2e51e6ffb514a7db67be451dc6e1695d745506c5c31a12208840eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt:146-157 | tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt:192-203 \u2014 before extracting anything, compare \u0060tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt\u0060 and \u0060tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/TrackerRelationshipsRepository.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt:146\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":"tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/data/EventRelationshipsRepository.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"5176f833bb9400f1368e0d55691fbb293c9f23c3f095cc31d9a719cd54035872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/AdaptativeTabRow.kt:102-116 | aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/AdaptativeTabRow.kt:136-151 \u2014 both copies are in the same file, so extract the block 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 \u0060aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/AdaptativeTabRow.kt:102\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":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/AdaptativeTabRow.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"558f9343d2622a670fe448f357e0b07e6070d251a2854d4c41a1aec93447e377"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): form/src/main/java/org/dhis2/form/data/metadata/EnrollmentConfiguration.kt:102-116 | form/src/main/java/org/dhis2/form/data/metadata/EnrollmentConfiguration.kt:135-149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/data/metadata/EnrollmentConfiguration.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"18882c3ce026a46fa287ce78b4602152f207a714ab8e407e588473626bf55b92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:537-549 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:962-974 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt:537\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f631652ccb369d94c12ffef0b5bda83968fef04081c8302278d9d47d38e79e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt:99-106 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt:112-119 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt:172-179 | dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt:204-210 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt:99\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt:212\u0060 calls \u0060removeTrackerVisualizationOrgUnitFilter\u0060, \u0060removeTrackerVisualizationPeriodFilter\u0060 and \u0060dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt:121\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":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb81784155b3257db2b31de2342a044b3466ce5af6344a3315ef40138c357b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/extensions/StringExtensions.kt:140-146 | form/src/main/java/org/dhis2/form/ui/provider/inputfield/AgeProvider.kt:212-218 \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 \u0060commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/extensions/StringExtensions.kt:140\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/extensions/StringExtensions.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6672057de0c4eab3c065ba77a28d23dd546df43b37f190d13d76aab339d48d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/date/DateUtils.java:579-614 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:719-754 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, 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":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b8336d63426ff77bbb25d867a65d92c9a16db7604b4eb5b06f427cb97012c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/qrCodes/QrActivity.java:66-98 | app/src/main/java/org/dhis2/usescases/qrCodes/eventsworegistration/QrEventsWORegistrationActivity.java:52-84 \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 \u0060app/src/main/java/org/dhis2/usescases/qrCodes/QrActivity.java:66\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, 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":"app/src/main/java/org/dhis2/usescases/qrCodes/QrActivity.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6b2380d2c3ef577f1b7235cc43be6b8b5176a5619c016cf1f9cc8ec49156e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java:417-434 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java:462-480 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java:417\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":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdd7c1ca947154ca000ef47fd00a2ec1b4467958120f4cb75b40b6ae55cb260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/TeiProgramListRepositoryImpl.java:49-62 | app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/TeiProgramListRepositoryImpl.java:71-84 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/TeiProgramListRepositoryImpl.java:49\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/TeiProgramListRepositoryImpl.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e82ccbcc331d93c8bb1654982e6ff39915b52a264175cb29e87bddd77771fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/date/DateUtils.java:502-513 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:639-650 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060commons/src/main/java/org/dhis2/commons/date/DateUtils.java:502\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060commons/src/main/java/org/dhis2/commons/date/DateUtils.java:652\u0060 calls \u0060set\u0060 and \u0060commons/src/main/java/org/dhis2/commons/date/DateUtils.java:514\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":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"176f59101670d1470b73f0ee2677d020bed11c04b6e73184281dd577ad315b69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/date/DateUtils.java:540-550 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:691-701 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f44809f3436afe0059ad5c77e61b7dff81bcd0efae7e85753ffde42fd75d64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/src/main/java/org/dhis2/data/forms/dataentry/ProgramAdapter.java:54-63 | app/src/main/java/org/dhis2/data/forms/dataentry/ProgramAdapter.java:66-75 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060binding\u0060 to \u0060SpinnerProgramLayoutBinding\u0060 in one and \u0060SpinnerProgramItemLayoutBinding\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/forms/dataentry/ProgramAdapter.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3128241fc99d66a7232b9478f8962452de6ac03950213233f61db21dcfaa69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): commons/src/main/java/org/dhis2/commons/date/DateUtils.java:407-415 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:418-426 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:429-437 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:440-448 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8369bd0c1120d0ff547f89ab38f1a0243522f6828fcf82fbce858df0de92af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/qrCodes/QrActivity.java:47-55 | app/src/main/java/org/dhis2/usescases/qrCodes/eventsworegistration/QrEventsWORegistrationActivity.java:39-47 \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 \u0060app/src/main/java/org/dhis2/usescases/qrCodes/QrActivity.java:47\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/qrCodes/QrActivity.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"72402abf0c415a67c480a4e7f9727926ab7d7df59eea837777d9712ec344a8fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java:436-444 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java:482-490 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java:436\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":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a4ff46116c8205d3a0cfe98bc35d26fd383840aa09d95262b70d7c0f2577e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepositoryImpl.java:404-411 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepositoryImpl.java:420-427 \u2014 both copies are in the same file, so extract the block 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 \u0060app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepositoryImpl.java:404\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepositoryImpl.java"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e79c0a785d970dd81edd4279b97f8efe2a21ae570b2f05acaa9064b82ec8dff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): commons/src/main/java/org/dhis2/commons/date/DateUtils.java:451-457 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:461-467 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:471-477 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:481-487 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e06ddaa3815a6fc3283939b7f3e77576808650c5b9f12710888bd1ed2a1cbd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/date/DateUtils.java:69-76 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:244-250 \u2014 both copies are in the same file, so extract the block 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 \u0060commons/src/main/java/org/dhis2/commons/date/DateUtils.java:69\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea0968d5d4be6ff95bca3852c062ab7f2e59df582ce1af27a004a5d6d97bf1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/date/DateUtils.java:81-86 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:93-99 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060commons/src/main/java/org/dhis2/commons/date/DateUtils.java:100\u0060 calls \u0060add\u0060 and \u0060commons/src/main/java/org/dhis2/commons/date/DateUtils.java:88\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":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c74961a0d82812fe16c7b223f0b3fdcf1510536dd0c12cd5be1c39b9d353ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/date/DateUtils.java:108-114 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:120-126 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060commons/src/main/java/org/dhis2/commons/date/DateUtils.java:127\u0060 calls \u0060add\u0060 and \u0060commons/src/main/java/org/dhis2/commons/date/DateUtils.java:115\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":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f285b0d223405c68d750dda14e371c770f6aea2dbe0da6b6d477ade5ce617364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/date/DateUtils.java:134-140 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:146-152 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060commons/src/main/java/org/dhis2/commons/date/DateUtils.java:153\u0060 calls \u0060add\u0060 and \u0060commons/src/main/java/org/dhis2/commons/date/DateUtils.java:141\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":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15c0f5dac9ccebda4532b7a7e3865e47b5aafec79e2ff8cb03c313f6db38803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): commons/src/main/java/org/dhis2/commons/date/DateUtils.java:80-85 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:92-97 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:107-112 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:119-124 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:133-138 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:145-150 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060commons/src/main/java/org/dhis2/commons/date/DateUtils.java:100\u0060 calls \u0060add\u0060 and \u0060commons/src/main/java/org/dhis2/commons/date/DateUtils.java:88\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":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcc143e5c76ab604cd7b0bf187998bb2575e4eee983115d03cbee3a717bdcc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java:258-263 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java:428-433 | app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java:474-479 \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 \u0060app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java:258\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":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderFragment.java"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f47c692b0b788bb3011c63067db748cb8a5779737bba82ca023abd03af56d58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/date/DateUtils.java:228-233 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:243-248 \u2014 both copies are in the same file, so extract the block 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":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"052b24d246d3a3f6801e583ce3821ae7f26bc2bdbf13b509e34c849b671a25fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/date/DateUtils.java:558-570 | commons/src/main/java/org/dhis2/commons/date/DateUtils.java:709-721 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/date/DateUtils.java"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2d4ee834fb2d5ae2cf7bcae56453a92a762ae6c92f3f2cade492d20d3eeb23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): commons/src/main/java/org/dhis2/commons/filters/cat_opt_comb/SelectedCatOptCombHolder.java:12-20 | commons/src/main/java/org/dhis2/commons/filters/ou/SelectedOUHolder.java:12-20 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/filters/cat_opt_comb/SelectedCatOptCombHolder.java"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"780478c43f4fe36dc9030b81e26c5bb997d5938d445724b68cce263584fe83cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialModule.java:81-89 | app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEModule.java:246-254 \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 \u0060app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialModule.java:81\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, 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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialModule.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6297abaac19fa8cedd5c83818fbdc8f7a8598269f06d7a8b182659dd9afda00f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepositoryImpl.java:280-285 | app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/TeiProgramListRepositoryImpl.java:154-159 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepositoryImpl.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab49dfbe57b76f9418db392e2a0511666c87f20db924588ca0425589e6c840f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 2): .claude/skills/update-translations/scripts/transifex_sync.py:240-256 | .claude/skills/update-translations/scripts/transifex_sync.py:660-680 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/update-translations/scripts/transifex_sync.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"697e7238d421f678db76739576b0934ab5a2e6dcb4b9648311b11dceb26d4568"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :compose-table: :compose-table: abstractness 0.09, instability 0.00, distance 0.91 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"87729848e9c864e666972592148d43552dae11528c18a49495d7a47ad5d38f85"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EventDetailsViewModel (LCOM4 4): EventDetailsViewModel\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/ui/EventDetailsViewModel.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"577246bd1a10c0b9ac867dec018a65e6548354c494832d5c35911e3335f58dc1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SearchTEIViewModel (LCOM4 4): SearchTEIViewModel\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"02410ba9e83418f1d2aee64191a12a45b1fb4b0f52abacab9da874b5ff960212"}},{"ruleId":"D13","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":"c88e13b524151e08bf9c1ff942434fc495c956b1bb8d9f42ae7e39445ed8564d"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"e7c5b670d32580d031cc039278131cd8a8132f5a2de171e85a39c6d9c0714c1c"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"d5f005797ca8f394af43e1fe09b5905c0c9d8e55479e7b1e55518eecf1eed653"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"fb75404dc22ecf6a7d377e51326252427111eec403c0d4a0b06e62ffa1782e01"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/extensions/StringExtensions.kt: commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/extensions/StringExtensions.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in StringExtensionsKt.toUserFriendlyValue at line 33. 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-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:03:35 \u002B01:00\u0027 --until=\u00272026-11-12 15:03:35 \u002B01:00\u0027 --full-history --no-merges -- commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/extensions/StringExtensions.kt\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":"commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/extensions/StringExtensions.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1748be05aa249c1ffd920348d2e5cdac5ba3d768e99d79f7b405a9e01c2c1e80"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: form/src/main/java/org/dhis2/form/data/FormRepositoryImpl.kt: form/src/main/java/org/dhis2/form/data/FormRepositoryImpl.kt changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is FormRepositoryImpl.getEnrollmentResult at line 179), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: [ANDROAPP-7937] Keep HIDEFIELD and other rule effects on fields with option rule actions (#5297)\u201D; \u201Cfix: Enrollment/Event details fields values are not parsed properly (#5277)\u201D; \u201Cfix: [ANDROAPP-7772] display file name and size, deprecate DisplayNameProvider (#5256)\u201D; \u201Cfix: [ANDROAPP-7591] Use field instead of dialog for not unique error (#5161)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:03:35 \u002B01:00\u0027 --until=\u00272026-11-12 15:03:35 \u002B01:00\u0027 --full-history --no-merges -- form/src/main/java/org/dhis2/form/data/FormRepositoryImpl.kt\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":"form/src/main/java/org/dhis2/form/data/FormRepositoryImpl.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba54abf2c3b6894642f29e3310f76ab46a71a8679a3f7b738041a32652657159"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: form/src/main/java/org/dhis2/form/ui/FormView.kt: form/src/main/java/org/dhis2/form/ui/FormView.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is FormView.openChooserIntent at line 355), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: [ANDROAPP-7772] display file name and size, deprecate DisplayNameProvider (#5256)\u201D; \u201Cfix: [ANDROAPP-7699] Save/Download files in the downlad folder (#5210)\u201D; \u201Cfix: [ANDROAPP-7591] Use field instead of dialog for not unique error (#5161)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:03:35 \u002B01:00\u0027 --until=\u00272026-11-12 15:03:35 \u002B01:00\u0027 --full-history --no-merges -- form/src/main/java/org/dhis2/form/ui/FormView.kt\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":"form/src/main/java/org/dhis2/form/ui/FormView.kt"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e555dcbdc654de57d033cc41bf384bcdcda4218b1431d56dfca5696dc9cf56"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt: app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is SearchTEIViewModel.getFriendlyQueryData at line 1216), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: [ANDROAPP-7772] display file name and size, deprecate DisplayNameProvider (#5256)\u201D; \u201Cfix: [ANDROAPP-7864] Avoid crash opening TEI dashboard when TEI is not stored locally (#5223)\u201D; \u201Cfix: [ANDROAPP-7860] Hide search sync button when no program is selected (#5220)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:03:35 \u002B01:00\u0027 --until=\u00272026-11-12 15:03:35 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt\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":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5c66de4a28d9c890faf6ee123dde6e01d50b8ffcb517348aa16faca09deae2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/dhis2/usescases/teiDashboard/DashboardViewModel.kt: app/src/main/java/org/dhis2/usescases/teiDashboard/DashboardViewModel.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is DashboardViewModel.buildEnrollmentMenuForEnrollment at line 169), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: [ANDROAPP-7864] Avoid crash opening TEI dashboard when TEI is not stored locally (#5223)\u201D; \u201Cfix: [ANDROAPP-7863] Hide notes tab on TEI dashboard without program (#5222)\u201D; \u201Cfix: [ANDROAPP-7717] Refresh navigation bar items in teidashboard (#5138)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:03:35 \u002B01:00\u0027 --until=\u00272026-11-12 15:03:35 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/java/org/dhis2/usescases/teiDashboard/DashboardViewModel.kt\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":"app/src/main/java/org/dhis2/usescases/teiDashboard/DashboardViewModel.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e511a8bd4ecba25c084b2c1d29065533fe85cbceaa503c93f01d75478e1d758"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: commons/src/main/java/org/dhis2/commons/bindings/ValueExtensions.kt: commons/src/main/java/org/dhis2/commons/bindings/ValueExtensions.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is ValueExtensionsKt.check at line 67), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Enrollment/Event details fields values are not parsed properly (#5277)\u201D; \u201Cfix: [ANDROAPP-7723] Formats Yes/No and YesOnly valueType fields (#5214)\u201D; \u201Cfix: [ANDROAPP-7675] Display not found feedback for InputImage (#5115)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:03:35 \u002B01:00\u0027 --until=\u00272026-11-12 15:03:35 \u002B01:00\u0027 --full-history --no-merges -- commons/src/main/java/org/dhis2/commons/bindings/ValueExtensions.kt\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":"commons/src/main/java/org/dhis2/commons/bindings/ValueExtensions.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"965b7f2f764b60d4ecc8a296dfff320532af6d24badcb490a6fc3ba51a0479fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/ValueParserImpl.kt: commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/ValueParserImpl.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is ValueParserImpl.valueFromBooleanType at line 68), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Enrollment/Event details fields values are not parsed properly (#5277)\u201D; \u201Cfix: [ANDROAPP-7772] display file name and size, deprecate DisplayNameProvider (#5256)\u201D; \u201Cfix: [ANDROAPP-7723] Formats Yes/No and YesOnly valueType fields (#5214)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:03:35 \u002B01:00\u0027 --until=\u00272026-11-12 15:03:35 \u002B01:00\u0027 --full-history --no-merges -- commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/ValueParserImpl.kt\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":"commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/ValueParserImpl.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cb2f9c4e883eeae17ae57839843d0daed5a41d73335db554880e22f8992742"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: form/src/main/java/org/dhis2/form/data/EventRepository.kt: form/src/main/java/org/dhis2/form/data/EventRepository.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is EventRepository.firstSectionToOpen at line 97), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: [ANDROAPP-7921] Crash whtn click on any TEI with coordiantes (#5270)\u201D; \u201Cfix: [ANDROAPP-7772] display file name and size, deprecate DisplayNameProvider (#5256)\u201D; \u201Cfix: [ANDROAPP-7723] Formats Yes/No and YesOnly valueType fields (#5214)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:03:35 \u002B01:00\u0027 --until=\u00272026-11-12 15:03:35 \u002B01:00\u0027 --full-history --no-merges -- form/src/main/java/org/dhis2/form/data/EventRepository.kt\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":"form/src/main/java/org/dhis2/form/data/EventRepository.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f611bf460a87d8f67dfb7b15d1488de48a0b161900ffadbd6468a5d983325e6c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: form/src/main/java/org/dhis2/form/data/metadata/EnrollmentConfiguration.kt: form/src/main/java/org/dhis2/form/data/metadata/EnrollmentConfiguration.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is EnrollmentConfiguration.enrollment at line 19), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: [ANDROAPP-7921] Crash whtn click on any TEI with coordiantes (#5270)\u201D; \u201Cfix: [ANDROAPP-7772] display file name and size, deprecate DisplayNameProvider (#5256)\u201D; \u201Cfix: [ANDROAPP-7723] Formats Yes/No and YesOnly valueType fields (#5214)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:03:35 \u002B01:00\u0027 --until=\u00272026-11-12 15:03:35 \u002B01:00\u0027 --full-history --no-merges -- form/src/main/java/org/dhis2/form/data/metadata/EnrollmentConfiguration.kt\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":"form/src/main/java/org/dhis2/form/data/metadata/EnrollmentConfiguration.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"549f8cf0aa3893ce633dc564a0de28cfb8117dffc247a146ef1e831c0308ce25"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/dhis2/usescases/teiDashboard/TeiDashboardMobileActivity.kt: app/src/main/java/org/dhis2/usescases/teiDashboard/TeiDashboardMobileActivity.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is TeiDashboardMobileActivity.setupMoreOptionsMenu at line 846), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: [ANDROAPP-7919] Fix sentry crash DHIS2-ANDROID-CAPTURE-8DRW (#5263)\u201D; \u201Cfix: [ANDROAPP-7864] Avoid crash opening TEI dashboard when TEI is not stored locally (#5223)\u201D; \u201Cfix: [ANDROAPP-7863] Hide notes tab on TEI dashboard without program (#5222)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:03:35 \u002B01:00\u0027 --until=\u00272026-11-12 15:03:35 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/java/org/dhis2/usescases/teiDashboard/TeiDashboardMobileActivity.kt\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":"app/src/main/java/org/dhis2/usescases/teiDashboard/TeiDashboardMobileActivity.kt"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c89a4812b976c24a683b4fca55efd479f716ec7d8aac09a0e13338c0d181f37"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/dhis2/utils/granularsync/SyncStatusDialog.kt: app/src/main/java/org/dhis2/utils/granularsync/SyncStatusDialog.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is SyncStatusDialog.stateChanged at line 317), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: [ANDROAPP-7865] Avoid dismissing sync dialog after state is saved (#5224)\u201D; \u201Cfix: [ANDROAPP-7785] Update sync status dialog during sync (#5140)\u201D; \u201Cfix: [ANDROAPP-7786] Token expired and Sync successful messages at the same time (#5139)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:03:35 \u002B01:00\u0027 --until=\u00272026-11-12 15:03:35 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/java/org/dhis2/utils/granularsync/SyncStatusDialog.kt\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":"app/src/main/java/org/dhis2/utils/granularsync/SyncStatusDialog.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0fcc8d8436556bab30e63ad9178e9316413592036eeeed13d34e9a8a2715b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/dhis2/utils/granularsync/GranularSyncPresenter.kt: app/src/main/java/org/dhis2/utils/granularsync/GranularSyncPresenter.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is GranularSyncPresenter.initGranularSync at line 140), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: [ANDROAPP-7785] Update sync status dialog during sync (#5140)\u201D; \u201Cfix: [ANDROAPP-7847] Do not display sync successful on initial sync dialog display (#5213)\u201D; \u201Cfix: [ANDROAPP-7786] Token expired and Sync successful messages at the same time (#5139)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:03:35 \u002B01:00\u0027 --until=\u00272026-11-12 15:03:35 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/java/org/dhis2/utils/granularsync/GranularSyncPresenter.kt\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":"app/src/main/java/org/dhis2/utils/granularsync/GranularSyncPresenter.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc67060d501a6f404e5100951f3f7228205a2504852c91579c29ea90d4b5f295"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/dhis2/usescases/splash/SplashActivity.kt: app/src/main/java/org/dhis2/usescases/splash/SplashActivity.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is SplashActivity.goToNextScreen at line 139), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: [ANDROAPP-7821] check if offline code is set before enter the app (#5191)\u201D; \u201Cfix: [ANDROAPP-7697] User has access to one program or dataset (#5199)\u201D; \u201Cfix: [ANDROAPP-7820] Shows the correct pin/offline dialog to user [skip size] (#5183)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:03:35 \u002B01:00\u0027 --until=\u00272026-11-12 15:03:35 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/java/org/dhis2/usescases/splash/SplashActivity.kt\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":"app/src/main/java/org/dhis2/usescases/splash/SplashActivity.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e902918ccbcd5a6549ebf4a2d108ff9e8ed380212013edc6d839259a72331310"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: app/src/main/java/org/dhis2/usescases/splash/SplashPresenter.kt: app/src/main/java/org/dhis2/usescases/splash/SplashPresenter.kt changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is SplashPresenter.trackingInfoFor at line 82), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: [ANDROAPP-7821] check if offline code is set before enter the app (#5191)\u201D; \u201Cfix: [ANDROAPP-7697] User has access to one program or dataset (#5199)\u201D; \u201Cfix: [ANDROAPP-7774] main-thread ANR in SplashPresenter from blocking SDK reads (#5069)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 15:03:35 \u002B01:00\u0027 --until=\u00272026-11-12 15:03:35 \u002B01:00\u0027 --full-history --no-merges -- app/src/main/java/org/dhis2/usescases/splash/SplashPresenter.kt\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":"app/src/main/java/org/dhis2/usescases/splash/SplashPresenter.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4304bdb33585c81cc91226e05680b46ca6a894514f07b5d17ed60d35e952b5b"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 8 significant file(s) lose their only recent owner: app/src/main/java/org/dhis2/usescases/troubleshooting/TroubleshootingRepository.kt, app/src/main/java/org/dhis2/usescases/settings/domain/LaunchSync.kt, app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/EventListViewModel.kt, dhis2_android_maps/src/main/java/org/dhis2/maps/layer/basemaps/BaseMapManager.kt, stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/FilterComponents.kt, dhis2_android_maps/src/main/java/org/dhis2/maps/layer/basemaps/BaseMapStyle.kt, sync/src/androidMain/kotlin/org/dhis2/mobile/sync/di/SyncModule.android.kt, commons/src/main/java/org/dhis2/commons/resources/EventResourcesProvider.kt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6cb355edd3e9aca87a392f6e8b0209c10f64ed3d174f279ba1179ad4a7b7973a"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 5 significant file(s) lose their only recent owner: login/src/commonMain/kotlin/org/dhis2/mobile/login/pin/ui/viewmodel/PinViewModel.kt, commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/error/DomainErrorMapper.kt, app/src/main/java/org/dhis2/data/server/ForceSessionExpiryInterceptor.kt, commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/error/DomainError.kt, app/src/main/java/org/dhis2/usescases/general/ui/SessionRenewalDialog.kt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"901d52826944c04f7d419fe488161aa23ef4f6244c48192b0009bb89fbe9ca2c"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 3 significant file(s) lose their only recent owner: tracker/src/androidMain/kotlin/org/dhis2/tracker/search/data/TrackedEntitySearchItemMapper.kt, commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/providers/InfoBarProvider.kt, tracker/src/commonMain/kotlin/org/dhis2/tracker/search/domain/FetchSearchParameters.kt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"afad8d15057b83452cbb194d3d228ee6404b217d2e1d06e236e7ecd276d85ebb"}},{"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 (17 single-owned of 592 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; 592 of the 1645 production source files in this repository met that bar). They are anonymized user #4 (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: app/src/main/java/org/dhis2/usescases/searchTrackEntity/MapDataRepository.kt."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The sdk does not provide methods to download data values for a given dataset \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/SyncDataSetRepositoryImpl.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"241861baedf7c3396461cae6e9ad852fa4a04122bf67a899e56e646af74d7479"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The sdk does not provide methods to download data values for a given data set instance \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/SyncDataValueRepositoryImpl.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8198adb80385658cab9114abe1a278dd7f9695c39df89185e2e1230b2cbafba2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO Create the two remaining program rules \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stock-usecase/src/test/java/org/dhis2/android/rtsm/services/ProgramRuleTests.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c716a56a7c576cd76bdf276d369f0df1e0516be53a600217be0a1901f1ba0e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Add the two remaining program rules \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stock-usecase/src/test/java/org/dhis2/android/rtsm/services/ProgramRuleTests.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd4d07e19f10c15097e5280e69d80c02f7fb67811bf7b87d2adc14d903f3e4d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Switch to using non-deprecated way of checking available network \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stock-usecase/src/main/java/org/dhis2/android/rtsm/utils/NetworkUtils.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb484157dd48126fd6f0fd702ffb9b1a499e0e95cfa6367f1df1997be5890788"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO check if enabled \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/base/BaseViewModel.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6623b90c432dc0b2e9041cc4decc883d6858b63c05f1ea137cdc01cdbb715f3b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Flag situations where the intersection is nil (i.e. no facility obtained) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stock-usecase/src/main/java/org/dhis2/android/rtsm/services/MetadataManagerImpl.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b757f8e84d8c71c4b4481380d157a65bc9eff36711bb9fd56a91d8fd931c62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Ensure that you flag errors if any of the entities being \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stock-usecase/src/main/java/org/dhis2/android/rtsm/data/models/IdentifiableModel.kt"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6f9d6241a0e89d926c4e2ad936d5ef6de43840c0a196b11393ab60fc49d5a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Find a way to get the OrganisationUnit given the UID, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stock-usecase/src/main/java/org/dhis2/android/rtsm/data/models/Transaction.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca4e8892547cf8c89a2b16815ad00ad7997886b948dc2abbf173322b3583486"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add desktop-specific SessionRepository implementation when available \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/desktopMain/kotlin/org/dhis2/mobile/login/pin/di/PinModule.desktop.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a0f9fc2d8d4e40b2ef5a325d8a74cf4ab4b6945e2eaf31d57c0bf4e1388681"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Create Event \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/data/RulesUtilsProviderImpl.kt"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac0ebef6bdc6866e48ca522b9717ff6811e362da0f0d2e9f0b1eb793adab734"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:Some of these strings need to be localized \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/PeriodStepProviderImpl.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c162a6e5925c9647034e0ada047224c40910eaf2eab5da823bb3781b9c7e2cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(b/163742556): This is just a proxy for software keyboard visibility. Find a better \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"compose-table/src/androidTest/java/org/dhis2/composetable/utils/KeyboardHelper.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e111e74d7467fa8644058f0da72912c393ab4d4a6ecb9b8210c7e6e5456363"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(\u0022Not yet implemented\u0022) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/desktopMain/kotlin/org/dhis2/mobile/commons/files/GetFileResource.desktop.kt"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94ee3b33076415a27e0ed19ae50244a8561fe4491902d9071024d8bf7492096"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo request configured session time out duration when ready for production \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/service/SessionManagerServiceImpl.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbbf1c301ec37410e444551eba34d8d6952da8e3bc0aba31da67b2fa8dfe9c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Track in matomo \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/utils/analytics/AnalyticsHelper.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4949656d87368424aa843f4113611b59ff5df1f1ee78995d4170561276f4fbf6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Implement error) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"058ff9058946bb8cd863e5be9de8c0c81be1686a4045e84859ad83c0b38fc1d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: FIX QRs -\u003E SHOULD USE SMS COMPRESSION LIBRARY \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderPresenterImpl.kt"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c19083c36e960ad8296f222fe3ea156a12f38fc2fb66b3531bfbde246cd1f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MOVE TO BE HANDLED AFTER LOGIN \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/main/MainActivity.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f47df3e8c923b5ec34e792cbc1f592c2bacbd5cafc5b804653ecb7e80eb36a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: CHANGE THIS TO GET INFO FROM SMS Library \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf7ce6c9c41a04e907cb57a10bb371489c5d5d4842e2a286dc3b8ef1bd0d670"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: CHANGE TO SUPPORT ALL FEATURE TYPES \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"2629a6912165a7cf11cde7448c50a5b24c44920fa54ae1fc657c54e14ba4f9a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: CHANGE TO SUPPORT ALL FEATURE TYPES \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"052c790d89e1d1cac13077b8b52dbabc364b9a8105f5babc70925c4ccd95afc9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: CHANGE TO SUPPORT ALL FEATURE TYPES \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/qr/QRCodeGenerator.kt"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb307ba078ce44891fae6f804b949bdb5ad66054de8c38db7d982bcd192f2cd"}},{"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 \u0060app/build.gradle.kts\u0060 makes this repository a deployable product (line 14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/build.gradle.kts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0b7e6affaa93ee6bb19a08419940b0b329e278f472a33ac0b60c64caa16c5f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060shouldCheckPIN\u0060 spells \u0060PIN\u0060 where 12 names in the project spell it \u0060Pin\u0060: 12 of 13 names in project app spell the token \u0060Pin\u0060 (12 of 13; unit: names in project app containing \u0060Pin\u0060). Peers: UserManager.needsOfflinePin (app/src/main/java/org/dhis2/data/server/UserManager.kt:19); UserManagerImpl.needsOfflinePin (app/src/main/java/org/dhis2/data/server/UserManagerImpl.kt:28); SessionManagerActivity.showPinBottomSheet (app/src/main/java/org/dhis2/usescases/general/SessionManagerActivity.kt:147); SessionManagerActivity.removePinBottomSheet (app/src/main/java/org/dhis2/usescases/general/SessionManagerActivity.kt:169); LoginActivity.isPinScreenVisible (app/src/main/java/org/dhis2/usescases/login/LoginActivity.kt:47). Rename to \u0060shouldCheckPin\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/general/SessionManagerActivity.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda83f1caa547a08b7c5bb80b8017429c0e56e3d6aef00da6d70b4e6d321437a"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060matomoID\u0060 spells \u0060ID\u0060 where 15 names in the project spell it \u0060Id\u0060: 15 of 16 names in project commonskmm spell the token \u0060Id\u0060 (15 of 16; unit: names in project commonskmm containing \u0060Id\u0060). Peers: TableDimensionRepositoryImpl.saveWidthForSection(tableId) (commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt:9); TableDimensionRepositoryImpl.saveColumnWidthForSection(tableId) (commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt:26); TableDimensionRepositoryImpl.saveTableWidth(tableId) (commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt:39); TableDimensionRepositoryImpl.resetTable(tableId) (commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/data/TableDimensionRepositoryImpl.kt:51); NotificationManagerImpl.createForegroundInfo(notificationId) (commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/notifications/NotificationManagerImpl.kt:193). Rename to \u0060matomoId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/reporting/AnalyticActions.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d20060cac6ea74ba1dd8b1d4174b2cc3e54dd49c91f73d883e32ef20812a5ca"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060selectedPointSourceID\u0060 spells \u0060ID\u0060 where 49 names in the project spell it \u0060Id\u0060: 49 of 51 names in project dhis2_android_maps spell the token \u0060Id\u0060 (49 of 51; unit: names in project dhis2_android_maps containing \u0060Id\u0060). Peers: PointViewModel.getId (dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/point/PointViewModel.kt:31); MapLayer.getId (dhis2_android_maps/src/main/java/org/dhis2/maps/layer/MapLayer.kt:23); MapLayerManager.addLayer(sourceId) (dhis2_android_maps/src/main/java/org/dhis2/maps/layer/MapLayerManager.kt:74); MapLayerManager.addStartLayer(sourceId) (dhis2_android_maps/src/main/java/org/dhis2/maps/layer/MapLayerManager.kt:143); MapLayerManager.handleLayer(sourceId) (dhis2_android_maps/src/main/java/org/dhis2/maps/layer/MapLayerManager.kt:163). Rename to \u0060selectedPointSourceId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/FieldMapLayer.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5f71e7c90025479f73deff7755e470f785b337a20e489bd4522e547bf52ad3"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060selectedPointSourceID\u0060 spells \u0060ID\u0060 where 49 names in the project spell it \u0060Id\u0060: 49 of 51 names in project dhis2_android_maps spell the token \u0060Id\u0060 (49 of 51; unit: names in project dhis2_android_maps containing \u0060Id\u0060). Peers: PointViewModel.getId (dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/point/PointViewModel.kt:31); MapLayer.getId (dhis2_android_maps/src/main/java/org/dhis2/maps/layer/MapLayer.kt:23); MapLayerManager.addLayer(sourceId) (dhis2_android_maps/src/main/java/org/dhis2/maps/layer/MapLayerManager.kt:74); MapLayerManager.addStartLayer(sourceId) (dhis2_android_maps/src/main/java/org/dhis2/maps/layer/MapLayerManager.kt:143); MapLayerManager.handleLayer(sourceId) (dhis2_android_maps/src/main/java/org/dhis2/maps/layer/MapLayerManager.kt:163). Rename to \u0060selectedPointSourceId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2_android_maps/src/main/java/org/dhis2/maps/layer/types/TeiEventMapLayer.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eccab3d3fc13eba3d11e2cba4e37ee6e38ce4d243452a4fb53332d94a65e219"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060openIDRequestCode\u0060 spells \u0060ID\u0060 where 20 names in the project spell it \u0060Id\u0060: 20 of 21 names in project login spell the token \u0060Id\u0060 (20 of 21; unit: names in project login containing \u0060Id\u0060). Peers: org.dhis2.mobile.login.authentication.OpenIdControllerImpl (login/src/androidMain/kotlin/org/dhis2/mobile/login/authentication/OpenIdControllerImpl.kt:18); OpenIdControllerImpl.openIdLauncher (login/src/androidMain/kotlin/org/dhis2/mobile/login/authentication/OpenIdControllerImpl.kt:21); LoginRepositoryImpl.openIdController (login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt:57); LoginRepositoryImpl.loginWithOpenId (login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt:413); LoginRepositoryImpl.loginWithOpenId(openIdLoginConfiguration) (login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt:413). Rename to \u0060openIdRequestCode\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/androidMain/kotlin/org/dhis2/mobile/login/authentication/OpenIdControllerImpl.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f337ce4545a048f9b3dde9f3f6005e6706599a1a29baddb12c1aea6dd672aa"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060NavigationBarUIState\u0060 spells \u0060UI\u0060 where 23 names in the project spell it \u0060Ui\u0060: 23 of 24 names in project tracker spell the token \u0060Ui\u0060 (23 of 24; unit: names in project tracker containing \u0060Ui\u0060). Peers: RelationshipsViewModel.relationshipsUiStateMapper (tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/ui/RelationshipsViewModel.kt:27); RelationshipsViewModel._relationshipsUiState (tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/ui/RelationshipsViewModel.kt:31); RelationshipsViewModel.relationshipsUiState (tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/ui/RelationshipsViewModel.kt:33); org.dhis2.tracker.relationships.ui.mapper.RelationshipsUiStateMapper (tracker/src/androidMain/kotlin/org/dhis2/tracker/relationships/ui/mapper/RelationshipsUiStateMapper.kt:10); org.dhis2.tracker.input.ui.action.TrackerInputUiEvent (tracker/src/commonMain/kotlin/org/dhis2/tracker/input/ui/action/TrackerInputUiEvent.kt:6). Rename to \u0060NavigationBarUiState\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracker/src/commonMain/kotlin/org/dhis2/tracker/NavigationBarUIState.kt"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea9f67dde813f16c82ecc68f01843e198e127041584ca06614c23befb4c1dd0"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060orgUnitUID\u0060 spells \u0060UID\u0060 where 164 names in the project spell it \u0060Uid\u0060: 164 of 165 names in project app spell the token \u0060Uid\u0060 (164 of 165; unit: names in project app containing \u0060Uid\u0060). Peers: QRInterface.teiQRs(teiUid) (app/src/main/java/org/dhis2/data/qr/QRInterface.java:13); QRInterface.eventWORegistrationQRs(eventUid) (app/src/main/java/org/dhis2/data/qr/QRInterface.java:15); QRInterface.getUncodedData(teiUid) (app/src/main/java/org/dhis2/data/qr/QRInterface.java:17); QRInterface.getNFCData(teiUid) (app/src/main/java/org/dhis2/data/qr/QRInterface.java:19); DataSetDetailActivity.intent(dataSetUid) (app/src/main/java/org/dhis2/usescases/datasets/datasetDetail/DataSetDetailActivity.java:71). Rename to \u0060orgUnitUid\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepository.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6d236fecb0cefcf79d385f5955a9869dbae76516531eb487806376cc84077e"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060app\u0060 (61098 LoC, 1062 module-visible types across 131 directories) overshoots its size bounds. 9 of 14 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c9ca2f4e1cbcc84bf010a889b5e2cd34ca985c674f80891b0f288e779770d1"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060commons\u0060 (12206 LoC, 356 module-visible types across 54 directories) overshoots its size bounds. 9 of 14 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a51f9b9cfe86a515f404f0c21a3b7a3da74b783c15e9f331a5ab70967e07fa1"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060commonskmm\u0060 (5003 LoC, 227 module-visible types across 50 directories) overshoots its size bounds. 9 of 14 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"080cb74ac578af0d275946cbb8227ceebd7b6a259f5e3398a0bdf203665f9962"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060login\u0060 (7574 LoC, 188 module-visible types across 49 directories) overshoots its size bounds. 9 of 14 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a360ca109b61219b18b25865a543805bf34f6c050569863c18445b52c04c678"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060tracker\u0060 (6021 LoC, 167 module-visible types across 30 directories) overshoots its size bounds. 9 of 14 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracker/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9aa9ef952ab37099a7401838f45f1e00839d1d0ffc011b666741e08b282919a"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060aggregates\u0060 (8194 LoC, 156 module-visible types across 24 directories) overshoots its size bounds. 9 of 14 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df21561fb9090943f8fa88552bbe23c49d683d9d700e32e85fa1fa50dafee27"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060dhis2_android_maps\u0060 (8839 LoC, 183 module-visible types across 23 directories) overshoots its size bounds. 9 of 14 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2_android_maps/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8323d6ea0143ff5a697ba7fde80136985d6a2be419afc6d78a01a3382d6b3c48"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060form\u0060 (13041 LoC, 241 module-visible types across 19 directories) overshoots its size bounds. 9 of 14 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9949de225342adc20a314451be59906bce47464776d8de9b1335e8260bd50c71"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060dhis_android_analytics\u0060 (6839 LoC, 161 module-visible types across 16 directories) overshoots its size bounds. 9 of 14 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis_android_analytics/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda83472902180ffb1b44d55e531dcb5c190b6963f5f019676078feb5654ca45"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb69cfdea4355fdb0dbd5f27860268ec49e2d6a8a8e125700775534ff9142602"},"properties":{"commitSha":"fe924923304351602c0f8bea6b719f443abfdacb"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cdfe0fca71c2d99ffac7a4d041ca5c9a2e9eb244d5bd7fec7fa33d56b813b97c"},"properties":{"commitSha":"ba27765c55adca02b675ff9dde648caac2202b51"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee1ddf1d99c09e307ecfd502ffd980f926ccf09201e05c898891b63cb395d60a"},"properties":{"commitSha":"ca3d14cee3c954b4445f301785b0c0e5fdd38115"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"412a4ef2adc8e96ee126c8709f823e0a5dde7bf83931383da467094b675004ee"},"properties":{"commitSha":"403ddaa268b4a7ffc3f4f7dbc880b469b8d816a1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d15baf45a64fb19b7bc2fc2c669e14a79def47ce1e59de2eac66e1fef9e983f4"},"properties":{"commitSha":"c9bc7eb1cdb1c7d6897bf1f28a3ab80cf3ae40d2"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f53593ce886c381b9ffac590dc940b21765e07974aea65825304a672cb37e97"},"properties":{"commitSha":"c9bc7eb1cdb1c7d6897bf1f28a3ab80cf3ae40d2"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7bd2911bb007f4b9bc6b41828633d3bdefc6c29abea9f52f927d2a6615b90f8d"},"properties":{"commitSha":"80e11824b7099fbf2e520f1c2aa137241ad57a10"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6d448cc375abc3307da6c2e8765288c4ec7f6b03cbf33e21f4a435e4957b0bc"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d6dac3d56bf5b851e48420c6f8720b14abc5da7226af86fd80ec99de48776eb"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"962973dc47e1218a60ef6abf3e0610387157452ea18c982881d5e2c67f79bb99"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e2d73b9ebce4e728210cc37b346df4cf2e291a894e272c8a24232bd7ae7037e"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c8062685f3a940d5589d2b2b1ec61273ae1bde0bac6395efa4afe8b078fa5b1"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13ad7e52f9aca1fe83cbcb90f10ad6ad6f2bb50eb63e802a899b5385c2a26216"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bef2906ef2f5f898fe865cd97e52f7611c3c415676ca45bc5172f8694a40121d"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df3f49f5e5a2020b4bc120f47bf20c5ad968d1581720534619ffa2b4ab427a9d"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e3f48ddc8240d082fcb44aada47c1758ae5fb048e57ec7ca33eef480c32a637"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af6f7e79ff110c12b3319d59c5d087cb4c0b507ee42073b91beec542257a78f4"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49f86dc6421dfe36e73526067882d7df3b34940af1394e83cee9f028d73fd2e0"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90437745f22cfedc3147f80d6881f962759d66498ea78425ee7804735b8f0269"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94d7ecdb39a1f3c15890f2f11d1858d79e93aec8400e563db46fe9a547c34fd1"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d52cdd84179ed29328328500600c7f4f199dfd01d6dc824a7d74837f976955ab"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e68d1fc980466135a9de1c4f0445309c6698a82d8deedbd568a7006cc161f8bd"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"44cf351c3eee8f6f1e1d234a38106e5e6de8117b20b759047cb609ea4c62e48e"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f0bbacdbee9213271f0fbd547c34bad89090d50a52f9deea6e5a53bf9ab86ce6"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"65d656bd90bd2408564e1ff240976b11ac0270d93c22d7a498157796b3a9cd8a"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0e11450c1432e72c206477c76a96d80bffe8695ebc75ac753a1f975843e780e"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dca9e2a73520f79c762ceb944af3892d4bb823df40b2df6c1b9484d0007c842b"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"99781843c5a7e96f70aca06e918f9eff9b943ed4e29f1ef05d7cbe805ce7edbb"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04215d2965a402f95d82aaf543f898d0e33cf0c649d485e5614ee19ddc441b68"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b823b178582d37c1b13028ddb278ebbae7228f3107c1cff76e29185ae873d21"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b517b602c6d67a51e9e0872a222cf038ffba206e371457755342a053a0b35479"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0256d7c11c4641172823b506a6e2a20d70eb63219d21a02fa617cddfe0a79cdd"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e7757ee846befea971edb5d53f90b10d1c2f7abbeaf4468f840a686111e798f2"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0255bebf8ef109fb7fdbd7b10bd47e18ce03a5127496ea5ff0fa9dc024c4a77b"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31db9ee10e37e5d03056fa1bd1d4dfc9f107b4154e7d69787d6650cdc68a0fb1"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57fa4a43a52328af0e43237194994ebc5dd0973952419dc0f938710d8b045577"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74653238847b54bb2df2be8b5cb49e919b33eef5310597c4349f15bfe1f4bde3"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ebcefbe56d72879fd9741148c1093edc7133853eed611ef2aa9902e70e5d4cdc"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77d9cffc8667e8d960784efd6284846bd30e57f8ee3a7c2faca6ae1aff866475"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15b1a5e1630ede40edccb577f9b6ffe4b25a713554c552fa5c6a2d7f4aa9524f"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e85bcf0f2b2f61198a0b758861b55dbec569d6512bb945d9ed8884f4b4f2cd20"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e82c179a0990ef0ec5ffdd834b3f5b24ef8c7949c3a471e3c7b492cfa51ea383"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"acd631799a2be08d49bade38cba4605bb3d1a573bb7253eeb1e4a81c55b6be45"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d316976a2802a4f79baa11c53f9919e80c7a7df35ddf1c6d7dc9b665bb91051e"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4c1351d41295c839a9216f756a56df881bcf7a7e4d888d3796f04d1ae352d50c"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6766c0f0abb942c4ac38fbe4795db154071e20fe3ff57267049be1469a44a7d2"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e263f604f69acab773c8fc33e1265b38f2c60c5ae56b63f2cd98378b8607f2b1"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea090bf7550830f9d27e22d817e8d22b48756d66111960536fa3b707db1ac757"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b4a3572d419bd330b246848622aea3265da11ff58b553d2e1993896bcde21c1"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7b9d2033fbb6e96ea65bd3aed1f2c3d815306aec108038dd09aec9b21c11749"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87ffbe5c4f01cc9685884774f12496bc1ef127325c8996ac525fa3090b3c3e39"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"515eadb98dd51e0c6b30fcbec10630cbc96ae5f85222014f663f508176848960"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3487107bf756f86bae8dc1c27b6d52afb074384eec1e1523da64d7106087ee00"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2887c74571f585218379f05cf2b35469e3f2a5cd74d0605191784bd694ba143b"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ee1e9faedbe958cca4110bf031aa6c52c0475cb69154c1b3ba15d146c265ae8"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64b8b14f8b06696ffddc3fb55d19348c61bfaa86d85948e4e3a69f5e44e72082"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21871de0662588644529d7ab35d7ad5c3f66a5be851d6c78e8bfaf9f21aed8e8"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b423837ce4181e646576ffc1876c149ea49f9b3c79ded2cb0ba118fc427ae8c4"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e98b1a776489fbc382306a0f76168c3da47f2b73900fbc56d87798cc633dd88d"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5aac6a564defa83027cc019ceef4c073c5b1deabc0a1f2c96e2044ec179955db"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d531db260c0caae0fd4ae35ad5a8da54376e15d1debca844e082d44e57e15dea"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8fd440d5c4e27a2d74f1bb8a7d5816a21073ac306b75e1064619229da325d06b"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ea1f261c0ec4484bbde2f62d2382eb6d9ddd7b86c0bb97cb0895adade5da29e"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6390d0928d810fd59b4652af6da5904ad7644901e62659e7ae59a083714dc6e7"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc16080bfd8adc205cfb242098f5730eefc098cc318d46171297e78e197f8293"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d1ec90ba4848f259bb7a2e6c7d7b15034df9468d9c30751e12796f69fa75e4f"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e187a8fa29df221f8cc7501e8d85d5b7b06b44693e6d01a467e07f8de1149ef2"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a37fa76fe955902660900c038c93dc8b08f6ca44502c1cc6d535ce3bbd2093d5"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f34770ad263adc701f4950e8059c028f245a00566d9e487ef0f954e8c60ef5d"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c04657a2b9e00d9c3377483b31246c4f13e9355e885f4ed57a3e10c0aa226e8"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d9bbd991b312f8dacca9e7f62511eb4d3ac4828b8a2488eff724e2a57091649d"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d19acda0a9bf6c45d810c3e92fda84b9baa86d305185314b314c59646d6d603c"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"088694fea20a381921c765c04d8c305173064e3ab9a8f465d90ba00bb0defe82"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2451d3640c6ae3583ac51d8f1b9983df6898d5b4bc9e3162a49c9d8f4886f291"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49c898dc55f1994a2002eed422dbb293d1a3fe9bddfd667d4cfe8c144f4a830b"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e1518e65d41ae8f6d4c17cd860fe951381fbf4dfa2d40b039a47e06faca3ee5e"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7fa26fa2ae655a2bc5f523e1210186c7f918cd951ec49b40cde550800742f147"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bfb6d629e093cb08889ac3945e9670ee3cf0a49bf958330a480c149ef3c5a3f3"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5025bcae7241e6a66e7c938482e49d1d9cb1f2560207c454ac4df8cb53a85ec8"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22308f8e0f7ddeadc8a31f2dc3a731f0a6a013fd68787b14d27900943ad842e6"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c40f8d47740d5e747c4eb83722574b3f2f4f700eb6a23319a20a9f131a0d34f5"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83d4c28ac02d01f0f1d856643f8e19573fb7d0e021e5b42f528b1a0ce907d712"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a65bab368e9a00ac27953b4a5a1b9429a9c07b43918ec868945aa348415cf0b5"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cdf6841ca226ea5e72bedcacc838d4aec447f8ad0052af75493149b74e0e23e5"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"385aa4200cbe688b29aa36f7fe961f7d3d390a1ab5cdc77516bc55e6dad2cf9f"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb70523d6f997837162412215be8750e167fbbfcfd40f5c4995756fac164289e"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f7550f1529e5335b040ac41444b208b80bfc8afda54674e547b12f160152dd70"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"18880591ee4c005cca67646f18c15bbadc90b08fc269a6a71bbca61ccb5510c1"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"92b44dd0aacad61a261fa022830240e0d3eb6fa7617741358494ccc3c9e58b47"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32340fe1bdb335ad7a32aa925f8f134400d5cbeddf5c5e17722dc0b16c795c1d"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"79b71e9c1f818b6c1c882237ae310117faa7b2a9f2afb12a64161897e760bcd9"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2f781ed911e3d73273dc780571ab2cfda4cc5ffdc01b6e3e2775e7965e12017"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"253f0ae28ccb4c746eeea926392dadcf0ef6a850a76d5f43dbd4105ad3997c6c"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da5c6b14034446b938516125321cef2e30cf11c7e45a1ab28958bcc9e7a70934"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"001f80af39e54673a7b535141fd7bbfe58f116990a6ab0dd1d217ce20083ac18"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f35b7da09ed6e80060421c70fb88083ede0f9e0899b39f7a1cc5421a9eb2eeb"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68fbdbef4c70179a68257236fbc37df5273bd37f3ce118b85eace30e46a1135e"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e9c6904967cf3490680b9b9c2b772e527ef2b9355633833ead55e7198d1beef"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cafbc5fe15e0c91dde962346150458690d377eaf5e2b0a81feea46f77cb24134"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f28e7391279507ffd2f830d2666af5e4d0b0362d6aaa2a461cb98844929fadeb"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f38059b77637778b9f6dc0e081420c7a1845f71a6eede246d04000cd26dc1e94"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6464e5bbdfd1ddf1b6b5fc6e58b38b9936559411cd9b471cf505a79f14041717"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d4dc0182bb668ead7df9edf3ea29789979df6cc17fbb299aa4791af7508702d"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa5d329ede448ea42bee4c9ea0728f7f807d3ea914c627f39e75c6e332ccba27"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0a8604f644dda337ebe8cdb6c60452b47bd2c7e49804e2eca0f7147e9d7d2be"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c2ee51aab9800ce332c31ce7abecdaecde70a01f764f0cfc944b39c6b8fa3c8"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ccbeea02c0691ac8c7f43e1b2fc2c8ab659d5070505dc242f1229b5532ee173"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8535081c69affb2e1878e7912a5e927b1a2c46a64d853ce788e6a62ef9cc235d"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c778d8a0f392020bcf9ef1caa0125b58b64b66c8f9a7fe8ed24fc0e012a69fc"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95d78491d275f2b78984861607a5df0dc34c35dad14ec5eeb6743593cd124272"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"177f8e8891d991d581fe6b37fd87601efc97cbdae80a5319a478578904d383f1"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11a05dafa1e3718f4f45548044d58041eb9f2e5bd72aa982e4332475a0f7672e"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2bff64cfd4094032c69c783aac02120a8426fb2dd58a1df0bdd1ae2ddbcd9b7c"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45710cf3619aa127ec7d23d6ceb408ac343a10088efffe24fbf3701038122f56"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83e27d94b89650b9c9ef2e28546bf129b53d38299694bb5e8c92a37ca1323b57"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ded745ebd3091be0cf3f56bb155d74e51ac23ffab63fe55f470a5203b39b5659"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f28517566eecde6320892fbc1d43b9165ea36026e4b562ab1c33c11bd9233230"},"properties":{"commitSha":"a366f75e4150b1fbd17a9614ce8dc71dd11e5654"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"2670b736ba762c99c02a3092cba2b49fd3f55a98b71a286ae58946d5cb610a43"},"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":"353b0932328672d620b749b528241efba4a291728eccaa8262d59d3f89fa594f"},"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":"96506bd7d9711655b86d2f610e692740f00b11dc10b971e3c5f8fe88e667dc81"},"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":"90b93fbd4b44817552a1704b92daa71b70b03a4cbaa948511c127861dab93165"},"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":"352cdc53f15cea9684cbc01e8bdaaa9e5c4f66e2717ac9d961ddfdc40bd3778a"},"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":"90a4a1a9c8e537eda4fff851e3d060317caad146a235ca625a04f3b54f509192"},"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":"f58e769ab7ae2d6ddcd5f09f212593920bef0fa7d2aa63d83b28936caaee211a"},"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":"9c745ab38fdeac0b1b7fca386d3c9710dd6c28f34c58fd2d8d783324e7698241"},"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":"f6765729532240cf7762c9feef1f1ad3459efd8b5ffd99c106da1abe80650d4b"},"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":"c208fa8665d9d56851bd59ffe5417f0d1c73858f788329b74b5293317bd6efa9"},"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":"df971fb575701e75e67dd32e6102f78af8286d25d9f3250be3606ac684e7c8c4"},"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":"50cbc30e56362b144895b2a5c23d638d11e557750afbf0248372ce9bc4f0935b"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"91ea17f04d59c0185eb59247cecc7a050fee1b693d6a21dd26c59ce4e6914873"},"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":"74b4b06b8ff423397f63d435c43aba7ee0336cce385975cf1ed59f263e67e972"},"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":"8afc540800c1da7013042f00c5a0a13012f3f22a688306001e012b5acbf153da"},"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":"f97f80536798d5cf11809dfadeb90f93bdf1474f71b63e0995ef27b9b837b410"},"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":"ab0cb2200fc7804971296d78e42216275c6512e7cae908bd3b3ae96d4c86ba07"},"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":"c13ecfeb9ebecafab15b97989bc0f24cf99746f914cfe4b05ee1d7e035e1029e"},"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":"3aef42b4eea7799205ba5f348934ab75c5f59a732db69c756338b340fa9e9148"},"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":"e72169edf594bd99e23d1f413290a81b66137c7397ca6104644df9eca677fe7d"},"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":"16f42af6082513c9d412ef4b0c364b33879256e87d0703cd5400a09e360edc1f"},"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":"44a45b3b129331ec8703ccc694ef6eff504ec98ca4eadade8a62171144b6fa77"},"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":"dfa790e396af3d43dd8012ef30423b22eaa799fd2c122c1241e7dac72b38e61e"},"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":"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":"b0a788b00c35f2ea145a35401e300eca4e1dfbfb81c3fa2dc1222d8cf57f6d2b"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7cf7051d0029a3f20ad5a5df4ca0dd1c9e226a87b541f7a95fd21e569da7f871"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 8 of 596 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; 596 of the 1645 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: app/src/main/java/org/dhis2/usescases/sms/SmsSendingService.java, app/src/main/java/org/dhis2/usescases/sms/InputArguments.java, stock-usecase/src/main/java/org/dhis2/android/rtsm/services/SpeechRecognitionManagerImpl.kt, app/src/main/java/org/dhis2/usescases/qrCodes/eventsworegistration/QrEventsWORegistrationActivity.java, stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/scanner/ScannerActivity.java, app/src/main/java/org/dhis2/usescases/sms/StatusText.java, app/src/main/java/org/dhis2/utils/analytics/AnalyticsConstants.kt, scripts/generateReleaseNotes.py. 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":"app/src/main/java/org/dhis2/usescases/sms/SmsSendingService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d7cace0e40bcd530e838709d82b5f9acc058a60f32ee0ee5c88c9395d06374"}},{"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":"app/src/main/java/org/dhis2/usescases/sms/InputArguments.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b721d147ebfc26db0ff5340b7b6afff5974d4adaf989f55c8fe2aec0e43259"}},{"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":"stock-usecase/src/main/java/org/dhis2/android/rtsm/services/SpeechRecognitionManagerImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdcf490c50712310fbcbfd24f3bbb56a9bf0e53ae06940f2ff564e36c5ddba4"}},{"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":"app/src/main/java/org/dhis2/usescases/qrCodes/eventsworegistration/QrEventsWORegistrationActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c1dac2409c5c87d4555582dca4cef2f8ddb474119984a8652ecbbcaf170171"}},{"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":"stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/scanner/ScannerActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fd527b6fc7291ae637befa74b8e8cfe556d02d2fc31e33603bfa2310ebac9a"}},{"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":"app/src/main/java/org/dhis2/usescases/sms/StatusText.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2fa4294ad25090dcb2b9bfffb327bd82f7fbcc7bb92510661b47a05ab32348"}},{"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":"app/src/main/java/org/dhis2/utils/analytics/AnalyticsConstants.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e4e14641856eba05aef09debb0012143c69219da511961b519029fb5aeec7d"}},{"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":"scripts/generateReleaseNotes.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"452b32b8e1c89dbff6b9677e20d006d6c10bba08acc09584f4701db5a0eaac29"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: EnrollmentModule.kt \u2194 Injector.kt: \u0060app/src/main/java/org/dhis2/usescases/enrollment/EnrollmentModule.kt\u0060 (context main) and \u0060form/src/main/java/org/dhis2/form/di/Injector.kt\u0060 (context form) sit in DIFFERENT parts of the tree yet change together 59% of the time (10 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060be1617e8\u0060 feat: [ANDROAPP-7102-II] multiplatform analytics (#4373); \u0060e2e46544\u0060 ANDROAPP-7083-Deactivate-feature-config-for-custom-intents-in-data-en\u2026; \u00607f8cd4a4\u0060 fix: [ANDROAPP-7055] Remove usage of shared preferences (#4258) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/enrollment/EnrollmentModule.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5958fd5802949b296b6a3d41a71c3f075a09810b2b4e48a0c0e257ce669339c8"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: TroubleshootingRepository.kt \u2194 RuleValidationHelperImpl.kt: \u0060app/src/main/java/org/dhis2/usescases/troubleshooting/TroubleshootingRepository.kt\u0060 (context main) and \u0060stock-usecase/src/main/java/org/dhis2/android/rtsm/services/rules/RuleValidationHelperImpl.kt\u0060 (context stock-usecase) sit in DIFFERENT parts of the tree yet 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, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006009e23756\u0060 fix: [ANDROAPP-6870] remove useCodeForOptionSet logic [skip size] (#4\u2026; \u0060fa7bd8e9\u0060 fix: [ANDROAPP-6398] Tei dashbard takes too long to load if option se\u2026; \u00604a5d8c6e\u0060 chore: [ANDROAPP-6135] Update rule engine and expression parser to re\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/troubleshooting/TroubleshootingRepository.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18efef785a2b847af14054a75cfc790adc8d7d8df9aaddb0e38014c859f6a5c5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: FormView.kt \u2194 UiEventFactoryImpl.kt: \u0060form/src/main/java/org/dhis2/form/ui/FormView.kt\u0060 and \u0060form/src/main/java/org/dhis2/form/ui/event/UiEventFactoryImpl.kt\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 8 shared commits counted here, the most recent 3 are \u00605649d34e\u0060 fix [ANDROAPP-7178] Reevaluate custom intents request params in Data \u2026; \u006089482222\u0060 fix: [ANDROAPP-6764] Review MEDIA permissions to comply with Google P\u2026; \u00605093a038\u0060 build: remove unused code (#3889) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/FormView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55239e0e7617b653579ce5b927de4fe83e8f96f0431e0c4b28b588ae0a3d0a24"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: HomeActivity.kt \u2194 FilterComponents.kt: \u0060stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/HomeActivity.kt\u0060 and \u0060stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/FilterComponents.kt\u0060 change together 75% of the time (9 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 9 shared commits counted here, the most recent 3 are \u006073a373cc\u0060 build: [ANDROAPP-7604] Extract Fragment manager from UI component [sk\u2026; \u0060448ea823\u0060 build: [ANDROAPP-7610] Reduce stock usecase ui complexity [skip size]\u2026; \u0060366249c5\u0060 feat: [ANDROAPP-5726] RTS workflow needs to allow for translating the\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/HomeActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f0474374bf1ed8605b8a35c67273eea464440f8413dbcfa39612ee88f8ae91"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: EventDetailsModule.kt \u2192 EnrollmentModule.kt, EventInitialModule.java, SearchTEModule.java: \u0060app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/injection/EventDetailsModule.kt\u0060 changes together with 3 other files \u2014 \u0060app/src/main/java/org/dhis2/usescases/enrollment/EnrollmentModule.kt\u0060, \u0060app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialModule.java\u0060, \u0060app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEModule.java\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/injection/EventDetailsModule.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"039b0704fc5460bdcac2be74f3a39b824c3c50e28ac97d6a862ceb1876614954"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: LoginRepositoryImpl.kt \u2192 LoginModule.kt, CredentialsScreen.kt, LoginScreen.kt, CredentialsViewModel.kt, LoginViewModel.kt: \u0060login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt\u0060 changes together with 5 other files \u2014 \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/di/LoginModule.kt\u0060, \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/screen/CredentialsScreen.kt\u0060, \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/screen/LoginScreen.kt\u0060, \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/viewmodel/CredentialsViewModel.kt\u0060, \u0060login/src/commonMain/kotlin/org/dhis2/mobile/login/main/ui/viewmodel/LoginViewModel.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cd65b6d1999d344a11f05ac5c0987d72a641543c89563fcef82c5e8b0dce33"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: HomeActivity.kt \u2194 BackdropComponent.kt: \u0060stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/HomeActivity.kt\u0060 and \u0060stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/BackdropComponent.kt\u0060 change together 65% of the time (15 of the 23 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 15 shared commits counted here, the most recent 3 are \u006073a373cc\u0060 build: [ANDROAPP-7604] Extract Fragment manager from UI component [sk\u2026; \u00606f8034f4\u0060 fix: ktlint; \u0060448ea823\u0060 build: [ANDROAPP-7610] Reduce stock usecase ui complexity [skip size]\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/HomeActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b575f5cceb01733a6527bec6330f9e0f724797a19b041e337f3dee18fae7a5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SearchRepositoryImpl.java \u2194 SearchTeiModel.java: \u0060app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepositoryImpl.java\u0060 and \u0060app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTeiModel.java\u0060 change together 65% of the time (20 of the 31 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 20 shared commits counted here, the most recent 3 are \u006077351805\u0060 fix: [ANDROAPP-7269] Adds \u0027Owned By\u0027 to online tei cards. (#4572); \u0060cd894341\u0060 fix: [ANDROAPPP-5753] formatting issues with attribute values on tei \u2026 (at that commit the file was still \u0060commons/src/main/java/org/dhis2/commons/data/SearchTeiModel.java\u0060); \u00604168308a\u0060 cache some complex operations (#3494) (at that commit the file was still \u0060commons/src/main/java/org/dhis2/commons/data/SearchTeiModel.java\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepositoryImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c065afe3de6cff4923180947ec7a15f5b8d1f00740f0bbc3442b77f9a8a8dec"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: UiActionHandlerImpl.kt \u2192 AggregateModule.kt, InputProvider.kt, DataSetTableViewModel.kt: \u0060aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/ui/UiActionHandlerImpl.kt\u0060 changes together with 3 other files \u2014 \u0060aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/di/AggregateModule.kt\u0060, \u0060aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt\u0060, \u0060aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/viewModel/DataSetTableViewModel.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/ui/UiActionHandlerImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7349dc7ffb0b3c421307fda7ddfe1490478b2590e4daf55716f7345648f165ef"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: EnrollmentModule.kt \u2194 EventInitialModule.java: \u0060app/src/main/java/org/dhis2/usescases/enrollment/EnrollmentModule.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialModule.java\u0060 change together 61% of the time (14 of the 23 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 14 shared commits counted here, the most recent 3 are \u00607f8cd4a4\u0060 fix: [ANDROAPP-7055] Remove usage of shared preferences (#4258); \u00605b9e2abe\u0060 [ANDROAPP-5800] remove SearchRepository.kt; \u00604700e09e\u0060 [ANDROAPP-5340] parse resource value uid to patch before rendering (#\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/enrollment/EnrollmentModule.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e1b223585890ed2799c1733e7e2065d25e1fd83f6c6e782d0a801853f23450"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: HomeScreen.kt \u2194 FilterComponents.kt: \u0060stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/HomeScreen.kt\u0060 and \u0060stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/FilterComponents.kt\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 7 shared commits counted here, the most recent 3 are \u006073a373cc\u0060 build: [ANDROAPP-7604] Extract Fragment manager from UI component [sk\u2026; \u0060448ea823\u0060 build: [ANDROAPP-7610] Reduce stock usecase ui complexity [skip size]\u2026; \u0060366249c5\u0060 feat: [ANDROAPP-5726] RTS workflow needs to allow for translating the\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/HomeScreen.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11129db75f9a76499268c5bda2e16a37e08f970cab0785e063ab1d175e346fa5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SearchRepositoryImpl.java \u2194 TeiProgramListRepositoryImpl.java: \u0060app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepositoryImpl.java\u0060 and \u0060app/src/main/java/org/dhis2/usescases/teiDashboard/teiProgramList/TeiProgramListRepositoryImpl.java\u0060 change together 55% of the time (12 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 12 shared commits counted here, the most recent 3 are \u0060cd894341\u0060 fix: [ANDROAPPP-5753] formatting issues with attribute values on tei \u2026; \u00600f1b9d7f\u0060 Brings tei and enrollment deletion from 2.0.1 branch to develop; \u0060ab62045e\u0060 Updated SDK ANDROAPP-2492 ANDROAPP-2493 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepositoryImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c115fbac688c22749457aaa6efd28ef7a92463ce657eea32d5431b13eed9511"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MapSelectorActivity.kt \u2194 MapSelectorScreen.kt: \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorActivity.kt\u0060 and \u0060dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorScreen.kt\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 \u006027d68945\u0060 fix: [ANDROAPP-6890] Handle edge to edge on map selector screen (#4253); \u0060ce2c9999\u0060 fix: [ANDROAPP-6612] Fix zoom on polygon coordinates (#3854); \u0060483f0cad\u0060 Androapp 6551 (#3840) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2_android_maps/src/main/java/org/dhis2/maps/views/MapSelectorActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"120a2613ab5ef2e9180171a095dcb3aa9065bc0d7922664feb2e0c361f45e122"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DataSetInstanceRepositoryImpl.kt \u2194 AggregateModule.kt: \u0060aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/data/DataSetInstanceRepositoryImpl.kt\u0060 and \u0060aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/di/AggregateModule.kt\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 7 shared commits counted here, the most recent 3 are \u00602d4ab47a\u0060 ANDROAPP-7147-Part1-Move-InputUi-classes [skip size] (#4313); \u0060a1193f27\u0060 fix: [ANDROAPP-6934] Unable to re-open data set [skip size] (#4082); \u0060aaa462f2\u0060 fix: [ANDROAPP-6886] Crash when clicking on pivoted category value ce\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/androidMain/kotlin/org/dhis2/mobile/aggregates/data/DataSetInstanceRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7fbda4ac704c13af7543a804161af9b13a8ad2f216115008d8c4115389809f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: FieldUiModel.kt \u2194 FormView.kt: \u0060form/src/main/java/org/dhis2/form/model/FieldUiModel.kt\u0060 and \u0060form/src/main/java/org/dhis2/form/ui/FormView.kt\u0060 change together 50% of the time (15 of the 30 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 15 shared commits counted here, the most recent 3 are \u00604f629de0\u0060 fix: [ANDROAPP-5700] add orgUnit scope in enrollment (#3419); \u0060017771b5\u0060 [ANDROAPP-4063] Refactor onNext via FormIntent.kt (at that commit the file was still \u0060app/src/main/java/org/dhis2/data/forms/dataentry/FormView.kt\u0060); \u0060429a9bd7\u0060 [ANDROAPP-4063] remove onItemAction callback from FieldUiModel.kt (at that commit the file was still \u0060app/src/main/java/org/dhis2/data/forms/dataentry/FormView.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/model/FieldUiModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf5d051dd08aa1c6b72a4f2167bf49c5204acd60cc4c9ce5540921c52634a9e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: InputProvider.kt \u2194 DataSetTableViewModel.kt: \u0060aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt\u0060 and \u0060aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/viewModel/DataSetTableViewModel.kt\u0060 change together 50% of the time (9 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 9 shared commits counted here, the most recent 3 are \u00602d4ab47a\u0060 ANDROAPP-7147-Part1-Move-InputUi-classes [skip size] (#4313); \u00607480dc21\u0060 fix: [ANDROAPP-6948] Some data set inputs display wrong value (#4183); \u006020190b6a\u0060 fix: [ANDROAPP-6988] Irregular data set navigation (#4178) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/inputs/InputProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bb1fdc3cdc249566fece068b1dca56a3190264b1a5869515be16fc89866cab"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SearchTEIViewModel.kt \u2194 SearchScreenConfigurator.kt: \u0060app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt\u0060 and \u0060app/src/main/java/org/dhis2/usescases/searchTrackEntity/ui/SearchScreenConfigurator.kt\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, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 \u0060b5555cef\u0060 fix: [ANDROAPP-7860] Hide search sync button when no program is selec\u2026; \u0060219c46ab\u0060 Fix navigation bar animation (#3859) (#3872); \u00601a1d799c\u0060 Fix navigation bar animation (#3859) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEIViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5993c5ae889f6d6756010d03feeeac42ba84314376cb258e3adda0cfd4b6551a"}},{"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":"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":"2d5c7eb3b828271e9a655000ed18c3bf333d5fe59e7ed5db1df0c4b30be8c839"},"taxa":[{"id":"CICD-SEC-6","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":"db1cef5d6f9e2cae747fa2e55e27f1d147b0bc78230fed56229399cc1cc3c51f"},"taxa":[{"id":"CICD-SEC-6","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":"d001e2e7208ac6d0879b93bc89b818ad41d2583f313ec2f901bfcf21c3daebde"},"taxa":[{"id":"CICD-SEC-6","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":"9760a3b299b4bdac816766fa2f9eb600b7dcefbfe2097136296d3e4a2483a5c9"},"taxa":[{"id":"CICD-SEC-6","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":"abb1db96a05e6e9e08353c268b59b34a55c087664a90aa29038466dc81857b16"},"taxa":[{"id":"CICD-SEC-6","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":"52f978952ef9e2b0296b7d321297ef1635f3669b6e37ccc016e38e15e8b8badb"},"taxa":[{"id":"CICD-SEC-6","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":"d500ba3be5b459747738a6f5aa52de930b0a925ef1808a016e18a8eed9040613"},"taxa":[{"id":"CICD-SEC-6","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":"4d9eaa638876b9706bafe9a973c4b9698631e696e60fef2dc70f0bbd20a565ad"},"taxa":[{"id":"CICD-SEC-6","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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: UserComponent (30 abstract methods): \u0060UserComponent\u0060 declares 30 abstract methods under just 2 distinct name(s): \u0060filterPresenter\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060, \u0060plus\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 30 separate responsibilities: a caller binds to 2 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 30 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/data/user/UserComponent.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab78c58f7ff62468435a10846ee93f30c847add4109155853cfe0fe21bef7b2"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: View (16 abstract methods): \u0060View\u0060 declares 16 abstract methods under just 14 distinct name(s): \u0060analyticsHelper\u0060, \u0060back\u0060, \u0060displayMessage\u0060, \u0060getAbstracContext\u0060, \u0060getAbstractActivity\u0060, \u0060getContext\u0060, \u0060hideKeyboard\u0060, \u0060setTutorial\u0060, \u0060showDescription\u0060, \u0060showInfoDialog\u0060, \u0060showInfoDialog\u0060, \u0060showInfoDialog\u0060, \u0060showSyncDialog\u0060, \u0060showToast\u0060, \u0060showTutorial\u0060, \u0060startActivity\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 16 separate responsibilities: a caller binds to 14 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 16 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/general/AbstractActivityContracts.java"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"741ebf63bf48f18159ed465d3b901f0a4ce2c468efdb32cfbef76e77c3fb5870"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: View (17 abstract methods): \u0060View\u0060 declares 17 abstract methods: \u0060downloadEventWORegistration\u0060, \u0060downloadTei\u0060, \u0060finishDownload\u0060, \u0060goToDashBoard\u0060, \u0060goToEvent\u0060, \u0060initDownload\u0060, \u0060promtForEventWORegistrationMoreQr\u0060, \u0060promtForTEIMoreQr\u0060, \u0060renderAttrInfo\u0060, \u0060renderEnrollmentInfo\u0060, \u0060renderEventDataInfo\u0060, \u0060renderEventInfo\u0060, \u0060renderEventWORegistrationInfo\u0060, \u0060renderRelationship\u0060, \u0060renderTeiEventDataInfo\u0060, \u0060renderTeiInfo\u0060, \u0060showIdError\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/qrReader/QrReaderContracts.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f794b7634ad43397b19c3c50fcc28672fce9f425f9b72267de34726ae0b869f3"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: SearchRepository (23 abstract methods): \u0060SearchRepository\u0060 declares 23 abstract methods: \u0060canCreateInProgramWithoutSearch\u0060, \u0060clearFetchedList\u0060, \u0060currentProgram\u0060, \u0060download\u0060, \u0060downloadTei\u0060, \u0060eventsHaveCoordinates\u0060, \u0060filterQueryForProgram\u0060, \u0060filtersApplyOnGlobalSearch\u0060, \u0060getFilteredRepository\u0060, \u0060getOrgUnits\u0060, \u0060getProgram\u0060, \u0060getProgramColor\u0060, \u0060getProgramVisualizationGroups\u0060, \u0060getTrackedEntityType\u0060, \u0060getTrackedEntityType\u0060, \u0060programAttributesHaveCoordinates\u0060, \u0060programStagesHaveCoordinates\u0060, \u0060programsWithRegistration\u0060, \u0060saveToEnroll\u0060, \u0060setCurrentProgram\u0060, \u0060setCurrentTheme\u0060, \u0060teTypeAttributesHaveCoordinates\u0060, \u0060trackedEntityTypeFields\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 23 declarations carry 22 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 22 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchRepository.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f593c07905e05e21ee5206f10233518732f890162664942cf6e91496755e699c"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: View (17 abstract methods): \u0060View\u0060 declares 17 abstract methods: \u0060clearFilters\u0060, \u0060clearList\u0060, \u0060couldNotDownload\u0060, \u0060downloadProgress\u0060, \u0060fromRelationshipTEI\u0060, \u0060goToEnrollment\u0060, \u0060hideFilter\u0060, \u0060onBackClicked\u0060, \u0060openDashboard\u0060, \u0060openOrgUnitTreeSelector\u0060, \u0060setInitialFilters\u0060, \u0060setPrograms\u0060, \u0060showBreakTheGlass\u0060, \u0060showHideFilterGeneral\u0060, \u0060showPeriodRequest\u0060, \u0060showSyncDialog\u0060, \u0060updateFilters\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEContractsModule.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0764d27a789ecec66ebc6a5fe14bee91bb418c1ee7450eb91d820aab97694b"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Presenter (32 abstract methods): \u0060Presenter\u0060 declares 32 abstract methods: \u0060addRelationship\u0060, \u0060clearFilterClick\u0060, \u0060clearOtherFiltersIfWebAppIsConfig\u0060, \u0060deleteRelationship\u0060, \u0060downloadTei\u0060, \u0060downloadTeiForRelationship\u0060, \u0060enroll\u0060, \u0060getEnrollmentColor\u0060, \u0060getEnrollmentSymbolIcon\u0060, \u0060getMapData\u0060, \u0060getOrgUnits\u0060, \u0060getProgram\u0060, \u0060getProgramColor\u0060, \u0060getProgramStageStyle\u0060, \u0060getSymbolIcon\u0060, \u0060getTEIColor\u0060, \u0060getTrackedEntityName\u0060, \u0060getTrackedEntityType\u0060, \u0060init\u0060, \u0060onBackClick\u0060, \u0060onClearClick\u0060, \u0060onDestroy\u0060, \u0060onEnrollClick\u0060, \u0060onSyncIconClick\u0060, \u0060onTEIClick\u0060, \u0060setOpeningFilterToNone\u0060, \u0060setOrgUnitFilters\u0060, \u0060setProgram\u0060, \u0060setProgramForTesting\u0060, \u0060showFilterGeneral\u0060, \u0060trackSearchAnalytics\u0060, \u0060trackSearchMapVisualization\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEContractsModule.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a8c80738f4505b80067d82c16d66afb87cb246b52ab74ff873d7c0308ec2d6"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Presenter (18 abstract methods): \u0060Presenter\u0060 declares 18 abstract methods: \u0060deleteTei\u0060, \u0060getEnrollmentStatus\u0060, \u0060getProgramUid\u0060, \u0060handleShowHideFilters\u0060, \u0060hasWriteAccess\u0060, \u0060initNoteCounter\u0060, \u0060onBackPressed\u0060, \u0060onDettach\u0060, \u0060onEnrollmentSelectorClick\u0060, \u0060onTransferClick\u0060, \u0060prefSaveCurrentProgram\u0060, \u0060refreshTabCounters\u0060, \u0060setProgram\u0060, \u0060showDescription\u0060, \u0060trackDashboardAnalytics\u0060, \u0060trackDashboardNotes\u0060, \u0060trackDashboardRelationships\u0060, \u0060updateEnrollmentStatus\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/TeiDashboardContracts.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b753babd74d7d1296717a6d2987ef9166a45af44df9e998176bca191bb0c4f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: DataSetInstanceRepository (27 abstract methods): \u0060DataSetInstanceRepository\u0060 declares 27 abstract methods: \u0060getDataSetInstance\u0060, \u0060getDataSetInstanceSections\u0060, \u0060getRenderingConfig\u0060, \u0060dataSetInstanceConfiguration\u0060, \u0060getDataSetInstanceSectionCells\u0060, \u0060getInitialSectionToLoad\u0060, \u0060dataSetInstanceSectionConfiguration\u0060, \u0060conflicts\u0060, \u0060getDataSetIndicator\u0060, \u0060values\u0060, \u0060dataElementInfo\u0060, \u0060value\u0060, \u0060updateValue\u0060, \u0060categoryOptionComboFromCategoryOptions\u0060, \u0060getCoordinatesFrom\u0060, \u0060checkIfHasValidationRules\u0060, \u0060areValidationRulesMandatory\u0060, \u0060isComplete\u0060, \u0060isEditable\u0060, \u0060checkIfHasMissingMandatoryFields\u0060, \u0060checkIfHasMissingMandatoryFieldsCombination\u0060, \u0060completeDataset\u0060, \u0060reopenDataSet\u0060, \u0060runValidationRules\u0060, \u0060getLegend\u0060, \u0060uploadFile\u0060, \u0060getFilePath\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/data/DataSetInstanceRepository.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f549cccd451d5e9216964939b0f0490278814256e1856078ce4ee21653f234"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Presenter (24 abstract methods): \u0060Presenter\u0060 declares 24 abstract methods: \u0060observeActions\u0060, \u0060init\u0060, \u0060onBackClick\u0060, \u0060saveAndExit\u0060, \u0060isEnrollmentOpen\u0060, \u0060deleteEvent\u0060, \u0060skipEvent\u0060, \u0060rescheduleEvent\u0060, \u0060canWrite\u0060, \u0060hasExpired\u0060, \u0060initNoteCounter\u0060, \u0060refreshTabCounters\u0060, \u0060hideProgress\u0060, \u0060showProgress\u0060, \u0060getCompletionPercentageVisibility\u0060, \u0060emitAction\u0060, \u0060programStage\u0060, \u0060getTeiUid\u0060, \u0060getEnrollmentUid\u0060, \u0060observeNavigationBarUIState\u0060, \u0060onNavigationPageChanged\u0060, \u0060onSetNavigationPage\u0060, \u0060isDataEntrySelected\u0060, \u0060updateNotesBadge\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureContract.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50c7fb9056569354d11d53f5cd77af1b7a6faa82e4babe7f23d627753fdda60"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: EventCaptureRepository (18 abstract methods): \u0060EventCaptureRepository\u0060 declares 18 abstract methods: \u0060eventIntegrityCheck\u0060, \u0060programStageName\u0060, \u0060orgUnit\u0060, \u0060eventStatus\u0060, \u0060deleteEvent\u0060, \u0060updateEventStatus\u0060, \u0060rescheduleEvent\u0060, \u0060programStage\u0060, \u0060isEventEditable\u0060, \u0060canReOpenEvent\u0060, \u0060isCompletedEventExpired\u0060, \u0060showCompletionPercentage\u0060, \u0060hasAnalytics\u0060, \u0060hasRelationships\u0060, \u0060validationStrategy\u0060, \u0060getTeiUid\u0060, \u0060getEnrollmentUid\u0060, \u0060getEventProgram\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureContract.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fb98ddc3ad42d5548e3a217635cd22264de9cded4a521236b4d197653e8fdc"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: HomeRepository (17 abstract methods): \u0060HomeRepository\u0060 declares 17 abstract methods: \u0060user\u0060, \u0060logOut\u0060, \u0060clearPin\u0060, \u0060hasHomeAnalytics\u0060, \u0060accountsCount\u0060, \u0060isPinStored\u0060, \u0060homeItemCount\u0060, \u0060singleHomeItemData\u0060, \u0060clearCache\u0060, \u0060clearPreferences\u0060, \u0060wipeAll\u0060, \u0060deleteCurrentAccount\u0060, \u0060setInitialSyncDone\u0060, \u0060getInitialSyncDone\u0060, \u0060isImportedDb\u0060, \u0060stopBackgroundSync\u0060, \u0060restoreSyncStatus\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/main/data/HomeRepository.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad6e9df466106632efe85bf3e81932e6f1aa45cbff1e3d782e6c033bf7de727"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: DashboardRepository (38 abstract methods): \u0060DashboardRepository\u0060 declares 38 abstract methods: \u0060getTeiHeader\u0060, \u0060getProgramUid\u0060, \u0060getEnrollmentUid\u0060, \u0060getTeiProfilePath\u0060, \u0060getProgramStages\u0060, \u0060getEnrollment\u0060, \u0060getEnrollmentEventsWithDisplay\u0060, \u0060getTEIAttributeValues\u0060, \u0060setFollowUp\u0060, \u0060updateState\u0060, \u0060completeEnrollment\u0060, \u0060displayGenerateEvent\u0060, \u0060relationshipsForTeiType\u0060, \u0060catOptionCombo\u0060, \u0060getTrackedEntityInstance\u0060, \u0060getProgramTrackedEntityAttributes\u0060, \u0060getTeiOrgUnits\u0060, \u0060getTeiActivePrograms\u0060, \u0060getTEIEnrollments\u0060, \u0060saveCatOption\u0060, \u0060checkIfDeleteTeiIsPossible\u0060, \u0060deleteTei\u0060, \u0060checkIfDeleteEnrollmentIsPossible\u0060, \u0060deleteEnrollment\u0060, \u0060getNoteCount\u0060, \u0060getEnrollmentStatus\u0060, \u0060updateEnrollmentStatus\u0060, \u0060programHasRelationships\u0060, \u0060programHasAnalytics\u0060, \u0060getTETypeName\u0060, \u0060getAttributesMap\u0060, \u0060getDashboardModel\u0060, \u0060getGrouping\u0060, \u0060setGrouping\u0060, \u0060transferTei\u0060, \u0060teiCanBeTransferred\u0060, \u0060enrollmentHasWriteAccess\u0060, \u0060isProgramSelected\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/DashboardRepository.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e1120d0c88192590d546107c0a50d8d11099872297a2363fd8128a029df506"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: View (18 abstract methods): \u0060View\u0060 declares 18 abstract methods: \u0060viewLifecycleOwner\u0060, \u0060setEvents\u0060, \u0060displayScheduleEvent\u0060, \u0060displayEnterEvent\u0060, \u0060showDialogCloseProgram\u0060, \u0060areEventsCompleted\u0060, \u0060displayGenerateEvent\u0060, \u0060restoreAdapter\u0060, \u0060openEventDetails\u0060, \u0060openEventInitial\u0060, \u0060openEventCapture\u0060, \u0060observeStageSelection\u0060, \u0060showSyncDialog\u0060, \u0060displayCatComboOptionSelectorForEvents\u0060, \u0060showProgramRuleErrorMessage\u0060, \u0060goToEventInitial\u0060, \u0060displayOrgUnitSelectorForNewEvent\u0060, \u0060goToEventDetails\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/TEIDataContracts.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2eae3bc97e1358bc39470813c218acdff2969181be6492b8f64442af614e7c"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PreferenceProvider (23 abstract methods): \u0060PreferenceProvider\u0060 declares 23 abstract methods: \u0060saveUserCredentials\u0060, \u0060saveUserCredentialsAndCipher\u0060, \u0060getBiometricCredentials\u0060, \u0060areCredentialsSet\u0060, \u0060areSameCredentials\u0060, \u0060clear\u0060, \u0060setValue\u0060, \u0060secureValue\u0060, \u0060getSecureValue\u0060, \u0060removeValue\u0060, \u0060contains\u0060, \u0060getString\u0060, \u0060getInt\u0060, \u0060getLong\u0060, \u0060getBoolean\u0060, \u0060getFloat\u0060, \u0060getSet\u0060, \u0060getObjectFromJson\u0060, \u0060saveAsJson\u0060, \u0060lastMetadataSync\u0060, \u0060lastDataSync\u0060, \u0060lastSync\u0060, \u0060getList\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/prefs/PreferenceProvider.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3724e8d5d46cd429e3d0b969b4a4d4f10219c9c6c69cbca69d6c08e8ec2850"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PreferenceProvider (21 abstract methods): \u0060PreferenceProvider\u0060 declares 21 abstract methods: \u0060saveUserCredentials\u0060, \u0060saveUserCredentialsAndCipher\u0060, \u0060getBiometricCredentials\u0060, \u0060areCredentialsSet\u0060, \u0060areSameCredentials\u0060, \u0060clear\u0060, \u0060setValue\u0060, \u0060secureValue\u0060, \u0060getSecureValue\u0060, \u0060removeValue\u0060, \u0060contains\u0060, \u0060getString\u0060, \u0060getInt\u0060, \u0060getLong\u0060, \u0060getBoolean\u0060, \u0060getFloat\u0060, \u0060getSet\u0060, \u0060getObjectFromJson\u0060, \u0060saveAsJson\u0060, \u0060getList\u0060, \u0060updateLoginServers\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/providers/PreferenceProvider.kt"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fabc4a27a5a7cfc40ccfe8c3e0948a6d26111f91b3f6520204302217409c50e"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: FormRepository (31 abstract methods): \u0060FormRepository\u0060 declares 31 abstract methods: \u0060fetchFormItems\u0060, \u0060composeList\u0060, \u0060completeEvent\u0060, \u0060getConfigurationErrors\u0060, \u0060runDataIntegrityCheck\u0060, \u0060completedFieldsPercentage\u0060, \u0060backupOfChangedItems\u0060, \u0060updateErrorList\u0060, \u0060save\u0060, \u0060updateValueOnList\u0060, \u0060currentFocusedItem\u0060, \u0060setFocusedItem\u0060, \u0060updateSectionOpened\u0060, \u0060getDateFormatConfiguration\u0060, \u0060removeAllValues\u0060, \u0060setFieldLoading\u0060, \u0060setFieldAddingImage\u0060, \u0060clearFocusItem\u0060, \u0060storeFile\u0060, \u0060areSectionCollapsable\u0060, \u0060hasLegendSet\u0060, \u0060getListFromPreferences\u0060, \u0060saveListToPreferences\u0060, \u0060activateEvent\u0060, \u0060fetchPeriods\u0060, \u0060fetchOptions\u0060, \u0060reEvaluateRequestParams\u0060, \u0060isEvent\u0060, \u0060isEventEditable\u0060, \u0060updateFieldIsUnique\u0060, \u0060updateFieldIsNotUnique\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/data/FormRepository.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4331e5fa1ca796ff5a54b6d51b46ac3e10b98f0fecae5843677deb468b1e0082"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: FieldUiModel (20 abstract methods): \u0060FieldUiModel\u0060 declares 20 abstract methods: \u0060setCallback\u0060, \u0060equals\u0060, \u0060onItemClick\u0060, \u0060onClear\u0060, \u0060onSave\u0060, \u0060invokeUiEvent\u0060, \u0060invokeIntent\u0060, \u0060setValue\u0060, \u0060setSelectableDates\u0060, \u0060setIsLoadingData\u0060, \u0060setFocus\u0060, \u0060setError\u0060, \u0060setEditable\u0060, \u0060setLegend\u0060, \u0060setWarning\u0060, \u0060setFieldMandatory\u0060, \u0060setDisplayName\u0060, \u0060setKeyBoardActionDone\u0060, \u0060setOptionSetConfiguration\u0060, \u0060isSectionWithFields\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/model/FieldUiModel.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"50300b266abfabadac88ac82dcaeccc8305158950818c4186c2e5167541c0151"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: LoginRepository (30 abstract methods): \u0060LoginRepository\u0060 declares 30 abstract methods: \u0060validateServer\u0060, \u0060loginUser\u0060, \u0060getAvailableLoginUsernames\u0060, \u0060unlockSession\u0060, \u0060updateAvailableUsers\u0060, \u0060updateServerUrls\u0060, \u0060displayTrackingMessage\u0060, \u0060initialSyncDone\u0060, \u0060canLoginWithBiometrics\u0060, \u0060displayBiometricMessage\u0060, \u0060hasOtherAccounts\u0060, \u0060numberOfAccounts\u0060, \u0060updateTrackingPermissions\u0060, \u0060updateBiometricsPermissions\u0060, \u0060loginWithBiometric\u0060, \u0060deleteBiometricCredentials\u0060, \u0060importDatabase\u0060, \u0060loginWithOpenId\u0060, \u0060getUsername\u0060, \u0060logoutUser\u0060, \u0060getDeviceEnrollmentUrl\u0060, \u0060isDeviceRegistered\u0060, \u0060getAuthorizationUrl\u0060, \u0060enrollDevice\u0060, \u0060loginUserWithOAuth\u0060, \u0060buildLogoutUrl\u0060, \u0060getServerApiVersion\u0060, \u0060setOfflineCode\u0060, \u0060isUserLoggedIn\u0060, \u0060needsOfflineCode\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepository.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8649a63f3d2847c15e3a56ba3f538d275081f20bedb6da3f6c8fd22b82277d"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: SyncRepository (29 abstract methods): \u0060SyncRepository\u0060 declares 29 abstract methods: \u0060refreshSyncSettings\u0060, \u0060currentMetadataSyncPeriod\u0060, \u0060currentDataSyncPeriod\u0060, \u0060syncMetadata\u0060, \u0060updateProjectAnalytics\u0060, \u0060setUpSMS\u0060, \u0060downloadMapMetadata\u0060, \u0060downloadFileResources\u0060, \u0060saveMetadataSyncState\u0060, \u0060uploadEvents\u0060, \u0060downloadEvents\u0060, \u0060uploadTEIs\u0060, \u0060downloadTEIs\u0060, \u0060uploadDataValues\u0060, \u0060downloadDataValues\u0060, \u0060downloadDataFileResources\u0060, \u0060downloadReservedValues\u0060, \u0060saveDataSyncState\u0060, \u0060getAllProgramsInitialStatus\u0060, \u0060getAllEventPrograms\u0060, \u0060getAllTrackerPrograms\u0060, \u0060getAllDataSets\u0060, \u0060saveDataSyncError\u0060, \u0060isServerAvailable\u0060, \u0060setUnnavailableFlag\u0060, \u0060removeUnnavailableFlag\u0060, \u0060isPeriodicJobFlagged\u0060, \u0060isLoggedIn\u0060, \u0060toggleSMS\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sync/src/commonMain/kotlin/org/dhis2/mobile/sync/data/SyncRepository.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0a25b31b9220c29548a8c17534b0b09fa60833530c3a633aa33db9f8d34596"}},{"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":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch gitsubmodule: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060gitsubmodule\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"189dbbebbc083d2f437329c82dc1cae8adbf1b7293a5bc9e2de708f747e84eda"}},{"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":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060downloadEvents\u0060 is async and calls runBlocking \u2014 a blocking call inside async code stalls the coroutine\u0027s thread, and every coroutine dispatched to it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncRepository.kt"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"881db25ec90fb470d47f6afe48d5cc61588a8b2ccabb995bd68236d83e8bab5f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060downloadTEIs\u0060 is async and calls runBlocking \u2014 a blocking call inside async code stalls the coroutine\u0027s thread, and every coroutine dispatched to it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sync/src/androidMain/kotlin/org/dhis2/mobile/sync/data/AndroidSyncRepository.kt"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8d6e31648729626d2d8d4e45781393ccaa86b6bcb429af6bc438a8e230417f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!event.nameCategoryOptionCombo.isNullOrEmpty() \u0026\u0026 event.nameCategoryOptionCombo != \u0022default\u0022\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt, app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/teidata/teievents/ui/mapper/TEIEventCardMapper.kt. 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":"app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/ui/mapper/EventCardMapper.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cb110c3f75eace06144bbbf170bf30d0e28ba87fa88c182a7e42f973d7b52d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attributes.isEmpty() \u0026\u0026 programUid != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/dhis2/bindings/Extensions.kt, tracker/src/androidMain/kotlin/org/dhis2/tracker/data/ProfilePictureProvider.kt. 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":"app/src/main/java/org/dhis2/bindings/Extensions.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eae5951d7d8a2ca9bff37bde43444908b1a64608b3862de127b7190c3d59474"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attributes.isEmpty() \u0026\u0026 programUid == null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/dhis2/bindings/Extensions.kt, tracker/src/androidMain/kotlin/org/dhis2/tracker/data/ProfilePictureProvider.kt. 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":"app/src/main/java/org/dhis2/bindings/Extensions.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"642235ae81f6f31813e586234104585a6e2f5db66d37210e22996b5b1d5c8bc6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060categoryOptions.isNotEmpty() \u0026\u0026 categoryOptionCombos.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/domain/ValueValidator.kt, aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/ui/provider/IdsProvider.kt. 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":"aggregates/src/commonMain/kotlin/org/dhis2/mobile/aggregates/domain/ValueValidator.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16ddf9410de096865ffea9388cc48610c418a94f7e9944d9c47f722e48873c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060eventDate.before(currentDate) || eventDate == currentDate\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/dhis2/data/dhislogic/EnrollmentEventGenerator.kt, tracker/src/androidMain/kotlin/org/dhis2/tracker/events/CreateEventUseCaseRepositoryImpl.kt. 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":"app/src/main/java/org/dhis2/data/dhislogic/EnrollmentEventGenerator.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f783ed217526d688d6e77d0fec629af8bf3ca05724bfb3c925c9b924ad54947"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getString(SECURE_SERVER_URL, \u0022\u0022) == serverUrl \u0026\u0026 getString(SECURE_USER_NAME, \u0022\u0022) == userName\u0060 appears character-identically in 2 files \u2014 commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt, commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/providers/PreferenceProviderImpl.kt. 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":"commons/src/main/java/org/dhis2/commons/prefs/PreferenceProviderImpl.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ee1b01e68012a32a8b5fd524cd73abd793c6c1040e99758bfd1afb99a7b1f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060graph.isSingleValue() \u0026\u0026 graph.series[0].coordinates[0].numericValue() \u003C 0\u0060 appears character-identically in 2 files \u2014 dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToBarChart.kt, dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToLineChart.kt. 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":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToBarChart.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ecd6e5222e3a77eeba598f1860a0674abf6c2c61773c8b5c496a3bd261e806"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasAccessDataWrite() \u0026\u0026 isEnrollmentOpen()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt, form/src/main/java/org/dhis2/form/data/EventRepository.kt. 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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a55ec95443893843b65b9eb2a4b8be75999ef9b5ebd35ab9b8de28522e9da1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.serverUrl() == serverUrl \u0026\u0026 it.username() == username \u0026\u0026 it.importDB() != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/dhis2/usescases/main/data/HomeRepositoryImpl.kt, login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt. 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":"app/src/main/java/org/dhis2/usescases/main/data/HomeRepositoryImpl.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ddac9e75fe663895567e9b3768c6b942026cde987615f32a2c569f5b211c3b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.status() == EventStatus.COMPLETED \u0026\u0026 hasReopenAuthority()\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/eventCaptureFragment/EventCaptureFormPresenter.kt, app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventDetails/data/EventDetailsRepository.kt. 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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/eventCaptureFragment/EventCaptureFormPresenter.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"607ebdf3a4956faafa67c0d7460798566c660270a0a208ef6b45899ea52b6b4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mapLayerManager.getLayer(key)?.visible == true \u0026\u0026 it.getStringProperty(propertyName) == propertyValue\u0060 appears character-identically in 2 files \u2014 dhis2_android_maps/src/main/java/org/dhis2/maps/managers/RelationshipMapManager.kt, dhis2_android_maps/src/main/java/org/dhis2/maps/managers/TeiMapManager.kt. 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":"dhis2_android_maps/src/main/java/org/dhis2/maps/managers/RelationshipMapManager.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df52f9a7bf969792c509d546a9428b28fe2b56010f4ed61aba8c82ebbe504ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060programConfigurationSetting != null \u0026\u0026 programConfigurationSetting.completionSpinner() != null\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureRepositoryImpl.kt, app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialRepositoryImpl.kt. 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":"app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureRepositoryImpl.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"51eca0185adf29a3a12c5ce053a93966e963330b7b589be0348dd70d65d9d3b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060serieToHighlight == null || label == serieToHighlight\u0060 appears character-identically in 2 files \u2014 dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToBarData.kt, dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToLineData.kt. 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":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToBarData.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"126033db745a0e04965135f77e0c235a7199f874994354edab322d77d2d19312"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060serverUrl.startsWith(\u0022https://\u0022) || serverUrl.startsWith(\u0022http://\u0022)\u0060 appears character-identically in 2 files \u2014 login/src/commonMain/kotlin/org/dhis2/mobile/login/main/domain/usecase/LoginUser.kt, login/src/commonMain/kotlin/org/dhis2/mobile/login/main/domain/usecase/ValidateServer.kt. 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":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/domain/usecase/LoginUser.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecba9f65045eb2afbdf7d8344bd1b3809b18dadd8e816dcaa4a4025b5f43e112"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settingsUiState.hasFacilitySelected() \u0026\u0026 settingsUiState.hasDestinationSelected()\u0060 appears character-identically in 2 files \u2014 stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/BackdropComponent.kt, stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/MainContent.kt. 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":"stock-usecase/src/main/java/org/dhis2/android/rtsm/ui/home/screens/components/BackdropComponent.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba567ac9e7e08c5cd18c5e7925f4661d3bffb61713381b740697dfc23f494f85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060singleSerie || label == serieToHighlight\u0060 appears character-identically in 2 files \u2014 dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToBarData.kt, dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToLineData.kt. 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":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/mappers/GraphToBarData.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"13624dd1979e518c140c6d492f10d051c1ce05a51cb33462116c6b6bea5c9b88"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060valueRepository.blockingExists() \u0026\u0026 possibleValues.contains(valueRepository.blockingGet()?.value())\u0060 appears character-identically in 2 files \u2014 app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt, form/src/main/java/org/dhis2/form/data/FormValueStore.kt. 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":"app/src/main/java/org/dhis2/data/forms/dataentry/ValueStoreImpl.kt"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8e06ed14295c333a3a01452a73daeb27c6803bca6ed3ca2168d04c0f927092"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stock-usecase/src/main/java/org/dhis2/android/rtsm/utils/Utils.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d2162c3ea6d64908cab4f3da4e2a535b5fed65a42538a55bb9e91fe11fb9f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/commonMain/kotlin/org/dhis2/mobile/login/main/domain/usecase/GetRecoveryUrl.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8971f5caa9a58db13c664c54a8a05bbc423b4e7528a0e336e4cf0ee023291f99"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/androidMain/kotlin/org/dhis2/mobile/login/pin/data/SessionRepositoryImpl.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4ae726373e0f6e3a4e9c07a2a4845f78675c47bb1305c0aafb04b3d426f9e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"894ef04e47c9f469037d6edfcf4e9e4ac7fe57090220521869df59bfe4ea2523"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2460d553768d064980a1441a82933bcdfbe9822f70b0d493f205042f7ad34a8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/androidMain/kotlin/org/dhis2/mobile/login/main/data/LoginRepositoryImpl.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"129570f7c814be8c8d0a0f6e5e8fb169f55513354b401b904922b845525c3217"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"login/src/androidMain/kotlin/org/dhis2/mobile/login/accounts/data/repository/AccountRepositoryImpl.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"242af50fcaf6755b96879758c07e026a9c3d1d4243ab8cfd40ac8e80b79c7241"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/LegendValueProviderImpl.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb5f77f532894231a3edc03b07f5a3b8a43a98b0d089f7455088d10c0a6a1fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/AgeProvider.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16009e52f74c98b783d08fa7ed0169a0b3b060566513ff45a07319fb63d788e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/ui/provider/inputfield/AgeProvider.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9d256c0d2d67736847c9ef5accd8233ab3c162ace03248750aaf17a4156caa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"05dd03f6629878cd302cc7909f7a0e4275db39233cc7066bc37f4d019734abdf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/AnalyticsFilterProvider.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67791cfe8a4c601ddca8e6242c1f562651ca3fe1a8c6b4432bcf8bae71ca0ee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: java.lang.Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8da03659ffe83ea8d899dd36a26e63ac9f64ca09a0114fca1cd91e170baa602"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis_android_analytics/src/main/java/dhis2/org/analytics/charts/providers/ChartCoordinatesProviderImpl.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2343c4f8f8ff143a60fee382efe00e63360fd57146f6a24b221d5ed77f1d34b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dhis2_android_maps/src/main/java/org/dhis2/maps/geometry/point/PointViewModel.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed99d7dc6a6fad3eef80d2e3c9a7fe783ff753be26b4329962e6c93aeacf23d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/html/internal/AnnotatedStringHtmlHandler.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"91914df81b9e32ed936646f871c3cf810bd3ab5ec972fd02170ca5cbabf0f09e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/html/internal/AnnotatedStringHtmlHandler.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"007ad148124638fda90cd7d17847ff1d512f695b599a93e969f66260863e0c23"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/extensions/StringExtensions.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f42dc5bd914ef97c819fb7dba6af1170140c224b3cd513f8015373dfa529f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/extensions/StringExtensions.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b93557db9c9c519a47ee3e4b393ca738ba755d51e23de55ddc800e4dff3b44f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/dates/DateTimeInputsUtils.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"461a7953ffe148038f9e80a716540ed1e4123a426a8a640b7d99ec620c63f88f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/commonMain/kotlin/org/dhis2/mobile/commons/dates/DateTimeInputsUtils.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7823be9ae69531b4e9d2057dd6115f780d5d7e2292b1a66baa0570f2a00246"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/validation/validators/FieldMaskValidator.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"de98cd72682257627fd1c4095b1d55aeec6fa33a64dcbfd35def0a82ef72f5d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/resources/DrawableResourcesProvider.android.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"05507c7d37dc6f54fc0ef609313661e704f2b2468c4f123642eca338114325fc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/providers/CustomLabelProviderImpl.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb8f2baa836b5601240b7c76ce34c82f7977fb6e509270f4c220bb34e840c1f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/resources/ResourceManager.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9599b8578af5812a6a05d0d9a9ef8921944588e7bafbda41f71a33a3e6d06a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/resources/ResourceManager.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"111464779655b2ef3686494f9ffaf0eff20735484b4bc881033b51f75afa425c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/resources/ResourceManager.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"71155dab235ca96d8c441103d1c4728ed03fbe033e64707a5533574d9a84c5e9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/filters/data/FilterRepository.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1892b98fae6c1301fb73d4495b945f9c2adff49cd5b5f998c65e57f57a000b01"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commons/src/main/java/org/dhis2/commons/bindings/ValueExtensions.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdbcadeec414500d3e2935dcc060a8adadad09e43b7542fd1d2f0d4769c4555"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: RuntimeException)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/utils/granularsync/GranularSyncPresenter.kt"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca196ff10a7e2eb3862bb3a43328ff2455a65ea78ceedb9806290d3625e5dc54"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: java.lang.Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/teiDashboard/dashboardfragments/indicators/BaseIndicatorRepository.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db9945ed1884fc08236a734a1d2755e7b85d2d53990d361561c65f2a56688ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/bindings/StringExtensions.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cc10af201f231e87e92de679120543fd428e24e4547fc3273514cac8a164ca"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseMapFromJson\u0060 swallows every exception into \u0060emptyMap()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/src/main/java/org/dhis2/usescases/searchTrackEntity/SearchTEExtra.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ca2a511b9866a4a8f47359f47eadf37842a5582e848abab6cc02a90412595d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getResource\u0060 (in \u0060getDrawableResource\u0060) swallows every exception into \u00600\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"commonskmm/src/androidMain/kotlin/org/dhis2/mobile/commons/resources/DrawableResourcesProvider.android.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59ce5ef4d44dae24024c830f3304c7fa9f0bb9368878dcedae44ec6695c68b3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ruleEffects\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"form/src/main/java/org/dhis2/form/data/FormRepositoryImpl.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7232a305c0c7fc94d2656eb783359e5373be66b0aaa97afe5eb9dcc34dda30"}}],"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-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-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.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-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"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-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"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":159,"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."]}]}