We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62d0cf7 commit 5c21c01Copy full SHA for 5c21c01
rust/ql/src/queries/summary/Stats.qll
@@ -35,7 +35,7 @@ int getLinesOfCode() { result = sum(File f | f.fromSource() | f.getNumberOfLines
35
* Gets a count of the total number of lines of code from the source code directory in the database.
36
*/
37
int getLinesOfUserCode() {
38
- result = sum(File f | f.fromSource() and exists(f.getRelativePath()) | f.getNumberOfLinesOfCode())
+ result = sum(ExtractedFile f | exists(f.getRelativePath()) | f.getNumberOfLinesOfCode())
39
}
40
41
/**
0 commit comments