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 条
  • [1] How Developers Modify Pull Requests in Code Review
    Jiang, Jing
    Lv, Jiangfeng
    Zheng, Jiateng
    Zhang, Li
    [J]. IEEE TRANSACTIONS ON RELIABILITY, 2022, 71 (03) : 1325 - 1339
  • [2] Developers Assignment for Analyzing Pull Requests
    de Lima Junior, Manoel Limeira
    Soares, Daricelio Moreira
    Plastino, Alexandre
    Murta, Leonardo
    [J]. 30TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, VOLS I AND II, 2015, : 1567 - 1572
  • [3] How do Developers Improve Code Readability? An Empirical Study of Pull Requests
    Dantas, Carlos Eduardo C.
    Rocha, Adriano M.
    Maia, Marcelo A.
    [J]. 2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION, ICSME, 2023, : 110 - 122
  • [4] How Do Software Developers Use ChatGPT? An Exploratory Study on GitHub Pull Requests
    Chouchen, Moataz
    Bessghaier, Narjes
    Begoug, Mahi
    Ouni, Ali
    AlOmar, Eman Abdullah
    Mkaouer, Mohamed Wiem
    [J]. 2024 IEEE/ACM 21ST INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2024, : 212 - 216
  • [5] Enhancing Developers' Support on Pull Requests Activities with Software Bots
    Wessel, Mairieli
    [J]. PROCEEDINGS OF THE 28TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '20), 2020, : 1674 - 1677
  • [6] Understanding the role of external pull requests in the NPM ecosystem
    Vittunyuta Maeprasart
    Supatsara Wattanakriengkrai
    Raula Gaikovina Kula
    Christoph Treude
    Kenichi Matsumoto
    [J]. Empirical Software Engineering, 2023, 28
  • [7] Understanding the role of external pull requests in the NPM ecosystem
    Maeprasart, Vittunyuta
    Wattanakriengkrai, Supatsara
    Kula, Raula Gaikovina
    Treude, Christoph
    Matsumoto, Kenichi
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2023, 28 (04)
  • [8] An empirical study on developers' shared conversations with ChatGPT in GitHub pull requests and issues
    Hao, Huizi
    Hasan, Kazi Amit
    Qin, Hong
    Macedo, Marcos
    Tian, Yuan
    Ding, Steven H. H.
    Hassan, Ahmed E.
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2024, 29 (06)
  • [9] How do Multiple Pull Requests Change the Same Code: A Study of Competing Pull Requests in GitHub
    Zhang, Xin
    Chen, Yang
    Gu, Yongfeng
    Zou, Weiqin
    Xie, Xiaoyuan
    Jia, Xiangyang
    Xuan, Jifeng
    [J]. PROCEEDINGS 2018 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2018, : 228 - 239
  • [10] REQUESTS FOR REFERENCES
    ATKINSON, RS
    SPIVEY, CJ
    WATT, MJ
    SHELSWELL, J
    [J]. BRITISH MEDICAL JOURNAL, 1976, 2 (6033): : 478 - 478