CodeQL library for C#
Search

Predicate similarFiles

Holds if the two files are not duplicated but have more than 80% similar lines.

Import path

import external.CodeDuplication
predicate similarFiles(File f, File other, int percent)