drapergeek/campmaster

View on GitHub

Showing 2 of 2 total issues

Method all has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def self.all
  [
    ['AK', 'AK'],
    ['AL', 'AL'],
    ['AR', 'AR'],
Severity: Major
Found in lib/state.rb - About 2 hrs to fix

    Function prefilledInput has 35 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      $.fn.prefilledInput = function() {
    
        var focus = function () {
          $(this).removeClass('prefilled');
          if (this.value == this.prefilledValue) {
    Severity: Minor
    Found in app/assets/javascripts/prefilled_input.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language