Showing 1,485 of 3,294 total issues
Function render
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render: function () {
var entry = this.props.entry,
nodeClass,
childNodes,
children = entry.get("children"),
Function setMatcher
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
if ( postFilter && !postFilter[ expando ] ) {
postFilter = setMatcher( postFilter );
}
if ( postFinder && !postFinder[ expando ] ) {
File main.js
has 276 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* Copyright (c) 2015 - 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 validateCallback
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function validateCallback(err, validationResult) {
validationResult.localPath = packagePath;
// This is a wrapper for the callback that will delete the temporary
// directory to which the package was unzipped.
Function insertHint
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
PrefsCodeHints.prototype.insertHint = function (completion) {
var ctxInfo = JSONUtils.getContextInfo(this.editor, this.editor.getCursorPos(), false, true),
pos = this.editor.getCursorPos(),
start = {line: -1, ch: -1},
end = {line: -1, ch: -1},
Function CSSPreprocessorDocumentModule
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
define(function CSSPreprocessorDocumentModule(require, exports, module) {
"use strict";
var _ = require("thirdparty/lodash"),
EventDispatcher = require("utils/EventDispatcher"),
Function init
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init: function( selector, context, rootjQuery ) {
var match, elem, ret, doc;
// Handle $(""), $(null), or $(undefined)
if ( !selector ) {
Function _receive
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
NodeConnection.prototype._receive = function (message) {
var responseDeferred = null;
var data = message.data;
var m;
File FindUtils.js
has 275 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* Copyright (c) 2014 - 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"),
Method writeDocument
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def writeDocument
@out.write <<-eos
<!DOCTYPE html>
<html>
<head>
Function getParameterHint
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Session.prototype.getParameterHint = function () {
var fnHint = this.fnType,
cursor = this.getCursor(),
token = this.getToken(this.functionCallPos),
start = {line: this.functionCallPos.line, ch: token.start},
Function bounce
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.effect.bounce = function( o, done ) {
var el = $( this ),
props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
// defaults:
Function _getRuleInfoStartingFromPropValue
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _getRuleInfoStartingFromPropValue(ctx, editorParam) {
var editor = editorParam._codeMirror || editorParam,
contextDoc = editor.document || editor.doc,
propNamePos = $.extend({}, ctx.pos),
backwardPos = $.extend({}, ctx.pos),
Function validatePackageJSON
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function validatePackageJSON(path, packageJSON, options, callback) {
var errors = [];
if (fs.existsSync(packageJSON)) {
fs.readFile(packageJSON, {
encoding: "utf8"
Function doMultipleEdits
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Document.prototype.doMultipleEdits = function (edits, origin) {
var self = this;
// Sort the edits backwards, so we don't have to adjust the edit positions as we go along
// (though we do have to adjust the selection positions).
Function _closeList
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _closeList(list, promptOnly, _forceClose) {
var result = new $.Deferred(),
unsavedDocs = [];
list.forEach(function (file) {
Function _doSaveAfterSaveDialog
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _doSaveAfterSaveDialog(path) {
var newFile;
// Reconstruct old doc's editor's view state, & finally resolve overall promise
function _configureEditorAndResolve() {
Function _finishReplaceBatch
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _finishReplaceBatch(model) {
var replaceText = model.replaceText;
if (replaceText === null) {
return;
}
File main.js
has 271 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 _installUsingDragAndDrop
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _installUsingDragAndDrop() {
var installZips = [],
updateZips = [],
deferred = new $.Deferred(),
validatePromise;