CodeQL library for C/C++
Search

Predicate mostlyDuplicateClass

Holds if most member functions of c are duplicates of member functions in other. Provides the human-readable message to describe the amount of duplication.

Import path

import external.CodeDuplication
predicate mostlyDuplicateClass(Class c, Class other, string message)