mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02:00
Merge branch 'main' into cklin/rc-3.18-mergeback
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
import codeql.files.FileSystem
|
||||
|
||||
select count(File f |
|
||||
select count(ExtractedFile f |
|
||||
exists(f.getRelativePath()) and
|
||||
not f instanceof SuccessfullyExtractedFile
|
||||
)
|
||||
|
||||
@@ -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 | exists(f.getRelativePath()) | f.getNumberOfLinesOfCode())
|
||||
result = sum(ExtractedFile f | exists(f.getRelativePath()) | f.getNumberOfLinesOfCode())
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user