Showing 1,485 of 3,294 total issues
Function checkUpdateStatus
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function checkUpdateStatus() {
var filesToCache = ['.logs'],
downloadCompleted = updateJsonHandler.get("downloadCompleted"),
updateInitiatedInPrevSession = updateJsonHandler.get("updateInitiatedInPrevSession");
Function lintOneFile
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function lintOneFile(text, fullPath) {
// If a line contains only whitespace (here spaces or tabs), remove the whitespace
text = text.replace(/^[ \t]+$/gm, "");
var options = prefs.get("options");
Function _attachments
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_attachments: function(input, inst) {
var appendText = this._get(inst, 'appendText');
var isRTL = this._get(inst, 'isRTL');
if (inst.append)
inst.append.remove();
Function pulsate
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.effect.pulsate = function( o, done ) {
var elem = $( this ),
mode = $.effects.setMode( elem, o.mode || "show" ),
show = mode === "show",
hide = mode === "hide",
Function assignop
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function assignop(s, f) {
symbol(s, 20).exps = true;
return infix(s, function (left, that) {
var l;
that.left = left;
Function _resetButton
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_resetButton: function() {
if ( this.type === "input" ) {
if ( this.options.label ) {
this.element.val( this.options.label );
}
Function _open
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_open: function( event, target, content ) {
if ( !content ) {
return;
}
Function close
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
close: function( event ) {
var that = this,
maxZ, thisZ;
if ( !this._isOpen ) {
Function _toggle
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_toggle: function( data ) {
var toShow = data.newPanel,
toHide = this.prevShow.length ? this.prevShow : data.oldPanel;
// handle activating a panel during the animation for another activation
Function visit
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
FileSystemEntry.prototype.visit = function (visitor, options, callback) {
if (typeof options === "function") {
callback = options;
options = {};
} else {
Function _handleSelectionKeydown
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ColorEditor.prototype._handleSelectionKeydown = function (event) {
var hsv = {},
step = 1.5,
xOffset,
yOffset,
Function extractToVariable
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function extractToVariable(ast, start, end, text, scopes) {
var doc = session.editor.document,
editor = EditorManager.getActiveEditor(),
parentExpn = RefactoringUtils.getExpression(ast, start, end, doc.getText()),
expns = [],
Function access
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
var i = 0,
len = elems.length,
bulk = key == null;
Function showHide
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function showHide( elements, show ) {
var display, elem, hidden,
values = [],
index = 0,
length = elements.length;
Function _extractAttrVal
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _extractAttrVal(ctx) {
var attrValue = ctx.token.string,
startChar = attrValue.charAt(0),
endChar = attrValue.charAt(attrValue.length - 1),
offset = TokenUtils.offsetInToken(ctx),
Function _getSucceedingPropValues
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _getSucceedingPropValues(ctx, currentValue) {
var lastValue = currentValue,
propValues = [];
while (ctx.token.string !== ";" && ctx.token.string !== "}" && TokenUtils.moveNextToken(ctx)) {
Function dispatch
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
dispatch: function( event ) {
// Make a writable jQuery.Event from the native event object
event = jQuery.event.fix( event );
Function hashBytes
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
hashBytes: function(data, len, seed) {
var c1 = 0xcc9e2d51, c2 = 0x1b873593;
var h1 = seed;
var roundedEnd = len & ~0x3;
Function _openReferencesPanel
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _openReferencesPanel() {
var editor = EditorManager.getActiveEditor(),
pos = editor ? editor.getCursorPos() : null,
referencesPromise,
result = new $.Deferred(),
Function _handleNodeRuntime
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _handleNodeRuntime(serverOptions) {
function _getArguments(sOptions) {
var args = [];
if (sOptions.args) {