arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.03735cs.SE
收藏

探究ChatGPT在问题跟踪系统中的实用性:一项探索性研究

Investigating the Utility of ChatGPT in the Issue Tracking System: An Exploratory Study

Joy Krishan Das, Saikat Mondal, Chanchal K. Roy

AI总结:

本研究通过分析开发者与ChatGPT在问题跟踪系统中的交互,发现开发者主要将其用于头脑风暴解决方案,但因担心“幻觉代码”而较少直接采用其生成的代码,并利用NiCad验证代码集成情况。

摘要:

问题跟踪系统是将外部用户纳入软件项目并根据用户需求定制项目的主要工具。然而,贡献者数量有限以及难以确定每个问题的最佳处理方式,常常阻碍问题的有效解决。近期,越来越多的开发者转向使用如ChatGPT等人工智能工具来提高问题解决的效率。尽管先前的研究已展示ChatGPT在自动程序修复、调试和代码生成等领域的潜力,但关于开发者如何明确利用ChatGPT来解决其跟踪系统中的问题,相关研究尚属空白。因此,本研究旨在考察ChatGPT与开发者之间的交互,分析他们的主要活动并提供解决方案。此外,我们通过使用克隆检测工具NiCad,确认ChatGPT生成的代码是否被整合到项目的代码库中,以此评估代码的可靠性。我们的调查揭示,开发者主要使用ChatGPT进行头脑风暴以寻求解决方案,但往往选择自行编写代码而非采用ChatGPT生成的代码,这可能是因为担心生成“幻觉代码”,正如文献中所强调的那样。

英文摘要:

Issue tracking systems serve as the primary tool for incorporating external users and customizing a software project to meet the users' requirements. However, the limited number of contributors and the challenge of identifying the best approach for each issue often impede effective resolution. Recently, an increasing number of developers are turning to AI tools like ChatGPT to enhance problem-solving efficiency. While previous studies have demonstrated the potential of ChatGPT in areas such as automatic program repair, debugging, and code generation, there is a lack of study on how developers explicitly utilize ChatGPT to resolve issues in their tracking system. Hence, this study aims to examine the interaction between ChatGPT and developers to analyze their prevalent activities and provide a resolution. In addition, we assess the code reliability by confirming if the code produced by ChatGPT was integrated into the project's codebase using the clone detection tool NiCad. Our investigation reveals that developers mainly use ChatGPT for brainstorming solutions but often opt to write their code instead of using ChatGPT-generated code, possibly due to concerns over the generation of "hallucinated code", as highlighted in the literature.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑