• DocumentCode
    2166072
  • Title

    Detection of redundant code using R2D2

  • Author

    Leit, António Menezes

  • Author_Institution
    Tech. Univ. Lisbon, Portugal
  • fYear
    2003
  • fDate
    26-27 Sept. 2003
  • Firstpage
    183
  • Lastpage
    192
  • Abstract
    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.
  • Keywords
    computational linguistics; program diagnostics; programming language semantics; redundancy; R2D2; deceit detector; large software systems; redundant code detection; retargetable redundancy; semantics based analysis; syntax based analysis; Cloning; Computer languages; Detectors; Force measurement; Productivity; Programming profession; Software measurement; Software systems; Time measurement; Writing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Source Code Analysis and Manipulation, 2003. Proceedings. Third IEEE International Workshop on
  • Print_ISBN
    0-7695-2005-7
  • Type

    conf

  • DOI
    10.1109/SCAM.2003.1238044
  • Filename
    1238044