streetmix/streetmix

View on GitHub
client/src/info_bubble/InfoBubble.jsx

Summary

Maintainability
C
7 hrs
Test Coverage

File InfoBubble.jsx has 390 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import React from 'react'
import PropTypes from 'prop-types'
import { connect } from 'react-redux'
import debounce from 'just-debounce-it'

Severity: Minor
Found in client/src/info_bubble/InfoBubble.jsx - About 5 hrs to fix

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

  render () {
    const type = this.state.type

    // Set class names
    const classNames = ['info-bubble']
Severity: Minor
Found in client/src/info_bubble/InfoBubble.jsx - About 1 hr to fix

There are no issues that match your filters.

Category
Status