Skip to main content

Module clones

Module clones 

Source
Expand description

diverged-clone-sibling: the change edited one copy of a base clone group, that copy no longer matches, and no sibling changed.

Structs§

BaseCloneGroup
The instances of one base clone group. The paths are base paths: the rename remap of the audit does not move them.
CloneSpan
One clone instance location, root-relative with forward slashes.
CloneTexts
Text access for the detector. base takes a base path, head a head path.
DivergedClone
One edited clone copy whose siblings did not change.

Functions§

diverged_clone_siblings
Find the base clone groups where exactly one copy was edited, the edit broke the clone, and every sibling kept its text.