inderpartap/Bunk-O-Meter

View on GitHub
static/assets/js/bootstrap-checkbox-radio-switch.js

Summary

Maintainability
C
1 day
Test Coverage

Function init has 143 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      init: function () {
        return this.each(function () {
            var $element = $(this)
              , $div
              , $switchLeft
Severity: Major
Found in static/assets/js/bootstrap-checkbox-radio-switch.js - About 5 hrs to fix

    File bootstrap-checkbox-radio-switch.js has 357 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    !function ($) {
    
     /* CHECKBOX PUBLIC CLASS DEFINITION
      * ============================== */
    
    
    Severity: Minor
    Found in static/assets/js/bootstrap-checkbox-radio-switch.js - About 4 hrs to fix

      There are no issues that match your filters.

      Category
      Status