Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8226599

use code coverage results to remove dead code

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: tools
    • Labels:

      Description

      The results of code coverage run can be seen at:
      http://jfx.us.oracle.com/shared-webrev/almatvee/jpackage/jcov-report/windows/
      for each method not called by running our tests we need to either:
      1.) Identify that it is dead code and remove it.
      2.) create a test that will cause it to be called
      3.) Identify why it unreasonable to expect any test to call it.

      This needs to be done for each file, the dead code removed, and new issues created for any additional automated tests required.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                herrick Andy Herrick
                Reporter:
                herrick Andy Herrick
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: