@conference {Krutz:2014:CCO:2597073.2597127, title = {A Code Clone Oracle}, booktitle = {Proceedings of the 11th Working Conference on Mining Software Repositories}, series = {MSR 2014}, year = {2014}, pages = {388{\textendash}391}, publisher = {ACM}, organization = {ACM}, address = {New York, NY, USA}, abstract = {Code clones are functionally equivalent code segments. Detecting code clones is important for determining bugs, fixes and software reuse. Code clone detection is also essential for developing fast and precise code search algorithms. How- ever, the challenge of such research is to evaluate that the clones detected are indeed functionally equivalent, consider- ing the majority of clones are not textual or even syntactically identical. The goal of this work is to generate a set of method level code clones with a high confidence to help to evaluate future code clone detection and code search tools to evaluate their techniques. We selected three open source programs, Apache, Python and PostgreSQL, and randomly sampled a total of 1536 function pairs. To confirm whether or not these function pairs indicate a clone and what types of clones they belong to, we recruited three experts who have experience in code clone research and four students who have experience in programming for manual inspection. For confidence of the data, the experts consulted multiple code clone detection tools to make the consensus. To assist manual inspection, we built a tool to automatically load function pairs of interest and record the manual inspection results. We found that none of the 66 pairs are textual identical type- 1 clones, and 9 pairs are type-4 clones. Our data is available at: http://phd.gccis.rit.edu/weile/data/cloneoracle/. }, keywords = {clone, Clone Oracle, Code Clone Detection, msr data showcase, software engineering}, isbn = {978-1-4503-2863-0}, doi = {10.1145/2597073.2597127}, url = {http://doi.acm.org/10.1145/2597073.2597127}, attachments = {https://flosshub.org/sites/flosshub.org/files/clone_oracle.pdf}, author = {Krutz, Daniel E. and Le, Wei} }