src/ampl.js

Summary

Maintainability
A
1 hr
Test Coverage

Function parseHtml has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const parseHtml = (html, callback) => {
  const parseRules = createParseRules();
  const tagStack = [{text: "<!doctype html>"}];
  const parser = new htmlparser.Parser({
    onopentag: (name, attribs) => {
Severity: Minor
Found in src/ampl.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status