mirror of
https://github.com/github/codeql.git
synced 2026-04-18 21:44:02 +02:00
Merge pull request #18236 from geoffw0/percent
Rust: Add % of files extracted without errors to summary stats.
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
| Files extracted - total | 5 |
|
||||
| Files extracted - with errors | 1 |
|
||||
| Files extracted - without errors | 4 |
|
||||
| Files extracted - without errors % | 80 |
|
||||
| Inconsistencies - AST | 0 |
|
||||
| Inconsistencies - CFG | 0 |
|
||||
| Inconsistencies - data flow | 0 |
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
| Files extracted - total | 4 |
|
||||
| Files extracted - with errors | 0 |
|
||||
| Files extracted - without errors | 4 |
|
||||
| Files extracted - without errors % | 100 |
|
||||
| Inconsistencies - AST | 0 |
|
||||
| Inconsistencies - CFG | 0 |
|
||||
| Inconsistencies - data flow | 0 |
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
| Files extracted - total | 4 |
|
||||
| Files extracted - with errors | 0 |
|
||||
| Files extracted - without errors | 4 |
|
||||
| Files extracted - without errors % | 100 |
|
||||
| Inconsistencies - AST | 0 |
|
||||
| Inconsistencies - CFG | 0 |
|
||||
| Inconsistencies - data flow | 0 |
|
||||
|
||||
@@ -32,6 +32,11 @@ where
|
||||
key = "Files extracted - without errors" and
|
||||
value = count(SuccessfullyExtractedFile f | exists(f.getRelativePath()))
|
||||
or
|
||||
key = "Files extracted - without errors %" and
|
||||
value =
|
||||
(count(SuccessfullyExtractedFile f | exists(f.getRelativePath())) * 100) /
|
||||
count(ExtractedFile f | exists(f.getRelativePath()))
|
||||
or
|
||||
key = "Lines of code extracted" and value = getLinesOfCode()
|
||||
or
|
||||
key = "Lines of user code extracted" and value = getLinesOfUserCode()
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
| Files extracted - total | 7 |
|
||||
| Files extracted - with errors | 3 |
|
||||
| Files extracted - without errors | 4 |
|
||||
| Files extracted - without errors % | 57 |
|
||||
| Inconsistencies - AST | 0 |
|
||||
| Inconsistencies - CFG | 0 |
|
||||
| Inconsistencies - data flow | 0 |
|
||||
|
||||
Reference in New Issue
Block a user