Showing 5,781 of 10,536 total issues

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

    function ha(b) {
      var d = c('<img class="carousel-item"/>').appendTo(i);
      Z.push(d);
      d.css({
        width: a.settings.itemWidth,
Severity: Minor
Found in myems-admin/js/jquery/jquery.carousel.min.js - About 1 hr to fix

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

                Ub = function() {
                  m.append(la);
                  m.append(ma);
                  m.append(na);
                  var b = q(function() {
    Severity: Minor
    Found in myems-admin/js/jcui/angular.integralui.treeview.min.js - About 1 hr to fix

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

        const saveChange = async (oldValue, newValue, row, column) => {
          if (newValue == null || newValue === '' || newValue < 0 || oldValue === newValue) {
            row.daily_value = oldValue;
            return;
          }
      Severity: Minor
      Found in myems-web/src/components/MyEMS/Meter/OfflineMeterInput.js - About 1 hr to fix

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

        def generate_excel(report,
                           name,
                           base_period_start_datetime_local,
                           base_period_end_datetime_local,
                           reporting_start_datetime_local,
        Severity: Minor
        Found in myems-api/excelexporters/virtualmeterenergy.py - About 1 hr to fix

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

          def generate_excel(report,
                             name,
                             base_period_start_datetime_local,
                             base_period_end_datetime_local,
                             reporting_start_datetime_local,
          Severity: Minor
          Found in myems-api/excelexporters/shopfloorcost.py - About 1 hr to fix

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

            def generate_excel(report,
                               name,
                               base_period_start_datetime_local,
                               base_period_end_datetime_local,
                               reporting_start_datetime_local,
            Severity: Minor
            Found in myems-api/excelexporters/equipmentcost.py - About 1 hr to fix

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

              def generate_excel(report,
                                 name,
                                 base_period_start_datetime_local,
                                 base_period_end_datetime_local,
                                 reporting_start_datetime_local,
              Severity: Minor
              Found in myems-api/excelexporters/spacesaving.py - About 1 hr to fix

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

                def generate_excel(report,
                                   name,
                                   base_period_start_datetime_local,
                                   base_period_end_datetime_local,
                                   reporting_start_datetime_local,
                Severity: Minor
                Found in myems-api/excelexporters/spacecarbon.py - About 1 hr to fix

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

                  def generate_excel(report,
                                     name,
                                     base_period_start_datetime_local,
                                     base_period_end_datetime_local,
                                     reporting_start_datetime_local,
                  Severity: Minor
                  Found in myems-api/excelexporters/combinedequipmentsaving.py - About 1 hr to fix

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

                    def generate_excel(report,
                                       name,
                                       base_period_start_datetime_local,
                                       base_period_end_datetime_local,
                                       reporting_start_datetime_local,
                    Severity: Minor
                    Found in myems-api/excelexporters/tenantcost.py - About 1 hr to fix

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

                      def generate_excel(report,
                                         name,
                                         base_period_start_datetime_local,
                                         base_period_end_datetime_local,
                                         reporting_start_datetime_local,
                      Severity: Minor
                      Found in myems-api/excelexporters/spaceincome.py - About 1 hr to fix

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

                        def generate_excel(report,
                                           name,
                                           base_period_start_datetime_local,
                                           base_period_end_datetime_local,
                                           reporting_start_datetime_local,
                        Severity: Minor
                        Found in myems-api/excelexporters/virtualmeterplan.py - About 1 hr to fix

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

                          def generate_excel(report,
                                             name,
                                             base_period_start_datetime_local,
                                             base_period_end_datetime_local,
                                             reporting_start_datetime_local,
                          Severity: Minor
                          Found in myems-api/excelexporters/offlinemetercarbon.py - About 1 hr to fix

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

                            def generate_excel(report,
                                               name,
                                               base_period_start_datetime_local,
                                               base_period_end_datetime_local,
                                               reporting_start_datetime_local,
                            Severity: Minor
                            Found in myems-api/excelexporters/metercarbon.py - About 1 hr to fix

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

                              def generate_excel(report,
                                                 name,
                                                 base_period_start_datetime_local,
                                                 base_period_end_datetime_local,
                                                 reporting_start_datetime_local,
                              Severity: Minor
                              Found in myems-api/excelexporters/shopfloorsaving.py - About 1 hr to fix

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

                                def generate_excel(report,
                                                   name,
                                                   reporting_start_datetime_local,
                                                   reporting_end_datetime_local,
                                                   period_type,

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

                                  def generate_excel(report,
                                                     name,
                                                     reporting_start_datetime_local,
                                                     reporting_end_datetime_local,
                                                     period_type,

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

                                    def generate_excel(report,
                                                       name,
                                                       base_period_start_datetime_local,
                                                       base_period_end_datetime_local,
                                                       reporting_start_datetime_local,
                                    Severity: Minor
                                    Found in myems-api/excelexporters/shopfloorplan.py - About 1 hr to fix

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

                                      def generate_excel(report,
                                                         name,
                                                         base_period_start_datetime_local,
                                                         base_period_end_datetime_local,
                                                         reporting_start_datetime_local,
                                      Severity: Minor
                                      Found in myems-api/excelexporters/storeplan.py - About 1 hr to fix

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

                                        def generate_excel(report,
                                                           name,
                                                           base_period_start_datetime_local,
                                                           base_period_end_datetime_local,
                                                           reporting_start_datetime_local,
                                        Severity: Minor
                                        Found in myems-api/excelexporters/shopfloorcarbon.py - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language