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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
Jing Jiang, Jin Cao, Xin Xia, Li Zhang. Exploring and Recommending Tags for Pull Requests in GitHub. In submission.
- 7.
- 8.
- 9.
References
Gousios, G., Pinzger, M., van Deursen, A.: An exploratory study of the pull-based software development model. In: Proceedings of the 36th International Conference on Software Engineering, pp. 345–355. ACM (2014)
Tsay, J., Dabbish, L., Herbsleb, J.: Influence of social and technical factors for evaluating contribution in GitHub. In: Proceedings of the 36th International Conference on Software Engineering, pp. 356–366. ACM (2014)
Tsay, J., Dabbish, L., Herbsleb, J.: Let’s talk about it: evaluating contributions through discussion in GitHub. In: Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering - FSE 2014, pp. 144–154 (2014)
Rahman, M.M., Roy, C.K., Kula, R.G.: Predicting usefulness of code review comments using textual features and developer experience. In: Proceedings of MSR, Buenos Aires, Argentina, pp. 215–226, May 2017
Jiang, J., Yang, Y., He, J., Blanc, X., Zhang, L.: Who should comment on this pull request? Analyzing attributes for more accurate commenter recommendation in pull-based development. Inf. Softw. Technol. 84, 48–62 (2017)
Gomez, C., Cleary, B., Singer, L.: A study of innovation diffusion through link sharing on stack overflow. In: Proceedings of MSR, San Francisco, USA, May 2013
Ye, D., Xing, Z., Kapre, N.: The structure and dynamics of knowledge network in domain-specific qa sites: a case study of stack overflow. Empir. Softw. Eng. 22, 375–406 (2017)
Hellendoorn, V.J., Devanbu, P.T., Bacchelli, A.: Will they like this?: evaluating code contributions with language models. In: Proceedings of the 12th Working Conference on Mining Software Repositories, pp. 157–167. IEEE Press (2015)
Gousios, G., Zaidman, A., Storey, M.-A., Van Deursen, A.: Work practices and challenges in pull-based development: the integrator’s perspective. In: Proceedings of the 37th International Conference on Software Engineering-Volume 1, pp. 358–368. IEEE Press (2015)
Bacchelli, A., Bird, C.: Expectations, outcomes, and challenges of modern code review. In: Proceedings of ICSE, San Francisco, USA, May 2013
Zhang, Y., Wang, H., Yin, G., Wang, T., Yue, Y.: Social media in github the role of @-mention in assisting software development. Sci. China Inf. Sci. 60, 1–18 (2017)
Vasilescu, B., Yu, Y., Wang, H., Devanbu, P., Filkov, V.: Quality and productivity outcomes relating to continuous integration in GitHub. In: Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering, pp. 805–816. ACM (2015)
Cabot, J., Izquierdo, J.L.C., Cosentino, V., Rolandi, B.: Exploring the use of labels to categorize issues in open-source software projects. In: 2015 IEEE 22nd International Conference on Software Analysis, Evolution and Reengineering (SANER), pp. 550–554. IEEE (2015)
Bissyande, T.F., Lo, D., Jiang, L., Reveillere, L., Klein, J., Le Traon, Y.: Got issues? Who cares about it? A large scale investigation of issue trackers from GitHub. In: Proceedings of ISSRE, Washington DC, USA, November 2013
Mann, H.B., Whitney, D.R.: On a test of whether one of two random variables is stochastically larger than the other. Ann. Math. Stat. 18, 50–60 (1947)
Zhang, Y., Yu, Y., Wang, H., Vasilescu, B., Filkov, V.: Within-ecosystem issue linking: a large-scale study of rails. In: The 7th International Workshop on Mining Software Repositories, Montpellier, France, September 2018
Gousios, G., Storey, M.-A., Bacchelli, A.: Work practices and challenges in pull-based development: the contributor’s perspective. In: Proceedings of ICSE, Austin, USA, pp. 285–296, May 2016
Coelho, J., Valente, M.T.: Why modern open source projects fail. In: Proceedings of FSE, Paderborn, Germany, pp. 186–196, September 2017
Zhu, J., Zhou, M., Mockus, A.: Effectiveness of code contribution: from patch-based to pull-request-based tools. In: Effectiveness of Code Contribution: From Patch-Based to Pull-Request-Based Tools, Seattle, USA, pp. 871–882, November 2016
Jiang, J., Lo, D., Ma, X., Feng, F., Zhang, L.: Understanding inactive yet available assignees in GitHub. Inf. Softw. Technol. 91, 44–55 (2017)
Li, Z., Yue, Y., Yin, G., Wang, T., Fan, Q., Wang, H.: Automatic classification of review comments in pull-based development model. In: Proceedings of SEKE, Pittsburgh, USA, July 2017
Yue, Y., Yin, G., Wang, T., Yang, C., Wang, H.: Determinants of pull-based development in the context of continuous integration. Sci. China Inf. Sci. 59(8), 1–14 (2016)
Yue, Y., Wang, H., Yin, G., Wang, T.: Reviewer recommendation for pull-requests in GitHub: what can we learn from code review and bug assignment? Inf. Softw. Technol. 74, 204–218 (2016)
Acknowledgment
This work is supported by the National Key Research and Development Program of China No. 2018YFB1004202, National Natural Science Foundation of China under Grant No. 61732019 and the State Key Laboratory of Software Development Environment under Grant No. SKLSDE-2018ZX-12.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Jiang, J., Cao, J., Zhang, L. (2019). An Empirical Study of Link Sharing in Review Comments. In: Li, Z., Jiang, H., Li, G., Zhou, M., Li, M. (eds) Software Engineering and Methodology for Emerging Domains. NASAC NASAC 2017 2018. Communications in Computer and Information Science, vol 861. Springer, Singapore. https://doi.org/10.1007/978-981-15-0310-8_7
Download citation
DOI: https://doi.org/10.1007/978-981-15-0310-8_7
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-0309-2
Online ISBN: 978-981-15-0310-8
eBook Packages: Computer ScienceComputer Science (R0)