We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fa93e5 commit ca424d1Copy full SHA for ca424d1
2 files changed
rust/ql/src/queries/summary/SummaryStats.ql
@@ -7,6 +7,7 @@
7
*/
8
9
import rust
10
+import codeql.rust.Concepts
11
import codeql.rust.Diagnostics
12
import Stats
13
@@ -37,4 +38,8 @@ where
37
38
key = "Inconsistencies - CFG" and value = getTotalCfgInconsistencies()
39
or
40
key = "Inconsistencies - data flow" and value = getTotalDataFlowInconsistencies()
41
+ or
42
+ key = "Taint sources - total" and value = count(ThreatModelSource s)
43
44
+ key = "Taint sources - active" and value = count(ActiveThreatModelSource s)
45
select key, value
rust/ql/test/query-tests/diagnostics/SummaryStats.expected
@@ -10,3 +10,5 @@
| Inconsistencies - data flow | 0 |
| Lines of code extracted | 59 |
| Lines of user code extracted | 59 |
+| Taint sources - active | 0 |
14
+| Taint sources - total | 0 |
0 commit comments