Language Support for Refactorability Decay Prevention

Dov Fraivert, David H. Lorenz

نتاج البحث: فصل من :كتاب / تقرير / مؤتمرمنشور من مؤتمرمراجعة النظراء

ملخص

Even code that is free of smells may be at high risk of forming them. In such cases, developers can either perform preventive refactoring in order to reduce this risk, or leave the code as is and perform corrective refactoring as smells emerge. In practice, however, developers usually avoid preventive refactoring during the development phase, and when code smells eventually form, other developers who are less acquainted with the code avoid the more complex corrective refactoring. As a result, a refactoring opportunity is missed, and the quality and maintainability of the code is compromised. In this work, we treat refactoring not as a single atomic action, but rather as a sequence of subactions. We divide the responsibility for these subactions between the original developer of the code, who just prepares the code for refactoring, and a future developer, who may need to carry out the actual refactoring action. To manage this division of responsibility, we introduce a set of annotations along with an annotation processor that prevents software erosion from compromising the ability to perform the refactoring action.

اللغة الأصليةالإنجليزيّة
عنوان منشور المضيفGPCE 2022 - Proceedings of the 21st ACM SIGPLAN International Conference on Generative Programming
العنوان الفرعي لمنشور المضيفConcepts and Experiences, Co-located with: SPLASH 2022
المحررونBernhard Scholz, Yukiyoshi Kameyama
ناشرAssociation for Computing Machinery, Inc
الصفحات122-134
عدد الصفحات13
رقم المعيار الدولي للكتب (الإلكتروني)9781450399203
المعرِّفات الرقمية للأشياء
حالة النشرنُشِر - 1 ديسمبر 2022
الحدث21st ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences, GPCE 2022, co-located with ACM SIGPLAN Conference on Systems, Programming, Languages, and Applications, SPLASH 2022 - Auckland, نيوزلندا
المدة: ٦ ديسمبر ٢٠٢٢٧ ديسمبر ٢٠٢٢

سلسلة المنشورات

الاسمGPCE 2022 - Proceedings of the 21st ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences, Co-located with: SPLASH 2022

!!Conference

!!Conference21st ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences, GPCE 2022, co-located with ACM SIGPLAN Conference on Systems, Programming, Languages, and Applications, SPLASH 2022
الدولة/الإقليمنيوزلندا
المدينةAuckland
المدة٦/١٢/٢٢٧/١٢/٢٢

ملاحظة ببليوغرافية

Publisher Copyright:
© 2022 ACM.

بصمة

أدرس بدقة موضوعات البحث “Language Support for Refactorability Decay Prevention'. فهما يشكلان معًا بصمة فريدة.

قم بذكر هذا