mirror of
https://github.com/github/codeql.git
synced 2026-03-05 15:16:47 +01:00
Rename framework coverage query
Move it to the other summary queries, update all references.
This commit is contained in:
18
java/ql/src/Metrics/Summaries/FrameworkCoverage.ql
Normal file
18
java/ql/src/Metrics/Summaries/FrameworkCoverage.ql
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* @id java/summary/framework-coverage
|
||||
* @name Metrics of framework coverage
|
||||
* @description Expose metrics for the number of API endpoints covered by CSV models.
|
||||
* @kind metric
|
||||
* @tags summary
|
||||
*/
|
||||
|
||||
import java
|
||||
import semmle.code.java.dataflow.ExternalFlow
|
||||
|
||||
from string packageAndType, int rows
|
||||
where
|
||||
exists(string package, string type |
|
||||
packageAndType = package + ";" + type and
|
||||
rows = strictsum(int n, string kind | modelCoverage(package, _, kind, type, n) | n)
|
||||
)
|
||||
select packageAndType, rows
|
||||
Reference in New Issue
Block a user