Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7900185

apicov: reporting coverage for the whole package including subpackages

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Not an Issue
    • Icon: P2 P2
    • st3.0
    • st3.0
    • tools
    • None
    • b10
    • b10
    • Verified

      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.


            ersh Mikhail Ershov (Inactive)
            dbessono Dmitry Bessonov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: