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

@@ -203,8 +203,9 @@ 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 `package` is `n` api endpoints of the
* kind `(kind, part)`, and `pkgs` is the number of subpackages of `package`
* which have MaD framework coverage (including `package` itself).
*/
predicate modelCoverage(string namespace, int namespaces, string kind, string part, int n) {
namespaces = strictcount(string subns | canonicalNamespaceLink(namespace, subns)) and