johnjones4/InBrief

View on GitHub
src/ui/Dashboard.js

Summary

Maintainability
A
3 hrs
Test Coverage

Consider simplifying this complex logical expression.
Open

    if (this.props.services.services && this.props.services.services.length > 0) {
      const cols = 3
      return (
        <div>
          <ResponsiveReactGridLayout
Severity: Critical
Found in src/ui/Dashboard.js - About 2 hrs to fix

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

      render () {
        if (this.props.services.services && this.props.services.services.length > 0) {
          const cols = 3
          return (
            <div>
    Severity: Minor
    Found in src/ui/Dashboard.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status