Showing 3,976 of 3,976 total issues
Function position
has 147 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.position = function( options ) {
if ( !options || !options.of ) {
return _position.apply( this, arguments );
}
Function position
has 147 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.position = function( options ) {
if ( !options || !options.of ) {
return _position.apply( this, arguments );
}
Function position
has 147 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.position = function( options ) {
if ( !options || !options.of ) {
return _position.apply( this, arguments );
}
Function position
has 147 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.position = function( options ) {
if ( !options || !options.of ) {
return _position.apply( this, arguments );
}
Function position
has 147 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.position = function( options ) {
if ( !options || !options.of ) {
return _position.apply( this, arguments );
}
File rating-2950cb0cc12371f1da3063a74d48d57a8fe49a8b17fe7bbcaf066b7b7e989c64.js
has 402 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* # Semantic - Rating
* http://github.com/semantic-org/semantic-ui/
*
*
Function xdsoftScroller
has 141 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.xdsoftScroller = function (percent) {
return this.each(function () {
var timeboxparent = $(this),
pointerEventToXY = function (e) {
var out = {x: 0, y: 0},
Function init
has 140 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init: function( target, options ) {
options = _legacyOptions( options );
// save the original ingredients
Function Suite
has 139 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getJasmineRequireObj().Suite = function(j$) {
function Suite(attrs) {
this.env = attrs.env;
this.id = attrs.id;
this.parentSuite = attrs.parentSuite;
Function pp
has 137 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getJasmineRequireObj().pp = function(j$) {
function PrettyPrinter() {
this.ppNestLevel_ = 0;
this.seen = [];
Function _enter
has 136 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_enter: function( callback ) {
fullscreen.active = true;
if ( IFRAME ) {
Function renderSection
has 135 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function renderSection(position) {
var sectionEl = $('<div class="fc-' + position + '"/>');
var options = calendar.options;
var buttonStr = options.header[position];
Function parse
has 135 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
parse: function parse(input) {
var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
var args = lstack.slice.call(arguments, 1);
var lexer = Object.create(this.lexer);
var sharedState = { yy: {} };
Assignment Branch Condition size for update is too high. [47.69/15] Open
Open
def update
@event = Event.find(params[:id])
if not @is_admin and @event.user != @current_user
flash[:notice] = "You may not edit another person's event."
redirect_to events_path
- Read upRead up
- Exclude checks
This cop checks that the ABC size of methods is not higher than the configured maximum. The ABC size is based on assignments, branches (method calls), and conditions. See http://c2.com/cgi/wiki?AbcMetric
Function _create
has 134 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function() {
var n, i, handle, axis, hname,
that = this,
o = this.options;
Function _create
has 134 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function() {
var n, i, handle, axis, hname,
that = this,
o = this.options;
Function _create
has 134 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function() {
var n, i, handle, axis, hname,
that = this,
o = this.options;
Method has too many lines. [41/10] Open
Open
def change
create_table :dogs do |t|
t.string :name
t.string :image
t.datetime :dob
- Read upRead up
- Exclude checks
This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.
Function _transitions
has 128 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_transitions = (function() {
var _slide = function(params, complete, fade, door) {
var easing = this.getOptions('easing'),
Function _create
has 128 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function() {
// for handling static scoping inside callbacks
var that = this;
// There are 2 kinds of DOM nodes this widget can be instantiated on: