H-PixelDroid/PixelDroid

View on GitHub
app/src/main/java/org/pixeldroid/app/stories/StoryProgress.kt

Summary

Maintainability
A
1 hr
Test Coverage

Method draw has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    override fun draw(canvas: Canvas) {
        paint.strokeWidth = 0.5f * bounds.height()
        val y = 0.5f * bounds.height()
        val sectionWidth = 1.0f * bounds.width() / numStories
        val sectionPadding = 0.03f * sectionWidth
Severity: Minor
Found in app/src/main/java/org/pixeldroid/app/stories/StoryProgress.kt - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status