mitre/identity
Checks if a project's contributions have the same author and committer.
Parameter | Type | Explanation |
---|---|---|
percent-threshold | Float | Percentage of "merge-by-self" contributions to accept. |
(lte
(divz
(count (filter (eq #t) $))
(count $))
{config.percent-threshold or 0.2})
mitre/identity
Returns an array of booleans indicating if commits have matching committer and author.
Identity analysis looks at whether the author and committer identities for each commit are the same, as part of gauging the likelihood that commits are receiving some degree of review before being merged into a repository.
When author and committer identity are the same, that may indicate that a commit did not receive review, which could be a cause for concern. At the larger level, having a large percentage of commits with the same author and committer identities may indicate a project that lacks code review.