guimc233/lgz-bot

View on GitHub
src/main/kotlin/ltd/guimc/lgzbot/utils/hypixel/HypixelApiUtils.kt

Summary

Maintainability
A
1 hr
Test Coverage

Method resolveGameType has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    fun resolveGameType(gametype: String): String {
        return when (gametype) {
            "QUAKECRAFT" -> "Quake"
            "WALLS" -> "Walls"
            "PAINTBALL" -> "Paintball"
Severity: Minor
Found in src/main/kotlin/ltd/guimc/lgzbot/utils/hypixel/HypixelApiUtils.kt - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status