• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Unleash / unleash-android / 10092928882

25 Jul 2024 11:02AM CUT coverage: 82.296% (+1.6%) from 80.724%
10092928882

push

github

web-flow
tests: network status helper (#69)

* tests: network status helper

* Test listener registration

208 of 282 branches covered (73.76%)

Branch coverage included in aggregate %.

7 of 7 new or added lines in 1 file covered. (100.0%)

638 of 746 relevant lines covered (85.52%)

5.47 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/unleashandroidsdk/src/main/java/io/getunleash/android/metrics/NoOpMetrics.kt
1
package io.getunleash.android.metrics
2

3
import io.getunleash.android.data.Variant
4

5
class NoOpMetrics: MetricsHandler {
3✔
6
    override fun count(featureName: String, enabled: Boolean): Boolean {
7
        return enabled
2✔
8
    }
9

10
    override fun countVariant(featureName: String, variant: Variant): Variant {
11
        return variant
2✔
12
    }
13

14
    override suspend fun sendMetrics() {
15
    }
×
16
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc