Skip to main navigation Skip to search Skip to main content

An Empirical Study of Link Sharing in Review Comments

  • Beihang University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

In the pull-based development, developers sometimes exchange review comments and share links, namely Uniform Resource Locators (URLs). Links are used to refer to related information from different websites, which may be beneficial to pull request evaluation. Nevertheless, little effort has been done on analyzing how links are shared and whether sharing links has any impacts on code review in GitHub. In this paper, we conduct a study of link sharing in review comments. We collect 114,810 pull requests and 251,487 review comments from 10 popular projects in GitHub. We find that 5.25% of pull requests have links in review comments on average. We divide links into two types: internal links which point to context in the same project, and external links which point to context outside of the project. We observe that 51.49% of links are internal, while 48.51% of links are external. The majority of internal links point to pull requests or blobs inside projects. We further study impacts of links. Results show that pull requests with links in review comments have more comments, more commenters and longer evaluation time than pull requests without links. These findings show that developers indeed share links and refer to related information in review comments. These results inspire future studies which enable more effective information sharing in the open source community, and improve information accessibility and navigability for software developers.

Original languageEnglish
Title of host publicationSoftware Engineering and Methodology for Emerging Domains - 16th National Conference, NASAC 2017, Harbin, China, November 4–5, 2017, and 17th National Conference, NASAC 2018, Revised Selected Papers
EditorsZheng Li, He Jiang, Ge Li, Minghui Zhou, Ming Li
PublisherSpringer Verlag
Pages101-114
Number of pages14
ISBN (Print)9789811503092
DOIs
StatePublished - 2019
Event16th National Conference on Software and Applications, NASAC 2017 and 17th National Conference on Software and Applications, NASAC 2018 - Shenzhen, China
Duration: 23 Nov 201825 Nov 2018

Publication series

NameCommunications in Computer and Information Science
Volume861
ISSN (Print)1865-0929
ISSN (Electronic)1865-0937

Conference

Conference16th National Conference on Software and Applications, NASAC 2017 and 17th National Conference on Software and Applications, NASAC 2018
Country/TerritoryChina
CityShenzhen
Period23/11/1825/11/18

Keywords

  • Github
  • Link sharing
  • Pull request
  • Review comment

Fingerprint

Dive into the research topics of 'An Empirical Study of Link Sharing in Review Comments'. Together they form a unique fingerprint.

Cite this