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

Unleash / unleash-android / 10075269522

24 Jul 2024 10:50AM UTC coverage: 69.676% (+4.4%) from 65.26%
10075269522

Pull #64

github

web-flow
Merge edfc3794f into 4fb5c6315
Pull Request #64: tests: test metrics sender

178 of 280 branches covered (63.57%)

Branch coverage included in aggregate %.

532 of 739 relevant lines covered (71.99%)

4.59 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