DocumentCode :
731484
Title :
Code Ownership and Software Quality: A Replication Study
Author :
Greiler, Michaela ; Herzig, Kim ; Czerwonka, Jacek
Author_Institution :
Microsoft Corp., Redmond, WA, USA
fYear :
2015
fDate :
16-17 May 2015
Firstpage :
2
Lastpage :
12
Abstract :
In a traditional sense, ownership determines rights and duties in regard to an object, for example a property. The owner of source code usually refers to the person that invented the code. However, larger code artifacts, such as files, are usually composed by multiple engineers contributing to the entity over time through a series of changes. Frequently, the person with the highest contribution, e.g. The most number of code changes, is defined as the code owner and takes responsibility for it. Thus, code ownership relates to the knowledge engineers have about code. Lacking responsibility and knowledge about code can reduce code quality. In an earlier study, Bird et al. [1] showed that Windows binaries that lacked clear code ownership were more likely to be defect prone. However recommendations for large artifacts such as binaries are usually not actionable. E.g. Changing the concept of binaries and refactoring them to ensure strong ownership would violate system architecture principles. A recent replication study by Foucault et al. [2] on open source software replicate the original results and lead to doubts about the general concept of ownership impacting code quality. In this paper, we replicated and extended the previous two ownership studies [1, 2] and reflect on their findings. Further, we define several new ownership metrics to investigate the dependency between ownership and code quality on file and directory level for 4 major Microsoft products. The results confirm the original findings by Bird et al. [1] that code ownership correlates with code quality. Using new and refined code ownership metrics we were able to classify source files that contained at least one bug with a median precision of 0.74 and a median recall of 0.38. On directory level, we achieve a precision of 0.76 and a recall of 0.60.
Keywords :
software metrics; software quality; Microsoft products; code ownership metrics; knowledge engineers; open source software; software quality; source code; system architecture principles; Atmospheric measurements; Birds; Computer bugs; Correlation; Size measurement; Software; Empirical software engineering; code ownership; software quality;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Mining Software Repositories (MSR), 2015 IEEE/ACM 12th Working Conference on
Conference_Location :
Florence
Type :
conf
DOI :
10.1109/MSR.2015.8
Filename :
7180062
Link To Document :
بازگشت