Untangling the Knot: Enabling Architecture Evolution with Search-Based Refactoring
Authors:
- 1 March 2022
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 101-111
Abstract
Software-reliant systems need to evolve over time to meet new requirements and take advantage of new technology. However, all too often the structure of software becomes too complex to allow rapid and cost-effective improvements. This increasing complexity is often also a sign of degrading software architecture, making isolating a portion of software for use in a new context or for clean replacement by an improved version difficult. Isolating entangled software from the rest of the architecture typically relies on manual efforts to refactor code that can take thousands of days of effort, as tools provide only limited support for such activities. In this paper, we describe a search-based algorithm that recommends a series of refactorings that collectively isolate specified software from its tangle of architectural dependencies. This approach generates recommendations that reduce problematic dependencies by more than 87% on codebases as large as 1.2M LOC and has the potential to reduce the effort required for this kind of architecture improvement by two-thirds. In walkthroughs, developers found more than 84% of the recommended refactorings acceptable. Our approach provides a much needed foundation for tool support that addresses challenges commonly encountered when improving the architecture of existing software.Keywords
This publication has 34 references indexed in Scilit:
- Many-Objective Software Remodularization Using NSGA-IIIACM Transactions on Software Engineering and Methodology, 2015
- Recommendation system for software refactoring using innovization and interactive dynamic optimization2014
- An Empirical Study of RefactoringChallenges and Benefits at MicrosoftIEEE Transactions on Software Engineering, 2014
- Recommending Refactoring Operations in Large Software Systems2013
- Detecting bad smells in source code using change history information2013
- Search-based software engineeringACM Computing Surveys, 2012
- Experimental assessment of software metrics using automated refactoring2012
- A Precise Method-Method Interaction-Based Cohesion Metric for Object-Oriented ClassesACM Transactions on Software Engineering and Methodology, 2012
- A practice-driven systematic review of dependency analysis solutionsEmpirical Software Engineering, 2011
- A fast and elitist multiobjective genetic algorithm: NSGA-IIIEEE Transactions on Evolutionary Computation, 2002