BigCloneEval icon indicating copy to clipboard operation
BigCloneEval copied to clipboard

each function has same number of clones

Open Hareem-E-Sahar opened this issue 4 years ago • 1 comments

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?

Hareem-E-Sahar avatar Nov 09 '20 20:11 Hareem-E-Sahar

Is there a paper or document where the bigclone schema is explained?

Hareem-E-Sahar avatar Nov 19 '20 07:11 Hareem-E-Sahar