C++: Update summary queries.

This commit is contained in:
Cornelius Riemenschneider
2021-03-11 12:44:30 +00:00
committed by GitHub
parent 16a3dfa30a
commit 97ab842010
19 changed files with 36 additions and 49 deletions

View File

@@ -1,11 +1,11 @@
/**
* @id cpp/summary/lines-of-code
* @name Total lines of code
* @description The total number of lines of code across all source files.
* @name Total lines of C/C++ code
* @description The total number of lines of C/C++ code across all files, including system headers and libraries.
* @kind metric
* @tags summary
*/
import cpp
select sum(File f | f.fromSource() | f.getMetrics().getNumberOfLinesOfCode())
select sum(File f | f.fromSource() | f.getMetrics().getNumberOfLines())