Crossref DOIMemberCiteFactoropen accessissn
SJIF Impact Factor 8.659 | ISSN: 2582-3930
IJSREM Logo

International Journal of Scientific Research in Engineering and Management

(Gateway to Global Scholars - An International, Scholarly, Multi-Disciplinary, Open Access Journal)

Peer-Reviewed Journal Designed to Meet UGC's Quality Parameters

HomeCurrent IssuePast IssuesPay OnlineConferencesEditorial BoardAbout UsContact Us
IJSREM

Loading article...

Follow Us

  • Google Scholar
  • ResearchGate
  • Academia.edu
  • Mendeley
  • LinkedIn
  • Facebook
  • Instagram

Journal Policies

  • Peer Review Policy
  • Publication Ethics
  • Copyright Infringement
  • Refund & Cancellation Policy
  • Terms and Conditions
  • Privacy Policy

Journal Identifiers & Licenses

  • ISSN Verified: 2582-3930ISSN Verified: 2582-3930
  • Crossref DOI: 10.55041Crossref DOI: 10.55041
  • SJIF Ranking: 08.659SJIF Ranking: 08.659
  • Licensed under CC BY 4.0Licensed under CC BY 4.0
  • ISO Certification: 9001:2015ISO Certification: 9001:2015
  • Indexed & Cited In: Google ScholarIndexed & Cited In: Google Scholar

Contact Us

International Journal of Scientific Research in Engineering and Management (IJSREM)

#62/1, New No 7, 1st Cross, 2nd Main, Ganganagar, R T Nagar, Bangalore North, Bangalore, Karnataka, India – 560032
[email protected]+91 93911 67991
logos
logos
Working Hours

Mon – Sat: 9:00 AM – 6:00 PM

Sunday: 10:00 AM – 4:00 PM

+91 93911 67991

© 2026 IJSREM – International Journal of Scientific Research in Engineering and Management. This is an open-access journal. Articles are published under the Creative Commons Attribution (CC BY 4.0) License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

DisclaimerPrivacy PolicyTerms and Conditions
ArticlePeer ReviewedOpen AccessPlagiarism Passed
Paper ID:IJSREM62340

Automatic Detection of Software Defects Using Machine Learning

Stream/Area:

-

Subject:

-

Paper ID:

IJSREM62340

Volume:

10 |

5 |

May 2026

Pages:

1-12

Publication Frequency:

Monthly (12 issues per year)

DOI
Digital Object Identifier
10.55041/IJSREM62340

License:International Journal of Scientific Research in Engineering and Management follows the Creative Commons Attribution 4.0 (CC BY 4.0) License, allowing free use and distribution with proper attribution.

Share this article:

Authors

TUBUDI MUKADI JEAN

TUBUDI MUKADI JEAN

Department of Computer Science

Bangalore University, Haute Ecole de Commerce Kinshasa

Download Author Certificate

Author Services & Downloads

Full ArticlesAcceptance Certificate

Abstract

Software defect detection is a critical challenge in modern software engineering, directly impacting the reliability, security, and performance of software systems. Traditional manual code review and static analysis techniques are often insufficient to handle the complexity and scale of contemporary software projects. Machine learning (ML) has emerged as a transformative paradigm, enabling automated, data-driven approaches to defect prediction and detection. This paper presents a comprehensive survey of ML-based software defect detection techniques, examining classical methods such as Naive Bayes, Support Vector Machines, and Decision Trees, as well as advanced deep learning architectures including Convolutional Neural Networks, Long Short-Term Memory networks, and Graph Neural Networks. We analyze feature extraction strategies ranging from traditional code metrics to abstract syntax tree representations and graph-based code embeddings. A thorough evaluation of benchmark datasets, performance metrics, and comparative studies is provided, alongside a discussion of current limitations and promising future research directions. Experimental results from our analysis indicate that deep learning models consistently outperform classical approaches, with Graph Neural Networks achieving the highest defect detection accuracy on standard benchmarks.

KEYWORDS

Keywords: software defect detection machine learning deep learning static code analysis defect prediction software quality assurance neural networks code metrics

Cite This Article

TUBUDI MUKADI JEAN, "Automatic Detection of Software Defects Using Machine Learning," International Journal of Scientific Research in Engineering and Management, vol. 10, no. 5, pp. 1-12, May 2026. https://doi.org/10.55041/IJSREM62340

Full Article/Conclusion

This paper has presented a comprehensive survey of machine learning approaches to automatic software defect detection, spanning the full spectrum from early statistical methods to state-of-the-art deep learning architectures. Our analysis has traced the evolution of the field from simple metric-based classifiers to sophisticated graph neural networks and pre-trained transformer models capable of learning rich, multi-scale representations of program structure and semantics. The empirical evidence consistently demonstrates that deep learning approaches, and particularly graph-based and transformer-based models, achieve superior defect detection performance compared to classical ML methods. The pre-train/fine-tune paradigm has emerged as a particularly effective strategy, enabling high-accuracy detection with limited labeled training data by leveraging knowledge acquired from large unlabeled code corpora. Feature representation remains a crucial determinant of model performance, with graph-based representations encoding program structure and data flow outperforming simpler metric and token-based approaches. Despite these impressive advances, significant challenges remain before ML-based defect detection can be fully integrated into mainstream software development practice. Cross-project generalization, model interpretability, data quality, and adaptability to evolving codebases are pressing open problems that require sustained research attention. The emergence of large language models introduces both new opportunities and new challenges, particularly around reliability and uncertainty quantification. The long-term vision of this research agenda is the development of AI-assisted software development environments that seamlessly and continuously monitor code quality, flag potential defects at the point of authorship, and provide actionable repair suggestions grounded in natural language explanations. Realizing this vision will require advances not only in ML modeling but also in software engineering methodology, human-computer interaction, and empirical evaluation practice. We hope that this survey serves as a valuable reference for researchers and practitioners working toward this important goal.

References

[1] Akiyama, F. (1971). An example of software system debugging. Proceedings of IFIP Congress, 71, 353–359. [2] Basili, V. R., Briand, L. C., & Melo, W. L. (1996). A validation of object-oriented design metrics as quality indicators. IEEE Transactions on Software Engineering, 22(10), 751–761. [3] Catal, C., & Diri, B. (2009). A systematic review of software fault prediction studies. Expert Systems with Applications, 36(4), 7346–7354. [4] Chakraborty, S., Krishna, R., Ding, Y., & Ray, B. (2022). Deep learning based vulnerability detection: Are we there yet? IEEE Transactions on Software Engineering, 48(9), 3280–3296. [5] Dam, H. K., Pham, T., Ng, S. W., Tran, T., Grundy, J., Ghose, A., Kim, T., & Kim, C. J. (2018). A deep tree-based model for software defect prediction. arXiv preprint arXiv:1802.00921. [6] Fan, J., Li, Y., Wang, S., & Nguyen, T. N. (2020). A C/C++ code vulnerability dataset with code changes and CVE summaries. Proceedings of MSR 2020, 508–512. [7] Feng, Z., Guo, D., Tang, D., Duan, N., Feng, X., Gong, M., ... & Liu, T. (2020). CodeBERT: A pre-trained model for programming and natural languages. Findings of EMNLP 2020, 1536–1547. [8] Guo, D., Ren, S., Lu, S., Feng, Z., Tang, D., Shujie, L., ... & Liu, T. (2021). GraphCodeBERT: Pre-training code representations with data flow. ICLR 2021. [9] Hall, T., Beecham, S., Bowes, D., Gray, D., & Counsell, S. (2012). A systematic literature review on fault prediction performance in software engineering. IEEE Transactions on Software Engineering, 38(6), 1276–1304. [10] Li, Z., Zou, D., Xu, S., Ou, X., Jin, H., Wang, S., ... & Zhong, J. (2018). VulDeePecker: A deep learning-based system for vulnerability detection. Proceedings of NDSS 2018.

Editorial & Review Transparency

Publication Date

5/3/2026

Peer Review Type

Double-Blind Peer Review

Review Rounds: 2

Documents

Review Report (Confidential)
Copyright Form (Office)

Article Metrics & Impact

Article Views

0

Total views since publication

PDF Downloads

8

Total downloads since publication

Geographic Reach

5

Indexing, Archiving & Preservation

Google Scholar
Academia
ResearchGate
Crossref
SSRN
Semantic Scholar
Thomson Reuters
WorldCat
Mendeley
OpenAlex
EBSCO
Zenodo

Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.

Ethics, Compliance & Transparency

Plagiarism Screening

This manuscript has been checked for plagiarism using TurnitinPlagiarismChecker software.

Conflict of Interest

The authors declare no conflict of interest related to this research work.

Funding Information

No funding information available for this research.

Similar & Recommended Articles

Similar Articles by Topic

Related research in the same subject area

Loading similar articles...