app/assets/javascripts/iqvoc/create_note.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function createNote has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

IQVOC.createNote = (function ($) {

  var createNote = function(ev) {
    var addButton = $(this);
    var container = addButton.closest("fieldset");
Severity: Minor
Found in app/assets/javascripts/iqvoc/create_note.js - About 1 hr to fix

    Function createNote has 37 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      var createNote = function(ev) {
        var addButton = $(this);
        var container = addButton.closest("fieldset");
        var source = $("ol li:last-child", container);
        var inputSelector = "input, select, textarea";
    Severity: Minor
    Found in app/assets/javascripts/iqvoc/create_note.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status