NUK - logo
E-resources
Full text
Peer reviewed
  • An efficient heuristic algo...
    Yuste, Javier; Duarte, Abraham; Pardo, Eduardo G.

    The Journal of systems and software, August 2022, 2022-08-00, Volume: 190
    Journal Article

    In the lifecycle of software projects, maintenance tasks usually entail 75% of the total costs, where most efforts are spent in understanding the program. To improve the maintainability of software projects, the code is often divided into components, which are then grouped in different modules following good design principles, lowering coupling and increasing cohesion. The Software Module Clustering Problem (SMCP) is an optimization problem that looks for maximizing the modularity of software projects in the context of Search-Based Software Engineering. In the SMCP, projects are often modeled as graphs. Therefore, the SMCP can be interpreted as a graph partitioning problem, which is proved to be NP-hard. In this work, we propose a new heuristic algorithm for software modularization, based on a Greedy Randomized Adaptive Search Procedure with Variable Neighborhood Descent. We present a three-fold categorization of neighborhoods for the SMCP and leverage domain-specific information to filter unpromising solutions. Our proposal has been successfully tested over a dataset of real software projects, outperforming the previous state-of-the-art approach in terms of Modularization Quality in very short computing times. Therefore, it could be integrated in software development tools to improve the quality of software projects in real time. •A heuristic algorithm for software module clustering optimization.•A categorization of neighborhoods for the Software Module Clustering Problem.•Advanced strategies for the design of efficient optimization algorithms.•Application of GRASP and VNS metaheuristic methodologies.•Improvement of the previous state-of-the-art results.