Showing 679 of 1,357 total issues
Function diff
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function diff(o, n){
var ns = new Object();
var os = new Object();
for (var i = 0; i < n.length; i++) {
Function domManip
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
domManip: function( args, table, callback ) {
var results, first, fragment, parent,
value = args[0],
scripts = [];
Function Deferred
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Deferred: function( func ) {
var deferred = jQuery._Deferred(),
failDeferred = jQuery._Deferred(),
promise;
// Add errorDeferred methods, then and promise
File build.rb
has 265 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
class Build
include CommandLine
class ConfigError < StandardError; end
Class BuilderPlugin
has 22 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class BuilderPlugin
attr_reader :project
def initialize(project)
@project = project
Function _mouseCapture
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseCapture: function( event ) {
var o = this.options,
position,
normValue,
distance,
Function _mouseCapture
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseCapture: function( event ) {
var o = this.options,
position,
normValue,
distance,
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 _generateMonthYearHeader
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
secondary, monthNames, monthNamesShort) {
var changeMonth = this._get(inst, 'changeMonth');
var changeYear = this._get(inst, 'changeYear');
var showMonthAfterYear = this._get(inst, 'showMonthAfterYear');
Function _generateMonthYearHeader
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
secondary, monthNames, monthNamesShort) {
var changeMonth = this._get(inst, 'changeMonth');
var changeYear = this._get(inst, 'changeYear');
var showMonthAfterYear = this._get(inst, 'showMonthAfterYear');
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 _refreshValue
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_refreshValue: function() {
var oRange = this.options.range,
o = this.options,
self = this,
animate = ( !this._animateOff ) ? o.animate : false,
Function _refreshValue
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_refreshValue: function() {
var oRange = this.options.range,
o = this.options,
self = this,
animate = ( !this._animateOff ) ? o.animate : false,
Function offset
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.fn.offset = function( options ) {
var elem = this[0];
if ( options ) {
return this.each(function( i ) {
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 _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 removeData
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
removeData: function( elem, name, pvt /* Internal Use Only */ ) {
if ( !jQuery.acceptData( elem ) ) {
return;
}
Function _setOption
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_setOption: function(key, value){
var self = this,
uiDialog = self.uiDialog;
switch (key) {
Function _setOption
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_setOption: function(key, value){
var self = this,
uiDialog = self.uiDialog;
switch (key) {