Showing 552 of 784 total issues
Function onTouchEnd
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
FastClick.prototype.onTouchEnd = function(event) {
'use strict';
var forElement, trackingClickStart, targetTagName, scrollParent, touch, targetElement = this.targetElement;
if (!this.trackingClick) {
Function internalRemoveData
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function internalRemoveData( elem, name, pvt ) {
if ( !jQuery.acceptData( elem ) ) {
return;
}
Function internalRemoveData
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function internalRemoveData( elem, name, pvt ) {
if ( !jQuery.acceptData( elem ) ) {
return;
}
Function computeStats
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
computeStats: function(A) {
var u, z, t, x, B, D, C, s, y, q, v = {},
w = {},
r = 0;
if (!this.component_set) {
Function openDialog
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
openDialog: function(K, C, B, x, w, u, F) {
var E, D, G, z, y, q, r, t, I, v, s, A, H = this.modaldlg,
J = H.getElementsByTagName("div");
for (E = 0; E < J.length; E += 1) {
if (J[E].className && J[E].className.length > 0) {
Function updateProgressView
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
updateProgressView: function(q, v) {
var u, x, y, w, z, r, s, t, A = "";
if (this.curButtonId === "panel_about") {
z = this.getButtonView(this.curButtonId);
if (q === "peel") {
Function setComponentDetails
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
YSLOW.Component.prototype.setComponentDetails = function(s) {
var q = this,
r = function(v, t) {
var w;
q.status = t.status;
Function internalData
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function internalData( elem, name, data, pvt /* Internal Use Only */ ) {
if ( !jQuery.acceptData( elem ) ) {
return;
}
Function select
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
select = Sizzle.select = function( selector, context, results, seed ) {
var i, tokens, token, type, find,
compiled = typeof selector === "function" && selector,
match = !seed && tokenize( (selector = compiled.selector || selector) );
Function internalData
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function internalData( elem, name, data, pvt /* Internal Use Only */ ) {
if ( !jQuery.acceptData( elem ) ) {
return;
}
Function select
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
select = Sizzle.select = function( selector, context, results, seed ) {
var i, tokens, token, type, find,
compiled = typeof selector === "function" && selector,
match = !seed && tokenize( (selector = compiled.selector || selector) );
Method testHandleWithDatabaseActiveUrl
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testHandleWithDatabaseActiveUrl()
{
$urlFaker = factory(Url::class, 5)->create();
$project = Mockery::mock(Project::class)->makePartial();
Method testHandleWithDatabaseNotActiveUrl
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testHandleWithDatabaseNotActiveUrl()
{
$urlFaker = factory(Url::class, 5)->create();
$project = Mockery::mock(Project::class)->makePartial();
Function tokenize
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
tokenize = Sizzle.tokenize = function( selector, parseOnly ) {
var matched, match, tokens, type,
soFar, groups, preFilters,
cached = tokenCache[ selector + " " ];
Function matcherFromTokens
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function matcherFromTokens( tokens ) {
var checkContext, matcher, j,
len = tokens.length,
leadingRelative = Expr.relative[ tokens[0].type ],
implicitRelative = leadingRelative || Expr.relative[" "],
Function tokenize
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
tokenize = Sizzle.tokenize = function( selector, parseOnly ) {
var matched, match, tokens, type,
soFar, groups, preFilters,
cached = tokenCache[ selector + " " ];
Function matcherFromTokens
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function matcherFromTokens( tokens ) {
var checkContext, matcher, j,
len = tokens.length,
leadingRelative = Expr.relative[ tokens[0].type ],
implicitRelative = leadingRelative || Expr.relative[" "],
Method testHandleWithEmptyDatabase
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testHandleWithEmptyDatabase()
{
$project = Mockery::mock(Project::class)->makePartial();
$inspection = Mockery::mock(Inspection::class)->makePartial();
$crawler = Mockery::mock(CrawlerUrl::class)->shouldIgnoreMissing();
Function parse
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
sprintf.parse = function(fmt) {
var _fmt = fmt, match = [], parse_tree = [], arg_names = 0
while (_fmt) {
if ((match = re.text.exec(_fmt)) !== null) {
parse_tree[parse_tree.length] = match[0]
Function parse
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
sprintf.parse = function(fmt) {
var _fmt = fmt, match = [], parse_tree = [], arg_names = 0
while (_fmt) {
if ((match = re.text.exec(_fmt)) !== null) {
parse_tree[parse_tree.length] = match[0]