Skip to content

Commit 83376af

Browse files
committed
Rust: Improve layout locality in summary stats.
1 parent 07fccf8 commit 83376af

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ import Stats
1111

1212
from string key, string value
1313
where
14-
key = "Extracted files" and value = count(File f | exists(f.getRelativePath())).toString()
14+
key = "Files extracted" and value = count(File f | exists(f.getRelativePath())).toString()
1515
or
16-
key = "Extracted elements" and value = count(Element e | not e instanceof Unextracted).toString()
16+
key = "Elements extracted" and value = count(Element e | not e instanceof Unextracted).toString()
1717
or
18-
key = "Unextracted elements" and value = count(Unextracted e).toString()
18+
key = "Elements unextracted" and value = count(Unextracted e).toString()
1919
or
20-
key = "Lines of code" and value = getLinesOfCode().toString()
20+
key = "Lines of code extracted" and value = getLinesOfCode().toString()
2121
or
22-
key = "Lines of user code" and value = getLinesOfUserCode().toString()
22+
key = "Lines of user code extracted" and value = getLinesOfUserCode().toString()
2323
select key, value
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
| Extracted elements | 61 |
2-
| Extracted files | 6 |
3-
| Lines of code | 24 |
4-
| Lines of user code | 24 |
5-
| Unextracted elements | 26 |
1+
| Elements extracted | 61 |
2+
| Elements unextracted | 26 |
3+
| Files extracted | 6 |
4+
| Lines of code extracted | 24 |
5+
| Lines of user code extracted | 24 |

0 commit comments

Comments
 (0)