GoodforGod/bloxy-api

View on GitHub

Showing 2 of 2 total issues

Class ParamConverter has 24 methods (exceeds 20 allowed). Consider refactoring.
Open

/**
 * Functions for API provider to convert params to valid states
 *
 * @author GoodforGod
 * @since 21.11.2018
Severity: Minor
Found in src/main/kotlin/io/api/bloxy/util/ParamConverter.kt - About 2 hrs to fix

    Method getOffset has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        /**
         * Is used as GET fun for API endpoints with limit and offset
         * Could cycle to get max amount and emulate single request
         *
         * Example (max limit 100, max offset 100000)
    Severity: Minor
    Found in src/main/kotlin/io/api/bloxy/core/impl/BasicProvider.kt - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language