CodeQL library for C/C++
Search

Predicate similarFiles

Holds if most of f (percent%) is similar to other.

Import path

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