ISSN (Online): 2456-0448 info@ijirmet.com
Home / Archives / Volume 11 (2026), Issue 3 / Article Details
Volume 11, Issue 3 (2026) Open Access Peer Reviewed

AI-Assisted Python Code Quality and Bug Risk Analysis Platform

Srilakshmi S Vandhana V Nithyasree R Manisha N Pamila A

Author Affiliations

Student , Dept. of Computer Science and Engineering, Er. Perumal Manimekalai College of Engineering Hosur, Tamilnadu, India.

Abstract

An important part of current software development is software quality assurance, especially for dynamically written languages like Python, where undetected bugs can result in serious system failures. In order to detect and categorize bugs in software, this paper introduces an AI-assisted Python code quality and bug risk analysis platform that combines machine learning with static code analysis. The proposed approach uses a collection of 20,000 labelled samples representing 100 different categories of bugs to evaluate Python source code. Code characteristics are represented by extracting static code metrics like Lines of Code (LOC), cyclomatic complexity, and maintainability index. A Random Forest classifier for bug prediction is trained using these features. The model's accuracy of almost 92% shows how well it can spot possible bugs. The solution improves developer insight and efficiency by offering severity assessment, thorough explanations, and recommended fixes for bugs found in addition to classification. An interactive and user-friendly interface is made feasible by the platform's design, which uses a web-based frontend created using HTML, CSS, and JavaScript and a Flask-based backend. According to the results of experiments, the suggested method improves the efficiency of bug detection and supports proactive code quality control.

Keywords - Python Code Analysis, Bug Prediction, Machine Learning, Random Forest, Static Code Analysis, Software Quality, Cyclomatic Complexity, Maintainability Index, Flask

How to Cite This Article

Srilakshmi S, Vandhana V, Nithyasree R, Manisha N, Pamila A (2026). AI-Assisted Python Code Quality and Bug Risk Analysis Platform. International Journal of Innovative Research in Multidisciplinary Education & Technology (IJIRMET), 11(3).

Full Text Article PDF

Journal Metadata
ISSN2456-0448
VolumeVolume 11
IssueIssue 3
Year2026
AccessOpen Access
ReviewDouble Blind
Full Text PDF

Download the complete publication PDF for off-line reading and citation.

Download Article PDF