Showing 5,781 of 10,536 total issues

Function deleteEnergyStorageContainerPowerconversionsystem has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      $scope.deleteEnergyStorageContainerPowerconversionsystem = function(energystoragecontainerpowerconversionsystem) {
          SweetAlert.swal({
                  title: $translate.instant("SWEET.TITLE"),
                  text: $translate.instant("SWEET.TEXT"),
                  type: "warning",

    Function deleteEnergyStorageContainerFirecontrol has 35 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

          $scope.deleteEnergyStorageContainerFirecontrol = function(energystoragecontainerfirecontrol) {
              SweetAlert.swal({
                      title: $translate.instant("SWEET.TITLE"),
                      text: $translate.instant("SWEET.TEXT"),
                      type: "warning",

      Function importStore has 35 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          $scope.importStore = function() {
              var modalInstance = $uibModal.open({
                  templateUrl: 'views/common/import.html',
                  controller: 'ModalImportCtrl',
                  windowClass: "animated fadeIn",
      Severity: Minor
      Found in myems-admin/app/controllers/settings/store/store.controller.js - About 1 hr to fix

        Function deleteEnergyStorageContainerSchedule has 35 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

              $scope.deleteEnergyStorageContainerSchedule = function(energystoragecontainerschedule) {
                  SweetAlert.swal({
                          title: $translate.instant("SWEET.TITLE"),
                          text: $translate.instant("SWEET.TEXT"),
                          type: "warning",

          Function importShopfloor has 35 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              $scope.importShopfloor = function() {
                  var modalInstance = $uibModal.open({
                      templateUrl: 'views/common/import.html',
                      controller: 'ModalImportCtrl',
                      windowClass: "animated fadeIn",

            Function deleteTariff has 35 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                $scope.deleteTariff = function(tariff) {
                    SweetAlert.swal({
                            title: $translate.instant("SWEET.TITLE"),
                            text: $translate.instant("SWEET.TEXT"),
                            type: "warning",
            Severity: Minor
            Found in myems-admin/app/controllers/settings/tariff/tariff.controller.js - About 1 hr to fix

              Function importDistributionSystem has 35 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  $scope.importDistributionSystem = function() {
                      var modalInstance = $uibModal.open({
                          templateUrl: 'views/common/import.html',
                          controller: 'ModalImportCtrl',
                          windowClass: "animated fadeIn",

                Function importSensor has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    $scope.importSensor = function() {
                        var modalInstance = $uibModal.open({
                            templateUrl: 'views/common/import.html',
                            controller: 'ModalImportCtrl',
                            windowClass: "animated fadeIn",
                Severity: Minor
                Found in myems-admin/app/controllers/settings/sensor/sensor.controller.js - About 1 hr to fix

                  Function deleteEnergyStorageContainerHVAC has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                        $scope.deleteEnergyStorageContainerHVAC = function(energystoragecontainerhvac) {
                            SweetAlert.swal({
                                    title: $translate.instant("SWEET.TITLE"),
                                    text: $translate.instant("SWEET.TEXT"),
                                    type: "warning",

                    Function importProtocol has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        $scope.importProtocol = function() {
                            var modalInstance = $uibModal.open({
                                templateUrl: 'views/common/import.html',
                                controller: 'ModalImportCtrl',
                                windowClass: "animated fadeIn",

                      Function deleteEnergyStorageContainerLoad has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                            $scope.deleteEnergyStorageContainerLoad = function(energystoragecontainerload) {
                                SweetAlert.swal({
                                        title: $translate.instant("SWEET.TITLE"),
                                        text: $translate.instant("SWEET.TEXT"),
                                        type: "warning",

                        Function importOfflineMeter has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            $scope.importOfflineMeter = function() {
                                var modalInstance = $uibModal.open({
                                    templateUrl: 'views/common/import.html',
                                    controller: 'ModalImportCtrl',
                                    windowClass: "animated fadeIn",

                          Function deleteVirtualMeter has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              $scope.deleteVirtualMeter = function(virtualmeter) {
                                  SweetAlert.swal({
                                          title: $translate.instant("SWEET.TITLE"),
                                          text: $translate.instant("SWEET.TEXT"),
                                          type: "warning",

                            Function importWindFarm has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                $scope.importWindFarm = function() {
                                    var modalInstance = $uibModal.open({
                                        templateUrl: 'views/common/import.html',
                                        controller: 'ModalImportCtrl',
                                        windowClass: "animated fadeIn",

                              Function deleteMicrogridGenerator has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                    $scope.deleteMicrogridGenerator = function(microgridgenerator) {
                                        SweetAlert.swal({
                                                title: $translate.instant("SWEET.TITLE"),
                                                text: $translate.instant("SWEET.TEXT"),
                                                type: "warning",

                                Function deleteMeter has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    $scope.deleteMeter = function(meter) {
                                        SweetAlert.swal({
                                                title: $translate.instant("SWEET.TITLE"),
                                                text: $translate.instant("SWEET.TEXT"),
                                                type: "warning",
                                Severity: Minor
                                Found in myems-admin/app/controllers/settings/meter/meter.controller.js - About 1 hr to fix

                                  Function deleteSensor has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      $scope.deleteSensor = function(sensor) {
                                          SweetAlert.swal({
                                                  title: $translate.instant("SWEET.TITLE"),
                                                  text: $translate.instant("SWEET.TEXT"),
                                                  type: "warning",
                                  Severity: Minor
                                  Found in myems-admin/app/controllers/settings/sensor/sensor.controller.js - About 1 hr to fix

                                    Function deleteOfflineMeter has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        $scope.deleteOfflineMeter = function(offlinemeter) {
                                            SweetAlert.swal({
                                                    title: $translate.instant("SWEET.TITLE"),
                                                    text: $translate.instant("SWEET.TEXT"),
                                                    type: "warning",

                                      Function deleteMicrogridLoad has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                            $scope.deleteMicrogridLoad = function(microgridload) {
                                                SweetAlert.swal({
                                                        title: $translate.instant("SWEET.TITLE"),
                                                        text: $translate.instant("SWEET.TEXT"),
                                                        type: "warning",

                                        Function deleteEnergyStorageContainerGrid has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                              $scope.deleteEnergyStorageContainerGrid = function(energystoragecontainergrid) {
                                                  SweetAlert.swal({
                                                          title: $translate.instant("SWEET.TITLE"),
                                                          text: $translate.instant("SWEET.TEXT"),
                                                          type: "warning",
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language