Showing 1,485 of 3,294 total issues
Function _create
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function() {
var accordionId = this.accordionId = "ui-accordion-" +
(this.element.attr( "id" ) || ++uid),
options = this.options;
Function parseFloat
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Globalize.parseFloat = function( value, radix, cultureSelector ) {
// radix argument is optional
if ( typeof radix !== "number" ) {
cultureSelector = radix;
radix = 10;
File ExtensionManagerViewModel.js
has 292 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"),
Function apply
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
DOMEditHandler.prototype.apply = function (edits) {
var targetID,
targetElement,
childElement,
self = this;
Function doJumpToDef
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
JSJumpToDefProvider.prototype.doJumpToDef = function () {
var offset,
handleJumpResponse;
Function Datepicker
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Datepicker() {
this.debug = false; // Change this to true to start debugging
this._curInst = null; // The current instance in use
this._keyEvent = false; // If the last event was a key event
this._disabledInputs = []; // List of date picker inputs that have been disabled
Consider simplifying this complex logical expression. Open
Open
if ( "getBoundingClientRect" in document.documentElement ) {
getOffset = function( elem, doc, docElem, box ) {
try {
box = elem.getBoundingClientRect();
} catch(e) {}
Function getContextInfo
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getContextInfo(editor, constPos, requireParent, requireNextToken) {
var pos, ctx, ctxPrev, ctxNext, offset, keyName, valueName, parentKeyName,
isArray, exclusionList, hasColon, hasComma, hasBracket, shouldReplace;
pos = $.extend({}, constPos);
Function _parseSelector
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _parseSelector(start, level) {
currentSelector = "";
selectorStartChar = start;
selectorStartLine = line;
Function Sizzle
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Sizzle( selector, context, results, seed ) {
var match, elem, m, nodeType,
// QSA vars
i, groups, old, nid, newContext, newSelector;
Function _keydownHook
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
InlineMenu.prototype._keydownHook = function (event) {
var keyCode,
self = this;
// positive distance rotates down; negative distance rotates up
File strings.js
has 290 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"),
Function handleRename
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function handleRename() {
var editor = EditorManager.getActiveEditor(),
offset, handleFindRefs, token;
if (!editor) {
Function analyzeCode
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function analyzeCode(text, scopes, srcScope, destScope, start, end) {
var identifiers = {},
inThisScope = {},
thisPointerUsed = false,
returnStatementUsed = false,
File CodeHintList.js
has 289 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 checkForUpdate
has 73 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function checkForUpdate(force, _testValues) {
// This is the last version we notified the user about. If checkForUpdate()
// is called with "false", only show the update notification dialog if there
// is an update newer than this one. This value is saved in preferences.
var lastNotifiedBuildNumber = PreferencesManager.getViewState("lastNotifiedBuildNumber");
Function _cmdInstall
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _cmdInstall(packagePath, destinationDirectory, options, callback, pCallback, _doUpdate) {
if (!options || !options.disabledDirectory || !options.apiVersion || !options.systemExtensionDirectory) {
callback(new Error(Errors.MISSING_REQUIRED_OPTIONS), null);
return;
}
Function _getAutoInstallFiles
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _getAutoInstallFiles(dirPath, autoExtensions) {
var zipFiles = [],
installZips = [],
updateZips = [],
deferred = new $.Deferred();
Function getHints
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
PrefsCodeHints.prototype.getHints = function (implicitChar) {
var hints = [], ctxInfo, query, keys, values, option = {type: null, description: null, values: null};
ctxInfo = this.ctxInfo = JSONUtils.getContextInfo(this.editor, this.editor.getCursorPos(), true);
Function getHints
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
CodeHintsProvider.prototype.getHints = function (implicitChar) {
if (!this.defaultCodeHintProviders.client) {
return null;
}