Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43866

Don't round up 99.x% coverage to 100%

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • cobertura-plugin
    • None

      I use the cobertura plugin to display the coverage results on some Python code. There are some critical parts of the code where I want to make sure we have 100% coverage. I deliberately don't want 99.7% to mean 100%, because bugs usually happen in those few lines that only execute under very special circumstances.

      Is it possible to render anything between 99% (or 99.5%) and 100% as 99+% (or similar) ? This should apply to all places where a percentage is shown (ie: at the top of the main graph on the job page, in the detailed coverage pages, ...)

       

            cizezsy Shenyu Zheng
            pjaytycy Pieter-Jan Busschaert
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: