Showing 1,485 of 3,294 total issues
Function Sizzle
has 108 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Sizzle = function( selector, context, results, seed ) {
results = results || [];
context = context || document;
var origContext = context;
Function _init
has 107 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _init() {
$cursorInfo = $("#status-cursor");
$fileInfo = $("#status-file");
$indentType = $("#indent-type");
Function string
has 107 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function string(x) {
var c, j, r = '', allowNewLine = false;
if (jsonmode && x !== '"') {
warningAt("Strings must use doublequote.",
Function _doSaveAs
has 107 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _doSaveAs(doc, settings) {
var origPath,
saveAsDefaultPath,
defaultName,
result = new $.Deferred();
File main.js
has 343 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
File RefactoringUtils.js
has 341 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* Copyright (c) 2013 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
File ServerUtils.js
has 337 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* Copyright (c) 2019 - present Adobe. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
Function _renderItem
has 102 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ExtensionManagerView.prototype._renderItem = function (entry, info) {
// Create a Mustache context object containing the entry data and our helper functions.
// Start with the basic info from the given entry, either the installation info or the
// registry info depending on what we're listing.
Function _graphicsFilePresentInProject
has 102 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _graphicsFilePresentInProject(isPresent) {
if (!isPresent) {
return;
}
Function getTagInfo
has 102 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getTagInfo(editor, constPos, isHtmlMode) {
// We're going to be changing pos a lot, but we don't want to mess up
// the pos the caller passed in so we use extend to make a safe copy of it.
var pos = $.extend({}, constPos),
ctx = TokenUtils.getInitialContext(editor._codeMirror, pos),
Function labelled
has 101 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
blockstmt('switch', function () {
var t = nexttoken,
g = false;
funct['(breakage)'] += 1;
advance('(');
File brackets.js
has 335 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
File NavigationProvider.js
has 334 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* Copyright (c) 2017 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
Function addMenuItem
has 100 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Menu.prototype.addMenuItem = function (command, keyBindings, position, relativeID) {
var menuID = this.id,
id,
$menuItem,
menuItem,
Consider simplifying this complex logical expression. Open
Open
if(!((l-d < x1 && x1 < r+d && t-d < y1 && y1 < b+d) || (l-d < x1 && x1 < r+d && t-d < y2 && y2 < b+d) || (l-d < x2 && x2 < r+d && t-d < y1 && y1 < b+d) || (l-d < x2 && x2 < r+d && t-d < y2 && y2 < b+d))) {
if(inst.snapElements[i].snapping) (inst.options.snap.release && inst.options.snap.release.call(inst.element, event, $.extend(inst._uiHash(), { snapItem: inst.snapElements[i].item })));
inst.snapElements[i].snapping = false;
continue;
}
File Gruntfile.js
has 333 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* Copyright (c) 2013 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
File DocumentManager.js
has 332 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
Function _loadProject
has 99 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _loadProject(rootPath, isUpdating) {
var result = new $.Deferred(),
startLoad = new $.Deferred();
// Some legacy code calls this API with a non-canonical path
Function defaultPrefilter
has 99 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function defaultPrefilter( elem, props, opts ) {
/* jshint validthis: true */
var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay,
anim = this,
orig = {},
Function _addBinding
has 98 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _addBinding(commandID, keyBinding, platform, userBindings) {
var key,
result = null,
normalized,
normalizedDisplay,