Currently you cannot get the coverage number for a whole package - including all its subpackages from a human-readable plaintext APICover report:
For example:
[quoting report]
--------------------------------------------------------------------------
java.util 347 4075 3334 81%
[quote]
This number above is confusing (if not to call it just wrong) because in fact it tells the method coverage level only for the classes belonging to "java.util" package itself and nothing else - classes located in the subpackages of java.util are not counted here.
So to get the total coverage number for the whole "java.util" package one needs to scroll the report down and manually perform the calcluation or develop and apply a post-processing script.
In fact providing such data should belong to the core APICover functionality.
JCov already gives the desired cumulative numbers for packages in its HTML reports.
For example:
[quoting report]
--------------------------------------------------------------------------
java.util 347 4075 3334 81%
[quote]
This number above is confusing (if not to call it just wrong) because in fact it tells the method coverage level only for the classes belonging to "java.util" package itself and nothing else - classes located in the subpackages of java.util are not counted here.
So to get the total coverage number for the whole "java.util" package one needs to scroll the report down and manually perform the calcluation or develop and apply a post-processing script.
In fact providing such data should belong to the core APICover functionality.
JCov already gives the desired cumulative numbers for packages in its HTML reports.