CodeQL library for C/C++
Search

Predicate mostlyDuplicateClassBase

Holds if most member functions of c (numDup out of total) are duplicates of member functions in other.

Import path

import external.CodeDuplication
predicate mostlyDuplicateClassBase(Class c, Class other, int numDup, int total)