Automated construction of reference model for software remodularization through software evolution

被引:0
|
作者
Meng, Fanyi [1 ]
Yu, Hai [1 ]
Chong, Chun Yong [2 ]
Wang, Ying [1 ]
Zhu, Zhiliang [1 ]
机构
[1] Northeastern Univ, Software Coll, Shenyang, Peoples R China
[2] Monash Univ Malaysia, Sch Informat Technol, Selangor, Malaysia
关键词
reference model; software architecture; software clustering; software evolution; MODULARIZATION; IMPACT;
D O I
10.1002/smr.2700
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The undocumented evolution of a software project and its underlying architecture underscores the need to recover the architecture from the software's implementation-level artifacts. Despite the existence of various software remodularization techniques, they often suffer from inaccuracies, and evaluating their effectiveness is challenging due to the absence of accurate "ground-truth" architectures or reference models. Prior studies on reference model construction are time-consuming and labor-intensive as it heavily relies on manual analysis by domain experts. Besides, other existing approaches that directly utilize the directory or package structure of the latest version can be unreliable, lacking in-depth analysis of the employed software structure. To address the above limitations, in this paper, we propose Automated Construction of Reference Model (ACRM), an approach for automatically constructing reference models by assigning weights to classes for various software projects using the metadata of all software versions and historical maintenance records. We evaluate ACRM through both quantitative and qualitative analyses. The experiment results provide quantitative validation and show that the generated reference models are reasonable, as confirmed by the relationship between proposed reference models and architectural smells or bugs. Furthermore, we conduct a survey among the practitioners from industry, to gain insights from practitioners' practices and further validate the generated reference models. The survey shows that, on average, 87% of the participants agree with the reference models generated by ACRM. Moreover, we propose an improved metric, wc2c, which analyzes the strengths and weaknesses of different types of software clustering techniques using the proposed reference models of the given software. Finally, we discuss the potential benefits of using ACRM in analyzed projects, particularly in terms of improving software quality, reducing maintenance costs, and enhancing developer productivity. Automated construction of reference model (ACRM) automatically constructs reference models by assigning weights to classes for various software projects using the metadata of all software versions and historical maintenance records. ACRM can aid developers in selecting appropriate software clustering techniques in a more structured and rigorous manner by leveraging generated reference models. image
引用
收藏
页数:33
相关论文
共 50 条
  • [1] Data fusion for software remodularization
    Mahouachi, Rim
    Ghedira, Khaled
    2017 43RD EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA), 2017, : 321 - 328
  • [2] Evolution-Aware Constraint Derivation Approach for Software Remodularization
    Meng, Fanyi
    Wang, Ying
    Chong, Chun Yong
    Yu, Hai
    Zhu, Zhiliang
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2024, 33 (08)
  • [3] A Reference Model as Automated Process for Software Adaptation at Runtime
    Affonso, F. J.
    Carneiro, M. C. V. S.
    Rodrigues, E. L. L.
    Nakagawa, E. Y.
    IEEE LATIN AMERICA TRANSACTIONS, 2015, 13 (01) : 214 - 221
  • [4] Software Maintenance and Evolution and Automated Software Engineering
    Carver, Jeffrey C.
    Serebrenik, Alexander
    IEEE SOFTWARE, 2018, 35 (02) : 102 - 104
  • [5] Experiments with clustering as a software remodularization method
    Anquetil, Nicolas
    Lethbridge, Timothy C.
    Reverse Engineering - Working Conference Proceedings, 1999, : 235 - 255
  • [6] Using Cohesion and Coupling for Software Remodularization: Is It Enough?
    Candela, Ivan
    Bavota, Gabriele
    Russo, Barbara
    Oliveto, Rocco
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2016, 25 (03)
  • [7] The Evolution of Automated Software Repair
    Le Goues, Claire
    Nguyen, Thanhvu
    Forrest, Stephanie
    Weimer, Westley
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2025, 51 (03) : 870 - 873
  • [8] Robustness in Search-Based Software Remodularization
    Amarjeet
    Chhabra, Jitender Kumar
    2017 INTERNATIONAL CONFERENCE ON INFOCOM TECHNOLOGIES AND UNMANNED SYSTEMS (TRENDS AND FUTURE DIRECTIONS) (ICTUS), 2017, : 611 - 615
  • [9] Software evolution and the staged model of the software lifecycle
    Bennett, KH
    Rajlich, VT
    Wilde, N
    ADVANCES IN COMPUTERS, VOL 56, 2002, 56 : 1 - 54
  • [10] Towards a Megamodel to Model Software Evolution Through Transformations
    Favre, Jean-Marie
    NGuyen, Tam
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2005, 127 (03) : 59 - 74