rcov 0.8.1.2.0 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- data/BLURB +2 -40
- data/LICENSE +2 -5
- data/Rakefile +32 -106
- data/THANKS +14 -0
- data/bin/rcov +277 -1090
- data/doc/readme_for_api.markdown +22 -0
- data/doc/readme_for_emacs.markdown +52 -0
- data/doc/readme_for_rake.markdown +51 -0
- data/doc/readme_for_vim.markdown +34 -0
- data/{rcov.el → editor-extensions/rcov.el} +0 -0
- data/{rcov.vim → editor-extensions/rcov.vim} +0 -0
- data/ext/rcovrt/1.8/callsite.c +216 -0
- data/ext/rcovrt/1.8/rcovrt.c +287 -0
- data/ext/rcovrt/1.9/callsite.c +234 -0
- data/ext/rcovrt/1.9/rcovrt.c +264 -0
- data/ext/rcovrt/extconf.rb +12 -2
- data/lib/rcov.rb +13 -968
- data/lib/rcov/call_site_analyzer.rb +225 -0
- data/lib/rcov/code_coverage_analyzer.rb +268 -0
- data/lib/rcov/coverage_info.rb +36 -0
- data/lib/rcov/differential_analyzer.rb +116 -0
- data/lib/rcov/file_statistics.rb +334 -0
- data/lib/rcov/formatters.rb +13 -0
- data/lib/rcov/formatters/base_formatter.rb +173 -0
- data/lib/rcov/formatters/failure_report.rb +15 -0
- data/lib/rcov/formatters/full_text_report.rb +48 -0
- data/lib/rcov/formatters/html_coverage.rb +274 -0
- data/lib/rcov/formatters/html_erb_template.rb +62 -0
- data/lib/rcov/formatters/text_coverage_diff.rb +193 -0
- data/lib/rcov/formatters/text_report.rb +32 -0
- data/lib/rcov/formatters/text_summary.rb +11 -0
- data/lib/rcov/lowlevel.rb +16 -17
- data/lib/rcov/rcovtask.rb +21 -22
- data/lib/rcov/templates/detail.html.erb +64 -0
- data/lib/rcov/templates/index.html.erb +93 -0
- data/lib/rcov/templates/jquery-1.3.2.min.js +19 -0
- data/lib/rcov/templates/jquery.tablesorter.min.js +15 -0
- data/lib/rcov/templates/print.css +12 -0
- data/lib/rcov/templates/rcov.js +42 -0
- data/lib/rcov/templates/screen.css +270 -0
- data/lib/rcov/version.rb +5 -8
- data/setup.rb +5 -2
- data/test/{sample_01.rb → assets/sample_01.rb} +0 -0
- data/test/{sample_02.rb → assets/sample_02.rb} +0 -0
- data/test/{sample_03.rb → assets/sample_03.rb} +0 -0
- data/test/{sample_04.rb → assets/sample_04.rb} +0 -0
- data/test/{sample_05-new.rb → assets/sample_05-new.rb} +0 -0
- data/test/{sample_05-old.rb → assets/sample_05-old.rb} +0 -0
- data/test/{sample_05.rb → assets/sample_05.rb} +0 -0
- data/test/{test_CallSiteAnalyzer.rb → call_site_analyzer_test.rb} +57 -81
- data/test/{test_CodeCoverageAnalyzer.rb → code_coverage_analyzer_test.rb} +71 -35
- data/test/{test_FileStatistics.rb → file_statistics_test.rb} +34 -36
- data/test/{test_functional.rb → functional_test.rb} +21 -35
- metadata +91 -69
- data/CHANGES +0 -177
- data/LEGAL +0 -36
- data/README.API +0 -42
- data/README.emacs +0 -64
- data/README.en +0 -130
- data/README.rake +0 -62
- data/README.rant +0 -68
- data/README.vim +0 -47
- data/Rantfile +0 -76
- data/ext/rcovrt/callsite.c +0 -242
- data/ext/rcovrt/rcovrt.c +0 -329
- data/lib/rcov/rant.rb +0 -87
- data/lib/rcov/report.rb +0 -1236
- data/mingw-rbconfig.rb +0 -174
@@ -1,8 +1,6 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/test_helper'
|
1
2
|
|
2
|
-
|
3
|
-
require 'rcov'
|
4
|
-
|
5
|
-
class Test_FileStatistics < Test::Unit::TestCase
|
3
|
+
class TestFileStatistics < Test::Unit::TestCase
|
6
4
|
def test_trailing_end_is_inferred
|
7
5
|
verify_everything_marked "trailing end", <<-EOF
|
8
6
|
1 class X
|
@@ -41,7 +39,7 @@ class Test_FileStatistics < Test::Unit::TestCase
|
|
41
39
|
0 else
|
42
40
|
1 c
|
43
41
|
0 end
|
44
|
-
0 case
|
42
|
+
0 case
|
45
43
|
2 when bar =~ /foo/
|
46
44
|
1 puts "bar"
|
47
45
|
0 else
|
@@ -82,10 +80,10 @@ class Test_FileStatistics < Test::Unit::TestCase
|
|
82
80
|
assert_in_delta(0.375, sf.code_coverage, 0.01)
|
83
81
|
assert_equal(8, sf.num_code_lines)
|
84
82
|
assert_equal(13, sf.num_lines)
|
85
|
-
assert_equal([true, :inferred, true, false, false, false, false, false,
|
83
|
+
assert_equal([true, :inferred, true, false, false, false, false, false,
|
86
84
|
false, false, false, false, true], sf.coverage.to_a)
|
87
85
|
end
|
88
|
-
|
86
|
+
|
89
87
|
def test_merge
|
90
88
|
lines, coverage, counts = code_info_from_string <<-EOF
|
91
89
|
1 a = 1
|
@@ -238,11 +236,11 @@ class Test_FileStatistics < Test::Unit::TestCase
|
|
238
236
|
def test_heredocs_with_interpolation_alone_in_method
|
239
237
|
verify_everything_marked "lonely heredocs with interpolation", <<-'EOS'
|
240
238
|
1 def to_s
|
241
|
-
0 <<-EOF
|
239
|
+
0 <<-EOF
|
242
240
|
1 #{name}
|
243
|
-
0 #{street}
|
244
|
-
0 #{city}, #{state}
|
245
|
-
0 #{zip}
|
241
|
+
0 #{street}
|
242
|
+
0 #{city}, #{state}
|
243
|
+
0 #{zip}
|
246
244
|
0 EOF
|
247
245
|
0 end
|
248
246
|
EOS
|
@@ -251,13 +249,13 @@ class Test_FileStatistics < Test::Unit::TestCase
|
|
251
249
|
def test_handle_multiline_expressions
|
252
250
|
verify_everything_marked "expression", <<-EOF
|
253
251
|
1 puts 1, 2.
|
254
|
-
0 abs +
|
252
|
+
0 abs +
|
255
253
|
0 1 -
|
256
254
|
0 1 *
|
257
|
-
0 1 /
|
255
|
+
0 1 /
|
258
256
|
0 1, 1 <
|
259
|
-
0 2, 3 >
|
260
|
-
0 4 %
|
257
|
+
0 2, 3 >
|
258
|
+
0 4 %
|
261
259
|
0 3 &&
|
262
260
|
0 true ||
|
263
261
|
0 foo <<
|
@@ -322,15 +320,15 @@ class Test_FileStatistics < Test::Unit::TestCase
|
|
322
320
|
1 @review.save
|
323
321
|
EOF
|
324
322
|
end
|
325
|
-
|
323
|
+
|
326
324
|
def test_handle_multiline_expression_1st_line_ends_in_block_header
|
327
325
|
# excerpt taken from mongrel/handlers.rb
|
328
326
|
verify_everything_marked "multiline with block starting on 1st", <<-EOF
|
329
327
|
1 uris = listener.classifier.handler_map
|
330
|
-
0 results << table("handlers", uris.map {|uri,handlers|
|
331
|
-
1 [uri,
|
332
|
-
0 "<pre>" +
|
333
|
-
1 handlers.map {|h| h.class.to_s }.join("\n") +
|
328
|
+
0 results << table("handlers", uris.map {|uri,handlers|
|
329
|
+
1 [uri,
|
330
|
+
0 "<pre>" +
|
331
|
+
1 handlers.map {|h| h.class.to_s }.join("\n") +
|
334
332
|
0 "</pre>"
|
335
333
|
0 ]
|
336
334
|
1 })
|
@@ -341,22 +339,22 @@ class Test_FileStatistics < Test::Unit::TestCase
|
|
341
339
|
verify_everything_marked "multiline with }) delimiter, forward", <<-EOF
|
342
340
|
1 assert(@c.config == {
|
343
341
|
0 'host' => 'myhost.tld',
|
344
|
-
0 'port' => 1234
|
342
|
+
0 'port' => 1234
|
345
343
|
0 })
|
346
344
|
EOF
|
347
345
|
verify_everything_marked "multiline with }) delimiter, backwards", <<-EOF
|
348
346
|
0 assert(@c.config == {
|
349
347
|
0 'host' => 'myhost.tld',
|
350
|
-
0 'port' => 1234
|
348
|
+
0 'port' => 1234
|
351
349
|
1 })
|
352
350
|
EOF
|
353
351
|
end
|
354
|
-
|
352
|
+
|
355
353
|
STRING_DELIMITER_PAIRS = [
|
356
|
-
%w-%{ }-, %w-%q{ }-, %w-%Q{ }-, %w{%[ ]}, %w{%q[ ]},
|
354
|
+
%w-%{ }-, %w-%q{ }-, %w-%Q{ }-, %w{%[ ]}, %w{%q[ ]},
|
357
355
|
%w{%( )}, %w{%Q( )}, %w{%Q[ ]}, %w{%q! !}, %w{%! !},
|
358
356
|
]
|
359
|
-
|
357
|
+
|
360
358
|
def test_multiline_strings_basic
|
361
359
|
STRING_DELIMITER_PAIRS.each do |s_delim, e_delim|
|
362
360
|
verify_everything_marked "multiline strings, basic #{s_delim}", <<-EOF
|
@@ -373,7 +371,7 @@ class Test_FileStatistics < Test::Unit::TestCase
|
|
373
371
|
0 ON_OFF = 'on|off'
|
374
372
|
EOF
|
375
373
|
|
376
|
-
verify_marked_exactly "multiline strings, #{s_delim}, interpolation",
|
374
|
+
verify_marked_exactly "multiline strings, #{s_delim}, interpolation",
|
377
375
|
[0], <<-EOF
|
378
376
|
1 PATTERN_TEXT = #{s_delim} \#{#{s_delim} foo #{e_delim}} \\#{e_delim} baz #{e_delim}
|
379
377
|
0 NUMBERS = 'one|two|three|four|five'
|
@@ -381,7 +379,7 @@ class Test_FileStatistics < Test::Unit::TestCase
|
|
381
379
|
EOF
|
382
380
|
end
|
383
381
|
end
|
384
|
-
|
382
|
+
|
385
383
|
def test_multiline_strings_escaped_delimiter
|
386
384
|
STRING_DELIMITER_PAIRS.each do |s_delim, e_delim|
|
387
385
|
verify_everything_marked "multiline, escaped #{s_delim}", <<-EOF
|
@@ -395,9 +393,9 @@ class Test_FileStatistics < Test::Unit::TestCase
|
|
395
393
|
|
396
394
|
def test_handle_multiline_expressions_with_heredocs
|
397
395
|
verify_everything_marked "multiline and heredocs", <<-EOF
|
398
|
-
1 puts <<EOF +
|
396
|
+
1 puts <<EOF +
|
399
397
|
0 testing
|
400
|
-
0 one two three
|
398
|
+
0 one two three
|
401
399
|
0 EOF
|
402
400
|
0 somevar
|
403
401
|
EOF
|
@@ -439,7 +437,7 @@ class Test_FileStatistics < Test::Unit::TestCase
|
|
439
437
|
|
440
438
|
sf = Rcov::FileStatistics.new(testname, lines, counts)
|
441
439
|
is_code_arr.each_with_index do |val,i|
|
442
|
-
assert_equal(val, sf.is_code?(i),
|
440
|
+
assert_equal(val, sf.is_code?(i),
|
443
441
|
"Unable to detect =begin comments properly: #{lines[i].inspect}")
|
444
442
|
end
|
445
443
|
end
|
@@ -450,15 +448,15 @@ class Test_FileStatistics < Test::Unit::TestCase
|
|
450
448
|
sf = Rcov::FileStatistics.new(testname, lines, counts)
|
451
449
|
lines.size.times do |i|
|
452
450
|
if marked_indices.include? i
|
453
|
-
assert(sf.coverage[i], "Test #{testname}; " +
|
451
|
+
assert(sf.coverage[i], "Test #{testname}; " +
|
454
452
|
"line should have been marked: #{lines[i].inspect}.")
|
455
453
|
else
|
456
|
-
assert(!sf.coverage[i], "Test #{testname}; " +
|
454
|
+
assert(!sf.coverage[i], "Test #{testname}; " +
|
457
455
|
"line should not have been marked: #{lines[i].inspect}.")
|
458
456
|
end
|
459
457
|
end
|
460
458
|
end
|
461
|
-
|
459
|
+
|
462
460
|
def verify_everything_marked(testname, str)
|
463
461
|
verify_marked_exactly(testname, (0...str.size).to_a, str)
|
464
462
|
end
|
@@ -466,8 +464,8 @@ class Test_FileStatistics < Test::Unit::TestCase
|
|
466
464
|
|
467
465
|
def code_info_from_string(str)
|
468
466
|
str = str.gsub(/^\s*/,"")
|
469
|
-
[ str.map{|line| line.sub(/^\d+ /, "") },
|
470
|
-
str.map{|line| line[/^\d+/].to_i > 0},
|
471
|
-
str.map{|line| line[/^\d+/].to_i } ]
|
467
|
+
[ str.lines.map{|line| line.sub(/^\d+ /, "") },
|
468
|
+
str.lines.map{|line| line[/^\d+/].to_i > 0},
|
469
|
+
str.lines.map{|line| line[/^\d+/].to_i } ]
|
472
470
|
end
|
473
471
|
end
|
@@ -1,6 +1,4 @@
|
|
1
|
-
require '
|
2
|
-
require 'pathname'
|
3
|
-
require 'fileutils'
|
1
|
+
require File.dirname(__FILE__) + '/test_helper'
|
4
2
|
|
5
3
|
=begin
|
6
4
|
Updating functional testdata automatically is DANGEROUS, so I do manually.
|
@@ -20,18 +18,19 @@ $rcov --no-html --gcc -D --include-file=sample --exclude=rcov sample_05.rb > exp
|
|
20
18
|
$rcov --no-html -D --include-file=sample --exclude=rcov sample_05.rb > expected_coverage/diff.out
|
21
19
|
$rcov --no-html --no-color -D --include-file=sample --exclude=rcov sample_05.rb > expected_coverage/diff-no-color.out
|
22
20
|
$rcov --no-html --gcc --include-file=sample --exclude=rcov sample_05.rb > expected_coverage/diff-gcc-all.out
|
23
|
-
|
21
|
+
|
24
22
|
=end
|
25
23
|
|
26
24
|
class TestFunctional < Test::Unit::TestCase
|
27
25
|
@@dir = Pathname(__FILE__).expand_path.dirname
|
28
26
|
|
29
27
|
def strip_variable_sections(str)
|
30
|
-
str.sub(/Generated on.+$/, '').sub(/Generated using the.+$/, '')
|
28
|
+
str.sub(/Generated on.+$/, '').sub(/Generated using the.+$/, '').squeeze("\n")
|
31
29
|
end
|
32
30
|
|
33
31
|
def cmp(file)
|
34
32
|
content = lambda{|dir| strip_variable_sections(File.read(@@dir+dir+file))}
|
33
|
+
|
35
34
|
assert_equal(content["expected_coverage"], content["actual_coverage"])
|
36
35
|
end
|
37
36
|
|
@@ -39,67 +38,54 @@ class TestFunctional < Test::Unit::TestCase
|
|
39
38
|
Dir.chdir(@@dir, &block)
|
40
39
|
end
|
41
40
|
|
42
|
-
def run_rcov(opts, script="sample_04.rb", opts_tail="")
|
41
|
+
def run_rcov(opts, script="assets/sample_04.rb", opts_tail="")
|
43
42
|
rcov = @@dir+"../bin/rcov"
|
44
43
|
ruby_opts = "-I../lib:../ext/rcovrt"
|
44
|
+
ruby = "ruby"
|
45
|
+
ruby = "jruby" if RUBY_PLATFORM =~ /java/
|
45
46
|
with_testdir do
|
46
|
-
`cd #{@@dir}; ruby #{ruby_opts} #{rcov} #{opts} -o actual_coverage #{script} #{opts_tail}`
|
47
|
+
`cd #{@@dir}; #{ruby} #{ruby_opts} #{rcov} #{opts} -o actual_coverage #{script} #{opts_tail}`
|
47
48
|
yield if block_given?
|
48
49
|
end
|
49
50
|
end
|
50
51
|
|
51
52
|
def test_annotation
|
52
53
|
run_rcov("-a") do
|
53
|
-
cmp "
|
54
|
-
cmp "
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
def test_html
|
59
|
-
run_rcov("") do
|
60
|
-
cmp "sample_04_rb.html"
|
61
|
-
cmp "sample_03_rb.html"
|
54
|
+
cmp "../assets/sample_04.rb"
|
55
|
+
cmp "../assets/sample_03.rb"
|
62
56
|
end
|
63
57
|
end
|
64
58
|
|
65
59
|
@@selection = "--include-file=sample --exclude=rcov"
|
66
60
|
def test_text_gcc
|
67
|
-
run_rcov("--gcc #{@@selection}",
|
68
|
-
"sample_04.rb",
|
69
|
-
"> actual_coverage/gcc-text.out") do
|
61
|
+
run_rcov("--gcc #{@@selection}", "assets/sample_04.rb", "> actual_coverage/gcc-text.out") do
|
70
62
|
cmp "gcc-text.out"
|
71
63
|
end
|
72
64
|
end
|
73
65
|
|
74
66
|
def test_diff
|
75
|
-
with_testdir { FileUtils.cp "sample_05-old.rb", "sample_05.rb" }
|
76
|
-
|
77
|
-
|
67
|
+
with_testdir { FileUtils.cp "assets/sample_05-old.rb", "assets/sample_05.rb" }
|
68
|
+
|
69
|
+
run_rcov("--no-html --gcc #{@@selection} --save=coverage.info", "assets/sample_05.rb", "> actual_coverage/diff-gcc-original.out") do
|
78
70
|
cmp "diff-gcc-original.out"
|
79
71
|
end
|
80
72
|
|
81
|
-
with_testdir { FileUtils.cp "sample_05-new.rb", "sample_05.rb" }
|
82
|
-
run_rcov("--no-html -D --gcc #{@@selection}", "sample_05.rb",
|
83
|
-
"> actual_coverage/diff-gcc-diff.out") do
|
73
|
+
with_testdir { FileUtils.cp "assets/sample_05-new.rb", "assets/sample_05.rb" }
|
74
|
+
run_rcov("--no-html -D --gcc #{@@selection}", "assets/sample_05.rb", "> actual_coverage/diff-gcc-diff.out") do
|
84
75
|
cmp "diff-gcc-diff.out"
|
85
76
|
end
|
86
77
|
|
87
|
-
run_rcov("--no-html -D #{@@selection}", "sample_05.rb",
|
88
|
-
"> actual_coverage/diff.out") do
|
78
|
+
run_rcov("--no-html -D #{@@selection}", "assets/sample_05.rb", "> actual_coverage/diff.out") do
|
89
79
|
cmp "diff.out"
|
90
80
|
end
|
91
81
|
|
92
|
-
run_rcov("--no-html --no-color -D #{@@selection}", "sample_05.rb",
|
93
|
-
"> actual_coverage/diff-no-color.out") do
|
82
|
+
run_rcov("--no-html --no-color -D #{@@selection}", "assets/sample_05.rb", "> actual_coverage/diff-no-color.out") do
|
94
83
|
cmp "diff-no-color.out"
|
95
84
|
end
|
96
85
|
|
97
|
-
run_rcov("--no-html --gcc #{@@selection}", "sample_05.rb",
|
98
|
-
"> actual_coverage/diff-gcc-all.out") do
|
86
|
+
run_rcov("--no-html --gcc #{@@selection}", "assets/sample_05.rb", "> actual_coverage/diff-gcc-all.out") do
|
99
87
|
cmp "diff-gcc-all.out"
|
100
|
-
end
|
101
|
-
|
102
|
-
|
88
|
+
end
|
103
89
|
end
|
104
|
-
|
90
|
+
|
105
91
|
end
|
metadata
CHANGED
@@ -1,93 +1,115 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.1
|
3
|
-
specification_version: 1
|
4
2
|
name: rcov
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.
|
7
|
-
date: 2007-11-22 00:00:00 +01:00
|
8
|
-
summary: Code coverage analysis tool for Ruby
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
email: mfp@acm.org
|
12
|
-
homepage: http://eigenclass.org/hiki.rb?rcov
|
13
|
-
rubyforge_project:
|
14
|
-
description: rcov is a code coverage tool for Ruby. It is commonly used for viewing overall test unit coverage of target code. It features fast execution (20-300 times faster than previous tools), multiple analysis modes, XHTML and several kinds of text reports, easy automation with Rake via a RcovTask, fairly accurate coverage information through code linkage inference using simple heuristics, colorblind-friendliness...
|
15
|
-
autorequire:
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: true
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.0.0
|
24
|
-
version:
|
4
|
+
version: 0.9.3
|
25
5
|
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
29
6
|
authors:
|
7
|
+
- Relevance
|
8
|
+
- Chad Humphries (spicycode)
|
9
|
+
- Aaron Bedra (abedra)
|
10
|
+
- Jay McGaffigan
|
30
11
|
- Mauricio Fernandez
|
12
|
+
autorequire:
|
13
|
+
bindir: bin
|
14
|
+
cert_chain:
|
15
|
+
date: 2009-05-12 00:00:00 -04:00
|
16
|
+
default_executable: rcov
|
17
|
+
dependencies: []
|
18
|
+
|
19
|
+
description: rcov is a code coverage tool for Ruby. It is commonly used for viewing overall test unit coverage of target code. It features fast execution (20-300 times faster than previous tools), multiple analysis modes, XHTML and several kinds of text reports, easy automation with Rake via a RcovTask, fairly accurate coverage information through code linkage inference using simple heuristics, colorblind-friendliness...
|
20
|
+
email: opensource@thinkrelevance.com
|
21
|
+
executables:
|
22
|
+
- rcov
|
23
|
+
extensions:
|
24
|
+
- ext/rcovrt/extconf.rb
|
25
|
+
extra_rdoc_files: []
|
26
|
+
|
31
27
|
files:
|
32
28
|
- bin/rcov
|
33
29
|
- lib/rcov.rb
|
34
30
|
- lib/rcov/lowlevel.rb
|
35
31
|
- lib/rcov/version.rb
|
36
|
-
- lib/rcov/rant.rb
|
37
|
-
- lib/rcov/report.rb
|
38
32
|
- lib/rcov/rcovtask.rb
|
33
|
+
- lib/rcov/formatters.rb
|
34
|
+
- lib/rcov/call_site_analyzer.rb
|
35
|
+
- lib/rcov/code_coverage_analyzer.rb
|
36
|
+
- lib/rcov/coverage_info.rb
|
37
|
+
- lib/rcov/differential_analyzer.rb
|
38
|
+
- lib/rcov/file_statistics.rb
|
39
|
+
- lib/rcov/formatters/base_formatter.rb
|
40
|
+
- lib/rcov/formatters/full_text_report.rb
|
41
|
+
- lib/rcov/formatters/html_erb_template.rb
|
42
|
+
- lib/rcov/formatters/html_coverage.rb
|
43
|
+
- lib/rcov/formatters/text_coverage_diff.rb
|
44
|
+
- lib/rcov/formatters/text_report.rb
|
45
|
+
- lib/rcov/formatters/text_summary.rb
|
46
|
+
- lib/rcov/formatters/failure_report.rb
|
47
|
+
- lib/rcov/templates/index.html.erb
|
48
|
+
- lib/rcov/templates/detail.html.erb
|
49
|
+
- lib/rcov/templates/screen.css
|
50
|
+
- lib/rcov/templates/print.css
|
51
|
+
- lib/rcov/templates/rcov.js
|
52
|
+
- lib/rcov/templates/jquery-1.3.2.min.js
|
53
|
+
- lib/rcov/templates/jquery.tablesorter.min.js
|
39
54
|
- ext/rcovrt/extconf.rb
|
40
|
-
- ext/rcovrt/rcovrt.c
|
41
|
-
- ext/rcovrt/
|
42
|
-
-
|
55
|
+
- ext/rcovrt/1.8/rcovrt.c
|
56
|
+
- ext/rcovrt/1.9/rcovrt.c
|
57
|
+
- ext/rcovrt/1.8/callsite.c
|
58
|
+
- ext/rcovrt/1.9/callsite.c
|
43
59
|
- LICENSE
|
44
60
|
- Rakefile
|
45
|
-
-
|
46
|
-
-
|
47
|
-
-
|
48
|
-
-
|
49
|
-
- README.en
|
50
|
-
- README.vim
|
51
|
-
- README.API
|
61
|
+
- doc/readme_for_rake.markdown
|
62
|
+
- doc/readme_for_vim.markdown
|
63
|
+
- doc/readme_for_emacs.markdown
|
64
|
+
- doc/readme_for_api.markdown
|
52
65
|
- THANKS
|
53
|
-
- test/
|
54
|
-
- test/
|
55
|
-
- test/sample_03.rb
|
56
|
-
- test/sample_05-new.rb
|
57
|
-
- test/
|
58
|
-
- test/sample_04.rb
|
59
|
-
- test/sample_02.rb
|
60
|
-
- test/sample_05-old.rb
|
61
|
-
- test/sample_01.rb
|
66
|
+
- test/functional_test.rb
|
67
|
+
- test/file_statistics_test.rb
|
68
|
+
- test/assets/sample_03.rb
|
69
|
+
- test/assets/sample_05-new.rb
|
70
|
+
- test/code_coverage_analyzer_test.rb
|
71
|
+
- test/assets/sample_04.rb
|
72
|
+
- test/assets/sample_02.rb
|
73
|
+
- test/assets/sample_05-old.rb
|
74
|
+
- test/assets/sample_01.rb
|
62
75
|
- test/turn_off_rcovrt.rb
|
63
|
-
- test/
|
64
|
-
- test/sample_05.rb
|
65
|
-
-
|
66
|
-
- rcov.
|
67
|
-
- rcov.el
|
76
|
+
- test/call_site_analyzer_test.rb
|
77
|
+
- test/assets/sample_05.rb
|
78
|
+
- editor-extensions/rcov.vim
|
79
|
+
- editor-extensions/rcov.el
|
68
80
|
- setup.rb
|
69
81
|
- BLURB
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
- test/test_CallSiteAnalyzer.rb
|
82
|
+
has_rdoc: true
|
83
|
+
homepage: http://github.com/relevance/rcov
|
84
|
+
licenses: []
|
85
|
+
|
86
|
+
post_install_message:
|
76
87
|
rdoc_options:
|
77
|
-
- --main
|
78
|
-
- README.API
|
79
88
|
- --title
|
80
89
|
- rcov code coverage tool
|
81
|
-
|
82
|
-
-
|
83
|
-
|
84
|
-
|
85
|
-
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
+
require_paths:
|
91
|
+
- lib
|
92
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.0.0
|
97
|
+
version:
|
98
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: "0"
|
103
|
+
version:
|
90
104
|
requirements: []
|
91
105
|
|
92
|
-
|
93
|
-
|
106
|
+
rubyforge_project:
|
107
|
+
rubygems_version: 1.3.5
|
108
|
+
signing_key:
|
109
|
+
specification_version: 1
|
110
|
+
summary: Code coverage analysis tool for Ruby
|
111
|
+
test_files:
|
112
|
+
- test/functional_test.rb
|
113
|
+
- test/file_statistics_test.rb
|
114
|
+
- test/code_coverage_analyzer_test.rb
|
115
|
+
- test/call_site_analyzer_test.rb
|