mirror of
https://github.com/github/codeql.git
synced 2025-12-24 20:56:33 +01:00
19 lines
440 B
Plaintext
19 lines
440 B
Plaintext
/**
|
|
* @deprecated
|
|
* @name Similar lines in files
|
|
* @description The number of lines in a file, including code, comment and whitespace lines,
|
|
* which are similar in at least one other place.
|
|
* @kind treemap
|
|
* @treemap.warnOn highValues
|
|
* @metricType file
|
|
* @metricAggregate avg sum max
|
|
* @tags testability
|
|
* @id py/similar-lines-in-files
|
|
*/
|
|
|
|
import python
|
|
|
|
from File f, int n
|
|
where none()
|
|
select f, n order by n desc
|