Cultivating Software Quality Improvement in the Classroom: An Experience with ChatGPT

被引:2
作者
AlOmar, Eman Abdullah [1 ]
Mkaouer, Mohamed Wiem [2 ]
机构
[1] Stevens Inst Technol, Software Engn Dept, Hoboken, NJ 07030 USA
[2] Univ Michigan, Dept Comp Sci, Flint, MI 48503 USA
来源
2024 36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING EDUCATION AND TRAINING, CSEE & T 2024 | 2024年
关键词
large language models; education; bugfix; code quality;
D O I
10.1109/CSEET62301.2024.10663028
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Large Language Models (LLMs), like ChatGPT, have gained widespread popularity and usage in various software engineering tasks, including programming, testing, code review, and program comprehension. However, their effectiveness in improving software quality in the classroom remains uncertain. In this paper, our aim is to shed light on our experience in teaching the use of Programming Mistake Detector (PMD) to cultivate a bugfix culture and leverage LLMs to improve software quality in educational settings. This paper discusses the results of an experiment involving 102 submissions that carried out a code review activity of 1,230 rules. Our quantitative and qualitative analysis reveals that a set of PMD quality issues influences the acceptance or rejection of the issues, and design-related categories that take longer to resolve. Although students acknowledge the potential of using ChatGPT during code review, some skepticism persists. We envision our findings to enable educators to support students with code review strategies to raise students' awareness about LLMs and promote software quality in education.
引用
收藏
页数:10
相关论文
共 25 条
[1]  
AlOmar E. A., 2023, On the use of static analysis to engage students with software quality improvement: An experience with pmd
[2]   An experimental investigation on the innate relationship between quality and refactoring [J].
Bavota, Gabriele ;
De Lucia, Andrea ;
Di Penta, Massimiliano ;
Oliveto, Rocco ;
Palomba, Fabio .
JOURNAL OF SYSTEMS AND SOFTWARE, 2015, 107 :1-14
[3]  
Biswas S., 2023, MESOPOTAMIAN J COMPU, P8, DOI [DOI 10.58496/MJCSC/2023/002, 10.58496/MJCSC/2023/002]
[4]   Reducing Subjectivity in Code Smells Detection: Experimenting with the Long Method [J].
Bryton, Sergio ;
Brito e Abreu, Fernando ;
Monteiro, Miguel .
QUATIC 2010: SEVENTH INTERNATIONAL CONFERENCE ON THE QUALITY OF INFORMATION AND COMMUNICATIONS TECHNOLOGY, 2010, :337-342
[5]   What Developers Want and Need from Program Analysis: An Empirical Study [J].
Christakis, Maria ;
Bird, Christian .
2016 31ST IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2016, :332-343
[6]  
Di Nucci D, 2018, 2018 25TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2018), P612, DOI 10.1109/SANER.2018.8330266
[7]   Comparing and experimenting machine learning techniques for code smell detection [J].
Fontana, Francesca Arcelli ;
Mantyla, Mika V. ;
Zanoni, Marco ;
Marino, Alessandro .
EMPIRICAL SOFTWARE ENGINEERING, 2016, 21 (03) :1143-1191
[8]   Automatic detection of bad smells in code: An experimental assessment [J].
Fontana, Francesca Arcelli ;
Braione, Pietro ;
Zanoni, Marco .
JOURNAL OF OBJECT TECHNOLOGY, 2012, 11 (02)
[9]   Catastrophic forgetting in connectionist networks [J].
French, RM .
TRENDS IN COGNITIVE SCIENCES, 1999, 3 (04) :128-135
[10]  
Haque M.A., 2023, EAI Endorsed Transactions on AI and Robotics, V2, pe4, DOI [DOI 10.4108/AIRO.V2I1.3276, 10.4108/airo.v2i1.3276]