Showing 5,781 of 10,536 total issues

Function Ng1ViewConfig has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var Ng1ViewConfig = /** @class */ (function () {
        function Ng1ViewConfig(path, viewDecl, factory) {
            var _this = this;
            this.path = path;
            this.viewDecl = viewDecl;
Severity: Minor
Found in myems-admin/js/ui-router/angular-ui-router.js - About 1 hr to fix

    Function compare has 39 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            UrlMatcher.compare = function (a, b) {
                /**
                 * Turn a UrlMatcher and all its parent matchers into an array
                 * of slash literals '/', string literals, and Param objects
                 *
    Severity: Minor
    Found in myems-admin/js/ui-router/angular-ui-router.js - About 1 hr to fix

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

                  render = function() {
                    if (!qr) {
                      return;
                    }
      
      
      Severity: Minor
      Found in myems-admin/js/angular/angular-qrcode.js - About 1 hr to fix

        Function prepareFromToAnchorAnimation has 39 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            function prepareFromToAnchorAnimation(from, to, classes, anchors) {
              var fromAnimation = prepareRegularAnimation(from, noop);
              var toAnimation = prepareRegularAnimation(to, noop);
        
              var anchorAnimations = [];
        Severity: Minor
        Found in myems-admin/js/angular/angular-animate.js - About 1 hr to fix

          Function close has 39 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                function close(rejected) {
                  // if the promise has been called already then we shouldn't close
                  // the animation again
                  if (animationClosed || (animationCompleted && animationPaused)) return;
                  animationClosed = true;
          Severity: Minor
          Found in myems-admin/js/angular/angular-animate.js - About 1 hr to fix

            Function fullCalendar has 39 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                $.fn.fullCalendar = function(options) {
            
            
                    // method calling
                    if (typeof options == 'string') {
            Severity: Minor
            Found in myems-admin/js/plugins/fullcalendar/fullcalendar.min.js - About 1 hr to fix

              Function renderView has 39 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  function renderView(delta, viewName) {
                      ignoreWindowResize++;
              
                      // if viewName is changing, destroy the old view
                      if (currentView && viewName && currentView.name !== viewName) {
              Severity: Minor
              Found in myems-admin/js/plugins/fullcalendar/fullcalendar.js - About 1 hr to fix

                Function dayMousedown has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    dayMousedown: function(ev) {
                        var _this = this;
                        var view = this.view;
                        var isSelectable = view.opt('selectable');
                        var dates = null; // the inclusive dates of the selection. will be null if no selection
                Severity: Minor
                Found in myems-admin/js/plugins/fullcalendar/fullcalendar.js - About 1 hr to fix

                  Function locate has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      ClockPicker.prototype.locate = function(){
                          var element = this.element,
                              popover = this.popover,
                              offset = element.offset(),
                              width = element.outerWidth(),
                  Severity: Minor
                  Found in myems-admin/js/plugins/clockpicker/clockpicker.js - About 1 hr to fix

                    Function _register has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            function _register(providers, registerModules, params) {
                                if (registerModules) {
                                    var k,
                                        moduleName,
                                        moduleFn,
                    Severity: Minor
                    Found in myems-admin/js/plugins/oclazyload/ocLazyLoad.js - About 1 hr to fix

                      Function init has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              e.name = "Footable Sortable", e.init = function(a) {
                                  e.footable = a, a.options.sort === !0 && t(a.table).unbind(".sorting").bind({
                                      "footable_initialized.sorting": function() {
                                          var i, o, n = t(a.table),
                                              r = (n.find("> tbody"), a.options.classes.sort);
                      Severity: Minor
                      Found in myems-admin/js/plugins/footable/footable.all.min.js - About 1 hr to fix

                        Function backdrop has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                          Modal.prototype.backdrop = function (callback) {
                            var that = this
                            var animate = this.$element.hasClass('fade') ? 'fade' : ''
                        
                            if (this.isShown && this.options.backdrop) {
                        Severity: Minor
                        Found in myems-admin/js/bootstrap/bootstrap.js - About 1 hr to fix

                          Function qa has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                      qa = function(b, c) {
                                        b.preventDefault();
                                        za();
                                        a.dropMark();
                                        var d = !0;
                          Severity: Minor
                          Found in myems-admin/js/jcui/angular.integralui.treeview.min.js - About 1 hr to fix

                            Function show has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                              Modal.prototype.show = function (_relatedTarget) {
                                var that = this
                                var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
                            
                                this.$element.trigger(e)
                            Severity: Minor
                            Found in myems-admin/js/bootstrap/bootstrap.js - About 1 hr to fix

                              Function Ka has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                          Ka = function(b) {
                                            var c = "";
                                            if (a.options.showExpandBoxes) {
                                              var d = a.defaultStyle.item.expandBox.general;
                                              b[a.options.dataFields.style] &&
                              Severity: Minor
                              Found in myems-admin/js/jcui/angular.integralui.treeview.min.js - About 1 hr to fix

                                Function addMicrogridPhotovoltaic has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                      $scope.addMicrogridPhotovoltaic = function() {
                                
                                          var modalInstance = $uibModal.open({
                                              templateUrl: 'views/settings/microgrid/microgridphotovoltaic.model.html',
                                              controller: 'ModalAddMicrogridPhotovoltaicCtrl',

                                  Function addMicrogridGenerator has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                        $scope.addMicrogridGenerator = function() {
                                            var modalInstance = $uibModal.open({
                                                templateUrl: 'views/settings/microgrid/microgridgenerator.model.html',
                                                controller: 'ModalAddMicrogridGeneratorCtrl',
                                                windowClass: "animated fadeIn",

                                    Function Lottie has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    const Lottie = () => {
                                      return (
                                        <Fragment>
                                          <PageHeader
                                            title="Lottie"
                                    Severity: Minor
                                    Found in myems-web/src/components/plugins/Lottie.js - About 1 hr to fix

                                      Function addMicrogridLoad has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                            $scope.addMicrogridLoad = function() {
                                                var modalInstance = $uibModal.open({
                                                    templateUrl: 'views/settings/microgrid/microgridload.model.html',
                                                    controller: 'ModalAddMicrogridLoadCtrl',
                                                    windowClass: "animated fadeIn",

                                        Function addMicrogridEVCharger has 39 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                              $scope.addMicrogridEVCharger = function() {
                                                  var modalInstance = $uibModal.open({
                                                      templateUrl: 'views/settings/microgrid/microgridevcharger.model.html',
                                                      controller: 'ModalAddMicrogridEVChargerCtrl',
                                                      windowClass: "animated fadeIn",
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language