roperzh/jroff

View on GitHub

Showing 3 of 8 total issues

File jroff.js has 1047 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/**
 * Jroff 0.0.1 <http://roperzh.github.io/jroff.js>
 * Copyright (c)2015 Roberto Dip <http://roperzh.com>
 * @license Distributed under MIT license
 * @module Jroff
Severity: Major
Found in dist/jroff.js - About 2 days to fix

    Function It has 53 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        It: function (args) {
          var list = this.buffer.lists[0],
            pre = list.isOpen ? '</span></li>' : '',
            tagStyles = '',
            tag = '',
    Severity: Major
    Found in dist/jroff.js - About 2 hrs to fix

      Function Dt has 29 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          Dt: function (args) {
            var sideText,
              midText,
              title,
              section,
      Severity: Minor
      Found in dist/jroff.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language