ari/jobsworth

View on GitHub
app/assets/javascripts/calendar.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function eventDrop has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

        eventDrop: function (event, dayDelta, minuteDelta, allDay, revertFunc, jsEvent, ui, view) {
Severity: Major
Found in app/assets/javascripts/calendar.js - About 1 hr to fix

    Function eventResize has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            eventResize: function (event, dayDelta, minuteDelta, revertFunc, jsEvent, ui, view) {
    Severity: Major
    Found in app/assets/javascripts/calendar.js - About 50 mins to fix

      Function select has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              select: function (start, end, allDay, jsEvent, view, resource) {
      Severity: Minor
      Found in app/assets/javascripts/calendar.js - About 45 mins to fix

        There are no issues that match your filters.

        Category
        Status