How Developers Document Pull Requests with External References

被引:19
|
作者
Zampetti, Fiorella [1 ]
Ponzanelli, Luca [2 ]
Bavota, Gabriele [2 ]
Mocci, Andrea [2 ]
Di Penta, Massimiliano [1 ]
Lanza, Michele [2 ]
机构
[1] Univ Sannio, Benevento, Italy
[2] USI, Lugano, Switzerland
基金
瑞士国家科学基金会;
关键词
Empirical Study; Online Resources; Documenting Changes;
D O I
10.1109/ICPC.2017.30
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Online resources of formal and informal documentation-such as reference manuals, forum discussions and tutorials-have become an asset to software developers, as they allow them to tackle problems and to learn about new tools, libraries, and technologies. This study investigates to what extent and for which purpose developers refer to external online resources when they contribute changes to a repository by raising a pull request. Our study involved (i) a quantitative analysis of over 150k URLs occurring in pull requests posted in GitHub; (ii) a manual coding of the kinds of software evolution activities performed in commits related to a statistically significant sample of 2,130 pull requests referencing external documentation resources; (iii) a survey with 69 participants, who provided feedback on how they use online resources and how they refer to them when filing a pull request. Results of the study indicate that, on the one hand, developers find external resources useful to learn something new or to solve specific problems, and they perceive useful referring such resources to better document changes. On the other hand, both interviews and repository mining suggest that external resources are still rarely referred in document changes.
引用
下载
收藏
页码:23 / 33
页数:11
相关论文
共 50 条
  • [21] SOFTWARE DEVELOPERS AND SOFTWARE DISTRIBUTORS REQUESTS FOR STANDARDIZATION
    PATZOLD, W
    ANGEWANDTE INFORMATIK, 1985, (07): : 273 - 276
  • [22] Learning to Rank Reviewers for Pull Requests
    Ye, Xin
    IEEE ACCESS, 2019, 7 : 85382 - 85391
  • [23] To Document or Not to Document? An Exploratory Study on Developers' Motivation to Document Code
    Shmerlin, Yulia
    Hadar, Irit
    Kliger, Doron
    Makabee, Hayim
    ADVANCED INFORMATION SYSTEMS ENGINEERING WORKSHOPS, CAISE 2015, 2015, 215 : 100 - 106
  • [24] On the Use of Dependabot Security Pull Requests
    Alfadel, Mahmoud
    Costa, Diego Elias
    Shihab, Emad
    Mkhallalati, Mouafak
    2021 IEEE/ACM 18TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2021), 2021, : 254 - 265
  • [25] Recommending tags for pull requests in GitHub
    Jiang, Jing
    Wu, Qiudi
    Cao, Jin
    Xia, Xin
    Zhang, Li
    INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 129 (129)
  • [26] Predicting accepted pull requests in GitHub
    Jing JIANG
    Jiateng ZHENG
    Yun YANG
    Li ZHANG
    Jie LUO
    Science China(Information Sciences), 2021, 64 (07) : 241 - 243
  • [27] Predicting accepted pull requests in GitHub
    Jing Jiang
    Jiateng Zheng
    Yun Yang
    Li Zhang
    Jie Luo
    Science China Information Sciences, 2021, 64
  • [28] Predicting accepted pull requests in GitHub
    Jiang, Jing
    Zheng, Jiateng
    Yang, Yun
    Zhang, Li
    Luo, Jie
    SCIENCE CHINA-INFORMATION SCIENCES, 2021, 64 (07)
  • [29] PR-SZZ: How pull requests can support the tracing of defects in software repositories
    Bludau, Peter
    Pretschner, Alexander
    2022 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2022), 2022, : 1 - 12
  • [30] Testability Refactoring in Pull Requests: Patterns and Trends
    Reich, Pavel
    Maalej, Walid
    2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ICSE, 2023, : 1508 - 1519