CodeQL library for JavaScript
Search

Predicate duplicateContainers

Holds if sc and other are functions or toplevels where percent is the percentage of lines they have in common, which is greater than 90%.

Import path

import external.CodeDuplication
predicate duplicateContainers(StmtContainer sc, StmtContainer other, float percent)