XanderStrike/caketop-theater

View on GitHub

Showing 24 of 24 total issues

Avoid deeply nested control flow statements.
Open

                if (!found) {
                  //print("not found. l:", uneval(l));
                  wanted_depth++;
                  if (wanted_depth <= stack.length) {
                    stack.splice(wanted_depth);
Severity: Major
Found in app/assets/javascripts/markdown.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                  if ( --open_parens == 0) {
                    consumed -= url.length - len;
                    url = url.substring(0, len);
                  }
    Severity: Major
    Found in app/assets/javascripts/markdown.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                      for (i = 0; i < stack.length; i++) {
                        if ( stack[ i ].indent != m[1] ) continue;
                        list = stack[ i ].list;
                        stack.splice( i+1 );
                        found = true;
      Severity: Major
      Found in app/assets/javascripts/markdown.js - About 45 mins to fix

        Avoid too many return statements within this function.
        Open

              return [ 1, "[" ];
        Severity: Major
        Found in app/assets/javascripts/markdown.js - About 30 mins to fix
          Severity
          Category
          Status
          Source
          Language