Plugin health over time: <% if plugin.test_results.empty? %> No test data available. (<%= link_to "How to submit test data" %>) <% else %> <%= sparkline_tag plugin.releases.collect(&:health), :type => 'smooth', :height => 20, :upper => 90, :step => 10, :below_color => 'black', :line_color => '#999', :has_min => true, :has_max => true, :has_last => true %> <% end %>