Logo

7.1 Algorithm

The detection algorithm is based on line string matching, and it depends on three parameters:

  • Minimum clone length - defines the minimum amount of lines present in a clone. In our experiments we used 7.
  • Maximum line bias - defines the maximum amount of lines in between two exact chunks. In our experiments we used 2.
  • Minimum chunk size - defines the minimum amount of lines of an exact chunk. In our experiments we used 3.

Parameters used for code duplication detection

Add a Note