Skip to main content

Identifying Refactoring-Oriented Clones and Inferring How They Can Be Merged

  • Chapter
  • First Online:
Code Clone Analysis
  • 598 Accesses

Abstract

Our research group has been working on code clones for more than 20 years. In this chapter, I review our work on merging clones published in 2008 (Higo et al. in J Soft Mainten Evolut 20:435–461, 2008 [3]), introduce two subsequent studies, and discuss prospects for future research.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 139.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 179.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 179.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    The journal changed its name in 2012 and is now called the Journal of Software: Evolution and Process.

  2. 2.

    DCH means Dispersion in the Class Hierarchy.

References

  1. M. Fowler, K. Beck, J. Brant, W. Opdyke, D. Roberts, Refactoring: Improving the Design of Existing Code (Addison-Wesley Longman Publishing Co., Inc., USA, 1999)

    Google Scholar 

  2. E. Gamma, R. Helm, R. Johnson, J. Vlissides, Design Patterns: Elements of Reusable Object-Oriented Software (Addison-Wesley Longman Publishing Co., Inc., USA, 1994)

    Google Scholar 

  3. Y. Higo, S. Kusumoto, K. Inoue, A metric-based approach to identifying refactoring opportunities for merging code clones in a Java software system. J. Soft. Mainten. Evolut. 20(6), 435–461 (2008)

    Article  Google Scholar 

  4. K. Hotta, Y. Higo, S. Kusumoto, Identifying, tailoring, and suggesting form template method refactoring opportunities with program dependence graph, in Proceedings of the 2012 16th European Conference on Software Maintenance and Reengineering (2012), pp. 53–62

    Google Scholar 

  5. T. Kamiya, S. Kusumoto, K. Inoue, CCFinder: a multilinguistic token-based code clone detection system for large scale source code. IEEE Trans. Soft. Eng. 28(7), 654–670 (2002)

    Article  Google Scholar 

  6. T. Nakagawa, Y. Higo, J. Matsumoto, S. Kusumoto, How compact will my system be? A fully-automated way to calculate Loc reduced by clone refactoring, in Proceedings of the 26th Asia-Pacific Software Engineering Conference (2019), pp. 284–291

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yoshiki Higo .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Higo, Y. (2021). Identifying Refactoring-Oriented Clones and Inferring How They Can Be Merged. In: Inoue, K., Roy, C.K. (eds) Code Clone Analysis. Springer, Singapore. https://doi.org/10.1007/978-981-16-1927-4_13

Download citation

  • DOI: https://doi.org/10.1007/978-981-16-1927-4_13

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-16-1926-7

  • Online ISBN: 978-981-16-1927-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics