RLOpenCatalyst/core

View on GitHub

Showing 483 of 2,557 total issues

File ui-bootstrap-custom-tpls-0.13.4.js has 5031 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*
 * angular-ui-bootstrap
 * http://angular-ui.github.io/bootstrap/

 * Version: 0.13.4 - 2015-09-03
Severity: Major
Found in client/cat3/customlib/ui-bootstrap-custom-tpls-0.13.4.js - About 2 wks to fix

    File ui-bootstrap-custom-0.13.4.min.js has 4181 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /*
     * angular-ui-bootstrap
     * http://angular-ui.github.io/bootstrap/
    
     * Version: 0.13.4 - 2015-09-03
    Severity: Major
    Found in client/cat3/customlib/ui-bootstrap-custom-0.13.4.min.js - About 1 wk to fix

      File socket.io.js has 3772 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.io=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
      
          module.exports = _dereq_('./lib/');
      
      },{"./lib/":2}],2:[function(_dereq_,module,exports){
      Severity: Major
      Found in client/cat3/customlib/socket.io/socket.io.js - About 1 wk to fix

        File terminal.js has 3618 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        /**
         * term.js - an xterm emulator
         * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
         * https://github.com/chjj/term.js
         *
        Severity: Major
        Found in client/cat3/customlib/terminal/terminal.js - About 1 wk to fix

          Function 47 has 551 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          },{}],47:[function(_dereq_,module,exports){
              /*! JSON v3.2.6 | http://bestiejs.github.io/json3 | Copyright 2012-2013, Kit Cambridge | http://kit.mit-license.org */
              ;(function (window) {
                  // Convenience aliases.
                  var getClass = {}.toString, isProperty, forEach, undef;
          Severity: Major
          Found in client/cat3/customlib/socket.io/socket.io.js - About 2 days to fix

            Function write has 536 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                Terminal.prototype.write = function(data) {
                    var l = data.length
                        , i = 0
                        , j
                        , cs
            Severity: Major
            Found in client/cat3/customlib/terminal/terminal.js - About 2 days to fix

              File bootstrap-material-datetimepicker.js has 1033 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              (function ($, moment)
              {
                  var pluginName = "bootstrapMaterialDatePicker";
                  var pluginDataName = "plugin_" + pluginName;
              
              
              Severity: Major
              Found in client/cat3/customlib/dateTime/js/bootstrap-material-datetimepicker.js - About 2 days to fix

                File angular-datatables.js has 893 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                /*!
                 * angular-datatables - v0.5.0
                 * https://github.com/l-lin/angular-datatables
                 * License: MIT
                 */
                Severity: Major
                Found in client/cat3/customlib/angular-datatables.js - About 2 days to fix

                  Function keySelect has 412 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      Terminal.prototype.keySelect = function(ev, key) {
                          this.showCursor();
                  
                          if (this.searchMode || key === 'n' || key === 'N') {
                              return this.keySearch(ev, key);
                  Severity: Major
                  Found in client/cat3/customlib/terminal/terminal.js - About 2 days to fix

                    Function 13 has 406 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    },{"./socket":13,"engine.io-parser":25}],13:[function(_dereq_,module,exports){
                        (function (global){
                            /**
                             * Module dependencies.
                             */
                    Severity: Major
                    Found in client/cat3/customlib/socket.io/socket.io.js - About 2 days to fix

                      Function chefSelectorComponent has 395 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          window.chefSelectorComponent = window.chefSelectorComponent || function(
                              options) {
                              var lastFilterClass = '';
                              var defaultOptions = {
                                  scopeElement: "body", //parent element which restrict the dom search scope

                        File blueprintCreateCtrl.js has 822 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        (function (angular) {
                            "use strict";
                            angular.module('dashboard.design')
                                .controller('blueprintCreateCtrl',['$scope','$rootScope','$modal','toastr','$state', 'blueprintCreateService','responseFormatter','genericServices','confirmbox', function ($scope,$rootScope,$modal,toastr,$state,bpCreateSer,responseFormatter,genericServices,confirmbox) {
                                    var blueprintCreation = this;

                          File datetime.js has 776 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          // https://github.com/Gillardo/bootstrap-ui-datetime-picker
                          // Version: 2.4.0
                          // Released: 2016-06-03
                          angular.module('ui.bootstrap.datetimepicker', ['ui.bootstrap.dateparser', 'ui.bootstrap.position'])
                              .constant('uiDatetimePickerConfig', {
                          Severity: Major
                          Found in client/cat3/customlib/datetime.js - About 1 day to fix

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

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

                              File instanceCtrl.js has 730 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

                                File newTaskCtrl.js has 681 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 link has 275 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                            link: function(originalScope, element, attrs, ctrls) {
                                              var modelCtrl = ctrls[0];
                                              var ngModelOptions = ctrls[1];
                                              //SUPPORTED ATTRIBUTES (OPTIONS)
                                  
                                  
                                  Severity: Major
                                  Found in client/cat3/customlib/ui-bootstrap-custom-tpls-0.13.4.js - About 1 day to fix

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

                                                    link: function(originalScope, element, attrs, ctrls) {
                                                        var modelCtrl = ctrls[0];
                                                        var ngModelOptions = ctrls[1];
                                                        //SUPPORTED ATTRIBUTES (OPTIONS)
                                    
                                    
                                    Severity: Major
                                    Found in client/cat3/customlib/ui-bootstrap-custom-0.13.4.min.js - About 1 day to fix

                                      Function 3 has 273 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      },{"./manager":3,"./socket":5,"./url":6,"debug":10,"socket.io-parser":44}],3:[function(_dereq_,module,exports){
                                      
                                          /**
                                           * Module dependencies.
                                           */
                                      Severity: Major
                                      Found in client/cat3/customlib/socket.io/socket.io.js - About 1 day to fix

                                        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-tpls-0.13.4.js - About 1 day to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language