首页 | 本学科首页   官方微博 | 高级检索  
     


Identifying refactoring opportunities in object-oriented code: A systematic literature review
Affiliation:1. State Key Lab of Software Engineering, Wuhan University, China;2. University of Lille, France;3. INRIA, France;1. Pontifical Catholic University of Rio de Janeiro, Rio de Janeiro, Brazil;2. Tecgraf Institute at PUC-Rio, Rio de Janeiro, Brazil;3. Polytechnique Montréal, Montréal, Canada;4. Amazon, São Paulo, Brazil;5. Carnegie Mellon University, Pittsburgh, USA;6. Federal Institute of Education Science and Technology of Parana, Paranavaí, Brazil;1. Free University of Bozen-Bolzano, Bolzano, Italy;2. University of Salerno, Fisciano (SA), Italy;3. University of Sannio, Benevento, Italy;4. University of Molise, Pesche (IS), Italy
Abstract:ContextIdentifying refactoring opportunities in object-oriented code is an important stage that precedes the actual refactoring process. Several techniques have been proposed in the literature to identify opportunities for various refactoring activities.ObjectiveThis paper provides a systematic literature review of existing studies identifying opportunities for code refactoring activities.MethodWe performed an automatic search of the relevant digital libraries for potentially relevant studies published through the end of 2013, performed pilot and author-based searches, and selected 47 primary studies (PSs) based on inclusion and exclusion criteria. The PSs were analyzed based on a number of criteria, including the refactoring activities, the approaches to refactoring opportunity identification, the empirical evaluation approaches, and the data sets used.ResultsThe results indicate that research in the area of identifying refactoring opportunities is highly active. Most of the studies have been performed by academic researchers using nonindustrial data sets. Extract Class and Move Method were found to be the most frequently considered refactoring activities. The results show that researchers use six primary existing approaches to identify refactoring opportunities and six approaches to empirically evaluate the identification techniques. Most of the systems used in the evaluation process were open-source, which helps to make the studies repeatable. However, a relatively high percentage of the data sets used in the empirical evaluations were small, which limits the generality of the results.ConclusionsIt would be beneficial to perform further studies that consider more refactoring activities, involve researchers from industry, and use large-scale and industrial-based systems.
Keywords:Refactoring activity  Refactoring opportunity  Systematic literature review
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号