Skip to content

Commit 6ebc615

Browse files
committed
Rust: Add extracted files to summary stats.
1 parent 27dca74 commit 6ebc615

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

rust/ql/src/queries/summary/SummaryStats.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import Stats
1111

1212
from string key, string value
1313
where
14+
key = "Extracted files" and value = count(File f | exists(f.getRelativePath())).toString()
15+
or
1416
key = "Lines of code" and value = getLinesOfCode().toString()
1517
or
1618
key = "Lines of user code" and value = getLinesOfUserCode().toString()
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
| Extracted files | 6 |
12
| Lines of code | 24 |
23
| Lines of user code | 24 |

0 commit comments

Comments
 (0)