Showing 1,485 of 3,294 total issues
Function slide
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.effect.slide = function( o, done ) {
// Create element
var el = $( this ),
props = [ "position", "top", "bottom", "left", "right", "width", "height" ],
Function drop
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.effect.drop = function( o, done ) {
var el = $( this ),
props = [ "position", "top", "bottom", "left", "right", "opacity", "height", "width" ],
mode = $.effects.setMode( el, o.mode || "hide" ),
Function jsonObject
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function jsonObject() {
var o = {}, t = nexttoken;
advance('{');
if (nexttoken.id !== '}') {
for (;;) {
Function watch
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
FileSystem.prototype.watch = function (entry, filter, filterGlobs, callback) {
// make filterGlobs an optional argument to stay backwards compatible
if (typeof callback === "undefined" && typeof filterGlobs === "function") {
callback = filterGlobs;
filterGlobs = null;
Function fileOpened
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function fileOpened(filePath, addedToWorkingSet, encoding) {
if (!shouldLogHealthData()) {
return;
}
var fileExtension = FileUtils.getFileExtension(filePath),
Function checkDoc
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function checkDoc(doc) {
var result = new $.Deferred();
// Check file timestamp / existence
Function _getImportUrlInfo
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _getImportUrlInfo(ctx, editor) {
var backwardPos = $.extend({}, ctx.pos),
forwardPos = $.extend({}, ctx.pos),
backwardCtx,
forwardCtx,
Function _loadAndSetMode
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Language.prototype._loadAndSetMode = function (mode) {
var result = new $.Deferred(),
self = this,
mimeMode; // Mode can be an array specifying a mode plus a MIME mode defined by that mode ["clike", "text/x-c++src"]
Function takeWhileFactory
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function takeWhileFactory(iterable, predicate, context) {
var takeSequence = makeSequence(iterable);
takeSequence.__iterateUncached = function(fn, reverse) {var this$0 = this;
if (reverse) {
return this.cacheResult().__iterate(fn, reverse);
Function ajaxHandleResponses
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ajaxHandleResponses( s, jqXHR, responses ) {
var ct, type, finalDataType, firstDataType,
contents = s.contents,
dataTypes = s.dataTypes;
Function getDocumentForPath
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getDocumentForPath(fullPath, fileObj) {
var doc = getOpenDocumentForPath(fullPath);
if (doc) {
// use existing document
Function prioritizeOpenFile
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
SearchModel.prototype.prioritizeOpenFile = function (firstFile) {
var workingSetFiles = MainViewManager.getWorkingSet(MainViewManager.ALL_PANES),
workingSetFileFound = {},
fileSetWithoutWorkingSet = [],
startingWorkingFileSet = [],
Function doSearch
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function doSearch(searchObject, nextPages) {
savedSearchObject = searchObject;
if (!files) {
console.log("no file object found");
Function _openInlineWidget
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _openInlineWidget(editor, providers, defaultErrorMsg) {
PerfUtils.markStart(PerfUtils.INLINE_WIDGET_OPEN);
// Run through inline-editor providers until one responds
var pos = editor.getCursorPos(),
Function formatParameterHint
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function formatParameterHint(params, appendSeparators, appendParameter, typesOnly) {
var result = "",
pendingOptional = false;
params.forEach(function (value, i) {
Function _mapKeycodeToKey
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _mapKeycodeToKey(keycode, key) {
// If keycode represents one of the digit keys (0-9), then return the corresponding digit
// by subtracting KeyEvent.DOM_VK_0 from keycode. ie. [48-57] --> [0-9]
if (keycode >= KeyEvent.DOM_VK_0 && keycode <= KeyEvent.DOM_VK_9) {
return String(keycode - KeyEvent.DOM_VK_0);
Function formatParameterHint
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function formatParameterHint(params, appendSeparators, appendParameter, typesOnly) {
var result = "",
pendingOptional = false;
params.forEach(function (value, i) {
Function rewrite
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function rewrite(req, res, next) {
var location = {pathname: parse(req).pathname},
hasListener = _rewritePaths[pathKey] && _rewritePaths[pathKey][location.pathname],
requestId = _filterRequestCounter++,
timeoutId;
Function getParameterHints
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
JSParameterHintsProvider.prototype.getParameterHints = function (explicit, onCursorActivity) {
var functionInfo = this.session.getFunctionInfo(),
result = null;
if (!onCursorActivity) {
Function _getParameterHint
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
JSParameterHintsProvider.prototype._getParameterHint = function (pushExistingHint, hint, functionInfo) {
var result = $.Deferred();
functionInfo = functionInfo || this.session.getFunctionInfo();
if (!functionInfo.inFunctionCall) {
this.cleanHintState();