Constructing dataset of functionally equivalent Java methods using automated test generation techniques
Yoshiki Higo, Shinsuke Matsumoto, Shinji Kusumoto, Kazuya Yasuda
Abstract
Since programming languages offer a wide variety of grammers, desired functions can be implemented in a variety of ways. We consider that there is a large amount of source code that has different implementations of the same functions, and that those can be compiled into a dataset useful for various research in software engineering. In this study, we construct a dataset of functionally equivalent Java methods from about 36 million lines of source code. The constructed dataset is available at https://zenodo.org/record/5912689.
Topics & Concepts
Computer scienceJavaProgramming languageSource codeVariety (cybernetics)Source lines of codeImplementationCode (set theory)Construct (python library)SoftwareSoftware engineeringSet (abstract data type)Artificial intelligenceSoftware Testing and Debugging TechniquesSoftware Engineering ResearchSoftware Reliability and Analysis Research