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

Rename "line coverage" to "instruction coverage" in "javap" report.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      In the fix implemented by https://github.com/openjdk/jcov/pull/48, the javap report has been changed to show coverage of byte code instructions instead of showing coverage for source lines.

      The report still shows "line" in the column for instruction coverage. Suggest this column to say "instruction".

      A typical use case for the javap report, how I see ppl using it, is to only open it when it is unclear what code paths are covered, specifically for generated code and when the numbers of instructions generated for a single line is large. While doing that I see ppl comparing java report to the javap report. Having columns named differently would help not to mix things.

            lkuskov Leonid Kuskov
            shurailine Aleksandre Iline
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: