mirror of
https://github.com/github/codeql.git
synced 2026-04-08 00:24:03 +02:00
17 lines
431 B
Plaintext
17 lines
431 B
Plaintext
/**
|
|
* @name Lines of code in files
|
|
* @description Files with a large number of lines might be difficult to understand and increase the chance of merge conflicts.
|
|
* @kind treemap
|
|
* @treemap.warnOn highValues
|
|
* @metricType file
|
|
* @metricAggregate avg sum max
|
|
* @id cs/lines-of-code-in-files
|
|
* @tags maintainability
|
|
* complexity
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from File f
|
|
select f, f.getNumberOfLinesOfCode() as n order by n desc
|