An Empirical Study on Usage and Perceptions of LLMs in a Software Engineering Project

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Rasnayaka, Sanka, Wang, Guanlin, Shariffdeen, Ridwan, Iyer, Ganesh Neelakanta
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913213905371136
author Rasnayaka, Sanka
Wang, Guanlin
Shariffdeen, Ridwan
Iyer, Ganesh Neelakanta
author_facet Rasnayaka, Sanka
Wang, Guanlin
Shariffdeen, Ridwan
Iyer, Ganesh Neelakanta
contents Large Language Models (LLMs) represent a leap in artificial intelligence, excelling in tasks using human language(s). Although the main focus of general-purpose LLMs is not code generation, they have shown promising results in the domain. However, the usefulness of LLMs in an academic software engineering project has not been fully explored yet. In this study, we explore the usefulness of LLMs for 214 students working in teams consisting of up to six members. Notably, in the academic course through which this study is conducted, students were encouraged to integrate LLMs into their development tool-chain, in contrast to most other academic courses that explicitly prohibit the use of LLMs. In this paper, we analyze the AI-generated code, prompts used for code generation, and the human intervention levels to integrate the code into the code base. We also conduct a perception study to gain insights into the perceived usefulness, influencing factors, and future outlook of LLM from a computer science student's perspective. Our findings suggest that LLMs can play a crucial role in the early stages of software development, especially in generating foundational code structures, and helping with syntax and error debugging. These insights provide us with a framework on how to effectively utilize LLMs as a tool to enhance the productivity of software engineering students, and highlight the necessity of shifting the educational focus toward preparing students for successful human-AI collaboration.
format Preprint
id arxiv_https___arxiv_org_abs_2401_16186
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle An Empirical Study on Usage and Perceptions of LLMs in a Software Engineering Project
Rasnayaka, Sanka
Wang, Guanlin
Shariffdeen, Ridwan
Iyer, Ganesh Neelakanta
Software Engineering
Artificial Intelligence
D.2.3
Large Language Models (LLMs) represent a leap in artificial intelligence, excelling in tasks using human language(s). Although the main focus of general-purpose LLMs is not code generation, they have shown promising results in the domain. However, the usefulness of LLMs in an academic software engineering project has not been fully explored yet. In this study, we explore the usefulness of LLMs for 214 students working in teams consisting of up to six members. Notably, in the academic course through which this study is conducted, students were encouraged to integrate LLMs into their development tool-chain, in contrast to most other academic courses that explicitly prohibit the use of LLMs. In this paper, we analyze the AI-generated code, prompts used for code generation, and the human intervention levels to integrate the code into the code base. We also conduct a perception study to gain insights into the perceived usefulness, influencing factors, and future outlook of LLM from a computer science student's perspective. Our findings suggest that LLMs can play a crucial role in the early stages of software development, especially in generating foundational code structures, and helping with syntax and error debugging. These insights provide us with a framework on how to effectively utilize LLMs as a tool to enhance the productivity of software engineering students, and highlight the necessity of shifting the educational focus toward preparing students for successful human-AI collaboration.
title An Empirical Study on Usage and Perceptions of LLMs in a Software Engineering Project
topic Software Engineering
Artificial Intelligence
D.2.3
url https://arxiv.org/abs/2401.16186