"Added" section in Clover reports only shows classes with highest coverage

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 2.4.3
    • Affects Version/s: 2.3.2
    • Component/s: Reporting
    • None
    • Environment:

      Windows XP

      The documentation for the report says that the added section will show the top 5 gainers and the top 5 losers. However, at least to me, it seems to show the top 10 gainers. I am most interested in the top 5 losers, because we are trying to ensure that new code is delivered with an adequate level of coverage.

      As an example: we generate three reports with a range of 30 (differences today, differences in the past week, and differences in the past month). In my daily report I see a class that was added with only 9.5%. However, in the monthly report, the lowest coverage that I see is 80%. It seems to me that the 9.5% class should be in the bottom (or there should be 15 other classes with even lower coverage). The monthly report appears to be showing the top 30 results, not the top 15 and bottom 15.

      I've attached two screenshots to show you what I mean. movers-1.jpg shows my daily added classes, and movers-30.jpg shows the same day's report for a 30 day period.

      Let me know what you think of this issue. Am I reading this wrong, or do I have the wrong way of interpreting the data? If this is a real problem, let me know if this has already been fixed (we are still on 2.3.2), or if I can provide you with any more information.

        1. added-backwards-order.jpg
          added-backwards-order.jpg
          274 kB
        2. clover.jar
          9.18 MB
        3. movers-1-day.jpg
          movers-1-day.jpg
          100 kB
        4. movers-30-days.jpg
          movers-30-days.jpg
          369 kB

            Assignee:
            Nick
            Reporter:
            Andy Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: