Skip to content

Commit 16a3dfa

Browse files
authored
C++: Update summary metrics query format.
1 parent 863497c commit 16a3dfa

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

cpp/ql/src/Summary/Files.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
/**
2+
* @id cpp/summary/files
23
* @name Total source files
34
* @description The total number of source files.
45
* @kind metric
5-
* @id cpp/summary/files
6+
* @tags summary
67
*/
78

89
import cpp

cpp/ql/src/Summary/Lines.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
/**
2+
* @id cpp/summary/lines
23
* @name Total lines of text
34
* @description The total number of lines of text across all source files.
45
* @kind metric
5-
* @id cpp/summary/lines
6+
* @tags summary
67
*/
78

89
import cpp

cpp/ql/src/Summary/LinesOfCode.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
/**
2+
* @id cpp/summary/lines-of-code
23
* @name Total lines of code
34
* @description The total number of lines of code across all source files.
45
* @kind metric
5-
* @id cpp/summary/lines-of-code
6+
* @tags summary
67
*/
78

89
import cpp

cpp/ql/src/Summary/LinesOfCodePerFile.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
/**
2+
* @id cpp/summary/lines-of-code-per-file
23
* @name Lines of code per source file
34
* @description The number of lines of code for each source file.
45
* @kind metric
5-
* @id cpp/summary/lines-of-code-per-file
6+
* @tags summary
67
*/
78

89
import cpp

cpp/ql/src/Summary/LinesPerFile.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
/**
2+
* @id cpp/summary/lines-per-file
23
* @name Lines of text per source file
34
* @description The number of lines of text for each source file.
45
* @kind metric
5-
* @id cpp/summary/lines-per-file
6+
* @tags summary
67
*/
78

89
import cpp

0 commit comments

Comments
 (0)