skip to main content
10.1145/3524842.3528522acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
short-paper

Quid pro quo: an exploration of reciprocity in code review

Published:17 October 2022Publication History

ABSTRACT

We explore the role of reciprocity in code review processes. Reciprocity manifests itself in two ways: 1) reviewing code for others translates to accepted code contributions, and 2) having contributions accepted increases the reviews made for others. We use vector autoregressive (VAR) models to explore the causal relation between reviews performed and accepted contributions. After fitting VAR models for 24 active open-source developers, we found evidence of reciprocity in 6 of them. These results suggest reciprocity does play a role in code review, that can potentially be exploited to increase reviewer participation.

References

  1. Alberto Bacchelli and Christian Bird. 2013. Expectations, outcomes, and challenges of modern code review. In 35th International Conference on Software Engineering, ICSE '13, San Francisco, CA, USA, May 18--26, 2013, David Notkin, Betty H. C. Cheng, and Klaus Pohl (Eds.). IEEE Computer Society, 712--721. Google ScholarGoogle ScholarCross RefCross Ref
  2. Enrico di Bella, Alberto Sillitti, and Giancarlo Succi. 2013. A multivariate classification of open source developers. Inf. Sci. 221 (2013), 72--83. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Santiago Dueñas, Valerio Cosentino, Gregorio Robles, and Jesús M. González-Barahona. 2018. Perceval: software project data at your will. In Proceedings of the 40th International Conference on Software Engineering: Companion Proceeedings, ICSE 2018, Gothenburg, Sweden, May 27 - June 03, 2018, Michel Chaudron, Ivica Crnkovic, Marsha Chechik, and Mark Harman (Eds.). ACM, 1--4. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Carlos Gavidia-Calderon, Federica Sarro, Mark Harman, and Earl T. Barr. 2020. Game-theoretic analysis of development practices: Challenges and opportunities. Journal of Systems and Software 159 (jan 2020), 110424. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Carlos Gavidia-Calderon, Federica Sarro, Mark Harman, and Earl T. Barr. 2021. The Assessor's Dilemma: Improving Bug Repair via Empirical Game Theory. IEEE Transactions on Software Engineering 47, 10 (oct 2021), 2143--2161. Google ScholarGoogle ScholarCross RefCross Ref
  6. Georgios Gousios, Andy Zaidman, Margaret-Anne D. Storey, and Arie van Deursen. 2015. Work Practices and Challenges in Pull-Based Development: The Integrator's Perspective. In 37th IEEE/ACM International Conference on Software Engineering, ICSE 2015, Florence, Italy, May 16--24, 2015, Volume 1, Antonia Bertolino, Gerardo Canfora, and Sebastian G. Elbaum (Eds.). IEEE Computer Society, 358--368. Google ScholarGoogle ScholarCross RefCross Ref
  7. Ventzislav Ivanov and Lutz Kilian. 2005. A Practitioner's Guide to Lag Order Selection For VAR Impulse Response Analysis. Studies in Nonlinear Dynamics & Econometrics 9 (2005).Google ScholarGoogle Scholar
  8. Katarina Juselius. 2006. The Cointegrated VAR Model: Methodology and Applications. Oxford University Press. https://EconPapers.repec.org/RePEc:oxp:obooks:9780199285679Google ScholarGoogle Scholar
  9. Paul Lavrakas. 2008. Encyclopedia of Survey Research Methods. Sage Publications, Inc., 2455 Teller Road, Thousand Oaks California 91320 United States of America. Google ScholarGoogle ScholarCross RefCross Ref
  10. Laura MacLeod, Michaela Greiler, Margaret-Anne D. Storey, Christian Bird, and Jacek Czerwonka. 2018. Code Reviewing in the Trenches: Challenges and Best Practices. IEEE Softw. 35, 4 (2018), 34--42. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Wes McKinney, Josef Perktold, and Skipper Seabold. 2011. Time Series Analysis in Python with statsmodels. In Proceedings of the 10th Python in Science Conference. 107--113. Google ScholarGoogle ScholarCross RefCross Ref
  12. Anders Milhoj. 2016. Multiple Time Series Modeling Using the SAS VARMAX Procedure. SAS Institute Inc., USA.Google ScholarGoogle Scholar
  13. Gustavo Pinto, Igor Steinmacher, and Marco Aurélio Gerosa. 2016. More Common Than You Think: An In-depth Study of Casual Contributors. In IEEE 23rd International Conference on Software Analysis, Evolution, and Reengineering, SANER 2016, Suita, Osaka, Japan, March 14--18, 2016 - Volume 1. IEEE Computer Society, 112--123. Google ScholarGoogle ScholarCross RefCross Ref
  14. Ran Tao and Chris Brooks. 2019. Python Guide to Accompany Introductory Econometrics for Finance. Available at SSRN 3475303 (2019).Google ScholarGoogle Scholar
  15. Eric Zivot and Jiahui Wang. 2006. Modeling Financial Time Series with S-PLUS®. Springer-Verlag, Berlin, Heidelberg.Google ScholarGoogle Scholar

Index Terms

  1. Quid pro quo: an exploration of reciprocity in code review

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      MSR '22: Proceedings of the 19th International Conference on Mining Software Repositories
      May 2022
      815 pages
      ISBN:9781450393034
      DOI:10.1145/3524842

      Copyright © 2022 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 17 October 2022

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • short-paper

      Upcoming Conference

      ICSE 2025

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader