Showing 6,856 of 14,752 total issues
Consider simplifying this complex logical expression. Open
Open
if( (
(indep.min == undefined || indep.min == "" || indep.min == null) &&
(indep.max == undefined || indep.max == "" || indep.max == null) &&
(indep.value != undefined && indep.value !== "")
)
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if( (
(indep.min == undefined || indep.min == "" || indep.min == null) &&
(indep.max == undefined || indep.max == "" || indep.max == null) &&
(indep.value != undefined && indep.value !== "")
)
- Create a ticketCreate a ticket
Function chord
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
d3.svg.chord = function() {
var source = d3_source, target = d3_target, radius = d3_svg_chordRadius, startAngle = d3_svg_arcStartAngle, endAngle = d3_svg_arcEndAngle;
function chord(d, i) {
var s = subgroup(this, source, d, i), t = subgroup(this, target, d, i);
return "M" + s.p0 + arc(s.r, s.p1, s.a1 - s.a0) + (equals(s, t) ? curve(s.r, s.p1, s.r, s.p0) : curve(s.r, s.p1, t.r, t.p0) + arc(t.r, t.p1, t.a1 - t.a0) + curve(t.r, t.p1, s.r, s.p0)) + "Z";
- Create a ticketCreate a ticket
Function _makeResizable
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_makeResizable: function() {
var that = this,
options = this.options,
handles = options.resizable,
// .ui-resizable has position: relative defined in the stylesheet
- Create a ticketCreate a ticket
Function Display
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Display(place, doc, input) {
var d = this
this.input = input
// Covers bottom-right square when both scrollbars are present.
- Create a ticketCreate a ticket
Function animateClass
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.animateClass = function( value, duration, easing, callback ) {
var o = $.speed( duration, easing, callback );
return this.queue( function() {
var animated = $( this ),
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
} else if (
// if setext set, indicates line after ---/===
state.setext || (
// line before ---/===
(!allowsInlineContinuation || !prevLineIsList) && !state.quote && state.list === false &&
- Create a ticketCreate a ticket
Function onScrollWheel
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function onScrollWheel(cm, e) {
var delta = wheelEventDelta(e), dx = delta.x, dy = delta.y
var display = cm.display, scroll = display.scroller
// Quit if there's nothing to scroll here
- Create a ticketCreate a ticket
Function moveVisually
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function moveVisually(cm, line, start, dir) {
var bidi = getOrder(line, cm.doc.direction)
if (!bidi) { return moveLogically(line, start, dir) }
if (start.ch >= line.text.length) {
start.ch = line.text.length
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
} else if (ch === "*" || ch === "_") {
var len = 1, before = stream.pos == 1 ? " " : stream.string.charAt(stream.pos - 2)
while (len < 3 && stream.eat(ch)) len++
var after = stream.peek() || " "
// See http://spec.commonmark.org/0.27/#emphasis-and-strong-emphasis
- Create a ticketCreate a ticket
Function onScrollWheel
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function onScrollWheel(cm, e) {
var delta = wheelEventDelta(e), dx = delta.x, dy = delta.y
var display = cm.display, scroll = display.scroller
// Quit if there's nothing to scroll here
- Create a ticketCreate a ticket
Function Display
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Display(place, doc, input) {
var d = this
this.input = input
// Covers bottom-right square when both scrollbars are present.
- Create a ticketCreate a ticket
Function moveVisually
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function moveVisually(cm, line, start, dir) {
var bidi = getOrder(line, cm.doc.direction)
if (!bidi) { return moveLogically(line, start, dir) }
if (start.ch >= line.text.length) {
start.ch = line.text.length
- Create a ticketCreate a ticket
Function set
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
set: function(key, val, options) {
if (key == null) return this;
// Handle both `"key", value` and `{key: value}` -style arguments.
var attrs;
- Create a ticketCreate a ticket
Function baseIsEqualDeep
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function baseIsEqualDeep(object, other, equalFunc, customizer, isLoose, stackA, stackB) {
var objIsArr = isArray(object),
othIsArr = isArray(other),
objTag = arrayTag,
othTag = arrayTag;
- Create a ticketCreate a ticket
Function _normalizeIPv6
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _normalizeIPv6(host, protocol) {
var matches = host.match(protocol.IPV6ADDRESS) || [];
var _matches2 = slicedToArray(matches, 3),
address = _matches2[1],
- Create a ticketCreate a ticket
Method retrieveReference
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Reference retrieveReference(Row row) {
// Check mandatory properties and throw exception if missing
if (row.getCell(L).getCellType() != Cell.CELL_TYPE_STRING) {
throw new IllegalArgumentException("Missing Is reference description?");
- Create a ticketCreate a ticket
Method retrieveReference
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Reference retrieveReference(Row row) {
// Check mandatory properties and throw exception if missing
if (row.getCell(L).getCellType() != Cell.CELL_TYPE_STRING) {
throw new IllegalArgumentException("Missing Is reference description?");
- Create a ticketCreate a ticket
Method retrieveReference
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Reference retrieveReference(Row row) {
// Check mandatory properties and throw exception if missing
if (row.getCell(L).getCellType() != Cell.CELL_TYPE_STRING) {
throw new IllegalArgumentException("Missing Is reference description?");
- Create a ticketCreate a ticket
Method retrieveReference
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Reference retrieveReference(Row row) {
// Check mandatory properties and throw exception if missing
if (row.getCell(L).getCellType() != Cell.CELL_TYPE_STRING) {
throw new IllegalArgumentException("Missing Is reference description?");
- Create a ticketCreate a ticket