skip to main content
10.1145/1636642.1636648acmconferencesArticle/Chapter ViewAbstractPublication PagessplashConference Proceedingsconference-collections
research-article

Towards a refactoring guideline using code clone classification

Published:19 October 2008Publication History

ABSTRACT

Evolution of software often decreases desired properties like readability and maintainability of the evolved code. The process of refactoring aims at increasing the same desired properties by restructuring the code. New paradigms like AOP allow aspect-oriented refactorings as counterparts of object-oriented refactoring with the same aim. However, it is not obvious to the user, when to use which paradigm for achieving certain goals. In this paper we present an approach of code clone classification, which advises the developer when to use a respective refactoring technique or concept.

References

  1. S. Apel, T. Leich, and G. Saake. Aspectual Feature Modules. In IEEE Transactions on Software Engineering (TSE), 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Brenda S. Baker. On Finding Duplication and Near-Duplication in Large Software Systems. In Proceedings of the Working Conference on Reverse Engineering (WCRE), 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. I. D. Baxter et al. Clone Detection Using Abstract Syntax Trees. In Proceedings of the International Conference on Software Maintenance (ICSM), 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. M. Bruntink, A.v. Deursen, R.v. Engelen, and T. Tourwé. On the Use of Clone Detection for Identifying Crosscutting Concern Code. In IEEE Transactions on Software Engineering (TSE), 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. E. Duala-Ekoko and M. P. Robillard. Tracking Code Clones in Evolving Software. In Proceedings of the International Conference on Software Engineering (ICSE), 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. S. Ducasse, M. Rieger, and S. Demeyer. A Language Independent Approach for Detecting Duplicated Code. In Proceedings of the International Conference on Software Maintenance (ICSM), 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Martin Fowler et al. Refactoring - Improving the Design of Existing Code. Addison Wesley, 2000.Google ScholarGoogle Scholar
  8. R. Johnson and B. Foote. Designing Reusable Classes. Journal of Object-Oriented Programming, 1(2), 1988.Google ScholarGoogle Scholar
  9. T. Kamiya, S. Kusumoto, and K. Inoue. CCFinder: A Multilinguistic Token-Based Code Clone Detection System for Large Scale Source Code. In IEEE Transactions on Software Engineering (TSE), 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Joshua Kerievsky. Refactoring to Patterns. Addison-Wesley, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. M. P. Monteiro and J. M. Fernandes. Towards a Catalog of Aspect-Oriented Refactorings. In Proceedings of the International Conference on Aspect-Oriented Software Development (AOSD), 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. C. K. Roy and J. Cordy. A Survey on Software Clone Detection Research. Technical Report 2007-451, School of Computing, Queen's University at Kingston, 2007.Google ScholarGoogle Scholar
  13. L. Tokuda and D. Batory. Evolving Object-Oriented Designs with Refactorings. In Proc. of the Int'l Conf. on Automated Software Engineering, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Peter Wegner. Concepts and Paradigms of Object-Oriented Programming. ACM Special Interest's Group of Programming Languages (SIGPLAN), 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Towards a refactoring guideline using code clone classification

      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
        WRT '08: Proceedings of the 2nd Workshop on Refactoring Tools
        October 2008
        50 pages
        ISBN:9781605583396
        DOI:10.1145/1636642

        Copyright © 2008 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: 19 October 2008

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Acceptance Rates

        Overall Acceptance Rate9of9submissions,100%

        Upcoming Conference

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader