Rust: Create a less noisy version of the summary stats query, for use in tests.

This commit is contained in:
Geoffrey White
2025-03-11 17:45:24 +00:00
parent 32e2c1912c
commit cc90ba5836
6 changed files with 21 additions and 3 deletions

View File

@@ -1 +1 @@
queries/summary/SummaryStats.ql
queries/summary/SummaryStatsLess.ql

View File

@@ -1 +1 @@
queries/summary/SummaryStats.ql
queries/summary/SummaryStatsLess.ql

View File

@@ -0,0 +1,18 @@
/**
* @name Summary Statistics Less
* @description A table of summary statistics about a database, with data that
* has been found to be noisy on tests removed.
* @kind metric
* @id rust/summary/summary-statistics-less
* @tags summary
*/
import rust
import Stats
from string key, int value
where
extractionStats(key, value)
or
inconsistencyStats(key, value)
select key, value order by key

View File

@@ -1 +0,0 @@
queries/summary/SummaryStats.ql

View File

@@ -0,0 +1 @@
queries/summary/SummaryStatsLess.ql