skyhover / Deckard

Code clone detection; clone-related bug detection; sematic clone analysis
Other
209 stars 78 forks source link

post_cluster file is 0 bytes #26

Closed caicaifearless closed 4 years ago

caicaifearless commented 4 years ago

I have run Deckard on the code of about 30 java projects. The resulting cluster_vdb_50_0_allg_0.95_30 is not empty but the corresponding post_cluster_vdb_50_0_allg_0.95_30 file is empty. Why does this happen? Is it because there are too much suspicious clones in cluster file and then in the post-process all the clones are excluded leading to empty post_cluster file? Screenshot from 2020-03-15 16-06-52

caicaifearless commented 4 years ago

This turns out to be the problem of wrong python version. After changing to environment with python2, this problem solved.