Showing 1,485 of 3,294 total issues
Function getFunctionInfo
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Session.prototype.getFunctionInfo = function () {
var inFunctionCall = false,
cursor = this.getCursor(),
functionCallPos,
token = this.getToken(cursor),
Function open
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ContextMenu.prototype.open = function (mouseOrLocation) {
if (!this.parentMenuItem &&
(!mouseOrLocation || !mouseOrLocation.hasOwnProperty("pageX") || !mouseOrLocation.hasOwnProperty("pageY"))) {
console.error("ContextMenu open(): missing required parameter");
Function _getNotificationInformation
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _getNotificationInformation(_notificationInfoUrl) {
// Last time the versionInfoURL was fetched
var lastInfoURLFetchTime = PreferencesManager.getViewState("lastNotificationURLFetchTime");
var result = new $.Deferred();
Function keydown
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
keydown: function( event ) {
var allowed, curVal, newVal, step,
index = $( event.target ).data( "ui-slider-handle-index" );
switch ( event.keyCode ) {
Function ajaxConvert
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ajaxConvert( s, response ) {
// Apply the dataFilter if provided
if ( s.dataFilter ) {
response = s.dataFilter( response, s.dataType );
Function init
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init = jQuery.fn.init = function( selector, context ) {
var match, elem;
// HANDLE: $(""), $(null), $(undefined), $(false)
if ( !selector ) {
Function createWrapper
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
createWrapper: function( element ) {
// if the element is already wrapped, return it
if ( element.parent().is( ".ui-effects-wrapper" )) {
return element.parent();
Function hasHints
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
AttrHints.prototype.hasHints = function (editor, implicitChar) {
var pos = editor.getCursorPos(),
tokenType,
offset,
query;
Function ajaxConvert
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ajaxConvert( s, response, jqXHR, isSuccess ) {
var conv2, current, conv, tmp, prev,
converters = {},
// Work with a copy of dataTypes in case we need to modify it for conversion
dataTypes = s.dataTypes.slice();
Function updatePosition
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
, updatePosition: function () {
var pos
, actualWidth
, actualHeight
, paddingLeft
Function showModalDialogUsingTemplate
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function showModalDialogUsingTemplate(template, autoDismiss) {
if (autoDismiss === undefined) {
autoDismiss = true;
}
File HealthDataManager.js
has 259 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"),
File RegisterLanguageClientInfo.js
has 259 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* Copyright (c) 2019 - present Adobe. 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 initTernModule
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function initTernModule() {
var moduleDeferred = $.Deferred();
ternPromise = moduleDeferred.promise();
function prepareTern() {
Function generateInstrumentedHTML
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function generateInstrumentedHTML(editor, remoteScript) {
var doc = editor.document,
dom = scanDocument(doc),
orig = doc.getText(),
gen = "",
Function _mouseDrag
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseDrag: function(event) {
//Compute the helpers position
this.position = this._generatePosition(event);
this.positionAbs = this._convertPositionTo("absolute");
Function data
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
data: function( elem, name, data, pvt /* Internal Use Only */ ) {
if ( !jQuery.acceptData( elem ) ) {
return;
}
Function performRename
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ProjectModel.prototype.performRename = function () {
var renameInfo = this._selections.rename;
if (!renameInfo) {
return;
}
Function _addToScopeOrder
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_addToScopeOrder: function (id, scope, promise, addBefore) {
var shadowScopeOrder = this._defaults._shadowScopeOrder,
shadowEntry,
index,
isPending = false,
Function _doOpen
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _doOpen(fullPath, silent, paneId, options) {
var result = new $.Deferred();
// workaround for https://github.com/adobe/brackets/issues/6001
// TODO should be removed once bug is closed.