[wp-meta] [Making WordPress.org] #147: Plugin Rating stars are incorrect

Making WordPress.org noreply at wordpress.org
Fri Aug 30 18:00:23 UTC 2013

#147: Plugin Rating stars are incorrect
Reporter:  pento   |      Owner:
    Type:  defect  |     Status:  new
Priority:  minor   |  Component:  Plugins Directory
Keywords:          |
 Migrating from #wp22533:
 > The stars rating doesn't reflect the average rating correctly.
 > For example:
 > http://wordpress.org/extend/plugins/automatic-updater/
 > At the time of reporting, there were 13 ratings: 9*5, 3*4, 1*1, for an
 average of 4.46, shown correctly in the text as "4.5 out of 5 stars".
 > The star rating doesn't seem to be using the same number, however - it
 should be 89.2% (or 90%, if it uses the rounded up "4.5" as the rating),
 but is showing as 82%.

 comment 1:
 > It's a width of 82 pixels (not percentage) because it is out of 92
 pixels. It might look slightly off because of the way the star borders add
 the slightest bit to the edges, plus pixel rounding, etc.
 > 4.46 / 5 * 92 = 82.064

 comment 2:
 > I'm totally blaming the jetlag.
 > The stars image is incorrect, then - 4.5/5 should take up half of the
 5th star, but it takes up slightly less.

 This isn't all that big of a deal, but we should fix it anyway. Especially
 if/when we move to retina images for stars, this might end up being more

Ticket URL: <http://meta.trac.wordpress.org/ticket/147>
Making WordPress.org <http://meta.trac.wordpress.org/>
WordPress blogging software

More information about the wp-meta mailing list