Making WordPress.org

Opened 10 months ago

Closed 9 months ago

#3969 closed defect (fixed)

The width of ACTIVE VERSIONS chart in Plugin Stats is half

Reported by: ishitaka Owned by: dd32
Milestone: Priority: normal
Component: Plugin Directory Keywords: has-patch


If the total percentage exceeds 100, the width of the chart is half.

Attachments (3)

plugin-stats-active-versions.png (7.3 KB) - added by ishitaka 10 months ago.
3969.patch (918 bytes) - added by ishitaka 10 months ago.
plugin-stats-active-versions-2.png (59.4 KB) - added by ishitaka 10 months ago.
Add example

Download all attachments as: .zip

Change History (6)

10 months ago

#1 @Otto42
10 months ago

Why would the percentage exceed 100?

Please provide a link so that we can see where the data has gone astray instead of simply munging the chart.

#2 @ishitaka
10 months ago

It may be 100.01.



33.18 + 66.58 + 0.25 = 100.01

#3 @dd32
9 months ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 8045:

Plugin Directory: Stats: Ensure that the Usage stats add up to 100.00.

Sometimes due to rounding the sum of the usage stats end up at 100.01 or 99.99 which throw out the graphs.
Due to the rare occurences and generalness of these numbers, we'll fix this by adjusting one of the numbers slightly.

Fixes #3969.

Note: See TracTickets for help on using tickets.