International Journal For Multidisciplinary Research

E-ISSN: 2582-2160     Impact Factor: 9.24

A Widely Indexed Open Access Peer Reviewed Multidisciplinary Bi-monthly Scholarly International Journal

Call for Paper Volume 7, Issue 6 (November-December 2025) Submit your research before last 3 days of December to publish your research paper in the issue of November-December.

Empirical Analysis of AI-Assisted Code Generation Tools Impact on Code Quality, Security and Developer Productivity

Author(s) Ms. Purvi Dhiraj Sankhe, Dr. Neeta Prashant Patil, Ms. Minakshi Shashikant Ghorpade, Ms. Pratibha Rohit Prasad, Ms. Monisha . Linkesh
Country India
Abstract AI-assisted code generation tools have been the main cause of the increase in practices like code completion, bug fixing, and documentation among developers. However, the main concern regarding their effects on code quality, security vulnerabilities, and developer productivity still lacks empirical evidence. Objective: This study conducts an empirical assessment of the AI-assisted code generation tools' effectiveness in terms of software quality metrics, security vulnerability introduction, and developer productivity, depending on the programming languages and project complexities. Methodology: A controlled experiment was performed with 120 professional developers where they were divided into experimental and control groups and 480 code modules were analyzed among Python, Java, JavaScript, and C++ projects. Cyclomatic complexity, maintainability index, and code smell density were the three parameters for measuring code quality. Static analysis tools were employed in the evaluation of security vulnerabilities, while productivity was gauged through measuring task completion time and conducting cognitive load surveys. Results: The use of AI-assistive tools lead to a 31.4% increase in average developer productivity; however, 23.7% more security vulnerabilities were introduced in the codes generated. Code maintainability went up 18.2%, while cyclomatic complexity decreased by 14.6%. The variations in programming languages were significant, with Python being the one that realized the highest quality improvement (26.3%) and C++ the one that faced the most security risk increase (34.8%).
Keywords Large language models, Software security, Static code analysis, Cyclomatic complexity
Field Engineering
Published In Volume 7, Issue 6, November-December 2025
Published On 2025-11-22
DOI https://doi.org/10.36948/ijfmr.2025.v07i06.61350
Short DOI https://doi.org/hbb769

Share this