کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
424302 685394 2007 23 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Using CafeOBJ to Mechanise Refactoring Proofs and Application
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Using CafeOBJ to Mechanise Refactoring Proofs and Application
چکیده انگلیسی

In this paper we show how rewriting systems, in particular CafeOBJ, can be used to automatically prove refactoring rules. In addition, a small case study that illustrates the application of a refactoring rule in an arbitrary program is also developed. Our approach is based on a sequential object-oriented language of refinement (rool) similar to Java. We have implemented the rool grammar in CafeOBJ, as well as the laws that define its semantics. Each refactoring rule is derived by the application of these laws, in a constructive way. The refactorings are also implemented in CafeOBJ, allowing the reduction of an arbitrary program.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Electronic Notes in Theoretical Computer Science - Volume 184, 12 July 2007, Pages 39-61