Showing 5,781 of 10,536 total issues

Avoid too many return statements within this function.
Open

    return None
Severity: Major
Found in myems-aggregation/equipment_energy_input_item.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                    return "Error in step 5.2 virtual point worker " + str(e) + " for '" + virtual_point['name'] + "'"
    Severity: Major
    Found in myems-normalization/virtualpoint.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                  return error_string
      Severity: Major
      Found in myems-normalization/meter.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return "Error in step 2.2 of virtual meter worker " + str(e) + " for '" + virtual_meter['name'] + "'"
        Severity: Major
        Found in myems-normalization/virtualmeter.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return "Error in step 3.3 virtual meter worker " + str(e) + " for '" + virtual_meter['name'] + "'"
          Severity: Major
          Found in myems-normalization/virtualmeter.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return "Error in step 2.1 of virtual point worker for '" + virtual_point['name'] + "'"
            Severity: Major
            Found in myems-normalization/virtualpoint.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return None
              Severity: Major
              Found in myems-normalization/virtualpoint.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                        return None
                Severity: Major
                Found in myems-aggregation/microgrid_energy_discharge.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return error_string
                  Severity: Major
                  Found in myems-aggregation/combined_equipment_energy_output_category.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return error_string
                    Severity: Major
                    Found in myems-aggregation/combined_equipment_energy_output_category.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return None
                      Severity: Major
                      Found in myems-aggregation/tenant_energy_input_category.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return error_string
                        Severity: Major
                        Found in myems-aggregation/equipment_energy_input_item.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return state;
                          Severity: Major
                          Found in myems-web/src/reducers/arrayReducer.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return error_string
                            Severity: Major
                            Found in myems-aggregation/combined_equipment_energy_output_category.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return [payload, ...filteredState];
                              Severity: Major
                              Found in myems-web/src/reducers/arrayReducer.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return
                                Severity: Major
                                Found in myems-normalization/virtualpoint.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return "Error in step 4.2 virtual meter worker " + str(e) + " for '" + virtual_meter['name'] + "'"
                                  Severity: Major
                                  Found in myems-normalization/virtualmeter.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return "Error in step 2.1 of virtual meter worker " + str(e) + " for '" + virtual_meter['name'] + "'"
                                    Severity: Major
                                    Found in myems-normalization/virtualmeter.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return error_string
                                      Severity: Major
                                      Found in myems-aggregation/combined_equipment_energy_output_category.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                    return error_string
                                        Severity: Major
                                        Found in myems-aggregation/combined_equipment_energy_output_category.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language