Showing 5 of 2,689 total issues

Consider simplifying this complex logical expression.
Open

  if (code >= 0x1100 && (
      code <= 0x115f ||  // Hangul Jamo
      0x2329 === code || // LEFT-POINTING ANGLE BRACKET
      0x232a === code || // RIGHT-POINTING ANGLE BRACKET
      // CJK Radicals Supplement .. Enclosed CJK Letters and Months
Severity: Critical
Found in lib/readline.js - About 1 day to fix

    Consider simplifying this complex logical expression.
    Open

          if (is_last_code_in_line and
              self._StatementCouldEndInContext() and
              not is_multiline_string and
              not is_end_of_block and
              not is_continued_identifier and
    Severity: Critical
    Found in tools/closure_linter/closure_linter/ecmametadatapass.py - About 2 hrs to fix

      Consider simplifying this complex logical expression.
      Open

        if (keys.length <= 3
            && data.name
            && (keys.length === 1
                || keys.length === 3 && data.email && data.url
                || keys.length === 2 && (data.email || data.url))) {
      Severity: Critical
      Found in deps/npm/lib/view.js - About 1 hr to fix

        Consider simplifying this complex logical expression.
        Open

            if token.type != TokenType.SEMICOLON:
              next_code = tokenutil.SearchExcept(token, TokenType.NON_CODE_TYPES)
              # A statement like if (x) does not need a semicolon after it
              is_implied_block = self._context == EcmaContext.IMPLIED_BLOCK
              is_last_code_in_line = token.IsCode() and (
        Severity: Critical
        Found in tools/closure_linter/closure_linter/ecmametadatapass.py - About 1 hr to fix

          Consider simplifying this complex logical expression.
          Open

            if (cb) {
              this._reqCallbacks.splice(index, 1);
              handled = true;
          
              var err = res.success === false && (res.message || true) ||
          Severity: Critical
          Found in lib/_debugger.js - About 1 hr to fix
            Severity
            Category
            Status
            Source
            Language