codefirst/AsakusaSatellite

View on GitHub
app/assets/javascripts/jquery-textcomplete.js

Summary

Maintainability
C
1 day
Test Coverage

Function Completer has 120 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  var Completer = (function () {
    var html, css;

    html = {
      wrapper: '<div class="textcomplete-wrapper"></div>',
Severity: Major
Found in app/assets/javascripts/jquery-textcomplete.js - About 4 hrs to fix

    Function ListView has 86 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      var ListView = (function () {
    
        function ListView($el, completer) {
          this.$el = $el;
          this.index = 0;
    Severity: Major
    Found in app/assets/javascripts/jquery-textcomplete.js - About 3 hrs to fix

      File jquery-textcomplete.js has 264 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /**
       * jQuery.textcomplete.js
       *
       * Repositiory: https://github.com/yuku-t/jquery-textcomplete
       * License:     MIT
      Severity: Minor
      Found in app/assets/javascripts/jquery-textcomplete.js - About 2 hrs to fix

        There are no issues that match your filters.

        Category
        Status