skyhover / Deckard

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

Command line options for filter IDs not implemented #16

Open zheyuanfu opened 7 years ago

zheyuanfu commented 7 years ago

When I run the bugfiltering command, the results showed "Command line options for filters IDs not implemented" and "Cannot open file : src/AbstractAsyncTableRendering.java". The command I used is "scripts/bugdetect/bugfiltering samples/clusters/post_cluster_vdb_50_0_allg_0.95_30 java > bug_result". Do you have any idea about how to solve the problem? Thanks.

hanchaoqi commented 7 years ago

I think you should try to execute that command in your 'samples' directory

hanchaoqi commented 7 years ago

But I have another problem, when I run bugfiltering command, the error code like this

NOTE: Command line options for filter IDs not implemented
syntax error: 2.93
syntax error: 385.36
syntax error: 521.90
syntax error: 902.36

I traced this error and found it appears when the file 'cbugfilters' is execute. But the file is a binary file and I can't see its source code. The command I used is "../scripts/bugdetect/bugfiltering clusters/cluster_vdb_30_2_allg_1.0_30 c > bug_result"

Have you ever encountered this problem?

zheyuanfu commented 7 years ago

I suggest you should read the deckard.sh in /scripts/clonedetect and deckardd.sh in /scripts/bugdetect/. There are some explanation in the shell script file. I also dont know how does the error occur. Anyway if you want to read the binary file, the out2html script can be used. You can run the command and transfer the binary file to a readable html one. Hope it helps. Good luck.