Governing the commons: code ownership and code-clones in large-scale software development
2025 (English) In: Empirical Software Engineering, ISSN 1382-3256, E-ISSN 1573-7616, Vol. 30, no 2, article id 43Article in journal (Refereed) Published
Abstract [en]
Context: In software development organizations employing weak or collective ownership, different teams are allowed and expected to autonomously perform changes in various components. This creates diversity both in the knowledge of, and in the responsibility for, individual components.
Objective: Our objective is to understand how and why different teams introduce technical debt in the form of code clones as they change different components.
Method: We collected data about change size and clone introductions made by ten teams in eight components which was part of a large industrial software system. We then designed a Multi-Level Generalized Linear Model (MLGLM), to illustrate the teams’ differing behavior. Finally, we discussed the results with three development teams, plus line manager and the architect team, evaluating whether the model inferences aligned with what they expected. Responses were recorded and thematically coded.
Results: The results show that teams do behave differently in different components, and the feedback from the teams indicates that this method of illustrating team behavior can be useful as a complement to traditional summary statistics of ownership.
Conclusions: We find that our model-based approach produces useful visualizations of team introductions of code clones as they change different components. Practitioners stated that the visualizations gave them insights that were useful, and by comparing with an average team, inter-team comparisons can be avoided. Thus, this has the potential to be a useful feedback tool for teams in software development organizations that employ weak or collective ownership. © The Author(s) 2024.
Place, publisher, year, edition, pages Springer, 2025. Vol. 30, no 2, article id 43
Keywords [en]
Bayesian linear model, Code clones, Code ownership, Software craftsmanship, Team behavior, Bayesian, Code clone, Collective ownership, Large-scales, Linear modeling, Software development organizations, Team behaviour
National Category
Software Engineering
Identifiers URN: urn:nbn:se:bth-27329 DOI: 10.1007/s10664-024-10598-7 ISI: 001377050600004 Scopus ID: 2-s2.0-85211925991 OAI: oai:DiVA.org:bth-27329 DiVA, id: diva2:1923597
Part of project SERT- Software Engineering ReThought, Knowledge Foundation
Funder Knowledge Foundation, 20180010 2024-12-282024-12-282025-01-02 Bibliographically approved