Showing 5,803 of 11,092 total issues
File bootstrap-table-locale-all.js
has 1272 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* Bootstrap Table Afrikaans translation
* Author: Phillip Kruger <phillip.kruger@gmail.com>
*/
(function ($) {
File bootstrap.js
has 1185 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* Bootstrap v3.0.1 by @fat and @mdo
* Copyright 2013 Twitter, Inc.
* Licensed under http://www.apache.org/licenses/LICENSE-2.0
*
Function checkbox
has 603 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.jstree.plugins.checkbox = function (options, parent) {
this.bind = function () {
parent.bind.call(this);
this._data.checkbox.uto = false;
this._data.checkbox.selected = [];
File flowchart.js
has 1161 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// flowchart, v1.4.1
// Copyright (c)2015 Adriano Raiano (adrai).
// Distributed under MIT license
// http://adrai.github.io/flowchart.js
(function() {
Function Buttons
has 595 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Buttons = function (context) {
var self = this;
var ui = $.summernote.ui;
var $toolbar = context.layoutInfo.toolbar;
File highcharts-3d.src.js
has 1146 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license Highcharts JS v4.1.9 (2015-10-07)
File highcharts-3d.src.js
has 1146 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license Highcharts JS v4.1.9 (2015-10-07)
Function dom
has 582 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var dom = (function () {
/**
* @method isEditable
*
* returns whether node is `note-editable` or not.
File jquery.fileupload.js
has 1118 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* jQuery File Upload Plugin
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, Sebastian Tschan
File bootstrap-multiselect.js
has 1111 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* Bootstrap Multiselect (https://github.com/davidstutz/bootstrap-multiselect)
*
* Apache License, Version 2.0:
* Copyright (c) 2012 - 2015 David Stutz
Function Layout
has a Cognitive Complexity of 139 (exceeds 5 allowed). Consider refactoring. Open
Open
var Layout = function () {
var layoutImgPath = 'layouts/layout/img/';
var layoutCssPath = 'layouts/layout/css/';
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
File daterangepicker.js
has 1102 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* @version: 2.1.13
* @author: Dan Grossman http://www.dangrossman.info/
* @copyright: Copyright (c) 2012-2015 Dan Grossman. All rights reserved.
* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
File jquery.validate.js
has 1085 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* jQuery Validation Plugin v1.14.0
*
* http://jqueryvalidation.org/
*
Function Index
has 541 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Index = function () {
var handleAmChart = function() {
var chartData = [
{
File responsive.js
has 1066 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
Plugin Name: amCharts Responsive
Description: This plugin add responsive functionality to JavaScript Charts and Maps.
Author: Martynas Majeris, amCharts
Contributors: Ohad Schneider
File responsive.js
has 1066 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
Plugin Name: amCharts Responsive
Description: This plugin add responsive functionality to JavaScript Charts and Maps.
Author: Martynas Majeris, amCharts
Contributors: Ohad Schneider
File responsive.js
has 1066 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
Plugin Name: amCharts Responsive
Description: This plugin add responsive functionality to JavaScript Charts and Maps.
Author: Martynas Majeris, amCharts
Contributors: Ohad Schneider
Function ChartsFlotcharts
has a Cognitive Complexity of 132 (exceeds 5 allowed). Consider refactoring. Open
Open
var ChartsFlotcharts = function() {
return {
//main function to initiate the module
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
File plupload.dev.js
has 1051 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* Plupload - multi-runtime File Uploader
* v2.1.2
*
* Copyright 2013, Moxiecode Systems AB
Function TouchSpin
has 527 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.TouchSpin = function(options) {
if (options === 'destroy') {
this.each(function() {
var originalinput = $(this),