Showing 552 of 784 total issues
Function val
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
val: function( value ) {
var hooks, ret, isFunction,
elem = this[0];
if ( !arguments.length ) {
Function summaryByDomain
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
summaryByDomain: function(r, B, s) {
var x, w, A, v, C, u, y, t, D, z, E = {},
q = [];
B = [].concat(B);
t = B.length;
Function addComponent
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
addComponent: function(t, u, r, w) {
var q, v, s;
if (!t) {
if (!this.empty_url) {
this.empty_url = []
Function findImportedStyleSheets
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
findImportedStyleSheets: function(z, q) {
var t, A, x, u, r, v, y = /url\s*\(["']*([^"'\)]+)["']*\)/i,
s = [];
try {
if (!(A = z.cssRules)) {
Function addCombinator
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function addCombinator( matcher, combinator, base ) {
var dir = combinator.dir,
checkNonElements = base && dir === "parentNode",
doneName = done++;
Function computeStyleTests
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function computeStyleTests() {
// Minified: var b,c,d,j
var div, body, container, contents;
body = document.getElementsByTagName( "body" )[ 0 ];
Function addCombinator
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function addCombinator( matcher, combinator, base ) {
var dir = combinator.dir,
checkNonElements = base && dir === "parentNode",
doneName = done++;
Function computeStyleTests
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function computeStyleTests() {
// Minified: var b,c,d,j
var div, body, container, contents;
body = document.getElementsByTagName( "body" )[ 0 ];
Function each
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
each: function( obj, callback, args ) {
var value,
i = 0,
length = obj.length,
isArray = isArraylike( obj );
Function check
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function check(url) {
var Horseman = require('node-horseman'),
horseman = new Horseman();
Function each
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
each: function( obj, callback, args ) {
var value,
i = 0,
length = obj.length,
isArray = isArraylike( obj );
Function rulesetEditView
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
rulesetEditView: function(D) {
var s, B, u, t, w = '<div id="settingsDiv" class="yui-navset yui-navset-left">',
C, z, y = 0,
r = false,
q, v, A = "Rule Settings",
Function findScripts
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
findScripts: function(t) {
var u = [],
s = t.getElementsByTagName("head")[0],
q = t.getElementsByTagName("body")[0],
r = function(w, x) {
Function objToXML
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
objToXML: function(u, s) {
var q, r = YSLOW.util,
v = r.safeXML,
t = '<?xml version="1.0" encoding="UTF-8"?>';
q = function(C) {
Function ajaxHandleResponses
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ajaxHandleResponses( s, jqXHR, responses ) {
var firstDataType, ct, finalDataType, type,
contents = s.contents,
dataTypes = s.dataTypes;
Function ajaxHandleResponses
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ajaxHandleResponses( s, jqXHR, responses ) {
var firstDataType, ct, finalDataType, type,
contents = s.contents,
dataTypes = s.dataTypes;
Function genRulesCheckbox
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
genRulesCheckbox: function(z) {
var s, q, y, r, w = "",
B = 0,
A = YSLOW.controller.getRegisteredRules(),
u = 0,
Function when
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
when: function( subordinate /* , ..., subordinateN */ ) {
var i = 0,
resolveValues = slice.call( arguments ),
length = resolveValues.length,
Function when
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
when: function( subordinate /* , ..., subordinateN */ ) {
var i = 0,
resolveValues = slice.call( arguments ),
length = resolveValues.length,
Function loadNewData
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
loadNewData: function(par) {
if (par) {
var newNum = par;
var $elID = this.$el.attr('id');
//Get length object