prefeiturasp/SME-FilaDaCreche

View on GitHub

Showing 3 of 13 total issues

Function ResultsLoaded has 51 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const ResultsLoaded = (props) => {
  const schools = props.schoolsNearby.map(school => {
      return {
        nm_unidade_educacao: school.nm_unidade_educacao,
        endereco_completo: school.endereco_completo,
Severity: Major
Found in src/containers/Results/ResultsLoaded.js - About 2 hrs to fix

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

      render() {
        const preeschoolCalcError = this.state.preeschoolCalcError;
        return (
          <div>
            <select
    Severity: Minor
    Found in src/containers/DateOfBirthForm/SelectDate.js - About 1 hr to fix

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

        render() {
          const placesAutocompleteOptions = {
            location: new google.maps.LatLng(GLOBALS.city_center.lat, GLOBALS.city_center.lon),
            radius: 20000,
            types: ['address'],
      Severity: Minor
      Found in src/containers/AddressInput/AddressForm.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language