Sha256: b23bc7df1b290c1b78dac8cbecd81c7024a94d3b821b769369748023a599c363

Contents?: true

Size: 251 Bytes

Versions: 15

Compression:

Stored size: 251 Bytes

Contents

module Rcov

  class TextSummary < BaseFormatter # :nodoc:

    def execute
      puts summary
    end

    def summary
      "%.1f%%   %d file(s)   %d Lines   %d LOC" % [code_coverage * 100, @files.size, num_lines, num_code_lines]
    end

  end

end

Version data entries

15 entries across 15 versions & 4 rubygems

Version Path
jruby-rcov-0.8.2.1-java lib/rcov/formatters/text_summary.rb
jruby-rcov-0.8.2.2-java lib/rcov/formatters/text_summary.rb
mchung-rcov-0.8.3.3 lib/rcov/formatters/text_summary.rb
relevance-rcov-0.8.3.0 lib/rcov/formatters/text_summary.rb
relevance-rcov-0.8.3.1 lib/rcov/formatters/text_summary.rb
relevance-rcov-0.8.3.2 lib/rcov/formatters/text_summary.rb
relevance-rcov-0.8.3.3 lib/rcov/formatters/text_summary.rb
relevance-rcov-0.8.3.4 lib/rcov/formatters/text_summary.rb
relevance-rcov-0.8.3.5 lib/rcov/formatters/text_summary.rb
relevance-rcov-0.8.3.6 lib/rcov/formatters/text_summary.rb
relevance-rcov-0.8.3.8 lib/rcov/formatters/text_summary.rb
relevance-rcov-0.8.3.9 lib/rcov/formatters/text_summary.rb
relevance-rcov-0.8.4.1 lib/rcov/formatters/text_summary.rb
relevance-rcov-0.8.4 lib/rcov/formatters/text_summary.rb
valo-rcov-0.8.3.4 lib/rcov/formatters/text_summary.rb