fbi-cde/crime-data-frontend

View on GitHub
src/pages/About.js

Summary

Maintainability
D
1 day
Test Coverage

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

  render() {
    const { mapShown } = this.state
    const { region, states } = this.props
    const toggles = [
      { disabled: !mapShown, type: 'table' },
Severity: Major
Found in src/pages/About.js - About 1 day to fix

    File About.js has 371 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    import React from 'react'
    import Helmet from 'react-helmet'
    import { Link } from 'react-router'
    import { connect } from 'react-redux'
    import reduceEntries from 'reduce-entries'
    Severity: Minor
    Found in src/pages/About.js - About 4 hrs to fix

      There are no issues that match your filters.

      Category
      Status