arrow
Return

Evolution-Aware Constraint Derivation Approach for Software Remodularization

delete2024-11-23
delete1
PRE
AI
F
Fanyi Meng
Y
Ying Wang *
C
Chun Yong Chong *
H
Hai Yu
Z
Zhiliang Zhu
DOI:10.1145/3676960delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Existing software clustering techniques tend to ignore prior knowledge from domain experts, leading to results (suggested big-bang remodularization actions) that cannot be acceptable to developers. Incorporating domain experts knowledge or constraints during clustering ensures the obtained modularization aligns with developers' perspectives, enhancing software quality. However, manual review by knowledgeable domain experts for constraint generation is time-consuming and labor-intensive. In this article, we propose an evolution-aware constraint derivation approach, ESCORT, which automatically derives clustering constraints based on the evolutionary history from the analyzed software. Specifically, ESCORT can serve as an alternative approach to derive implicit and explicit constraints in situations where domain experts are absent. In the subsequent constrained clustering process, ESCORT can be considered as a framework to help supplement and enhance various unconstrained clustering techniques to improve their accuracy and reliability. We evaluate ESCORT based on both quantitative and qualitative analysis. In quantitative validation, ESCORT, using generated clustering constraints, outperforms seven classic unconstrained clustering techniques. Qualitatively, a survey with developers from five IT companies indicates that 89% agree with ESCORT's clustering constraints. We also evaluate the utility of refactoring suggestions from our constrained clustering approach, with 54% acknowledged by project developers, either implemented or planned for future releases.
Keywords:
Constrained clustering
software remodularization
software refactoring

Journal

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
Papers:
1.2K
Citations:
3.4K

Organization

M
Monash University
Scholars:
5.4W
Papers: 5.4W
Citations: 79
N
northeastern university - china
Scholars:
3.2W
Papers: 2.7W
Citations: 37
Cited Papers

Cited Papers

errShare
errSave
errShare
errSave
Forward-Looking MD&A Disclosures and the Information Environment
err2015-05-01
err0
PREAI
errVolkan Muslu; Suresh Radhakrishnan; K. R. Subramanyam; Dongkuk Lim
errShare
errSave
Label Propagated Nonnegative Matrix Factorization for Clustering
err2022-01-01
err12
PREAI
errLan, Long; Liu, Tongliang; Zhang, Xiang; Xu, Chuanfu; Luo, Zhigang
errShare
errSave
Automatic constraints generation for semisupervised clustering: experiences with documents classification
err2015-03-17
err18
PREAI
errDiaz-Valenzuela, Irene; Loia, Vincenzo; Martin-Bautista, Maria J.; Senatore, Sabrina; Vila, M. Amparo
errShare
errSave
errShare
errSave
errShare
errSave
researcher View more