Third IEEE International Workshop on Source Code Analysis and Manipulation
Detection of Redundant Code using R2D2
Amsterdam, The Netherlands
September 26-September 27
ISBN: 0-7695-2005-7
We present the R2D2 redundancy detector. R2D2 identifies redundant code fragments on large software systems. For each pair of code fragments, R2D2 uses a combination of techniques ranging from syntax-based analysis to semantics-based analysis, that detect positive and negative evidences regarding the redundancy of the analyzed code fragments. These evidences are combined according to a well-defined model and fragments sufficiently redundant are reported to the user. R2D2 explores several techniques and heuristics to operate within reasonable time and space bounds and is designed to be extensible.