Software Defect Prediction using Deep Learning by Correlation Clustering of Testing Metrics
Open Access
- 21 December 2022
- journal article
- research article
- Published by Faculty of Electrical Engineering, Computer Science and Information Technology Osijek in International journal of electrical and computer engineering systems
- Vol. 13 (10) , 953-960
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 AST testing Metrics is performed and clustered as a more relevant feature vector and fed into 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 performed on the PROMISE dataset that contains samples of open-source Java applications such as Camel Dataset, Jedit dataset, Poi dataset, Synapse dataset, Xerces dataset, and Xalan dataset. The result findings show that the CCFT- CNN model increases the average F-measure by 2% when compared to the baseline model.Keywords
This publication has 7 references indexed in Scilit:
- Software defect prediction using hybrid model (CBIL) of convolutional neural network (CNN) and bidirectional long short-term memory (Bi-LSTM)PeerJ Computer Science, 2021
- Testing Deep Learning-based Visual Perception for Automated DrivingACM Transactions on Cyber-Physical Systems, 2021
- Handling Class-Imbalance with KNN (Neighbourhood) Under-Sampling for Software Defect PredictionArtificial Intelligence Review, 2021
- A Differential Testing Approach for Evaluating Abstract Syntax Tree Mapping Algorithms2021
- An orchestrated survey of methodologies for automated software test case generationJournal of Systems and Software, 2013
- A Green Software Development Life Cycle for Cloud ComputingIT Professional, 2013
- A survey of online failure prediction methodsACM Computing Surveys, 2010