FlogGrapher
# File lib/graphs/engines/bluff.rb, line 30 def graph! content = #{BLUFF_DEFAULT_OPTIONS} g.title = 'Flog: code complexity'; g.data('average', [#{@flog_average.join(',')}]); g.data('top 5% average', [#{@top_five_percent_average.join(',')}]) g.labels = #{@labels.to_json}; g.draw(); File.open(File.join(MetricFu.output_directory, 'flog.js'), 'w') {|f| f << content } end
Generated with the Darkfish Rdoc Generator 2.