Abstract: Software flexibility is a vital quality attribute that enables systems to adapt to evolving requirements, integrate emerging technologies, and support long-term maintenance. Refactoring, the ...