Skip to content

Commit f6c8b07

Browse files
committed
rb/summary/lines-of-code
1 parent 6adff6f commit f6c8b07

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/**
2+
* @id rb/summary/lines-of-code
3+
* @name Total lines of Ruby code in the database
4+
* @description The total number of lines of Ruby code across all files,
5+
* including vendored code, tests. This query counts the lines of code,
6+
* excluding whitespace or comments.
7+
* @kind metric
8+
* @tags summary
9+
*/
10+
11+
import ruby
12+
13+
select sum(File f | | f.getNumberOfLinesOfCode())

0 commit comments

Comments
 (0)