Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/1094855.1094895acmconferencesArticle/Chapter ViewAbstractPublication PagessplashConference Proceedingsconference-collections
Article

A model-driven approach to formal refactoring

Published: 16 October 2005 Publication History

Abstract

Applying refactorings to object-oriented systems usually affects source code and its associated models, involving complex maintenance efforts to keep those artifacts up to date. Most projects abandon design information in the form of models early in the life cycle, as their sustentation becomes extremely expensive. We propose a formal approach to consistently refactor systems in a model-driven manner. The refactoring applied to the model is linked to a sequence of behavior-preserving transformations that automatically refactor the underlying source code, based on structural properties from the model that must be implemented by the program. As a consequence, sound program refactoring can be accomplished without developer intervention, based only on the applied model transformations. Also, the refactored source code is consistent with the refactored model. Model information can be additionally used to improve refactoring automation, as more powerful transformations can be mechanized.

References

[1]
P. Borba et al. Algebraic Reasoning for Object-Oriented Programming. Science of Computer Programming, 52:53--100, October 2004.
[2]
R. Gheyi, T. Massoni, and P. Borba. Basic laws of object modeling. In SAVCBS, at ACM SIGSOFT 2004/FSE-12, pages 18--25, Newport Beach, United States, October 2004.
[3]
D. Jackson et al. A Micromodularity Mechanism. In Proceedings of the FSE/ESEC '01), pages 62--73. ACM Press, 2001.
[4]
W. Opdyke. Refactoring Object-Oriented Frameworks. PhD thesis, University of Illinois at Urbana-Champaign, 1992.
[5]
J. Warmer et al. The Object Constraint Language: Getting Your Models Ready for MDA. Addison Wesley, second edition, 2003.

Cited By

View all
  • (2008)A Framework for Establishing Formal Conformance between Object Models and Object-Oriented ProgramsElectronic Notes in Theoretical Computer Science (ENTCS)10.1016/j.entcs.2007.08.033195(189-209)Online publication date: 1-Jan-2008

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
OOPSLA '05: Companion to the 20th annual ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications
October 2005
406 pages
ISBN:1595931937
DOI:10.1145/1094855
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]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 16 October 2005

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. object models
  2. program transformation
  3. refactoring

Qualifiers

  • Article

Conference

OOPSLA05
Sponsor:

Upcoming Conference

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)0
Reflects downloads up to 20 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2008)A Framework for Establishing Formal Conformance between Object Models and Object-Oriented ProgramsElectronic Notes in Theoretical Computer Science (ENTCS)10.1016/j.entcs.2007.08.033195(189-209)Online publication date: 1-Jan-2008

View Options

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