skip to main content
10.1145/2962695.2962717acmotherconferencesArticle/Chapter ViewAbstractPublication PagesxpConference Proceedingsconference-collections
research-article

Assessment of Approaches for the Analysis of Refactoring Activity on Software Repositories An Empirical Study

Authors Info & Claims
Published:24 May 2016Publication History

ABSTRACT

Refactoring is the practice of changing source code without altering its external behavior. It is widely used since it is acknowledged to have a positive effect on software quality. However, different studies on the impact of Refactoring on software quality led to contrasting results. This might be due also to the fact that research works on Refactoring rely on different approaches to collect information about the refactoring activity on software repositories. Having a reliable approach is fundamental to draw solid conclusions. In this paper we empirically analyzed two of the most popular approaches to detect the refactoring activity on software repositories, finding that they return different outcomes. These results should be taken into account by researchers while designing the experimental settings of their studies.

References

  1. V. R. Basili. Software modeling and measurement: The goal/question/metric paradigm. Technical report, College Park, MD, USA, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. D. Dig, C. Comertoglu, D. Marinov, and R. Johnson. Automated detection of refactorings in evolving components. In Proceedings of the 20th European Conference on Object-Oriented Programming, ECOOP'06, pages 404--428, Berlin, Heidelberg, 2006. Springer-Verlag. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. M. Fowler. Refactoring: improving the design of existing code. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. A. Hindle, D. German, and R. Holt. What do large commits tell us? a taxonomical study of large commits. pages 99--108, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Kim, M. Gee, A. Loh, and N. Rachatasumrit. Ref-finder: A refactoring reconstruction tool based on logic query templates. In Proceedings of the Eighteenth ACM SIGSOFT International Symposium on Foundations of Software Engineering, FSE '10, pages 371--372, New York, NY, USA, 2010. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. M. Kim, D. Cai, and S. Kim. An empirical investigation into the role of api-level refactorings during software evolution. In Proceedings of the 33rd International Conference on Software Engineering, ICSE 2011, Waikiki, Honolulu, HI, USA, May 21-28, 2011, pages 151--160, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. M. Kim, T. Zimmermann, and N. Nagappan. An empirical study of refactoringchallenges and benefits at microsoft. IEEE Trans. Software Eng., 40(7):633--649, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. E. Murphy-Hill, A. Black, D. Dig, and C. Parnin. Gathering refactoring data: A comparison of four methods. 2008.Google ScholarGoogle Scholar
  9. E. Murphy-Hill, C. Parnin, and A. Black. How we refactor, and how we know it. IEEE Transactions on Software Engineering, 38(1):5--18, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. W. F. Opdyke. Refactoring object-oriented frameworks. Technical report, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. C. Parnin and C. Görg. Improving change descriptions with change contexts. In Proceedings of the 2008 International Working Conference on Mining Software Repositories, MSR '08, pages 51--60, New York, NY, USA, 2008. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. K. Prete, N. Rachatasumrit, N. Sudan, and M. Kim. Template-based reconstruction of complex refactorings. In Proceedings of the 2010 IEEE International Conference on Software Maintenance, ICSM '10, pages 1--10, Washington, DC, USA, 2010. IEEE Computer Society. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. J. Ratzinger. sPACE: Software Project Assessment in the Course of Evolution. PhD thesis, 2007.Google ScholarGoogle Scholar
  14. J. Ratzinger, T. Sigmund, and H. Gall. On the relation of refactoring and software defects. pages 35--38, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. J. Ratzinger, T. Sigmund, P. Vorburger, and H. Gall. Mining software evolution to predict refactoring. pages 354--363, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. G. Soares, R. Gheyi, E. Murphy-Hill, and B. Johnson. Comparing approaches to analyze refactoring activity on software repositories. Journal of Systems and Software, 86(4):1006--1022, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. K. Stroggylos and D. Spinellis. Refactoring--does it improve software quality? In Proceedings of the 5th International Workshop on Software Quality, WoSQ '07, pages 10--, Washington, DC, USA, 2007. IEEE Computer Society. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. K. Taneja, D. Dig, and T. Xie. Automated detection of api refactorings in libraries. In Proceedings of the Twenty-second IEEE/ACM International Conference on Automated Software Engineering, ASE '07, pages 377--380, New York, NY, USA, 2007. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. P. Weißgerber and S. Diehl. Identifying refactorings from source-code changes. pages 231--240, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Z. Xing and E. Stroulia. Refactoring practice: How it is and how it should be supported - an eclipse case study. In Proceedings of the 22Nd IEEE International Conference on Software Maintenance, ICSM '06, pages 458--468, Washington, DC, USA, 2006. IEEE Computer Society. Google ScholarGoogle ScholarDigital LibraryDigital Library

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Other conferences
    XP '16 Workshops: Proceedings of the Scientific Workshop Proceedings of XP2016
    May 2016
    128 pages
    ISBN:9781450341349
    DOI:10.1145/2962695

    Copyright © 2016 ACM

    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 24 May 2016

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • research-article
    • Research
    • Refereed limited

    Acceptance Rates

    Overall Acceptance Rate11of15submissions,73%

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader