mithi/hexapod

View on GitHub
src/components/generic/NumberInputField.js

Summary

Maintainability
A
1 hr
Test Coverage

Function handleChange has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    handleChange(value) {
        const { minVal, maxVal, stepVal } = this.props.rangeParams
        const validity = this.myRef.current.validity

        if (validity.badInput) {
Severity: Minor
Found in src/components/generic/NumberInputField.js - About 1 hr to fix

    Avoid too many return statements within this function.
    Wontfix

                return
    Severity: Major
    Found in src/components/generic/NumberInputField.js - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status