BigCloneEval
BigCloneEval copied to clipboard
each function has same number of clones
I queried the clones table and the functions table using following queries and obtained clones for each functionality. sql="SELECT function_id_one, function_id_two from clones where functionality_id=8"; sql="SELECT id, name, startline, endline from functions WHERE id = " + function_id_one; sql="SELECT id, name, startline, endline from functions WHERE id = " + function_id_two; I observed that every function has same set of clone files e.g. for functionality 8 there are a total of 276 clones in the clones table. Yet, there are only 23 functions making up all of these clone pairs. Out of these 23 functions, one is query function and other 22 functions are clones of that query document/function. My question is how can all functions have equal number of clones? What am I doing wrong?
Is there a paper or document where the bigclone schema is explained?