Query module DuplicateToplevel

name
Duplicate script
description
There is another script that shares a lot of code with this script. Consider combining the two scripts to improve maintainability.
kind
problem
problem.severity
recommendation
id
js/duplicate-script
tags
testability maintainability useless-code statistical non-attributable duplicate-code
precision
medium

Imports

CodeDuplication

Provides classes for detecting duplicate or similar code.

RestrictedLocations

Provides classes for restricting the locations reported for program elements.

javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.