English

Assessing AI-Based Code Assistants in Method Generation Tasks

Software Engineering 2024-02-15 v1

Abstract

AI-based code assistants are increasingly popular as a means to enhance productivity and improve code quality. This study compares four AI-based code assistants, GitHub Copilot, Tabnine, ChatGPT, and Google Bard, in method generation tasks, assessing their ability to produce accurate, correct, and efficient code. Results show that code assistants are useful, with complementary capabilities, although they rarely generate ready-to-use correct code.

Keywords

Cite

@article{arxiv.2402.09022,
  title  = {Assessing AI-Based Code Assistants in Method Generation Tasks},
  author = {Vincenzo Corso and Leonardo Mariani and Daniela Micucci and Oliviero Riganelli},
  journal= {arXiv preprint arXiv:2402.09022},
  year   = {2024}
}
R2 v1 2026-06-28T14:48:12.601Z