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

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

    Details

    • Similar Issues:

      Description

      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, ...)

       

        Attachments

          Activity

          pjaytycy Pieter-Jan Busschaert created issue -
          pjaytycy Pieter-Jan Busschaert made changes -
          Field Original Value New Value
          Description I use the cobertura plugin to display the coverage results on some of 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 circumstance.

          Is it possible to render anything between 99% (or 99.5%) and 100% as 99+% (or similar) ?

           
          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 circumstance.

          Is it possible to render anything between 99% (or 99.5%) and 100% as 99+% (or similar) ?

           
          pjaytycy Pieter-Jan Busschaert made changes -
          Description 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 circumstance.

          Is it possible to render anything between 99% (or 99.5%) and 100% as 99+% (or similar) ?

           
          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, ...)

           
          olivergondza Oliver Gondža made changes -
          Assignee Oliver Gondža [ olivergondza ]
          cizezsy Shenyu Zheng made changes -
          Assignee Share Cheng [ cizezsy ]
          cizezsy Shenyu Zheng made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          cizezsy Shenyu Zheng made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          cizezsy Shenyu Zheng made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          jeffpearce Jeff Pearce made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: