We use cookies to improve your experience with our site.
Rim Mahouachi. Search-Based Cost-Effective Software Remodularization[J]. Journal of Computer Science and Technology, 2018, 33(6): 1320-1336. DOI: 10.1007/s11390-018-1892-6
Citation: Rim Mahouachi. Search-Based Cost-Effective Software Remodularization[J]. Journal of Computer Science and Technology, 2018, 33(6): 1320-1336. DOI: 10.1007/s11390-018-1892-6

Search-Based Cost-Effective Software Remodularization

  • Software modularization is a technique used to divide a software system into independent modules (packages) that are expected to be cohesive and loosely coupled. However, as software systems evolve over time to meet new requirements, their modularizations become complex and gradually loose their quality. Thus, it is challenging to automatically optimize the classes' distribution in packages, also known as remodularization. To alleviate this issue, we introduce a new approach to optimize software modularization by moving classes to more suitable packages. In addition to improving design quality and preserving semantic coherence, our approach takes into consideration the refactoring effort as an objective in itself while optimizing software modularization. We adapt the Elitist Non-dominated Sorting Genetic Algorithm (NSGA-Ⅱ) of Deb et al. to find the best sequence of refactorings that 1) maximize structural quality, 2) maximize semantic cohesiveness of packages (evaluated by a semantic measure based on WordNet), and 3) minimize the refactoring effort. We report the results of an evaluation of our approach using open-source projects, and we show that our proposal is able to produce a coherent and useful sequence of recommended refactorings both in terms of quality metrics and from the developer's points of view.
  • loading

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return