AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
PDF (1.3 MB)
Collect
Submit Manuscript AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Article | Open Access

Software Defect Prediction Based on Semantic Views of Metrics: Clustering Analysis and Model Performance Analysis

Baishun Zhou1,2Haijiao Zhao3Yuxin Wen2Gangyi Ding1Ying Xing3( )Xinyang Lin4Lei Xiao5
School of Computer Science and Technology, Beijing Institute of Technology, Beijing, 100081, China
School of Computer Science, China University of Labor Relations, Beijing, 100048, China
School of Intelligent Engineering and Automation, Beijing University of Posts and Telecommunications, Beijing, 100876, China
Xiamen Zhonglian Century Co., Ltd., Xiamen, 361013, China
School of Computer and Information Engineering, Xiamen University of Technology, Xiamen, 361024, China
Show Author Information

Abstract

In recent years, with the rapid development of software systems, the continuous expansion of software scale and the increasing complexity of systems have led to the emergence of a growing number of software metrics. Defect prediction methods based on software metric elements highly rely on software metric data. However, redundant software metric data is not conducive to efficient defect prediction, posing severe challenges to current software defect prediction tasks. To address these issues, this paper focuses on the rational clustering of software metric data. Firstly, multiple software projects are evaluated to determine the preset number of clusters for software metrics, and various clustering methods are employed to cluster the metric elements. Subsequently, a co-occurrence matrix is designed to comprehensively quantify the number of times that metrics appear in the same category. Based on the comprehensive results, the software metric data are divided into two semantic views containing different metrics, thereby analyzing the semantic information behind the software metrics. On this basis, this paper also conducts an in-depth analysis of the impact of different semantic view of metrics on defect prediction results, as well as the performance of various classification models under these semantic views. Experiments show that the joint use of the two semantic views can significantly improve the performance of models in software defect prediction, providing a new understanding and approach at the semantic view level for defect prediction research based on software metrics.

References

【1】
【1】
 
 
Computers, Materials & Continua
Pages 5201-5221

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Zhou B, Zhao H, Wen Y, et al. Software Defect Prediction Based on Semantic Views of Metrics: Clustering Analysis and Model Performance Analysis. Computers, Materials & Continua, 2025, 84(3): 5201-5221. https://doi.org/10.32604/cmc.2025.065726

371

Views

10

Downloads

0

Crossref

0

Web of Science

0

Scopus

Received: 20 March 2025
Accepted: 11 June 2025
Published: 30 July 2025
© The Author 2025.

This work is licensed under a Creative Commons Attribution 4.0 International License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.