RLOpenCatalyst/core

View on GitHub

Showing 483 of 2,557 total issues

Function $get has 270 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        this.$get = ['$window', '$compile', '$timeout', '$document', '$position', '$interpolate', '$rootScope', '$parse', function($window, $compile, $timeout, $document, $position, $interpolate, $rootScope, $parse) {
            return function $tooltip(type, prefix, defaultTriggerShow, options) {
                options = angular.extend({}, defaultOptions, globalOptions, options);

                /**
Severity: Major
Found in client/cat3/customlib/ui-bootstrap-custom-0.13.4.min.js - About 1 day to fix

    Function $tooltip has 268 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            return function $tooltip(type, prefix, defaultTriggerShow, options) {
              options = angular.extend({}, defaultOptions, globalOptions, options);
    
              /**
               * Returns an object of show and hide triggers.
    Severity: Major
    Found in client/cat3/customlib/ui-bootstrap-custom-tpls-0.13.4.js - About 1 day to fix

      Function $tooltip has 268 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

                  return function $tooltip(type, prefix, defaultTriggerShow, options) {
                      options = angular.extend({}, defaultOptions, globalOptions, options);
      
                      /**
                       * Returns an object of show and hide triggers.
      Severity: Major
      Found in client/cat3/customlib/ui-bootstrap-custom-0.13.4.min.js - About 1 day to fix

        Function link has 248 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                  link: function(scope, element, attrs, ngModel) {
                    var dateFormat,
                        closeOnDateSelection = angular.isDefined(attrs.closeOnDateSelection) ? scope.$parent.$eval(attrs.closeOnDateSelection) : datepickerPopupConfig.closeOnDateSelection,
                        appendToBody = angular.isDefined(attrs.datepickerAppendToBody) ? scope.$parent.$eval(attrs.datepickerAppendToBody) : datepickerPopupConfig.appendToBody,
                        onOpenFocus = angular.isDefined(attrs.onOpenFocus) ? scope.$parent.$eval(attrs.onOpenFocus) : datepickerPopupConfig.onOpenFocus,
        Severity: Major
        Found in client/cat3/customlib/ui-bootstrap-custom-tpls-0.13.4.js - About 1 day to fix

          Function link has 248 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                          link: function(scope, element, attrs, ngModel) {
                              var dateFormat,
                                  closeOnDateSelection = angular.isDefined(attrs.closeOnDateSelection) ? scope.$parent.$eval(attrs.closeOnDateSelection) : datepickerPopupConfig.closeOnDateSelection,
                                  appendToBody = angular.isDefined(attrs.datepickerAppendToBody) ? scope.$parent.$eval(attrs.datepickerAppendToBody) : datepickerPopupConfig.appendToBody,
                                  onOpenFocus = angular.isDefined(attrs.onOpenFocus) ? scope.$parent.$eval(attrs.onOpenFocus) : datepickerPopupConfig.onOpenFocus,
          Severity: Major
          Found in client/cat3/customlib/ui-bootstrap-custom-0.13.4.min.js - About 1 day to fix

            File libraryCtrl.js has 577 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            /* Copyright (C) Relevance Lab Private Limited- All Rights Reserved
             * Unauthorized copying of this file, via any medium is strictly prohibited
             * Proprietary and confidential
             * Written by Relevance UI Team,
             * Feb 2017

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

                          disResrc.init=function () {
                              if(fltrObj && fltrObj.provider && fltrObj.provider.id) {
                                  disResrc.getAllTagNames();
                                  $scope.instLoader=true;
                                  $timeout(function () {

                Function compile has 236 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                            compile: function(tElem, tAttrs) {
                              var tooltipLinker = $compile( template );
                
                              return function link(scope, element, attrs, tooltipCtrl) {
                                var tooltip;
                Severity: Major
                Found in client/cat3/customlib/ui-bootstrap-custom-tpls-0.13.4.js - About 1 day to fix

                  Function compile has 236 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                                      compile: function(tElem, tAttrs) {
                                          var tooltipLinker = $compile( template );
                  
                                          return function link(scope, element, attrs, tooltipCtrl) {
                                              var tooltip;
                  Severity: Major
                  Found in client/cat3/customlib/ui-bootstrap-custom-0.13.4.min.js - About 1 day to fix

                    Function link has 233 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                                  return function link(scope, element, attrs, tooltipCtrl) {
                                    var tooltip;
                                    var tooltipLinkedScope;
                                    var transitionTimeout;
                                    var popupTimeout;
                    Severity: Major
                    Found in client/cat3/customlib/ui-bootstrap-custom-tpls-0.13.4.js - About 1 day to fix

                      Function link has 233 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                                              return function link(scope, element, attrs, tooltipCtrl) {
                                                  var tooltip;
                                                  var tooltipLinkedScope;
                                                  var transitionTimeout;
                                                  var popupTimeout;
                      Severity: Major
                      Found in client/cat3/customlib/ui-bootstrap-custom-0.13.4.min.js - About 1 day to fix

                        File workzoneServices.js has 542 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        /* Copyright (C) Relevance Lab Private Limited- All Rights Reserved
                         * Unauthorized copying of this file, via any medium is strictly prohibited
                         * Proprietary and confidential
                         * Written by Relevance UI Team,
                         * Aug 2015
                        Severity: Major
                        Found in client/cat3/src/factory/workzoneServices.js - About 1 day to fix

                          Function toastr has 221 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              function toastr($animate, $injector, $document, $rootScope, $sce, toastrConfig, $q) {
                                  var container;
                                  var index = 0;
                                  var toasts = [];
                          
                          
                          Severity: Major
                          Found in client/cat3/src/partials/globals/toaster/angular-toastr.tpls.js - About 1 day to fix

                            Function bindMouse has 221 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                Terminal.prototype.bindMouse = function() {
                                    var el = this.element
                                        , self = this
                                        , pressed = 32;
                            
                            
                            Severity: Major
                            Found in client/cat3/customlib/terminal/terminal.js - About 1 day to fix

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

                                    this.init = function() {
                                      localeId = $locale.id;
                              
                                      this.parsers = {};
                                      this.formatters = {};
                              Severity: Major
                              Found in client/cat3/customlib/ui-bootstrap-custom-tpls-0.13.4.js - About 1 day to fix

                                Function exports has 212 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                module.exports = function(grunt) {
                                    grunt.initConfig({
                                        pkg: grunt.file.readJSON('package.json'),
                                        bower: {
                                            install: {}
                                Severity: Major
                                Found in client/cat3/Gruntfile.js - About 1 day to fix

                                  File chefSelectorComponent.js has 504 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  /* Copyright (C) Relevance Lab Private Limited- All Rights Reserved
                                   * Unauthorized copying of this file, via any medium is strictly prohibited
                                   * Proprietary and confidential
                                   * Written by Relevance UI Team,
                                   * Aug 2015

                                    Function 5 has 199 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    },{}],5:[function(_dereq_,module,exports){
                                    
                                        /**
                                         * Module dependencies.
                                         */
                                    Severity: Major
                                    Found in client/cat3/customlib/socket.io/socket.io.js - About 7 hrs to fix

                                      Function 17 has 198 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      },{"./polling":18,"component-inherit":21}],17:[function(_dereq_,module,exports){
                                          (function (global){
                                              /**
                                               * Module requirements.
                                               */
                                      Severity: Major
                                      Found in client/cat3/customlib/socket.io/socket.io.js - About 7 hrs to fix

                                        Function keyDown has 191 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            Terminal.prototype.keyDown = function(ev) {
                                                var self = this
                                                    , key;
                                        
                                                switch (ev.keyCode) {
                                        Severity: Major
                                        Found in client/cat3/customlib/terminal/terminal.js - About 7 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language