Merge pull request #16676 from owen-mc/qldoc-external-flow

C/C#/Java/Swift: Cover all params in QLDoc of `modelCoverage`
This commit is contained in:
Owen Mansel-Chan
2024-06-05 16:53:27 +01:00
committed by GitHub
4 changed files with 13 additions and 6 deletions

View File

@@ -211,7 +211,8 @@ private predicate canonicalPkgLink(string package, string subpkg) {
/**
* Holds if MaD framework coverage of `package` is `n` api endpoints of the
* kind `(kind, part)`.
* kind `(kind, part)`, and `pkgs` is the number of subpackages of `package`
* which have MaD framework coverage (including `package` itself).
*/
predicate modelCoverage(string package, int pkgs, string kind, string part, int n) {
pkgs = strictcount(string subpkg | canonicalPkgLink(package, subpkg)) and