Dies ist eine Übersichtsseite mit Metadaten zu dieser wissenschaftlichen Arbeit. Der vollständige Artikel ist beim Verlag verfügbar.
An Empirical Study of Generative AI for CRUD Code: A PHP Case with Tutorial Based Novice Baselines
0
Zitationen
3
Autoren
2025
Jahr
Abstract
The rise of generative artificial intelligence is changing the way software is developed, particularly in automating code generation. ChatGPT is one of the AI tools capable of producing executable code from natural language instructions. However, little is known about how its output compares to code written by beginners following online tutorials. This study explores ChatGPT's ability to generate a PHP based CRUD (Create, Read, Update, Delete) application and evaluates its quality against novice implementations from popular resources like Tutorial Republic. Using five criteria from ISO/IEC 25010:2011 readability, efficiency, logical structure, basic security, and maintainability. The study finds that ChatGPT consistently produces code that is more readable, less complex, and easier to maintain (18% vs. 8% comments, 2.5 vs. 4.2 cyclomatic complexity, 78 vs. 62 maintainability index). These results suggest that ChatGPT can generate functional, maintainable PHP CRUD code at or above the level of typical beginners. The study highlights the promise of generative AI as a practical tool to support programming education and early stage software development
Ähnliche Arbeiten
Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI
2019 · 8.312 Zit.
Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead
2019 · 8.169 Zit.
High-performance medicine: the convergence of human and artificial intelligence
2018 · 7.564 Zit.
Proceedings of the 19th International Joint Conference on Artificial Intelligence
2005 · 5.776 Zit.
Peeking Inside the Black-Box: A Survey on Explainable Artificial Intelligence (XAI)
2018 · 5.466 Zit.