Software Defect Prediction using Deep Learning by Correlation Clustering of Testing Metrics

3Citations
Citations of this article
17Readers
Mendeley users who have this article in their library.

Abstract

The software industry has made significant efforts in recent years to enhance software quality in businesses. The use of proactively defect prediction in the software will assist programmers and white box testing in detecting issues early, saving time and money. Conventional software defect prediction methods focus on traditional source code metrics such as code complexities, lines of code, and so on. These capabilities, unfortunately, are unable to retrieve the semantics of source code. In this paper, we have presented a novel Correlation Clustering fine-tuned CNN (CCFT-CNN) model based on testing Metrics. CCFT-CNN can predict the regions of source code that contain faults, errors, and bugs. Abstract Syntax Tree (AST) tokens are extracted as testing Metrics vectors from the source code. The correlation among ASTtesting Metrics is performedandclusteredas a more relevant feature vector andfedinto Convolutional Neural Network (CNN). Then, to enhance the accuracy of defect prediction, fine-tuning of the CNN model is performed by applying hyperparameters. The result analysis is performedon the PROMISE dataset that contains samples ofopen-source Java applications such as Camel Dataset, Jedit dataset, Poi dataset, Synapse dataset, Xerces dataset, and Xalan dataset. The result findings show that the CCFTCNN model increases the average F-measure by 2% when compared to the baseline model.

Cite

CITATION STYLE

APA

Sharma, K. K., Sinha, A., & Sharma, A. (2022). Software Defect Prediction using Deep Learning by Correlation Clustering of Testing Metrics. International Journal of Electrical and Computer Engineering Systems, 13(10), 953–960. https://doi.org/10.32985/ijeces.13.10.15

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free