kawamanza/dataguise

View on GitHub

Showing 3 of 3 total issues

Function compile has 96 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function compile(mask, options) {
        var narrow
          , translators
        ;
        if (typeof mask !== "string") return;
Severity: Major
Found in dataguise.js - About 3 hrs to fix

    Avoid deeply nested control flow statements.
    Open

                                if ( resetPos == -1) {
                                    resetPos = i;
                                } else if (i == lastMaskChar) {
                                    i = resetPos - offset;
                                }
    Severity: Major
    Found in dataguise.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                                  if (lastMaskChar == resetPos) i -= offset;
      Severity: Major
      Found in dataguise.js - About 45 mins to fix
        Severity
        Category
        Status
        Source
        Language