Showing 6,856 of 14,752 total issues
Function d3_selection_on
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_selection_on(type, listener, capture) {
var name = "__on" + type, i = type.indexOf("."), wrap = d3_selection_onListener;
if (i > 0) type = type.substring(0, i);
var filter = d3_selection_onFilters.get(type);
if (filter) type = filter, wrap = d3_selection_onFilter;
- Create a ticketCreate a ticket
Function attr
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
d3_transitionPrototype.attr = function(nameNS, value) {
if (arguments.length < 2) {
for (value in nameNS) this.attr(value, nameNS[value]);
return this;
}
- Create a ticketCreate a ticket
Function _destroy
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_destroy: function() {
// Destroy (sub)menus
this.element
.removeAttr( "aria-activedescendant" )
.find( ".ui-menu" ).addBack()
- Create a ticketCreate a ticket
Function _mouseDrag
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseDrag: function(event) {
var data, props,
smp = this.originalMousePosition,
a = this.axis,
- Create a ticketCreate a ticket
Function _create
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function() {
var selectees,
that = this;
this.element.addClass("ui-selectable");
- Create a ticketCreate a ticket
Function _createWidget
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createWidget: function( options, element ) {
element = $( element || this.defaultElement || this )[ 0 ];
this.element = $( element );
this.uuid = widget_uuid++;
this.eventNamespace = "." + this.widgetName + this.uuid;
- Create a ticketCreate a ticket
Function diagonal
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
d3.svg.diagonal = function() {
var source = d3_source, target = d3_target, projection = d3_svg_diagonalProjection;
function diagonal(d, i) {
var p0 = source.call(this, d, i), p3 = target.call(this, d, i), m = (p0.y + p3.y) / 2, p = [ p0, {
x: p0.x,
- Create a ticketCreate a ticket
Function _initSource
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_initSource: function() {
var array, url,
that = this;
if ( $.isArray( this.options.source ) ) {
array = this.options.source;
- Create a ticketCreate a ticket
Function _createOverlay
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createOverlay: function() {
if ( !this.options.modal ) {
return;
}
- Create a ticketCreate a ticket
Function values
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
values: function( index, newValue ) {
var vals,
newValues,
i;
- Create a ticketCreate a ticket
Function transfer
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var effectTransfer = $.effects.effect.transfer = function( o, done ) {
var elem = $( this ),
target = $( o.to ),
targetFixed = target.css( "position" ) === "fixed",
body = $("body"),
- Create a ticketCreate a ticket
Function save_model
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function save_model(modelNumber) {
function create_measure_error_msg(measure_name) {
return "Goodness of Fitness (" + measure_name + "): Not a number";
}
- Create a ticketCreate a ticket
Function highlight
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var effectHighlight = $.effects.effect.highlight = function( o, done ) {
var elem = $( this ),
props = [ "backgroundImage", "backgroundColor", "opacity" ],
mode = $.effects.setMode( elem, o.mode || "show" ),
animation = {
- Create a ticketCreate a ticket
Function puff
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var effectPuff = $.effects.effect.puff = function( o, done ) {
var elem = $( this ),
mode = $.effects.setMode( elem, o.mode || "hide" ),
hide = mode === "hide",
percent = parseInt( o.percent, 10 ) || 150,
- Create a ticketCreate a ticket
Function _createPanels
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createPanels() {
let schema = schemas.genericModel;
return {
- Create a ticketCreate a ticket
Function _createPanels
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createPanels() {
let schema = schemas.exposureModel;
return {
- Create a ticketCreate a ticket
Function _createPanels
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createPanels() {
let schema = schemas.genericModel;
return {
- Create a ticketCreate a ticket
Function _createPanels
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createPanels() {
let schema = schemas.qraModel;
return {
- Create a ticketCreate a ticket
Function validateChildKeys
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function validateChildKeys(node, parentType) {
if (typeof node !== 'object') {
return;
}
if (Array.isArray(node)) {
- Create a ticketCreate a ticket
Function checkPosition
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Affix.prototype.checkPosition = function () {
if (!this.$element.is(':visible')) return
var height = this.$element.height()
var offset = this.options.offset
- Create a ticketCreate a ticket