Showing 1,485 of 3,294 total issues
File Document.js
has 330 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 _showFindBar
has 98 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _showFindBar(scope, showReplace) {
FindUtils.notifySearchScopeChanged();
// If the scope is a file with a custom viewer, then we
// don't show find in files dialog.
if (scope && !EditorManager.canOpenPath(scope.fullPath)) {
Function init
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init() {
CodeMirror.defineExtension("foldCode", function (pos, options, force) {
return doFold(this, pos, options, force);
});
File Package.js
has 327 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 HTMLSimpleDOM.js
has 327 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"),
Function doOption
has 96 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function doOption() {
var b, obj, filter, o = nexttoken.value, t, v;
switch (o) {
case '*/':
error("Unbegun comment.");
Function matchOne
has 96 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Minimatch.prototype.matchOne = function (file, pattern, partial) {
var options = this.options
if (options.debug) {
console.error("matchOne",
File EditorManager.js
has 326 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 clean
has 95 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
clean: function( elems, context, fragment, scripts ) {
var checkScriptType, script, j,
ret = [];
context = context || document;
Function setListBounds
has 95 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setListBounds(list, begin, end) {
// Sanitize begin & end using this shorthand for ToInt32(argument)
// http://www.ecma-international.org/ecma-262/6.0/#sec-toint32
if (begin !== undefined) {
begin = begin | 0;
Function _onReady
has 95 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _onReady() {
PerfUtils.addMeasurement("window.document Ready");
// Let the user know Brackets doesn't run in a web browser yet
if (brackets.inBrowser) {
Function trigger
has 94 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
trigger: function( event, data, elem, onlyHandlers ) {
// Don't do events on text and comment nodes
if ( elem && (elem.nodeType === 3 || elem.nodeType === 8) ) {
return;
}
Function animate
has 94 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
animate: function( prop, speed, easing, callback ) {
var optall = jQuery.speed( speed, easing, callback );
if ( jQuery.isEmptyObject( prop ) ) {
return this.each( optall.complete, [ false ] );
File FileFilters.js
has 323 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"),
File NodeConnection.js
has 322 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 getHintResponse
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getHintResponse(hints, query, type) {
var trimmedQuery,
formattedHints;
Function RemoteAgent
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
define(function RemoteAgent(require, exports, module) {
"use strict";
var LiveDevelopment = require("LiveDevelopment/LiveDevelopment"),
EventDispatcher = require("utils/EventDispatcher"),
Function _create
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function() {
var that = this, o = this.options;
this.element.addClass("ui-resizable");
Function extract
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function extract(ast, text, scopes, srcScope, destScope, start, end, isExpression) {
var retObj = analyzeCode(text, scopes, srcScope, destScope, start, end),
passParams = retObj.passParams,
retParams = retObj.retParams,
thisPointerUsed = retObj.thisPointerUsed,
File FindInFilesUI.js
has 321 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"),