Showing 197 of 206 total issues
Method 'parseDate' has too many statements (43). Maximum allowed is 30. Open
parseDate: function(date, format, language, assumeNearby){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Class User
has 27 methods (exceeds 20 allowed). Consider refactoring. Open
class User < ApplicationRecord acts_as_paranoid include Filterable
- Create a ticketCreate a ticket
Function _buildEvents
has 78 lines of code (exceeds 25 allowed). Consider refactoring. Open
_buildEvents: function(){ var events = { keyup: $.proxy(function(e){ if ($.inArray(e.keyCode, [27, 37, 39, 38, 40, 32, 13, 9]) === -1) this.update();
- Create a ticketCreate a ticket
Method 'parseDate' has a complexity of 18. Open
parseDate: function(date, format, language, assumeNearby){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Function place
has 73 lines of code (exceeds 25 allowed). Consider refactoring. Open
place: function(){ if (this.isInline) return this; var calendarWidth = this.picker.outerWidth(), calendarHeight = this.picker.outerHeight(),
- Create a ticketCreate a ticket
Method 'getClassNames' has a complexity of 16. Open
getClassNames: function(date){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Method 'place' has a complexity of 16. Open
place: function(){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Method '_fill_yearsView' has a complexity of 16. Open
_fill_yearsView: function(selector, cssClass, factor, year, startYear, endYear, beforeFn){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Method 'update' has a complexity of 14. Open
update: function(){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Method 'click' has a complexity of 13. Open
click: function(e){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
File nprogress.js
has 270 lines of code (exceeds 250 allowed). Consider refactoring. Open
/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT */ ;(function(root, factory) {
- Create a ticketCreate a ticket
Function has too many statements (36). Maximum allowed is 30. Open
var Datepicker = function(element, options){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Function 'Dataset' has a complexity of 12. Open
function Dataset(o, www) {
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Function update
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
update: function(){ if (!this._allow_update) return this; var oldDates = this.dates.copy(),
- Create a ticketCreate a ticket
Method '_fill_yearsView' has too many statements (35). Maximum allowed is 30. Open
_fill_yearsView: function(selector, cssClass, factor, year, startYear, endYear, beforeFn){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Method 'place' has too many statements (35). Maximum allowed is 30. Open
place: function(){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Method 'updateNavArrows' has a complexity of 11. Open
updateNavArrows: function(){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Method 'keydown' has too many statements (35). Maximum allowed is 30. Open
keydown: function(e){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Function WebsiteOne
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
(function() { var modules = [], newPageLoaded = false, runOnceCallbacks = {}, moduleFactories = {};
- Create a ticketCreate a ticket
Function Datepicker
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
var Datepicker = function(element, options){ $.data(element, 'datepicker', this); this._events = []; this._secondaryEvents = [];
- Create a ticketCreate a ticket