Showing 197 of 206 total issues
Function has a complexity of 10. Open
var Datepicker = function(element, options){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Function init
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
function init() { $('.yt_link').on('click', selectVideo); $('#skills').tags({ readOnly: false,
- Create a ticketCreate a ticket
Function initialize
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
initialize: function initialize(o, datasets) { var www; datasets = _.isArray(datasets) ? datasets : [].slice.call(arguments, 1); o = o || {}; www = WWW(o.classNames);
- Create a ticketCreate a ticket
Method '_setDate' has a complexity of 9. Open
_setDate: function(date, which){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Method '_toggle_multidate' has a complexity of 9. Open
_toggle_multidate: function(date){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Function _fill_yearsView
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
_fill_yearsView: function(selector, cssClass, factor, year, startYear, endYear, beforeFn){ var html = ''; var step = factor / 10; var view = this.picker.find(selector); var startVal = Math.floor(year / factor) * factor;
- Create a ticketCreate a ticket
Method 'formatDate' has a complexity of 8. Open
formatDate: function(date, format, language){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Method 'moveMonth' has a complexity of 8. Open
moveMonth: function(date, dir){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Method 'dateUpdated' has a complexity of 8. Open
dateUpdated: function(e){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Function 'Typeahead' has too many statements (32). Maximum allowed is 30. Open
function Typeahead(o, www) {
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Function EventCountdown
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
function EventCountdown() { var countdownClock, eventName, eventTime, eventDuration, eventUrl, textToAppend; var self = this; this.format = function(num) {
- Create a ticketCreate a ticket
Function Status
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
var Status = function() { "use strict"; function Status(options) { this.$el = $("<span></span>", { role: "status",
- Create a ticketCreate a ticket
Function attach
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
function attach() { var $input, $wrapper, $hint, $menu, defaultHint, defaultMenu, eventBus, input, menu, status, typeahead, MenuConstructor; _.each(datasets, function(d) { d.highlight = !!o.highlight; });
- Create a ticketCreate a ticket
Function has a complexity of 7. Open
$.each(months, function(i, month){
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Function has a complexity of 7. Open
NProgress.getPositioningCSS = function() {
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Function 'attach' has a complexity of 7. Open
function attach() {
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Method 'moveCursor' has a complexity of 7. Open
moveCursor: function moveCursor(delta) {
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Function buildCss
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
function buildCss() { var css = { wrapper: { position: "relative", display: "inline-block"
- Create a ticketCreate a ticket
Function click
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
click: function(e){ e.preventDefault(); e.stopPropagation(); var target, dir, day, year, month;
- Create a ticketCreate a ticket
Function DefaultMenu
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
var DefaultMenu = function() { "use strict"; var s = Menu.prototype; function DefaultMenu() { Menu.apply(this, [].slice.call(arguments, 0));
- Create a ticketCreate a ticket