Files
codeql/python/ql/src/Metrics/History/HNumberOfCommits.ql
2020-03-30 11:59:10 +02:00

17 lines
311 B
Plaintext

/**
* @name Number of commits
* @description Number of commits
* @kind treemap
* @id py/historical-number-of-commits
* @treemap.warnOn highValues
* @metricType commit
* @metricAggregate sum
*/
import python
import external.VCS
from Commit c
where not artificialChange(c)
select c.getRevisionName(), 1