bitwarden / authenticator-android

Bitwarden Authenticator mobile app for Android.
https://bitwarden.com
GNU General Public License v3.0
354 stars 24 forks source link

[BWA-57] Define feature flag disk source #175

Closed SaintPatrck closed 2 months ago

SaintPatrck commented 2 months ago

๐ŸŽŸ๏ธ Tracking

https://bitwarden.atlassian.net/browse/BWA-57

๐Ÿ“” Objective

Define and implement FeatureFlagDiskSource for reading and storing feature flag states in SharedPreferences.

โฐ Reminders before review

๐Ÿฆฎ Reviewer guidelines

github-actions[bot] commented 2 months ago

Logo Checkmarx One โ€“ Scan Summary & Details โ€“ b1223d15-d8ae-4dc4-a932-f6ebcb59f723

No New Or Fixed Issues Found

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.

Project coverage is 1.59%. Comparing base (3c74a34) to head (5ae9361). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...tform/datasource/disk/FeatureFlagDiskSourceImpl.kt 90.90% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #175 +/- ## ======================================== + Coverage 1.17% 1.59% +0.41% ======================================== Files 87 88 +1 Lines 4328 4339 +11 Branches 493 494 +1 ======================================== + Hits 51 69 +18 + Misses 4266 4258 -8 - Partials 11 12 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

SaintPatrck commented 2 months ago

โ›๏ธ I see there are some tests missing by Codecov, but I'll leave it to you to see if they are worth enough to add or if they are in another PR.

Missing tests were from changes in the previous PR. They were added after this PR was created. Now that I've updated this branch we should have 100% coverage of these changes. ๐Ÿฅณ