Skip to main content

Extending Testability for Automated Refactoring

  • Conference paper
  • First Online:
Extreme Programming and Agile Processes in Software Engineering (XP 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2675))

Abstract

Refactoring, one of XP core practices, aims at keeping the software design simple and flexible. It assumes changing internal structure of the code without influencing its functionality [1]. However, since refactoring is a costly and complex process, researchers and practitioners try to automate or semi-automate it (e.g. [2]), having in mind both decreasing the cost and preventing it from introducing new errors to the code. The automation is usually based on syntactic verification of well-known conditions that must be met to successfully apply a given transformation. Unfortunately, only a few among refactorings catalogued by Martin [4] are subject to full automation.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight 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

References

  1. Opdyke W. F.: Refactoring object-oriented frameworks. Ph.D. thesis. University of Illinois, Urbana-Champaign, 1992.

    Google Scholar 

  2. Roberts D., Brant J., Johnson R.: A refactoring tool for Smalltalk. Theory and Practice of Object Systems, 3(4), 1997.

    Google Scholar 

  3. Gamma E., Beck K.: jUnit. http://www.junit.org/ (March 2003)

  4. Fowler M.: Refactoring: improving the design of code. Addison-Wesley, New York, 1999.

    Google Scholar 

  5. Roock S., Havenstein A.: Refactoring Tags for automatic refactoring of framework dependent applications. Proceedings of Extreme Programming Conference 2002, Villasimius, Cagliari, Italy, 2002.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Walter, B. (2003). Extending Testability for Automated Refactoring. In: Marchesi, M., Succi, G. (eds) Extreme Programming and Agile Processes in Software Engineering. XP 2003. Lecture Notes in Computer Science, vol 2675. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44870-5_71

Download citation

  • DOI: https://doi.org/10.1007/3-540-44870-5_71

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40215-2

  • Online ISBN: 978-3-540-44870-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics