scitools.com

← Metric catalog

Ownership is one of the source-code metrics Understand computes across 17+ languages — browse them in the GUI, export and track them, or script them with the Python API.

Ownership

API ID: GitOwnership
Languages: Any
Targets: Architectures, Files, Project

The percentage of commits made by the author with the most commits that touched this file/directory.

Authors can be broken into three categories:

Files with strong ownership are preferred, and files with many minor contributors are more bug prone. (Bird, Christian, et al. "Don't touch my code! Examining the effects of ownership on software quality." Proceedings of the 19th ACM SIGSOFT symposium and the 13th European conference on Foundations of software engineering. 2011.)

See also the Git Solution, the blog article ↗ describing the Git plugins, the interactive report Git Authors, and the architectures Git Owner and Git Author .