Major Contributors 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.
Major Contributors
API ID: GitMajorContributorsLanguages: Any
Targets: Architectures, Files, Project
The number of unique git authors who made at least 5% of commits that touched this file/directory.
Authors can be broken into three categories:
- Owner: the author(s) with the most commits
- Major Contributor: at least 5% of the commits
- Minor Contributor: less than 5% of the commits
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 .