zxc23/dcss-scoreboard

View on GitHub
scoreboard/html_static/js/jquery.timeago.js

Summary

Maintainability
A
1 hr
Test Coverage

Function inWords has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    inWords: function(distanceMillis) {
      if (!this.settings.allowPast && ! this.settings.allowFuture) {
          throw 'timeago allowPast and allowFuture settings can not both be set to false.';
      }

Severity: Minor
Found in scoreboard/html_static/js/jquery.timeago.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status