molamk/wordfuzz

View on GitHub

Showing 2 of 4 total issues

Fuzzer has 24 functions (exceeds 20 allowed). Consider refactoring.
Open

class Fuzzer {
  public static init = () => new Fuzzer();
  private q: IQuery = {};
  private constructor(received?: IQuery) {
    this.q = received ? { ...received } : {};
Severity: Minor
Found in src/index.ts - About 2 hrs to fix

    Function get has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      new Promise((resolve, reject) => {
        const req = https.get(
          {
            headers: { 'Content-Type': 'application/json' },
            host: 'api.datamuse.com',
    Severity: Minor
    Found in src/helpers/httpGet.ts - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language