mirror of
https://github.com/github/codeql.git
synced 2026-07-08 04:55:32 +02:00
16 lines
306 B
Plaintext
16 lines
306 B
Plaintext
/**
|
|
* @name Number of lines
|
|
* @description The number of lines in each file.
|
|
* @kind treemap
|
|
* @treemap.warnOn highValues
|
|
* @id java/lines-per-file
|
|
* @metricType file
|
|
* @metricAggregate avg sum max
|
|
*/
|
|
|
|
import java
|
|
|
|
from File f, int n
|
|
where n = f.getTotalNumberOfLines()
|
|
select f, n order by n desc
|