Showing 1,006 of 6,062 total issues
Consider simplifying this complex logical expression. Open
Open
if (hlSpotsEnabled || options.get('spotColor') ||
(options.get('minSpotColor') || options.get('maxSpotColor') &&
(yvalues[yvallast] === this.miny || yvalues[yvallast] === this.maxy))) {
canvasWidth -= Math.ceil(spotRadius);
}
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if (out.initialPreview !== undefined && out.initialPreview.length > 0) {
self.hasInitData = true;
content = out.initialPreview || [];
config = out.initialPreviewConfig || [];
tags = out.initialPreviewThumbTags || [];
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
unless candidates.empty?
match = candidates.find { |b| b =~ /^wwn-/ } ||
candidates.find { |b| b =~ /^scsi-[a-zA-Z]/ } ||
candidates.find { |b| b =~ /^scsi-[^1]/ } ||
candidates.find { |b| b =~ /^scsi-/ } ||
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
unless bootdisks.empty?
# SLE11 SP3 generates so-called "MSFT compatibility links"
# that start with scsi-1. Skip those, as those are less
# reusable than the normal links.
# Note: this find construct should match the code in
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if meta
# For some disk (e.g. virtio without serial number on SLE12)
# meta["disks"] is empty. In that case we can't get a "more unique"
# name than "vdX"
return "/dev/#{device}" unless meta["disks"]
- Create a ticketCreate a ticket
Function add
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
add: function( elem, types, handler, data, selector ) {
- Create a ticketCreate a ticket
Function updateLines
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function updateLines(from, to, newText, selFrom, selTo) {
- Create a ticketCreate a ticket
Function superMatcher
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
superMatcher = function( seed, context, xml, results, outermost ) {
- Create a ticketCreate a ticket
Function updateLinesNoUndo
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function updateLinesNoUndo(from, to, newText, selFrom, selTo) {
- Create a ticketCreate a ticket
Function augmentWidthOrHeight
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
- Create a ticketCreate a ticket
Function on
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
- Create a ticketCreate a ticket
Function parseJS
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function parseJS(state, style, type, content, stream) {
- Create a ticketCreate a ticket
Function remove
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
remove: function( elem, types, handler, selector, mappedTypes ) {
- Create a ticketCreate a ticket
Function Tween
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function Tween( elem, options, prop, end, easing ) {
- Create a ticketCreate a ticket
Function CHILD
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
"CHILD": function( type, what, argument, first, last ) {
- Create a ticketCreate a ticket
Function condense
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function condense( unmatched, map, filter, context, xml ) {
- Create a ticketCreate a ticket
Function _dialogDatepicker
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_dialogDatepicker: function(input, date, onSelect, settings, pos) {
- Create a ticketCreate a ticket
Function switchClass
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
switchClass: function( remove, add, speed, easing, callback) {
- Create a ticketCreate a ticket
Function init
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
init: function (el, values, options, width, height) {
- Create a ticketCreate a ticket
Function add
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
jQuery.event.add = function( elem, types, handler, data, selector ){
- Create a ticketCreate a ticket