rb/summary/lines-of-code

This commit is contained in:
Alex Ford
2021-05-04 21:03:31 +01:00
parent 6adff6f195
commit f6c8b07f4f

View File

@@ -0,0 +1,13 @@
/**
* @id rb/summary/lines-of-code
* @name Total lines of Ruby code in the database
* @description The total number of lines of Ruby code across all files,
* including vendored code, tests. This query counts the lines of code,
* excluding whitespace or comments.
* @kind metric
* @tags summary
*/
import ruby
select sum(File f | | f.getNumberOfLinesOfCode())