[Paper Review] A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and Challenges
A large-scale survey of 410 developers examines why and how they use AI programming assistants, the main usability challenges, and strategies to improve them.
The software engineering community recently has witnessed widespread deployment of AI programming assistants, such as GitHub Copilot. However, in practice, developers do not accept AI programming assistants' initial suggestions at a high frequency. This leaves a number of open questions related to the usability of these tools. To understand developers' practices while using these tools and the important usability challenges they face, we administered a survey to a large population of developers and received responses from a diverse set of 410 developers. Through a mix of qualitative and quantitative analyses, we found that developers are most motivated to use AI programming assistants because they help developers reduce key-strokes, finish programming tasks quickly, and recall syntax, but resonate less with using them to help brainstorm potential solutions. We also found the most important reasons why developers do not use these tools are because these tools do not output code that addresses certain functional or non-functional requirements and because developers have trouble controlling the tool to generate the desired output. Our findings have implications for both creators and users of AI programming assistants, such as designing minimal cognitive effort interactions with these tools to reduce distractions for users while they are programming.
Motivation & Objective
- Motivate study by understanding real-world practices and usability gaps of AI programming assistants like Copilot.
- Quantify adoption, usage patterns, and perceived benefits among diverse developers.
- Identify key usability challenges that hinder adoption and productive use.
- Provide design implications for reducing cognitive load and improving control over tool outputs.
Proposed method
- Recruit participants from GitHub-related AI assistant repositories and invite via email to 410 respondents.
- Administer a 15-minute Qualtrics survey with closed-ended questions and open-ended responses.
- Combine quantitative frequency analyses with qualitative open coding of responses.
- Use best-practice survey analysis methods to report item frequencies and importance ratings.
- Perform open coding on open-ended responses to extract recurring usability themes.
Experimental results
Research questions
- RQ1What motivates developers to use AI programming assistants and what prevents their use?
- RQ2What are the most prominent usability issues encountered when using AI programming assistants?
- RQ3How do developers understand, evaluate, and modify outputted code, and when do they give up on it?
- RQ4What strategies do developers employ to coax helpful outputs from these tools, and what feedback would improve them?
Key findings
- GitHub Copilot users report a median of 30.5% of their code written with the tool.
- Most important motivations are reducing keystrokes, finishing tasks faster, and recalling syntax.
- Main reasons for not using tools include outputs not meeting requirements and difficulty controlling the tool.
- Top usability issues are not knowing which inputs influence output, giving up on outputted code, and trouble controlling the model.
- Users successfully generate repetitive code and simple-logic code; complex algorithms often fail to be assisted effectively.
- Participants use strategies such as providing clear, explicit explanations, adding context, following conventions, and breaking down prompts to obtain better outputs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.