Skip to main content
QUICK REVIEW

[Paper Review] Source Code Recommender Systems: The Practitioners' Perspective

Matteo Ciniselli, Luca Pascarella|arXiv (Cornell University)|Feb 8, 2023
Software Engineering ResearchComputer Science3 citations
TL;DR

This paper presents a practitioner-driven study of 80 software developers to identify essential characteristics for effective source code recommender systems. Through iterative open-coding analysis, the authors derive a taxonomy of 70 requirements—such as style consistency, developer expertise awareness, and code quality—highlighting critical gaps between current research and real-world developer needs.

ABSTRACT

The automatic generation of source code is one of the long-lasting dreams in software engineering research. Several techniques have been proposed to speed up the writing of new code. For example, code completion techniques can recommend to developers the next few tokens they are likely to type, while retrieval-based approaches can suggest code snippets relevant for the task at hand. Also, deep learning has been used to automatically generate code statements starting from a natural language description. While research in this field is very active, there is no study investigating what the users of code recommender systems (i.e., software practitioners) actually need from these tools. We present a study involving 80 software developers to investigate the characteristics of code recommender systems they consider important. The output of our study is a taxonomy of 70 "requirements" that should be considered when designing code recommender systems. For example, developers would like the recommended code to use the same coding style of the code under development. Also, code recommenders being "aware" of the developers' knowledge (e.g., what are the framework/libraries they already used in the past) and able to customize the recommendations based on this knowledge would be appreciated by practitioners. The taxonomy output of our study points to a wide set of future research directions for code recommenders.

Motivation & Objective

  • To identify the actual needs and expectations of software practitioners regarding source code recommender systems, addressing a gap in prior research that relies on researcher assumptions.
  • To investigate how developers perceive the coverage, accuracy, and usability of existing code recommenders in real-world development workflows.
  • To develop a comprehensive, empirically grounded taxonomy of 70 requirements for code recommender systems based on practitioner feedback.
  • To guide future research by aligning system design with developer priorities, especially in areas like personalization, code quality, and multi-lingual support.

Proposed method

  • Conducted a survey with 80 software developers recruited via Amazon MTurk and personal contacts, using a structured questionnaire to assess their experiences with code recommenders.
  • Collected qualitative feedback on coverage, accuracy, usability, and desired improvements through open-ended questions.
  • Applied an iterative open-coding process with five authors to analyze responses, assign tags, and identify recurring themes.
  • Organized identified themes into a hierarchical taxonomy of 70 requirements through conflict resolution and convergence checks.
  • Validated the taxonomy through four iterative survey rounds with 20 developers each, stopping when no new requirements emerged.
  • Released all anonymized data, coding results, and study materials in a public replication package for transparency and reproducibility.

Experimental results

Research questions

  • RQ1What characteristics of code recommender systems do practitioners consider most important in terms of coverage, accuracy, and usability?
  • RQ2How do developers' preferences for code recommendations differ from the assumptions underlying current research techniques?
  • RQ3What specific requirements emerge from practitioners that are not addressed by existing code recommender systems?
  • RQ4How can code recommenders be enhanced to adapt to individual developers’ coding styles and expertise levels?
  • RQ5What role should code quality, maintainability, and multi-lingual support play in future recommender system design?

Key findings

  • Practitioners prioritize code recommenders that adapt to their personal coding style, such as reusing variable names and following established conventions.
  • Developers value recommenders that are aware of their past experience with specific frameworks, libraries, and design patterns, suggesting a need for personalized recommendations.
  • Code quality—especially correctness, readability, and security—was consistently cited as a critical requirement, indicating that current tools often overlook these aspects.
  • Participants expressed concern about limited support in multi-lingual coding scenarios, highlighting a need for better cross-language recommendation capabilities.
  • The study revealed that developers are skeptical about fully automated code generation when confidence is low, suggesting a need for template-based or partial recommendations instead.
  • The taxonomy of 70 requirements demonstrates a significant gap between current research focus and practitioner needs, particularly in personalization, quality, and contextual awareness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.