publiclab/plots2

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

Summary

Maintainability
A
3 hrs
Test Coverage

File validation.js has 272 lines of code (exceeds 250 allowed). Consider refactoring.
Open

$(document).ready(function() {
  $("#edit-form").validate({
    rules: {
      'user[email]': {
        required: true,
Severity: Minor
Found in app/assets/javascripts/validation.js - About 2 hrs to fix

Function SignUpFormValidator has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function SignUpFormValidator(formClass) {
  var signUpForm = document.querySelector(formClass);

  if (!signUpForm) return;

Severity: Minor
Found in app/assets/javascripts/validation.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status