Showing 483 of 2,557 total issues
Function keySearch
has 106 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Terminal.prototype.keySearch = function(ev, key) {
if (key === '\x1b') {
this.leaveSearch();
return;
}
Function 19
has 105 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"../transport":14,"component-inherit":21,"debug":22,"engine.io-parser":25,"parseqs":33,"xmlhttprequest":20}],19:[function(_dereq_,module,exports){
/**
* Module dependencies.
*/
Function Terminal
has 105 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Terminal(options) {
var self = this;
if (!(this instanceof Terminal)) {
return new Terminal(arguments[0], arguments[1], arguments[2]);
File capacityReportCtrl.js
has 341 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function (angular) {
"use strict";
angular.module('dashboard.analytics')
.controller('capacityReportCtrl', ['$scope', '$rootScope', '$state','analyticsServices', 'genericServices','$timeout','$location', '$anchorScroll','$modal',function ($scope,$rootScope,$state,analyticsServices,genSevs,$timeout,$location, $anchorScroll,$modal){
$rootScope.stateItems = $state.params;
Function lex
has 104 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var lex = function () {
var source = Source, length = source.length, value, begin, position, isSigned, charCode;
while (Index < length) {
charCode = source.charCodeAt(Index);
switch (charCode) {
Function create
has 104 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function create(options) {
var _oTable;
var _loadedPromise = null;
var _$elem;
Function $get
has 99 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ($injector, $rootScope, $q, $templateRequest, $controller, $modalStack) {
var $modal = {};
function getTemplatePromise(options) {
return options.template ? $q.when(options.template) :
Function dataTable
has 99 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function dataTable($q, $http, DTRendererFactory, DTRendererService, DTPropertyUtil) {
compileDirective.$inject = ['tElm'];
ControllerDirective.$inject = ['$scope'];
return {
restrict: 'A',
Function $get
has 99 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ($injector, $rootScope, $q, $templateRequest, $controller, $modalStack) {
var $modal = {};
function getTemplatePromise(options) {
return options.template ? $q.when(options.template) :
File chefDataFormatterService.js
has 320 lines of code (exceeds 250 allowed). Consider refactoring. Open
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 2016
Function 43
has 92 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],43:[function(_dereq_,module,exports){
(function (global){
/*global Blob,File*/
/**
Function 23
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./debug":23}],23:[function(_dereq_,module,exports){
/**
* This is the common logic for both the Node.js and web browser
* implementations of `debug()`.
Function setMode
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Terminal.prototype.setMode = function(params) {
if (typeof params === 'object') {
var l = params.length
, i = 0;
Function selectText
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Terminal.prototype.selectText = function(x1, x2, y1, y2) {
var ox1
, ox2
, oy1
, oy2
File capacityCtrl.js
has 313 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function (angular) {
"use strict";
angular.module('dashboard.analytics')
.controller('capacityCtrl', ['$scope', '$rootScope', '$state','analyticsServices', 'genericServices','$timeout', function ($scope,$rootScope,$state,analyticsServices,genSevs,$timeout){
$rootScope.stateItems = $state.params;
File costCtrl.js
has 312 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function (angular) {
"use strict";
angular.module('dashboard.analytics')
.controller('costCtrl', ['$scope', '$rootScope', '$state','analyticsServices', 'genericServices','$timeout', function ($scope,$rootScope,$state,analyticsServices,genSevs,$timeout){
$rootScope.stateItems = $state.params;
Function charAttributes
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Terminal.prototype.charAttributes = function(params) {
// Optimize a single SGR0.
if (params.length === 1 && params[0] === 0) {
this.curAttr = this.defAttr;
return;
Function link
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function(scope, element, attrs, ctrl) {
scope.showWeeks = ctrl.showWeeks;
ctrl.step = { months: 1 };
ctrl.element = element;
Function link
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function(scope, element, attrs, ctrl) {
scope.showWeeks = ctrl.showWeeks;
ctrl.step = { months: 1 };
ctrl.element = element;
File editParamsCtrl.js
has 309 lines of code (exceeds 250 allowed). Consider refactoring. Open
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,
* Oct 2016