skip to main content
10.1145/2593702.2593706acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
Article

Towards refactoring-aware code review

Published:02 June 2014Publication History

ABSTRACT

Software developers review changes to a code base to prevent new bugs from being introduced. However, some parts of a change are more likely to introduce bugs than others, and thus deserve more care in reviewing. In this short paper, we discuss our ongoing work to build a reviewing tool that automatically determines which changes in a change set are refactorings, uses this information to help the developer distinguish between refactoring and non-refactoring changes, and ultimately reduces the time it takes developers to review code accurately. We also discuss the challenges and opportunities we have faced when building this refactoring-aware code review tool.

References

  1. A. Bacchelli and C. Bird. Expectations, outcomes, and challenges of modern code review. In Proceedings of the 35th International Conference on Software Engineering, 2013. 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 ECOOP, pages 404–428, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. D. Engler, B. Chelf, A. Chou, and S. Hallem. Checking system rules using system-specific, programmer-written compiler extensions. In Proceedings of the Symposium on Operating System Design & Implementation. USENIX, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. N. E. Fenton and N. Ohlsson. Quantitative analysis of faults and failures in a complex software system. Software Engineering, IEEE Transactions on, 26(8):797–814, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. B. Fluri, M. Wursch, M. Pinzger, and H. Gall. Change distilling:tree differencing for fine-grained source code change extraction. Software Engineering, IEEE Transactions on, 33(11):725–743, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. X. Ge, Q. L. DuBose, and E. Murphy-Hill. Reconciling manual and automatic refactoring. In Proceedings of the 2012 International Conference on Software Engineering, pages 211–221, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. M. Kim, T. Zimmermann, and N. Nagappan. A field study of refactoring challenges and benefits. In Proceedings of FSE ’12, pages 1–11, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. S. Letovsky and E. Soloway. Delocalized plans and program comprehension. Software, IEEE, 3(3):41–49, 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. E. Murphy-Hill, C. Parnin, and A. P. Black. How we refactor, and how we know it. Software Engineering, IEEE Transactions on, 38(1):5–18, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. K. Prete, N. Rachatasumrit, N. Sudan, and M. Kim. Template-based reconstruction of complex refactorings. In Software Maintenance (ICSM), 2010 IEEE International Conference on, pages 1–10, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Z. Xing and E. Stroulia. Refactoring practice: How it is and how it should be supported-an Eclipse case study. In International Conference on Software Maintenance, pages 458–468. IEEE, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Towards refactoring-aware code review

    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 Conferences
      CHASE 2014: Proceedings of the 7th International Workshop on Cooperative and Human Aspects of Software Engineering
      June 2014
      132 pages
      ISBN:9781450328609
      DOI:10.1145/2593702

      Copyright © 2014 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: 2 June 2014

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Acceptance Rates

      Overall Acceptance Rate47of70submissions,67%

      Upcoming Conference

      ICSE 2025

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader