Software Defect Prediction Through Effective Weighted Optimization Model for Assured Software Quality


  • Devi Priya Gottumukkala Assistant Professor, Department of Computer Science and Engineering, Malla reddy university, Hyderabad. India
  • D. Ushasree Assistant Professor, Department of CSE, Gokaraju Rangaraju Institute of Engineering and Technology, Hyderabad. India
  • T. V. Suneetha Assistant professor, Department of CSE, Gokaraju Rangaraju Institute of Engineering and Technology, Hyderabad. India


Software Defect, Firefly Optimization, Feature Selection, Weighted FCM, Classification


Software Defect Prediction is one of the active research areas in software engineering. Defect prediction approach identifies the defect prone modules before the testing phase starts. Metrics based defect prone modules improve the software quality, reduce the cost and leading to effective allocation of resources. This paper developed an effective software defect prediction model for the software quality assurance. In the first module, the various classifier’s performance is analyzed using all the metrics of the KC1 dataset. In the second module, Firefly optimization algorithm is used for selecting the minimal number of metrics and passing them as input to the SVM classifier. In this paper, the fitness function of the Firefly algorithm is modified to maximize the accuracy and minimize the number of metrics. Based on the fitness function, Firefly algorithm tries to find a better set of metrics which improve the accuracy of defect prediction. In the third module, Hybrid FF or WFCMFF (Weighted FCM Firefly Search) approach is proposed to find a better set of metrics to further improve the performance of defect prediction. This approach combines the Firefly Algorithm and the Stochastic Weighted FCM Search algorithm to select the better set of metrics. The obtained results show that, the WFCMFF approach classifies the defect prone modules better when compared to the FF based feature selection. The achieved accuracy is 93.26%. for the SVM classifier. The classification-based defect prediction Model is evaluated in terms of its accuracy in classifying the module as defective or non-defective. Results proved that the proposed defect prediction Model has improved the accuracy from 86.27 % to 93.26%. Thus, the proposed classification-based defect prediction Model using FF and WFCMFF approaches, highly improves the defect prediction task.


Download data is not yet available.


Shu, R., Xia, T., Williams, L., & Menzies, T. (2022, May). Dazzle: using optimized generative adversarial networks to address security data class imbalance issue. In Proceedings of the 19th International Conference on Mining Software Repositories (pp. 144-155).

Lavanya, S., Prasanth, A., Jayachitra, S., & Shenbagarajan, A. (2021). A Tuned classification approach for efficient heterogeneous fault diagnosis in IoT-enabled WSN applications. Measurement, 183, 109771.

Tabjula, J. L., Kanakambaran, S., Kalyani, S., Rajagopal, P., & Srinivasan, B. (2021). Outlier analysis for defect detection using sparse sampling in guided wave structural health monitoring. Structural Control and Health Monitoring, 28(3), e2690.

Kumar, A., Zhou, Y., & Xiang, J. (2021). Optimization of VMD using kernel-based mutual information for the extraction of weak features to detect bearing defects. Measurement, 168, 108402.

Ghoneim, S. S., Mahmoud, K., Lehtonen, M., & Darwish, M. M. (2021). Enhancing diagnostic accuracy of transformer faults using teaching-learning-based optimization. Ieee Access, 9, 30817-30832.

Abid, A., Khan, M. T., & Iqbal, J. (2021). A review on fault detection and diagnosis techniques: basics and beyond. Artificial Intelligence Review, 54, 3639-3664.

Susan, S., & Kumar, A. (2021). The balancing trick: Optimized sampling of imbalanced datasets—A brief survey of the recent State of the Art. Engineering Reports, 3(4), e12298.

Xie, R., Qiu, H., Zhai, Q., & Peng, R. (2022). A model of software fault detection and correction processes considering heterogeneous faults. Quality and Reliability Engineering International.

Zhu, M., & Pham, H. (2022). A generalized multiple environmental factors software reliability model with stochastic fault detection process. Annals of Operations Research, 1-22.

Pritoni, M., Lin, G., Chen, Y., Vitti, R., Weyandt, C., & Granderson, J. (2022). From fault-detection to automated fault correction: A field study. Building and Environment, 214, 108900.

Gupta, N., Sharma, A., & Pachariya, M. K. (2022). Multi-objective test suite optimization for detection and localization of software faults. Journal of King Saud University-Computer and Information Sciences, 34(6), 2897-2909.

Gokilavani, N., & Bharathi, B. (2021). Test case prioritization to examine software for fault detection using PCA extraction and K-means clustering with ranking. Soft Computing, 25(7), 5163-5172.

Zhang, L., Leach, M., Bae, Y., Cui, B., Bhattacharya, S., Lee, S., ... & Kuruganti, T. (2021). Sensor impact evaluation and verification for fault detection and diagnostics in building energy systems: A review. Advances in Applied Energy, 3, 100055.

You, L. (2023). Multi-channel data flow software fault detection for social internet of things with system assurance concerns. International Journal of System Assurance Engineering and Management, 1-11.

Granderson, J., Lin, G., Singla, R., Mayhorn, E., Ehrlich, P., Vrabie, D., & Frank, S. (2021). Commercial fault detection and diagnostics tools: what they offer, how they differ, and what’s still needed.

Thirumoorthy, K. (2022). A feature selection model for software defect prediction using binary Rao optimization algorithm. Applied Soft Computing, 131, 109737.

Nevendra, M., & Singh, P. (2022). Empirical investigation of hyperparameter optimization for software defect count prediction. Expert Systems with Applications, 191, 116217.

Jin, C. (2021). Cross-project software defect prediction based on domain adaptation learning and optimization. Expert Systems with Applications, 171, 114637.

Cai, X., Geng, S., Wu, D., & Chen, J. (2021). Unified integration of many-objective optimization algorithm based on temporary offspring for software defects prediction. Swarm and Evolutionary Computation, 63, 100871.

Zhu, K., Ying, S., Zhang, N., & Zhu, D. (2021). Software defect prediction based on enhanced metaheuristic feature selection optimization and a hybrid deep neural network. Journal of Systems and Software, 180, 111026.

Gim, J., Yang, H., & Turng, L. S. (2023). Transfer learning of machine learning models for multi-objective process optimization of a transferred mold to ensure efficient and robust injection molding of high surface quality parts. Journal of Manufacturing Processes, 87, 11-24.

Zhu, K., Ying, S., Ding, W., Zhang, N., & Zhu, D. (2022). IVKMP: A robust data-driven heterogeneous defect model based on deep representation optimization learning. Information Sciences, 583, 332-363.

Ji, C., Zhang, C., Hua, L., Ma, H., Nazir, M. S., & Peng, T. (2022). A multi-scale evolutionary deep learning model based on CEEMDAN, improved whale optimization algorithm, regularized extreme learning machine and LSTM for AQI prediction. Environmental Research, 215, 114228.




How to Cite

Gottumukkala, D. P. ., Ushasree, D. ., & Suneetha, T. V. . (2024). Software Defect Prediction Through Effective Weighted Optimization Model for Assured Software Quality. International Journal of Intelligent Systems and Applications in Engineering, 12(15s), 619–633. Retrieved from



Research Article