File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
test/query-tests/diagnostics Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,13 @@ import Stats
1111
1212from string key , string value
1313where
14- key = "Lines of code " and value = getLinesOfCode ( ) .toString ( )
14+ key = "Files extracted " and value = count ( File f | exists ( f . getRelativePath ( ) ) ) .toString ( )
1515 or
16- key = "Lines of user code" and value = getLinesOfUserCode ( ) .toString ( )
16+ key = "Elements extracted" and value = count ( Element e | not e instanceof Unextracted ) .toString ( )
17+ or
18+ key = "Elements unextracted" and value = count ( Unextracted e ) .toString ( )
19+ or
20+ key = "Lines of code extracted" and value = getLinesOfCode ( ) .toString ( )
21+ or
22+ key = "Lines of user code extracted" and value = getLinesOfUserCode ( ) .toString ( )
1723select key , value
Original file line number Diff line number Diff line change 1- | Lines of code | 24 |
2- | Lines of user code | 24 |
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 |
You can’t perform that action at this time.
0 commit comments