Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor implementation for loading data on repositories to improve performance #3634

Merged
merged 34 commits into from
Dec 4, 2024

Format code

4345469
Select commit
Loading
Failed to load commit list.
Merged

Refactor implementation for loading data on repositories to improve performance #3634

Format code
4345469
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Dec 4, 2024 in 1s

65.8% of diff hit (target 60.0%)

View this Pull Request on Codecov

65.8% of diff hit (target 60.0%)

Annotations

Check warning on line 28 in android/engine/src/main/java/org/smartregister/fhircore/engine/configuration/migration/MigrationConfig.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/configuration/migration/MigrationConfig.kt#L28

Added line #L28 was not covered by tests

Check warning on line 517 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L517

Added line #L517 was not covered by tests

Check warning on line 566 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L566

Added line #L566 was not covered by tests

Check warning on line 643 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L642-L643

Added lines #L642 - L643 were not covered by tests

Check warning on line 752 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L752

Added line #L752 was not covered by tests

Check warning on line 764 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L756-L764

Added lines #L756 - L764 were not covered by tests

Check warning on line 766 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L766

Added line #L766 was not covered by tests

Check warning on line 771 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L768-L771

Added lines #L768 - L771 were not covered by tests

Check warning on line 774 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L773-L774

Added lines #L773 - L774 were not covered by tests

Check warning on line 787 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L779-L787

Added lines #L779 - L787 were not covered by tests

Check warning on line 789 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L789

Added line #L789 was not covered by tests

Check warning on line 794 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L791-L794

Added lines #L791 - L794 were not covered by tests

Check warning on line 797 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L796-L797

Added lines #L796 - L797 were not covered by tests

Check warning on line 1076 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L1071-L1076

Added lines #L1071 - L1076 were not covered by tests

Check warning on line 1078 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L1078

Added line #L1078 was not covered by tests

Check warning on line 1082 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L1080-L1082

Added lines #L1080 - L1082 were not covered by tests

Check warning on line 1087 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L1084-L1087

Added lines #L1084 - L1087 were not covered by tests

Check warning on line 1091 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L1091

Added line #L1091 was not covered by tests

Check warning on line 1100 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L1093-L1100

Added lines #L1093 - L1100 were not covered by tests

Check warning on line 1105 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L1105

Added line #L1105 was not covered by tests

Check warning on line 1109 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L1107-L1109

Added lines #L1107 - L1109 were not covered by tests

Check warning on line 1111 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L1111

Added line #L1111 was not covered by tests

Check warning on line 1126 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L1126

Added line #L1126 was not covered by tests

Check warning on line 1140 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L1140

Added line #L1140 was not covered by tests

Check warning on line 1147 in android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

android/engine/src/main/java/org/smartregister/fhircore/engine/data/local/DefaultRepository.kt#L1145-L1147

Added lines #L1145 - L1147 were not covered by tests