Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

Published: 24 May 2016 Publication History
  • Get Citation Alerts
  • 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.
    [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.
    [3]
    M. Fowler. Refactoring: improving the design of existing code. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA, 1999.
    [4]
    A. Hindle, D. German, and R. Holt. What do large commits tell us? a taxonomical study of large commits. pages 99--108, 2008.
    [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.
    [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.
    [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.
    [8]
    E. Murphy-Hill, A. Black, D. Dig, and C. Parnin. Gathering refactoring data: A comparison of four methods. 2008.
    [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.
    [10]
    W. F. Opdyke. Refactoring object-oriented frameworks. Technical report, 1992.
    [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.
    [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.
    [13]
    J. Ratzinger. sPACE: Software Project Assessment in the Course of Evolution. PhD thesis, 2007.
    [14]
    J. Ratzinger, T. Sigmund, and H. Gall. On the relation of refactoring and software defects. pages 35--38, 2008.
    [15]
    J. Ratzinger, T. Sigmund, P. Vorburger, and H. Gall. Mining software evolution to predict refactoring. pages 354--363, 2007.
    [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.
    [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.
    [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.
    [19]
    P. Weißgerber and S. Diehl. Identifying refactorings from source-code changes. pages 231--240, 2006.
    [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.

    Cited By

    View all
    • (2023)Research on mining software repositories to facilitate refactoringWIREs Data Mining and Knowledge Discovery10.1002/widm.150813:5Online publication date: 22-May-2023

    Recommendations

    Comments

    Information & Contributors

    Information

    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
    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 for this article.

    Check for updates

    Author Tags

    1. Developers Activity
    2. Java Software Systems
    3. Mining Software Repositories
    4. Refactoring

    Qualifiers

    • Research-article
    • Research
    • Refereed limited

    Conference

    XP '16 Workshops

    Acceptance Rates

    Overall Acceptance Rate 11 of 15 submissions, 73%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)4
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 11 Aug 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2023)Research on mining software repositories to facilitate refactoringWIREs Data Mining and Knowledge Discovery10.1002/widm.150813:5Online publication date: 22-May-2023

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media