The Value of Effective Pull Request Description
Shirin Pirouzkhah, Pavl\'ina Wurzel Gon\c{c}alves, Alberto Bacchelli

TL;DR
This study investigates the role and impact of pull request descriptions in software development, revealing their importance for review outcomes and how their content influences developer engagement.
Contribution
It provides a systematic analysis of PR description elements, their association with review outcomes, and insights into when and why developers include them.
Findings
PR descriptions are valued for rationale and change history.
Specific elements predict review acceptance and engagement.
Descriptions are more common in mature projects and complex changes.
Abstract
In the pull-based development model, code contributions are submitted as pull requests (PRs) to undergo reviews and approval by other developers with the goal of being merged into the code base. A PR can be supported by a description, whose role has not yet been systematically investigated. To fill in this gap, we conducted a mixed-methods empirical study of PR descriptions. We conducted a grey literature review of guidelines on writing PR descriptions and derived a taxonomy of eight recommended elements. Using this taxonomy, we analyzed 80K GitHub PRs across 156 projects and five programming languages to assess associations between these elements and code review outcomes (e.g., merge decision, latency, first response time, review comments, and review iteration cycles). To complement these results, we surveyed 64 developers about the perceived importance of each element. Finally, we…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Engineering Techniques and Practices · Advanced Software Engineering Methodologies
