Ordered sequencing of Refactorings based on Preconditions and Postconditions.

Gespeichert in:
Bibliographische Detailangaben
Titel: Ordered sequencing of Refactorings based on Preconditions and Postconditions.
Autoren: Barón Pérez, Nelida, Santaolaya Salgado, René, Valenzuela Robles, Blanca Dina, Fragoso Diaz, Olivia, Rojas Pérez, Juan Carlos, González Serna, Juan Gabriel, Mexicano Santoyo, Adriana
Quelle: International Journal of Combinatorial Optimization Problems & Informatics; Jan-Apr2026, Vol. 17 Issue 1, p286-298, 13p
Schlagwörter: SOFTWARE refactoring, GREEDY algorithms, COMPUTER software development, SOFTWARE measurement, COMPUTER software quality control
Abstract: Refactoring is an essential practice in software development, aimed at improving the internal quality of code without modifying its external behaviour. This work introduces a modification to the Greedy algorithm through the integration of preconditions and postconditions to seek to optimise the ordering of refactoring operations. Unlike the traditional approach, which selects transformations without considering their cumulative impact, the proposed algorithm evaluates each step to help ensure progressive improvement in key metrics such as abstraction, modular protection, and implementation inheritance. To validate the effectiveness of the algorithm, it was applied to 30 applications selected from the GitHub repository, with the condition that each project remained executable both before and after refactoring. Metrics were evaluated at each stage of the process to assess the actual impact of the generated sequences. [ABSTRACT FROM AUTHOR]
Copyright of International Journal of Combinatorial Optimization Problems & Informatics is the property of International Journal of Combinatorial Optimization Problems & Informatics and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Datenbank: Complementary Index
Beschreibung
Abstract:Refactoring is an essential practice in software development, aimed at improving the internal quality of code without modifying its external behaviour. This work introduces a modification to the Greedy algorithm through the integration of preconditions and postconditions to seek to optimise the ordering of refactoring operations. Unlike the traditional approach, which selects transformations without considering their cumulative impact, the proposed algorithm evaluates each step to help ensure progressive improvement in key metrics such as abstraction, modular protection, and implementation inheritance. To validate the effectiveness of the algorithm, it was applied to 30 applications selected from the GitHub repository, with the condition that each project remained executable both before and after refactoring. Metrics were evaluated at each stage of the process to assess the actual impact of the generated sequences. [ABSTRACT FROM AUTHOR]
ISSN:20071558
DOI:10.61467/2007.1558.2026.v17i1.1025