mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Update rust/ql/src/queries/summary/Stats.qll
This commit is contained in:
@@ -35,7 +35,7 @@ int getLinesOfCode() { result = sum(File f | f.fromSource() | f.getNumberOfLines
|
||||
* Gets a count of the total number of lines of code from the source code directory in the database.
|
||||
*/
|
||||
int getLinesOfUserCode() {
|
||||
result = sum(File f | f.fromSource() and exists(f.getRelativePath()) | f.getNumberOfLinesOfCode())
|
||||
result = sum(ExtractedFile f | exists(f.getRelativePath()) | f.getNumberOfLinesOfCode())
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user