Update rust/ql/src/queries/summary/Stats.qll

This commit is contained in:
Arthur Baars
2025-06-02 15:42:43 +02:00
committed by GitHub
parent 62d0cf7e0d
commit 5c21c01ad0

View File

@@ -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())
}
/**