18F/cg-dashboard

View on GitHub
static_src/components/stat.jsx

Summary

Maintainability
A
1 hr
Test Coverage

Function render has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  render() {
    const stateClass = `stat-${this.props.statState}`;
    let primaryStat = (
      <span className="stat-primary">
        {formatBytes(this.state.primaryStat)}
Severity: Minor
Found in static_src/components/stat.jsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status