Hercules double counts the number of couples when both of coupled files is renamed.
When the commit log is given as follows:
Commit1:
A FileA
A FileB
Commit2:
M FileA
M FileB
Commit3:
R FileA -> FileA'
R FileB -> FileB'
Commit4:
M FileA'
M FileB'
the true number of couple of FileA' and FileB' is 4.
However, Hercules counts the co-occurrence in Commit1 and Commit2, so it outputs 6.
Hercules double counts the number of couples when both of coupled files is renamed.
When the commit log is given as follows: Commit1: A FileA A FileB Commit2: M FileA M FileB Commit3: R FileA -> FileA' R FileB -> FileB' Commit4: M FileA' M FileB'
the true number of couple of FileA' and FileB' is 4. However, Hercules counts the co-occurrence in Commit1 and Commit2, so it outputs 6.