Factotum-sdp/Factotum

View on GitHub
app/src/main/java/com/github/factotum_sdp/factotum/repositories/ContactsRepository.kt

Summary

Maintainability
A
0 mins
Test Coverage
C
78%

Method getContacts has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

    fun getContacts(): Flow<List<Contact>> {
        return callbackFlow {
            val sharedPrefsContacts =
                getCachedContacts() // Get the contacts from the shared preferences
            if (sharedPrefsContacts.isNotEmpty()) {

    There are no issues that match your filters.

    Category
    Status