Showing 1,485 of 3,294 total issues
Function ajax
has 240 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ajax: function( url, options ) {
// If url is an object, simulate pre-1.5 signature
if ( typeof url === "object" ) {
options = url;
File jquery.ui.resizable.js
has 564 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* jQuery UI Resizable @VERSION
*
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
File main.js
has 562 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* Copyright (c) 2016 - 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 main.js
has 556 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 LanguageManager.js
has 553 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"),
File jquery.effects.core.js
has 545 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* jQuery UI Effects @VERSION
*
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
File main.js
has 541 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 _showDialog
has 223 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _showDialog() {
var dialog,
$dlg,
views = [],
$search,
File ExtensionManager.js
has 532 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 strings.js
has 532 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 HTMLDocumentModule
has a Cognitive Complexity of 56 (exceeds 5 allowed). Consider refactoring. Open
Open
define(function HTMLDocumentModule(require, exports, module) {
"use strict";
var EditorManager = require("editor/EditorManager"),
EventDispatcher = require("utils/EventDispatcher"),
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function setDocument
has 218 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setDocument = Sizzle.setDocument = function( node ) {
var hasCompare, parent,
doc = node ? node.ownerDocument || node : preferredDoc;
// If no document and documentElement is available, return
Function DOMAgent
has 214 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
define(function DOMAgent(require, exports, module) {
"use strict";
var Inspector = require("LiveDevelopment/Inspector/Inspector"),
EventDispatcher = require("utils/EventDispatcher"),
File main.js
has 520 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 jquery.ui.slider.js
has 520 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* jQuery UI Slider @VERSION
*
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
Function generateChildEdits
has 211 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var generateChildEdits = function (oldParent, oldNodeMap, newParent, newNodeMap) {
/*jslint continue: true */
var newIndex = 0,
oldIndex = 0,
Function exports
has 209 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (grunt) {
var child_process = require("child_process"),
http = require("http"),
https = require("https"),
build = {},
Function Inspector
has a Cognitive Complexity of 53 (exceeds 5 allowed). Consider refactoring. Open
Open
define(function Inspector(require, exports, module) {
"use strict";
var Async = require("utils/Async"),
EventDispatcher = require("utils/EventDispatcher");
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function HTMLDocumentModule
has 206 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
define(function HTMLDocumentModule(require, exports, module) {
"use strict";
var EditorManager = require("editor/EditorManager"),
EventDispatcher = require("utils/EventDispatcher"),
File strings.js
has 508 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"),