Change search
Link to record
Permanent link

Direct link
Publications (9 of 9) Show all publications
Dorner, M. (2025). Code Review as a Communication Network. (Doctoral dissertation). Karlskrona, Sweden: Blekinge Tekniska Högskola
Open this publication in new window or tab >>Code Review as a Communication Network
2025 (English)Doctoral thesis, comprehensive summary (Other academic)
Abstract [en]

Background: Modern software systems are often too large and complex for an individual developer to fully oversee, making it difficult to understand the implications of changes. Therefore, most collaborative software projects rely on code review as communication network to foster asynchronous discussions about changes before they are merged. Although prior qualitative studies have revealed that practitioners view code review as a communication network, no formal theory or empirical validation exists. Without formalization and confirmatory evidence, the theory remains uncertain, limiting its credibility, practical relevance, and future development.

Objective: In this thesis, our objective is to (1) formalize the theory of code review as a communication network, (2) empirically evaluate the theory across varied perspectives, contexts, and conditions by quantifying the capability of code review to diffuse information among its participants, (3) demonstrate its practical relevance by applying the theory to the domain of tax compliance in collaborative software engineering, and (4) examine how the role of code review as a communication network for collaborative software engineering may evolve in the future.

Methods: To formalize the theory of code review as a communication network, we developed and validated a simulation model that operationalizes its core propositions about information diffusion among participants. To empirically evaluate the theory, we employed two complementary research approaches. First, we used the simulation model to conduct in silico experiments with closed-source code review systems from Microsoft, Spotify, and Trivago, as well as open-source code review systems from Android, Visual Studio Code, and React, to estimate the upper bound of information diffusion in code review. Second, through an observational study, we quantified the diffusion of information in code review across social, organizational, and architectural boundaries at Spotify. To demonstrate the practical relevance of the theory, we analyzed the code review system of a multinational enterprise as a communication network to reveal the latent collaboration structure among developers across borders, which is taxable. To explore the future of code review as a communication network, we conducted a questionnaire survey with 92 practitioners to gather their expectations and discuss how these anticipated changes may reshape our understanding of code review.

Results: By formalizing the theory of code review as a communication network modelled as a time-varying hypergraph, we were able to empirically demonstrate that traditional time-agnostic models substantially overestimate information diffusion in code review. Throughout our empirical studies, we found substential evidence supporting the theory of code review as a communication network: We confirmed that code review is capable of diffusing information quickly and widely among participants, even at a large scale. We also observed extensive information diffusion across social, organizational, and architectural boundaries at Spotify corroborating our theory. However, we also found that information diffusion patterns in open-source code review systems differ significantly, suggesting that findings from open-source environments may not directly apply to closed-source contexts. Through applying the theory of code review as a communication network in the domain of tax compliance, we were able to uncover the significant and previously unrecognized tax risks associated with collaborative software engineering within multinational enterprises. While practitioners consider code review also in the future a core practice in collaborative software engineering, we identify a potential risk that generative AI may undermine code review’s role as a human communication network.

Conclusion: Our work on understanding code review as a communication network contributes not only to theory-driven, empirical software engineering research but also lays the groundwork for practical applications, particularly in the context of tax compliance. Future research is needed to explore the evolving role of code review as a communication network.

Place, publisher, year, edition, pages
Karlskrona, Sweden: Blekinge Tekniska Högskola, 2025. p. 188
Series
Blekinge Institute of Technology Doctoral Dissertation Series, ISSN 1653-2090 ; 2025:10
Keywords
code review, software engineering, tax compliance, collaborative software engineering, communication network
National Category
Software Engineering
Research subject
Software Engineering
Identifiers
urn:nbn:se:bth-28424 (URN)978-91-7295-508-0 (ISBN)
Public defence
2025-09-23, J1630, Valhallavägen 1, Karlskrona, 14:00 (English)
Opponent
Supervisors
Available from: 2025-08-22 Created: 2025-08-22 Last updated: 2025-09-30Bibliographically approved
Dorner, M., Mendez, D., Wnuk, K., Zabardast, E. & Czerwonka, J. (2025). The upper bound of information diffusion in code review. Empirical Software Engineering, 30(1), Article ID 2.
Open this publication in new window or tab >>The upper bound of information diffusion in code review
Show others...
2025 (English)In: Empirical Software Engineering, ISSN 1382-3256, E-ISSN 1573-7616, Vol. 30, no 1, article id 2Article in journal (Refereed) Published
Abstract [en]

Background

Code review, the discussion around a code change among humans, forms a communication network that enables its participants to exchange and spread information. Although reported by qualitative studies, our understanding of the capability of code review as a communication network is still limited.

Objective

In this article, we report on a first step towards understanding and evaluating the capability of code review as a communication network by quantifying how fast and how far information can spread through code review: the upper bound of information diffusion in code review.

Method

In an in-silico experiment, we simulate an artificial information diffusion within large (Microsoft), mid-sized (Spotify), and small code review systems (Trivago) modelled as communication networks. We then measure the minimal topological and temporal distances between the participants to quantify how far and how fast information can spread in code review.

Results

An average code review participants in the small and mid-sized code review systems can spread information to between 72 % and 85 % of all code review participants within four weeks independently of network size and tooling; for the large code review systems, we found an absolute boundary of about 11 000 reachable participants. On average (median), information can spread between two participants in code review in less than five hops and less than five days.

Conclusion

We found evidence that the communication network emerging from code review scales well and spreads information fast and broadly, corroborating the findings of prior qualitative work. The study lays the foundation for understanding and improving code review as a communication network.

Place, publisher, year, edition, pages
Springer, 2025
Keywords
Code review, Simulation, Information diffusion, Communication network
National Category
Computer and Information Sciences
Identifiers
urn:nbn:se:bth-27028 (URN)10.1007/s10664-024-10442-y (DOI)001335071300002 ()2-s2.0-85206942985 (Scopus ID)
Funder
Knowledge Foundation, 20180010
Available from: 2024-10-30 Created: 2024-10-30 Last updated: 2025-09-30Bibliographically approved
Treidler, O., Kunz, T.-E., Capraro, M. & Dorner, M. (2024). Sustaining Arm’s Length Cost Allocations for Highly Integrated Development Functions: An Explorative Case Study of Transfer Pricing for InnerSource Communities. Karlskrona: Blekinge Tekniska Högskola
Open this publication in new window or tab >>Sustaining Arm’s Length Cost Allocations for Highly Integrated Development Functions: An Explorative Case Study of Transfer Pricing for InnerSource Communities
2024 (English)Report (Other academic)
Abstract [en]

Most contemporary developments in transfer pricing relate to intangibles. Appropriately coping with increasingly highly integrated value chains constitutes another driving force. This article examines the application of the arm’s length principle in the context of a related-party transaction characterized by integrated collaboration among decentralized business units and the joint utilization and development of intangibles. While the underlying theoretical transfer pricing concepts will be touched upon, we aim to present a case-based application of the arm’s length principle. The pragmatic approach presented in this article aims to support practitioners navigating the tradeoff between finding arm’s length solutions for increasingly complex, digitized organizations and effectively utilizing available internal data for transfer pricing purposes.

While the OECD recently started tinkering with formulary apportionment approaches for marketing intangibles in the context of the Pillar 1 reforms, day-to-day transfer pricing remains focused on applying transfer prices that are commensurate with the arm’s length principles. As such, Chapter VI of the OECD Transfer Pricing Guidelines of 2017 remains perhaps the most important source of reference for practitioners when it comes to intangibles. The same applies to Chapter VIII when it comes to cost contribution arrangements (CCAs). For this article, it is deemed sufficient to limit the references to Chapter VI and Chapter VIII of the OECD guidelines.

Place, publisher, year, edition, pages
Karlskrona: Blekinge Tekniska Högskola, 2024. p. 10
Series
Blekinge Tekniska Högskola Forskningsrapport, ISSN 1103-1581 ; 2024:01
Keywords
transfer pricing, taxation, inner source, innersource, software engineering, tax, collaboration
National Category
Computer Systems
Research subject
Software Engineering
Identifiers
urn:nbn:se:bth-25962 (URN)BTH-RES-01/24-SE (ISRN)
Note

The OECD guidelines were updated in January 2022 (as this article was prepared), but the concepts discussed herein remain valid, and thus, the references were sustained.

Available from: 2024-02-13 Created: 2024-02-13 Last updated: 2025-09-30Bibliographically approved
Dorner, M., Capraro, M., Treidler, O., Kunz, T.-E., Šmite, D., Zabardast, E., . . . Wnuk, K. (2024). Taxing Collaborative Software Engineering: The Challenges for Tax Compliance in Software Engineering. IEEE Software, 41(4), 143-150
Open this publication in new window or tab >>Taxing Collaborative Software Engineering: The Challenges for Tax Compliance in Software Engineering
Show others...
2024 (English)In: IEEE Software, ISSN 0740-7459, E-ISSN 1937-4194, Vol. 41, no 4, p. 143-150Article in journal (Refereed) Published
Abstract [en]

The engineering of complex software systems is often the result of a highly collaborative effort. However, collaboration within a multinational enterprise has an overlooked legal implication when developers collaborate across national borders: It is taxable. In this article, we discuss the unsolved problem of taxing collaborative software engineering across borders.

Place, publisher, year, edition, pages
IEEE Computer Society, 2024
Keywords
Software, Software engineering, Finance, Collaboration, Codes, Pricing, Collaborative software
National Category
Software Engineering
Identifiers
urn:nbn:se:bth-26585 (URN)10.1109/MS.2023.3346646 (DOI)001241761200006 ()2-s2.0-85164779874 (Scopus ID)
Funder
Knowledge Foundation, 20180010
Available from: 2024-06-26 Created: 2024-06-26 Last updated: 2025-09-30Bibliographically approved
Šmite, D., Moe, N. B., Floryan, M., Gonzalez-Huerta, J., Dorner, M. & Sablis, A. (2023). Decentralized decision-making and scaled autonomy at Spotify. Journal of Systems and Software, 200, Article ID 111649.
Open this publication in new window or tab >>Decentralized decision-making and scaled autonomy at Spotify
Show others...
2023 (English)In: Journal of Systems and Software, ISSN 0164-1212, E-ISSN 1873-1228, Vol. 200, article id 111649Article in journal (Refereed) Published
Abstract [en]

While modern software companies strive to increase team autonomy to enable them to successfully operate the piece of software they develop and deploy, efficient ways to orchestrate the work of multiple autonomous teams working in parallel are still poorly understood. In this paper, we report how team autonomy is maintained at Spotify at scale, based on team retrospectives, interviews with team managers and archival analysis of corporate databases and work procedures. In particular, we describe how managerial authority is decentralized through various workgroups with collective authority, what compromises are made to team autonomy to ensure alignment and which team-related factors can further hinder autonomy. Our findings show that scaled autonomy at Spotify does not mean anarchy, or unlimited permissiveness. Instead, squads are expected to take responsibility for their work and coordinate, communicate and align their actions with others, and comply with a few enabling constraints. Further, squads take many decisions independently without management control or due to collective efforts that bypass formal boundary structures. Mechanisms and strategies that enable self-organization at Spotify are related to effective sharing of the codebase, achieving alignment, networking and knowledge sharing, and are described to guide other companies in their efforts to scale autonomy. © 2023 The Author(s)

Place, publisher, year, edition, pages
Elsevier, 2023
Keywords
Decision making, Human resource management, Coordination, Decentralized decision-making, Enabling constraint, Large-scale software development, Large-scales, Scaled autonomy, Scaling agile, Scalings, Software company, The spotify model, Software design, Enabling constraints
National Category
Software Engineering
Identifiers
urn:nbn:se:bth-24390 (URN)10.1016/j.jss.2023.111649 (DOI)000992126800001 ()2-s2.0-85149631583 (Scopus ID)
Funder
Knowledge Foundation, 20190087Knowledge Foundation, 20170176The Research Council of Norway, 309344
Available from: 2023-03-23 Created: 2023-03-23 Last updated: 2025-09-30Bibliographically approved
Dorner, M., Šmite, D., Mendez, D., Wnuk, K. & Czerwonka, J. (2022). Only Time Will Tell: Modelling Information Diffusion in Code Review with Time-Varying Hypergraphs. In: Madeiral F., Lassenius C., Lassenius C., Conte T., Mannisto T. (Ed.), ESEM '22: Proceedings of the 16th ACM / IEEE International Symposium on Empirical Software Engineering and Measurement. Paper presented at 16th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement, ESEM 2022, Helsinki, 18 September through 23 September 2022 (pp. 195-204). Association for Computing Machinery (ACM)
Open this publication in new window or tab >>Only Time Will Tell: Modelling Information Diffusion in Code Review with Time-Varying Hypergraphs
Show others...
2022 (English)In: ESEM '22: Proceedings of the 16th ACM / IEEE International Symposium on Empirical Software Engineering and Measurement / [ed] Madeiral F., Lassenius C., Lassenius C., Conte T., Mannisto T., Association for Computing Machinery (ACM), 2022, p. 195-204Conference paper, Published paper (Refereed)
Abstract [en]

Background: Modern code review is expected to facilitate knowledge sharing: All relevant information, the collective expertise, and meta-information around the code change and its context become evident, transparent, and explicit in the corresponding code review discussion. The discussion participants can leverage this information in the following code reviews; the information diffuses through the communication network that emerges from code review. Traditional time-aggregated graphs fall short in rendering information diffusion as those models ignore the temporal order of the information exchange: Information can only be passed on if it is available in the first place.

Aim: This manuscript presents a novel model based on time-varying hypergraphs for rendering information diffusion that overcomes the inherent limitations of traditional, time-aggregated graph-based models. 

Method: In an in-silico experiment, we simulate an information diffusion within the internal code review at Microsoft and show the empirical impact of time on a key characteristic of information diffusion: the number of reachable participants. 

Results: Time-aggregation significantly overestimates the paths of information diffusion available in communication networks and, thus, is neither precise nor accurate for modelling and measuring the spread of information within communication networks that emerge from code review. 

Conclusion: Our model overcomes the inherent limitations of traditional, static or time-aggregated, graph-based communication models and sheds the first light on information diffusion through code review. We believe that our model can serve as a foundation for understanding, measuring, managing, and improving knowledge sharing in code review in particular and information diffusion in software engineering in general.

Place, publisher, year, edition, pages
Association for Computing Machinery (ACM), 2022
Series
International Symposium on Empirical Software Engineering and Measurement, ISSN 1949-3770, E-ISSN 1949-3789
Keywords
code review, collaboration, communication, communication network, developer networks, in-silico experiment, information diffusion, knowledge sharing, measurement, simulation, time-varying hypergraph, topology
National Category
Other Engineering and Technologies
Research subject
Software Engineering
Identifiers
urn:nbn:se:bth-23480 (URN)10.1145/3544902.3546254 (DOI)001139214400018 ()2-s2.0-85139871479 (Scopus ID)9781450394277 (ISBN)
Conference
16th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement, ESEM 2022, Helsinki, 18 September through 23 September 2022
Funder
Knowledge Foundation, 20180010
Note

open access

Available from: 2022-08-05 Created: 2022-08-05 Last updated: 2025-09-30Bibliographically approved
Dorner, M., Mendez, D., Zabardast, E., Valdez, N. & Floryan, M.Measuring Information Diffusion in Code Review at Spotify.
Open this publication in new window or tab >>Measuring Information Diffusion in Code Review at Spotify
Show others...
(English)Manuscript (preprint) (Other academic)
Abstract [en]

Background

Code review, a core practice in software engineering, has been widely studied as a collaborative process, with prior work suggesting it functions as a communication network. Despite its popularity, this theory has not been formalized and remains untested, limiting its practical and theoretical significance.

Objective

This study aims to (1) formalize the theory of code review as a communication network explicit and (2) empirically test its validity by quantifying the extent of information diffusion---the spread of information---in code review across social, organizational, and software architectural boundaries.

Method

We conduct a large-scale empirical analysis of 220,733 code reviews by 2,246 developers at Spotify during 2019. We conceptualize information diffusion along three distinct boundaries: social (dissimilarity among review participants), organizational (involvement of developers across teams), and architectural (interconnections among the components under review).

Results

We find that over 99.6% of review pairs have completely distinct participant sets, indicating high diffusion across social boundaries. Approximately 18% of code reviews involve developers from multiple teams, evidencing nontrivial diffusion across organizational boundaries. Of the 5.82% of code reviews linked to others, 99.0% span distinct repositories, reflecting architectural diffusion.

Conclusion

The substantial diffusion of information across social, organizational, and architectural boundaries empirically supports the theory of code review as a communication network. These findings indicate that code review plays a role not only in quality assurance, but also in enabling communication and coordination in large-scale, distributed software projects. They further support its use as a measurable proxy for cross-border collaboration in the context of tax compliance, but also raise concerns about the impact of integrating LLMs on its communicative function.

Keywords
code review, theory, communication network, information diffusion
National Category
Software Engineering
Research subject
Software Engineering
Identifiers
urn:nbn:se:bth-28564 (URN)
Available from: 2025-09-01 Created: 2025-09-01 Last updated: 2025-09-30Bibliographically approved
Dorner, M., Bauer, A., Šmite, D., Thode, L., Mendez, D., Britto, R., . . . Kormann, M.Quo Vadis, Code Review?: Exploring the Future of Code Review.
Open this publication in new window or tab >>Quo Vadis, Code Review?: Exploring the Future of Code Review
Show others...
(English)Manuscript (preprint) (Other academic)
Abstract [en]

Code review has long been a core practice in collaborative software engineering. In this research, we explore how practitioners reflect on code review today and what changes they anticipate in the near future. We then discuss the potential long-term risks of these anticipated changes for the evolution of code review and its role in collaborative software engineering.

Keywords
code review, survey, artificial intelligence, collaborative software engineering
National Category
Software Engineering
Research subject
Software Engineering
Identifiers
urn:nbn:se:bth-28568 (URN)
Available from: 2025-09-01 Created: 2025-09-01 Last updated: 2025-10-16Bibliographically approved
Dorner, M. & Mendez, D.The Capability of Code Review as a Communication Network.
Open this publication in new window or tab >>The Capability of Code Review as a Communication Network
(English)Manuscript (preprint) (Other academic)
Abstract [en]

Background

As a core practice in software engineering, the nature of code review has been researched extensively: Prior exploratory studies theorized that code review, the discussion around a code change among humans, forms a communication network that enables its participants to exchange and spread information. Although prior exploratory studies lay an valuable foundation in understanding code review as communication network, the missing confirmatory counterpart leaves the theory's validity uncertain, limiting its credibility, practical applicability, and potential for further advancemcents.

Objective

This study aims to (1) formalize the theory of code review as a communication network explicit and (2) empirically test its validity by quantifying how widely and how quickly information can spread code review.

Method

We replicate an in silico experiment simulating information diffusion—the spread of information among participants—under best-case conditions across three open-source (Android, Visual Studio Code, React) and three closed-source code review systems (Microsoft, Spotify, Trivago) each modelled as a communication network. By measuring the number of reachable participants and the minimal topological and temporal distances, we quantify how widely and how quickly information can spread through code review.

Results

We find that code review networks can, under best-case conditions, support both wide and fast information diffusion, even in large-scale systems such as Microsoft’s internal code review platform. This confirms core assumptions of the theory of code review as a communication network. However, this capability is not uniformly present across all systems. Notably, we observe substantial differences between open-source and closed-source settings: open-source projects tend to achieve faster diffusion, while closed-source systems enable information to reach a broader share of participants.

Keywords
code review, simulation, replication, theory, communication network
National Category
Software Engineering
Research subject
Software Engineering
Identifiers
urn:nbn:se:bth-28566 (URN)
Available from: 2025-09-01 Created: 2025-09-01 Last updated: 2025-09-30Bibliographically approved
Organisations
Identifiers
ORCID iD: ORCID iD iconorcid.org/0000-0001-8879-6450

Search in DiVA

Show all publications