Automatic mining of functionally equivalent code fragments via random testing
Lingxiao Jiang, Zhendong Su · 2009
Similar code may exist in large software projects due to some common software engineering practices, such as copying and pasting code and n-version programming. Although previous work has studied syntactic equivalence and small-scale, coarse-grained program-level and function-level semantic equivalence, it is not known whether significant fine-grained, code-level semantic duplications exist. Detecting such semantic equivalence is also desirable because it can enable many applications such as code understanding, maintenance, and optimization.
Cited by 172 works. doi:10.1145/1572272.1572283
Authors
References
- Fast Probabilistic Algorithms for Verification of Polynomial Identities
- Software Testing Techniques
- DART
- Software testing techniques
- CCFinder: a multilinguistic token-based code clone detection system for large scale source code
- DART
- Clone detection using abstract syntax trees
- On finding duplication and near-duplication in large software systems
- CUTE
- Bugs as deviant behavior