Showing 552 of 784 total issues
Method run
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function run()
{
$seoCheckingList = [
'Title Tag Checking' => '--title',
'Header Tag Checking' => '--header',
Function formatAsTAP
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
formatAsTAP: function(t) {
var u, z, B, x, s, r, q = 0,
w = t.length,
y = [],
v = YSLOW.util,
Method testEncodingUrl
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testEncodingUrl()
{
$client = $this->getMockClient()->makePartial();
$domCrawler = $this->getMockDomCrawler()->makePartial();
Consider simplifying this complex logical expression. Open
Open
if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&
( support.htmlSerialize || !rnoshimcache.test( value ) ) &&
( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) &&
!wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) {
Consider simplifying this complex logical expression. Open
Open
if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&
( support.htmlSerialize || !rnoshimcache.test( value ) ) &&
( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) &&
!wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) {
Function r
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
r = function(v, t) {
var w;
q.status = t.status;
q.headers = {};
q.raw_headers = "";
Function filterResult
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
filterResult: function(z, q) {
var v, u, r, w, s, x, t, y = this.getButtonView("ysPerfButton");
if (q === "all") {
u = true
}
Function onclickTabLabel
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
onclickTabLabel: function(q, w) {
var s, r, t, y, A, z, v, B = YSLOW.util.getCurrentTarget(q),
x = B.parentNode,
u = x.nextSibling;
if (B.className.indexOf("selected") !== -1 || B.id.indexOf("label") === -1) {
Function findStyleSheets
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
findStyleSheets: function(t, q) {
var A, r, u, y, z = t.getElementsByTagName("head")[0],
w = t.getElementsByTagName("body")[0],
s = [],
x = this,
Function E
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
B, E = function(M) {
var N, O = (s.format || "").toLowerCase(),
P = {
tap: {
func: J.formatAsTAP,
Function _labelNumCounter
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_labelNumCounter: function(par) {
if (par) {
var that = par.that;
var opt = that.opt;
var $el = that.$el;
Function prettyAnchor
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
prettyAnchor: function(y, r, t, s, w, q, z) {
var u, x = "",
v = "",
A = 0;
if (typeof r === "undefined") {
Function sendBeacon
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
sendBeacon: function(v, u, r) {
var w, z, A, s, x, t = "",
y = YSLOW.util,
B = y.Preference,
q = "get";
Function stop
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
stop: function( type, clearQueue, gotoEnd ) {
var stopQueue = function( hooks ) {
var stop = hooks.stop;
delete hooks.stop;
stop( gotoEnd );
Function on
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
var type, origFn;
// Types can be a map of types/handlers
if ( typeof types === "object" ) {
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 extend
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.extend = jQuery.fn.extend = function() {
var src, copyIsArray, copy, name, options, clone,
target = arguments[0] || {},
i = 1,
length = arguments.length,
Function stop
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
stop: function( type, clearQueue, gotoEnd ) {
var stopQueue = function( hooks ) {
var stop = hooks.stop;
delete hooks.stop;
stop( gotoEnd );
Function on
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
var type, origFn;
// Types can be a map of types/handlers
if ( typeof types === "object" ) {
Function extend
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.extend = jQuery.fn.extend = function() {
var src, copyIsArray, copy, name, options, clone,
target = arguments[0] || {},
i = 1,
length = arguments.length,