Showing 552 of 784 total issues
File jquery.min.js
has 6841 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* jQuery JavaScript Library v1.11.3
* http://jquery.com/
*
* Includes Sizzle.js
File jquery.js
has 6841 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* jQuery JavaScript Library v1.11.3
* http://jquery.com/
*
* Includes Sizzle.js
File yslow.js
has 6546 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* Copyright (c) 2012, Yahoo! Inc. All rights reserved.
* Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
*/
var i, arg, page, urlCount, viewport, webpage = require("webpage"),
Function Sizzle
has 1355 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
(function( window ) {
var i,
support,
Expr,
Function Sizzle
has 1355 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
(function( window ) {
var i,
support,
Expr,
Consider simplifying this complex logical expression. Open
Open
if (m !== "success") {
console.log("FAIL to load " + d)
} else {
n = new Date() - e;
for (d in h) {
Function Modernizr
has 587 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
window.Modernizr = (function( window, document, undefined ) {
var version = '2.8.3',
Modernizr = {},
Function Modernizr
has 587 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
window.Modernizr = (function( window, document, undefined ) {
var version = '2.8.3',
Modernizr = {},
Function Modernizr
has a Cognitive Complexity of 117 (exceeds 5 allowed). Consider refactoring. Open
Open
window.Modernizr = (function( window, document, undefined ) {
var version = '2.8.3',
Modernizr = {},
- 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
Function Modernizr
has a Cognitive Complexity of 117 (exceeds 5 allowed). Consider refactoring. Open
Open
window.Modernizr = (function( window, document, undefined ) {
var version = '2.8.3',
Modernizr = {},
- 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 jquery-barIndicator.min.js
has 903 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* jQuery - barIndicator
* A jQuery plugin that helps you visualize percentage or absolute amounts with bars
* Author: Ioannis Kapantzakis
* Released under the MIT License
File modernizr.min.js
has 623 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* Modernizr 2.8.3 (Custom Build) | MIT & BSD
* Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-textshadow-cssanimations-csscolumns-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-svg-svgclippaths-touch-webgl-shiv-mq-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-css_calc-css_lastchild-css_mediaqueries-css_positionsticky-img_webp-load
*/
;
File modernizr.js
has 623 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* Modernizr 2.8.3 (Custom Build) | MIT & BSD
* Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-textshadow-cssanimations-csscolumns-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-svg-svgclippaths-touch-webgl-shiv-mq-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-css_calc-css_lastchild-css_mediaqueries-css_positionsticky-img_webp-load
*/
;
Function _init
has 247 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_init: function() {
var that = this;
var $el = that.$el;
var opt = that.opt;
var selector = that.selector;
Function ajax
has 240 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ajax: function( url, options ) {
// If url is an object, simulate pre-1.5 signature
if ( typeof url === "object" ) {
options = url;
Function ajax
has 240 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ajax: function( url, options ) {
// If url is an object, simulate pre-1.5 signature
if ( typeof url === "object" ) {
options = url;
Function setDocument
has 218 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setDocument = Sizzle.setDocument = function( node ) {
var hasCompare, parent,
doc = node ? node.ownerDocument || node : preferredDoc;
// If no document and documentElement is available, return
Function setDocument
has 218 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setDocument = Sizzle.setDocument = function( node ) {
var hasCompare, parent,
doc = node ? node.ownerDocument || node : preferredDoc;
// If no document and documentElement is available, return
File ResultReaderTest.php
has 469 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace SuitTests\Supports;
use Illuminate\Foundation\Testing\DatabaseTransactions;
Function run
has 162 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
YSLOW.phantomjs.run = function() {
try {
var D, z, A, u, K = document,
F = YSLOW,
x = new F.context(K),