Cover all params in QLDoc of modelCoverage

This commit is contained in:
Owen Mansel-Chan
2024-06-04 17:06:00 +01:00
parent 60970ff015
commit 3fb5ad2a0d
4 changed files with 12 additions and 6 deletions

View File

@@ -191,8 +191,10 @@ private predicate canonicalNamespaceLink(string namespace, string subns) {
}
/**
* Holds if CSV framework coverage of `namespace` is `n` api endpoints of the
* kind `(kind, part)`.
* Holds if MaD framework coverage of `namespace` is `n` api endpoints of the
* kind `(kind, part)`, and `namespaces` is the number of subnamespaces of
* `namespace` which have MaD framework coverage (including `namespace`
* itself).
*/
predicate modelCoverage(string namespace, int namespaces, string kind, string part, int n) {
namespaces = strictcount(string subns | canonicalNamespaceLink(namespace, subns)) and