Understanding shared links and their intentions to meet information needs in modern code review:A case study of the OpenStack and Qt projects

被引:0
|
作者
Dong Wang
Tao Xiao
Patanamon Thongtanunam
Raula Gaikovina Kula
Kenichi Matsumoto
机构
[1] Nara Institute of Science and Technology,
[2] The University of Melbourne,undefined
来源
关键词
Code review; Mining software repositories; Link sharing; Information needs;
D O I
暂无
中图分类号
学科分类号
摘要
Code reviews serve as a quality assurance activity for software teams. Especially for Modern Code Review, sharing a link during a review discussion serves as an effective awareness mechanism where “Code reviews are good FYIs [for your information].”. Although prior work has explored link sharing and the information needs of a code review, the extent to which links are used to properly conduct a review is unknown. In this study, we performed a mixed-method approach to investigate the practice of link sharing and their intentions. First, through a quantitative study of the OpenStack and Qt projects, we identify 19,268 reviews that have 39,686 links to explore the extent to which the links are shared, and analyze a correlation between link sharing and review time. Then in a qualitative study, we manually analyze 1,378 links to understand the role and usefulness of link sharing. Results indicate that internal links are more widely referred to (93% and 80% for the two projects). Importantly, although the majority of the internal links are referencing to reviews, bug reports and source code are also shared in review discussions. The statistical models show that the number of internal links as an explanatory factor does have an increasing relationship with the review time. Finally, we present seven intentions of link sharing, with providing context being the most common intention for sharing links. Based on the findings and a developer survey, we encourage the patch author to provide clear context and explore both internal and external resources, while the review team should continue link sharing activities. Future research directions include the investigation of causality between sharing links and the review process, as well as the potential for tool support.
引用
收藏
相关论文
共 8 条
  • [1] Understanding shared links and their intentions to meet information needs in modern code review: A case study of the OpenStack and Qt projects
    Wang, Dong
    Xiao, Tao
    Thongtanunam, Patanamon
    Kula, Raula Gaikovina
    Matsumoto, Kenichi
    EMPIRICAL SOFTWARE ENGINEERING, 2021, 26 (05)
  • [2] Review participation in modern code review: An empirical study of the android, Qt, and OpenStack projects
    Thongtanunam P.
    McIntosh S.
    Hassan A.E.
    Iida H.
    Empirical Software Engineering, 2017, 22 (2) : 768 - 817
  • [3] Review Participation in Modern Code Review: An Empirical Study of the Android, Qt, and OpenStack Projects (Journal-First Abstract)
    Thongtanunam, Patanamon
    McIntosh, Shane
    Hassan, Ahmed E.
    Iida, Hajimu
    2018 25TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2018), 2018, : 475 - 475
  • [4] Code smells detection via modern code review: a study of the OpenStack and Qt communities
    Xiaofeng Han
    Amjed Tahir
    Peng Liang
    Steve Counsell
    Kelly Blincoe
    Bing Li
    Yajing Luo
    Empirical Software Engineering, 2022, 27
  • [5] Code smells detection via modern code review: a study of the OpenStack and Qt communities
    Han, Xiaofeng
    Tahir, Amjed
    Liang, Peng
    Counsell, Steve
    Blincoe, Kelly
    Li, Bing
    Luo, Yajing
    EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (06)
  • [6] An Exploratory Study on Code Smells during Code Review in OSS Projects: A Case Study on OpenStack and WikiMedia
    Nanthaamornphong A.
    Boonchieng E.
    Recent Advances in Computer Science and Communications, 2023, 16 (07) : 20 - 33
  • [7] Impact of Coding Style Checker on Code Review -A case study on the OpenStack projects-
    Ueda, Yuki
    Ihara, Akinori
    Ishio, Takashi
    Matsumoto, Kenichi
    2018 9TH INTERNATIONAL WORKSHOP ON EMPIRICAL SOFTWARE ENGINEERING IN PRACTICE (IWESEP), 2018, : 31 - 36
  • [8] Do Code Review Practices Impact Design Quality? A Case Study of the Qt, VTK, and ITK Projects
    Morales, Rodrigo
    McIntosh, Shane
    Khomh, Foutse
    2015 22ND INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER), 2015, : 171 - 180