Showing 5,781 of 10,536 total issues

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                      var O = function(d, a, c, r, e) {
                        if (!d[b.options.dataFields.items]) return (c = A(d, a, c, r, e));
                        if ((c = A(d, a, c, r, e)) && !b.isItemFixed(d)) {
                          e = 0;
                          var h;
                Severity: Minor
                Found in myems-admin/js/jcui/angular.integralui.treeview.min.js - About 1 hr to fix

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

                    applyTransform: function() {
                      var maxTransX,
                          maxTransY,
                          minTransX,
                          minTransY;
                  Severity: Minor
                  Found in myems-admin/js/plugins/jvectormap/jquery-jvectormap-2.0.2.min.js - About 1 hr to fix

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

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

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

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

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

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

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

                                    a.updateLayout = function() {
                                      if (a.allowUpdate) {
                                        n();
                                        a.refresh();
                                        var b = c(function() {
                          Severity: Minor
                          Found in myems-admin/js/jcui/angular.integralui.checkbox.min.js - About 1 hr to fix

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

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

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

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

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

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

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

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

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

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

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

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

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

                                            $scope.importEnergyStoragePowerStation = function() {
                                                var modalInstance = $uibModal.open({
                                                    templateUrl: 'views/common/import.html',
                                                    controller: 'ModalImportCtrl',
                                                    windowClass: "animated fadeIn",
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language