Module CodeDuplication

Import path

external.CodeDuplication

Imports

AST
Files

Provides classes for working with files and folders.

Predicates

duplicateBlocks

Find pairs of blocks that have more than 70% duplicate statements.

duplicateParagraphs
duplicateSections
duplicateStatement
duplicateTexts
duplicate_extension
similarBlocks

Find pairs of blocks that have more than 80% similar statements.

similarParagraphs
similarSections
similarTexts
similar_extension

Classes