codenautas/txt-to-sql

View on GitHub
web/js-to-html.js

Summary

Maintainability
F
2 wks
Test Coverage

File js-to-html.js has 1358 lines of code (exceeds 250 allowed). Consider refactoring.
Open

"use strict";
/*jshint eqnull:true */
/*jshint node:true */

(function codenautasModuleDefinition(root, name, factory) {
Severity: Major
Found in web/js-to-html.js - About 3 days to fix

    Function toHtmlDoc has 44 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    HtmlBase.prototype.toHtmlDoc=function toHtmlDoc(opts,recurseOpts){
        opts = opts||{};
        var html = jsToHtml.html;
        var target=this;
        if(!opts.incomplete){
    Severity: Minor
    Found in web/js-to-html.js - About 1 hr to fix

      Function codenautasModuleDefinition has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

      (function codenautasModuleDefinition(root, name, factory) {
          /* global define */
          /* istanbul ignore next */
          if(typeof root.globalModuleName !== 'string'){
              root.globalModuleName = name;
      Severity: Minor
      Found in web/js-to-html.js - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

      (function codenautasModuleDefinition(root, name, factory) {
          /* global define */
          /* istanbul ignore next */
          if(typeof root.globalModuleName !== 'string'){
              root.globalModuleName = name;
      Severity: Major
      Found in web/js-to-html.js and 1 other location - About 7 hrs to fix
      web/best-globals.js on lines 3..731

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 178.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 3 locations. Consider refactoring.
      Open

          "src": {
              "tags": {
                  "audio": {"description": "Address of the resource","value": "Valid non-empty URL potentially surrounded by spaces"},
                  "embed": {"description": "Address of the resource","value": "Valid non-empty URL potentially surrounded by spaces"},
                  "iframe": {"description": "Address of the resource","value": "Valid non-empty URL potentially surrounded by spaces"},
      Severity: Major
      Found in web/js-to-html.js and 2 other locations - About 6 hrs to fix
      web/js-to-html.js on lines 693..706
      web/js-to-html.js on lines 740..753

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 161.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 3 locations. Consider refactoring.
      Open

          "disabled": {
              "tags": {
                  "button": {"description": "Whether the form control is disabled","value": "Boolean attribute"},
                  "menuitem": {"description": "Whether the form control is disabled","value": "Boolean attribute"},
                  "fieldset": {"description": "Whether the form control is disabled","value": "Boolean attribute"},
      Severity: Major
      Found in web/js-to-html.js and 2 other locations - About 6 hrs to fix
      web/js-to-html.js on lines 740..753
      web/js-to-html.js on lines 1219..1232

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 161.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 3 locations. Consider refactoring.
      Open

          "form": {
              "tags": {
                  "button": {"description": "Associates the control with a form element","value": "ID*"},
                  "fieldset": {"description": "Associates the control with a form element","value": "ID*"},
                  "input": {"description": "Associates the control with a form element","value": "ID*"},
      Severity: Major
      Found in web/js-to-html.js and 2 other locations - About 6 hrs to fix
      web/js-to-html.js on lines 693..706
      web/js-to-html.js on lines 1219..1232

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 161.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 3 locations. Consider refactoring.
      Open

          "height": {
              "tags": {
                  "canvas": {"description": "Vertical dimension","value": "Valid non-negative integer"},
                  "embed": {"description": "Vertical dimension","value": "Valid non-negative integer"},
                  "iframe": {"description": "Vertical dimension","value": "Valid non-negative integer"},
      Severity: Major
      Found in web/js-to-html.js and 2 other locations - About 4 hrs to fix
      web/js-to-html.js on lines 1285..1296
      web/js-to-html.js on lines 1346..1357

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 129.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 3 locations. Consider refactoring.
      Open

          "width": {
              "tags": {
                  "canvas": {"description": "Horizontal dimension","value": "Valid non-negative integer"},
                  "embed": {"description": "Horizontal dimension","value": "Valid non-negative integer"},
                  "iframe": {"description": "Horizontal dimension","value": "Valid non-negative integer"},
      Severity: Major
      Found in web/js-to-html.js and 2 other locations - About 4 hrs to fix
      web/js-to-html.js on lines 796..807
      web/js-to-html.js on lines 1285..1296

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 129.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 3 locations. Consider refactoring.
      Open

          "title": {
              "tags": {
                  "HTML elements": {"description": "Advisory information for the element","value": "Text"},
                  "abbr": {"description": "Full term or expansion of abbreviation","value": "Text"},
                  "dfn": {"description": "Full term or expansion of abbreviation","value": "Text"},
      Severity: Major
      Found in web/js-to-html.js and 2 other locations - About 4 hrs to fix
      web/js-to-html.js on lines 796..807
      web/js-to-html.js on lines 1346..1357

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 129.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 3 locations. Consider refactoring.
      Open

          "crossorigin": {
              "tags": {
                  "audio": {"description": "How the element handles crossorigin requests","value": "\"anonymous\"; \"use-credentials\""},
                  "img": {"description": "How the element handles crossorigin requests","value": "\"anonymous\"; \"use-credentials\""},
                  "link": {"description": "How the element handles crossorigin requests","value": "\"anonymous\"; \"use-credentials\""},
      Severity: Major
      Found in web/js-to-html.js and 2 other locations - About 3 hrs to fix
      web/js-to-html.js on lines 543..552
      web/js-to-html.js on lines 909..918

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 97.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 3 locations. Consider refactoring.
      Open

          "autofocus": {
              "tags": {
                  "button": {"description": "Automatically focus the form control when the page is loaded","value": "Boolean attribute"},
                  "input": {"description": "Automatically focus the form control when the page is loaded","value": "Boolean attribute"},
                  "keygen": {"description": "Automatically focus the form control when the page is loaded","value": "Boolean attribute"},
      Severity: Major
      Found in web/js-to-html.js and 2 other locations - About 3 hrs to fix
      web/js-to-html.js on lines 642..651
      web/js-to-html.js on lines 909..918

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 97.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 3 locations. Consider refactoring.
      Open

          "label": {
              "tags": {
                  "menuitem": {"description": "User-visible label","value": "Text"},
                  "menu": {"description": "User-visible label","value": "Text"},
                  "optgroup": {"description": "User-visible label","value": "Text"},
      Severity: Major
      Found in web/js-to-html.js and 2 other locations - About 3 hrs to fix
      web/js-to-html.js on lines 543..552
      web/js-to-html.js on lines 642..651

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 97.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 4 locations. Consider refactoring.
      Open

          "href": {
              "tags": {
                  "a": {"description": "Address of the hyperlink","value": "Valid URL potentially surrounded by spaces"},
                  "area": {"description": "Address of the hyperlink","value": "Valid URL potentially surrounded by spaces"},
                  "link": {"description": "Address of the hyperlink","value": "Valid non-empty URL potentially surrounded by spaces"},
      Severity: Major
      Found in web/js-to-html.js and 3 other locations - About 2 hrs to fix
      web/js-to-html.js on lines 534..542
      web/js-to-html.js on lines 580..588
      web/js-to-html.js on lines 1276..1284

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 81.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 4 locations. Consider refactoring.
      Open

          "cite": {
              "tags": {
                  "blockquote": {"description": "Link to the source of the quotation or more information about the edit","value": "Valid URL potentially surrounded by spaces"},
                  "del": {"description": "Link to the source of the quotation or more information about the edit","value": "Valid URL potentially surrounded by spaces"},
                  "ins": {"description": "Link to the source of the quotation or more information about the edit","value": "Valid URL potentially surrounded by spaces"},
      Severity: Major
      Found in web/js-to-html.js and 3 other locations - About 2 hrs to fix
      web/js-to-html.js on lines 534..542
      web/js-to-html.js on lines 820..828
      web/js-to-html.js on lines 1276..1284

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 81.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 4 locations. Consider refactoring.
      Open

          "autocomplete": {
              "tags": {
                  "form": {"description": "Default setting for autofill feature for controls in the form","value": "\"on\"; \"off\""},
                  "input": {"description": "Hint for form autofill feature","value": "Autofill field name and related tokens*"},
                  "select": {"description": "Hint for form autofill feature","value": "Autofill field name and related tokens*"},
      Severity: Major
      Found in web/js-to-html.js and 3 other locations - About 2 hrs to fix
      web/js-to-html.js on lines 580..588
      web/js-to-html.js on lines 820..828
      web/js-to-html.js on lines 1276..1284

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 81.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 4 locations. Consider refactoring.
      Open

          "target": {
              "tags": {
                  "a": {"description": "Browsing context for hyperlink navigation","value": "Valid browsing context name or keyword"},
                  "area": {"description": "Browsing context for hyperlink navigation","value": "Valid browsing context name or keyword"},
                  "base": {"description": "Default browsing context for hyperlink navigation and form submission","value": "Valid browsing context name or keyword"},
      Severity: Major
      Found in web/js-to-html.js and 3 other locations - About 2 hrs to fix
      web/js-to-html.js on lines 534..542
      web/js-to-html.js on lines 580..588
      web/js-to-html.js on lines 820..828

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 81.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 5 locations. Consider refactoring.
      Open

          "rel": {
              "tags": {
                  "a": {"description": "Relationship between the document containing the hyperlink and the destination resource","value": "Set of space-separated tokens*"},
                  "area": {"description": "Relationship between the document containing the hyperlink and the destination resource","value": "Set of space-separated tokens*"},
                  "link": {"description": "Relationship between the document containing the hyperlink and the destination resource","value": "Set of space-separated tokens*"}
      Severity: Major
      Found in web/js-to-html.js and 4 other locations - About 1 hr to fix
      web/js-to-html.js on lines 520..527
      web/js-to-html.js on lines 658..665
      web/js-to-html.js on lines 951..958
      web/js-to-html.js on lines 1118..1125

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 65.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 5 locations. Consider refactoring.
      Open

          "datetime": {
              "tags": {
                  "del": {"description": "Date and (optionally) time of the change","value": "Valid date string with optional time"},
                  "ins": {"description": "Date and (optionally) time of the change","value": "Valid date string with optional time"},
                  "time": {"description": "Machine-readable value","value": "Valid month string, valid date string, valid yearless date string, valid time string, valid local date and time string, valid time-zone offset string, valid global date and time string, valid week string, valid non-negative integer, or valid duration string"}
      Severity: Major
      Found in web/js-to-html.js and 4 other locations - About 1 hr to fix
      web/js-to-html.js on lines 520..527
      web/js-to-html.js on lines 951..958
      web/js-to-html.js on lines 1110..1117
      web/js-to-html.js on lines 1118..1125

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 65.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 5 locations. Consider refactoring.
      Open

          "required": {
              "tags": {
                  "input": {"description": "Whether the control is required for form submission","value": "Boolean attribute"},
                  "select": {"description": "Whether the control is required for form submission","value": "Boolean attribute"},
                  "textarea": {"description": "Whether the control is required for form submission","value": "Boolean attribute"}
      Severity: Major
      Found in web/js-to-html.js and 4 other locations - About 1 hr to fix
      web/js-to-html.js on lines 520..527
      web/js-to-html.js on lines 658..665
      web/js-to-html.js on lines 951..958
      web/js-to-html.js on lines 1110..1117

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 65.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 5 locations. Consider refactoring.
      Open

          "alt": {
              "tags": {
                  "area": {"description": "Replacement text for use when images are not available","value": "Text*"},
                  "img": {"description": "Replacement text for use when images are not available","value": "Text*"},
                  "input": {"description": "Replacement text for use when images are not available","value": "Text*"}
      Severity: Major
      Found in web/js-to-html.js and 4 other locations - About 1 hr to fix
      web/js-to-html.js on lines 658..665
      web/js-to-html.js on lines 951..958
      web/js-to-html.js on lines 1110..1117
      web/js-to-html.js on lines 1118..1125

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 65.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 5 locations. Consider refactoring.
      Open

          "max": {
              "tags": {
                  "input": {"description": "Maximum value","value": "Varies*"},
                  "meter": {"description": "Upper bound of range","value": "Valid floating-point number*"},
                  "progress": {"description": "Upper bound of range","value": "Valid floating-point number*"}
      Severity: Major
      Found in web/js-to-html.js and 4 other locations - About 1 hr to fix
      web/js-to-html.js on lines 520..527
      web/js-to-html.js on lines 658..665
      web/js-to-html.js on lines 1110..1117
      web/js-to-html.js on lines 1118..1125

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 65.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "download": {
              "tags": {
                  "a": {"description": "Whether to download the resource instead of navigating to it, and its file name if so","value": "Text"},
                  "area": {"description": "Whether to download the resource instead of navigating to it, and its file name if so","value": "Text"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "formaction": {
              "tags": {
                  "button": {"description": "URL to use for form submission","value": "Valid non-empty URL potentially surrounded by spaces"},
                  "input": {"description": "URL to use for form submission","value": "Valid non-empty URL potentially surrounded by spaces"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "minlength": {
              "tags": {
                  "input": {"description": "Minimum length of value","value": "Valid non-negative integer"},
                  "textarea": {"description": "Minimum length of value","value": "Valid non-negative integer"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "nonce": {
              "tags": {
                  "script": {"description": "Cryptographic nonce used in Content Security Policy checks [CSP]","value": "Text"},
                  "style": {"description": "Cryptographic nonce used in Content Security Policy checks [CSP]","value": "Text"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "span": {
              "tags": {
                  "col": {"description": "Number of columns spanned by the element","value": "Valid non-negative integer greater than zero"},
                  "colgroup": {"description": "Number of columns spanned by the element","value": "Valid non-negative integer greater than zero"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "charset": {
              "tags": {
                  "meta": {"description": "Character encoding declaration","value": "Encoding label*"},
                  "script": {"description": "Character encoding of the external script resource","value": "Encoding label*"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "formmethod": {
              "tags": {
                  "button": {"description": "HTTP method to use for form submission","value": "\"GET\"; \"POST\""},
                  "input": {"description": "HTTP method to use for form submission","value": "\"GET\"; \"POST\""}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "autoplay": {
              "tags": {
                  "audio": {"description": "Hint that the media resource can be started automatically when the page is loaded","value": "Boolean attribute"},
                  "video": {"description": "Hint that the media resource can be started automatically when the page is loaded","value": "Boolean attribute"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "default": {
              "tags": {
                  "menuitem": {"description": "Mark the command as being a default command","value": "Boolean attribute"},
                  "track": {"description": "Enable the track if no other text track is more suitable","value": "Boolean attribute"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "hreflang": {
              "tags": {
                  "a": {"description": "Language of the linked resource","value": "Valid BCP 47 language tag"},
                  "link": {"description": "Language of the linked resource","value": "Valid BCP 47 language tag"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "media": {
              "tags": {
                  "link": {"description": "Applicable media","value": "Valid media query list"},
                  "style": {"description": "Applicable media","value": "Valid media query list"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "checked": {
              "tags": {
                  "menuitem": {"description": "Whether the command or control is checked","value": "Boolean attribute"},
                  "input": {"description": "Whether the command or control is checked","value": "Boolean attribute"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "formtarget": {
              "tags": {
                  "button": {"description": "Browsing context for form submission","value": "Valid browsing context name or keyword"},
                  "input": {"description": "Browsing context for form submission","value": "Valid browsing context name or keyword"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "multiple": {
              "tags": {
                  "input": {"description": "Whether to allow multiple values","value": "Boolean attribute"},
                  "select": {"description": "Whether to allow multiple values","value": "Boolean attribute"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "readonly": {
              "tags": {
                  "input": {"description": "Whether to allow the value to be edited by the user","value": "Boolean attribute"},
                  "textarea": {"description": "Whether to allow the value to be edited by the user","value": "Boolean attribute"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "formnovalidate": {
              "tags": {
                  "button": {"description": "Bypass form control validation for form submission","value": "Boolean attribute"},
                  "input": {"description": "Bypass form control validation for form submission","value": "Boolean attribute"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "rowspan": {
              "tags": {
                  "td": {"description": "Number of rows that the cell is to span","value": "Valid non-negative integer"},
                  "th": {"description": "Number of rows that the cell is to span","value": "Valid non-negative integer"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "controls": {
              "tags": {
                  "audio": {"description": "Show user agent controls","value": "Boolean attribute"},
                  "video": {"description": "Show user agent controls","value": "Boolean attribute"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "mediagroup": {
              "tags": {
                  "audio": {"description": "Groups media elements together with an implicit MediaController","value": "Text"},
                  "video": {"description": "Groups media elements together with an implicit MediaController","value": "Text"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "muted": {
              "tags": {
                  "audio": {"description": "Whether to mute the media resource by default","value": "Boolean attribute"},
                  "video": {"description": "Whether to mute the media resource by default","value": "Boolean attribute"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "ping": {
              "tags": {
                  "a": {"description": "URLs to ping","value": "Set of space-separated tokens consisting of valid non-empty URLs"},
                  "area": {"description": "URLs to ping","value": "Set of space-separated tokens consisting of valid non-empty URLs"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "formenctype": {
              "tags": {
                  "button": {"description": "Form data set encoding type to use for form submission","value": "\"application/x-www-form-urlencoded\"; \"multipart/form-data\"; \"text/plain\""},
                  "input": {"description": "Form data set encoding type to use for form submission","value": "\"application/x-www-form-urlencoded\"; \"multipart/form-data\"; \"text/plain\""}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "usemap": {
              "tags": {
                  "img": {"description": "Name of image map to use","value": "Valid hash-name reference*"},
                  "object": {"description": "Name of image map to use","value": "Valid hash-name reference*"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "dirname": {
              "tags": {
                  "input": {"description": "Name of form field to use for sending the element's directionality in form submission","value": "Text*"},
                  "textarea": {"description": "Name of form field to use for sending the element's directionality in form submission","value": "Text*"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "preload": {
              "tags": {
                  "audio": {"description": "Hints how much buffering the media resource will likely need","value": "\"none\"; \"metadata\"; \"auto\""},
                  "video": {"description": "Hints how much buffering the media resource will likely need","value": "\"none\"; \"metadata\"; \"auto\""}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "dir": {
              "tags": {
                  "HTML elements": {"description": "The text directionality of the element","value": "\"ltr\"; \"rtl\"; \"auto\""},
                  "bdo": {"description": "The text directionality of the element","value": "\"ltr\"; \"rtl\""}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "size": {
              "tags": {
                  "input": {"description": "Size of the control","value": "Valid non-negative integer greater than zero"},
                  "select": {"description": "Size of the control","value": "Valid non-negative integer greater than zero"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "colspan": {
              "tags": {
                  "td": {"description": "Number of columns that the cell is to span","value": "Valid non-negative integer greater than zero"},
                  "th": {"description": "Number of columns that the cell is to span","value": "Valid non-negative integer greater than zero"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "min": {
              "tags": {
                  "input": {"description": "Minimum value","value": "Varies*"},
                  "meter": {"description": "Lower bound of range","value": "Valid floating-point number*"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "inputmode": {
              "tags": {
                  "input": {"description": "Hint for selecting an input modality","value": "\"verbatim\"; \"latin\"; \"latin-name\"; \"latin-prose\"; \"full-width-latin\"; \"kana\"; \"kana-name\"; \"katakana\"; \"numeric\"; \"tel\"; \"email\"; \"url\""},
                  "textarea": {"description": "Hint for selecting an input modality","value": "\"verbatim\"; \"latin\"; \"latin-name\"; \"latin-prose\"; \"full-width-latin\"; \"kana\"; \"kana-name\"; \"katakana\"; \"numeric\"; \"tel\"; \"email\"; \"url\""}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "maxlength": {
              "tags": {
                  "input": {"description": "Maximum length of value","value": "Valid non-negative integer"},
                  "textarea": {"description": "Maximum length of value","value": "Valid non-negative integer"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "placeholder": {
              "tags": {
                  "input": {"description": "User-visible label to be placed within the form control","value": "Text*"},
                  "textarea": {"description": "User-visible label to be placed within the form control","value": "Text*"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "headers": {
              "tags": {
                  "td": {"description": "The header cells for this cell","value": "Unordered set of unique space-separated tokens, case-sensitive, consisting of IDs*"},
                  "th": {"description": "The header cells for this cell","value": "Unordered set of unique space-separated tokens, case-sensitive, consisting of IDs*"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "loop": {
              "tags": {
                  "audio": {"description": "Whether to loop the media resource","value": "Boolean attribute"},
                  "video": {"description": "Whether to loop the media resource","value": "Boolean attribute"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1051..1057
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 35 locations. Consider refactoring.
      Open

          "open": {
              "tags": {
                  "details": {"description": "Whether the details are visible","value": "Boolean attribute"},
                  "dialog": {"description": "Whether the dialog box is showing","value": "Boolean attribute"}
              },
      Severity: Major
      Found in web/js-to-html.js and 34 other locations - About 40 mins to fix
      web/js-to-html.js on lines 553..559
      web/js-to-html.js on lines 566..572
      web/js-to-html.js on lines 573..579
      web/js-to-html.js on lines 604..610
      web/js-to-html.js on lines 629..635
      web/js-to-html.js on lines 666..672
      web/js-to-html.js on lines 679..685
      web/js-to-html.js on lines 686..692
      web/js-to-html.js on lines 707..713
      web/js-to-html.js on lines 754..760
      web/js-to-html.js on lines 761..767
      web/js-to-html.js on lines 768..774
      web/js-to-html.js on lines 775..781
      web/js-to-html.js on lines 782..788
      web/js-to-html.js on lines 789..795
      web/js-to-html.js on lines 829..835
      web/js-to-html.js on lines 854..860
      web/js-to-html.js on lines 932..938
      web/js-to-html.js on lines 959..965
      web/js-to-html.js on lines 966..972
      web/js-to-html.js on lines 973..979
      web/js-to-html.js on lines 992..998
      web/js-to-html.js on lines 999..1005
      web/js-to-html.js on lines 1006..1012
      web/js-to-html.js on lines 1013..1019
      web/js-to-html.js on lines 1038..1044
      web/js-to-html.js on lines 1070..1076
      web/js-to-html.js on lines 1077..1083
      web/js-to-html.js on lines 1090..1096
      web/js-to-html.js on lines 1103..1109
      web/js-to-html.js on lines 1138..1144
      web/js-to-html.js on lines 1187..1193
      web/js-to-html.js on lines 1212..1218
      web/js-to-html.js on lines 1326..1332

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 49.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      There are no issues that match your filters.

      Category
      Status