simplecov-rcov 0.1.2 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ source 'http://rubygems.org'
2
+
3
+ gem 'simplecov'
4
+
5
+ group 'development' do
6
+ gem 'echoe'
7
+ gem 'mocha'
8
+ end
@@ -0,0 +1,24 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ echoe (4.3.1)
5
+ gemcutter
6
+ rubyforge
7
+ gemcutter (0.6.1)
8
+ json_pure (1.5.1)
9
+ mocha (0.9.11)
10
+ rake
11
+ rake (0.8.7)
12
+ rubyforge (2.0.4)
13
+ json_pure (>= 1.1.7)
14
+ simplecov (0.4.0)
15
+ simplecov-html (~> 0.4.0)
16
+ simplecov-html (0.4.3)
17
+
18
+ PLATFORMS
19
+ ruby
20
+
21
+ DEPENDENCIES
22
+ echoe
23
+ mocha
24
+ simplecov
data/Manifest CHANGED
@@ -1,12 +1,17 @@
1
+ Gemfile
2
+ Gemfile.lock
1
3
  Manifest
2
4
  README.md
3
5
  Rakefile
4
6
  lib/simplecov-rcov.rb
5
- test/fixtures/app/controllers/sample_controller.rb
7
+ simplecov-rcov.gemspec
8
+ test/fixtures/app/controllers/sample.rb
9
+ test/fixtures/app/models/airplane.rb
10
+ test/fixtures/app/models/dog.rb
11
+ test/fixtures/app/models/house.rb
12
+ test/fixtures/app/models/robot.rb
6
13
  test/fixtures/app/models/user.rb
7
14
  test/fixtures/file_tr.html
8
- test/fixtures/index_created.html
9
- test/fixtures/index_rcov.html
10
15
  test/fixtures/sample.rb
11
16
  test/fixtures/totals_tr.html
12
17
  test/helper.rb
data/README.md CHANGED
@@ -14,7 +14,7 @@ So if you are looking some kind of workaround to integrate **SimpleCov** with yo
14
14
 
15
15
  require 'simplecov_csv'
16
16
  SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
17
-
17
+
18
18
  ## TODO
19
19
 
20
20
  The actual version generates only one simple **/rcov/index.html** file.
@@ -22,5 +22,6 @@ The actual version generates only one simple **/rcov/index.html** file.
22
22
  ## Credits
23
23
 
24
24
  * Author: [Fernando Guillen](http://fernandoguillen.info)
25
+ * Contributors: [Wes Morgan](http://github.com/cap10morgan)
25
26
  * Copyright: Copyright (c) 2010 Fernando Guillen
26
27
  * License: Released under the MIT license.
data/Rakefile CHANGED
@@ -1,13 +1,13 @@
1
- require 'rubygems'
2
- require 'rake'
3
- require 'echoe'
4
-
5
- Echoe.new('simplecov-rcov', '0.1.2') do |p|
6
- p.description = "Rcov style formatter for SimpleCov"
1
+ require 'rubygems'
2
+ require 'rake'
3
+ require 'echoe'
4
+
5
+ Echoe.new('simplecov-rcov', '0.1.4') do |p|
6
+ p.description = "Rcov style formatter for SimpleCov"
7
7
  p.url = "http://github.com/fguillen/simplecov-rcov"
8
- p.author = "Fernando Guillen http://fernandoguillen.info"
9
- p.email = "fguillen.mail@gmail.com"
8
+ p.author = ["Fernando Guillen http://fernandoguillen.info", "Wes Morgan http://github.com/cap10morgan"]
9
+ p.email = ["fguillen.mail@gmail.com", "cap10morgan@gmail.com"]
10
10
  p.ignore_pattern = ["tmp/*", "script/*"]
11
- p.development_dependencies = []
11
+ p.development_dependencies = ['echoe', 'mocha']
12
12
  p.runtime_dependencies = ['simplecov']
13
- end
13
+ end
@@ -1,39 +1,51 @@
1
1
  class SimpleCov::Formatter::RcovFormatter
2
2
  PATH_RESULT = "/rcov/index.html"
3
-
3
+
4
4
  def format( result )
5
5
  @files = result.files
6
-
6
+
7
7
  @total_lines = result.files.map { |e| e.lines.count }.inject(:+)
8
8
  @total_lines_code = result.files.map { |e| e.covered_lines.count + e.missed_lines.count }.inject(:+)
9
- @total_coverage = SimpleCov::Formatter::RcovFormatter.total_coverage(@files)
10
-
9
+ @total_coverage = coverage(result.files)
10
+
11
11
  template = ERB.new( File.read( "#{File.dirname(__FILE__)}/../views/index.erb.html" ) )
12
12
  rcov_result = template.result( binding )
13
-
13
+
14
14
  FileUtils.mkdir_p( File.dirname( SimpleCov::Formatter::RcovFormatter.path_result ) )
15
-
15
+
16
16
  File.open( SimpleCov::Formatter::RcovFormatter.path_result, "w" ) do |file_result|
17
- file_result.write rcov_result
17
+ file_result.write rcov_result
18
18
  end
19
-
19
+
20
20
  puts "Coverage report Rcov style generated for #{result.command_name} to #{SimpleCov::Formatter::RcovFormatter.path_result}"
21
-
21
+
22
22
  return rcov_result
23
23
  end
24
-
24
+
25
25
  private
26
-
27
- # Computes the coverage based upon lines covered and lines missed
28
- def self.total_coverage(file_list)
29
- return 100.0 if file_list.length == 0
30
- porcents_sum = file_list.map(&:covered_percent).reduce(&:+)
31
- result = porcents_sum / file_list.length
32
-
33
- return result
34
- end
35
-
36
- def self.path_result
37
- File.join( SimpleCov.coverage_path, SimpleCov::Formatter::RcovFormatter::PATH_RESULT )
38
- end
39
- end
26
+
27
+ def lines_covered(file_list)
28
+ return 0.0 if file_list.length == 0
29
+ file_list.map {|f| f.covered_lines.count }.inject(&:+)
30
+ end
31
+
32
+ def lines_missed(file_list)
33
+ return 0.0 if file_list.length == 0
34
+ file_list.map {|f| f.missed_lines.count }.inject(&:+)
35
+ end
36
+
37
+ def lines_of_code(file_list)
38
+ lines_missed(file_list) + lines_covered(file_list)
39
+ end
40
+
41
+ def coverage(file_list)
42
+ return 100.0 if file_list.length == 0 or lines_of_code(file_list) == 0
43
+ lines_missed = file_list.map {|f| f.missed_lines.count }.inject(&:+)
44
+
45
+ lines_covered(file_list) * 100 / lines_of_code(file_list).to_f
46
+ end
47
+
48
+ def self.path_result
49
+ File.join( SimpleCov.coverage_path, SimpleCov::Formatter::RcovFormatter::PATH_RESULT )
50
+ end
51
+ end
@@ -2,15 +2,15 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{simplecov-rcov}
5
- s.version = "0.1.2"
5
+ s.version = "0.1.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Fernando Guillen http://fernandoguillen.info"]
9
- s.date = %q{2011-01-10}
8
+ s.authors = ["Fernando Guillen http://fernandoguillen.info, Wes Morgan http://github.com/cap10morgan"]
9
+ s.date = %q{2011-02-10}
10
10
  s.description = %q{Rcov style formatter for SimpleCov}
11
- s.email = %q{fguillen.mail@gmail.com}
11
+ s.email = ["fguillen.mail@gmail.com", "cap10morgan@gmail.com"]
12
12
  s.extra_rdoc_files = ["README.md", "lib/simplecov-rcov.rb"]
13
- s.files = ["Manifest", "README.md", "Rakefile", "lib/simplecov-rcov.rb", "test/fixtures/app/controllers/sample_controller.rb", "test/fixtures/app/models/user.rb", "test/fixtures/file_tr.html", "test/fixtures/index_created.html", "test/fixtures/index_rcov.html", "test/fixtures/sample.rb", "test/fixtures/totals_tr.html", "test/helper.rb", "test/simplecov-rcov_test.rb", "views/index.erb.html", "simplecov-rcov.gemspec"]
13
+ s.files = ["Gemfile", "Gemfile.lock", "Manifest", "README.md", "Rakefile", "lib/simplecov-rcov.rb", "simplecov-rcov.gemspec", "test/fixtures/app/controllers/sample.rb", "test/fixtures/app/models/airplane.rb", "test/fixtures/app/models/dog.rb", "test/fixtures/app/models/house.rb", "test/fixtures/app/models/robot.rb", "test/fixtures/app/models/user.rb", "test/fixtures/file_tr.html", "test/fixtures/sample.rb", "test/fixtures/totals_tr.html", "test/helper.rb", "test/simplecov-rcov_test.rb", "views/index.erb.html"]
14
14
  s.homepage = %q{http://github.com/fguillen/simplecov-rcov}
15
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Simplecov-rcov", "--main", "README.md"]
16
16
  s.require_paths = ["lib"]
@@ -25,10 +25,16 @@ Gem::Specification.new do |s|
25
25
 
26
26
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
27
27
  s.add_runtime_dependency(%q<simplecov>, [">= 0"])
28
+ s.add_development_dependency(%q<echoe>, [">= 0"])
29
+ s.add_development_dependency(%q<mocha>, [">= 0"])
28
30
  else
29
31
  s.add_dependency(%q<simplecov>, [">= 0"])
32
+ s.add_dependency(%q<echoe>, [">= 0"])
33
+ s.add_dependency(%q<mocha>, [">= 0"])
30
34
  end
31
35
  else
32
36
  s.add_dependency(%q<simplecov>, [">= 0"])
37
+ s.add_dependency(%q<echoe>, [">= 0"])
38
+ s.add_dependency(%q<mocha>, [">= 0"])
33
39
  end
34
40
  end
@@ -0,0 +1,10 @@
1
+ # Foo class
2
+ class Foo
3
+ def initialize
4
+ @foo = 'baz'
5
+ end
6
+
7
+ def bar
8
+ @foo
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ # Foo class
2
+ class Foo
3
+ def initialize
4
+ @foo = 'baz'
5
+ end
6
+
7
+ def bar
8
+ @foo
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ # Foo class
2
+ class Foo
3
+ def initialize
4
+ @foo = 'baz'
5
+ end
6
+
7
+ def bar
8
+ @foo
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ # Foo class
2
+ class Foo
3
+ def initialize
4
+ @foo = 'baz'
5
+ end
6
+
7
+ def bar
8
+ @foo
9
+ end
10
+ end
@@ -1,7 +1,7 @@
1
1
  <tr class="all_files">
2
- <td class="left_align"><a href="#./test/fixtures/app/controllers/sample_controller.rb">./test/fixtures/app/controllers/sample_controller.rb</a></td>
2
+ <td class="left_align"><a href="#./test/fixtures/app/models/user.rb">./test/fixtures/app/models/user.rb</a></td>
3
3
  <td class='right_align'><tt>10</tt></td>
4
- <td class='right_align'><tt>5</tt></td>
5
- <td class="left_align"><tt class=''>60.00%</tt></td>
6
- <td class="left_align"><tt class=''>60.00%</tt></td>
7
- </tr>
4
+ <td class='right_align'><tt>7</tt></td>
5
+ <td class="left_align"><tt class=''>71.43%</tt></td>
6
+ <td class="left_align"><tt class=''>71.43%</tt></td>
7
+ </tr>
@@ -3,8 +3,8 @@ class Foo
3
3
  def initialize
4
4
  @foo = 'baz'
5
5
  end
6
-
6
+
7
7
  def bar
8
8
  @foo
9
9
  end
10
- end
10
+ end
@@ -1,7 +1,7 @@
1
1
  <tr>
2
2
  <td class="left_align">TOTAL</td>
3
- <td class='right_align'><tt>30</tt></td>
4
- <td class='right_align'><tt>15</tt></td>
5
- <td class="left_align"><tt class=''>80.00%</tt></td>
6
- <td class="left_align"><tt class='coverage_total'>80.00%</tt></td>
7
- </tr>
3
+ <td class='right_align'><tt>60</tt></td>
4
+ <td class='right_align'><tt>34</tt></td>
5
+ <td class="left_align"><tt class=''>67.65%</tt></td>
6
+ <td class="left_align"><tt class='coverage_total'>67.65%</tt></td>
7
+ </tr>
@@ -1,4 +1,4 @@
1
- require "#{File.dirname(__FILE__)}/helper"
1
+ require "#{File.expand_path(File.dirname(__FILE__))}/helper"
2
2
 
3
3
  class SimplecovRcovFormatterTest < Test::Unit::TestCase
4
4
  def test_format
@@ -6,11 +6,15 @@ class SimplecovRcovFormatterTest < Test::Unit::TestCase
6
6
  if File.exists?( SimpleCov::Formatter::RcovFormatter.path_result )
7
7
  File.delete( SimpleCov::Formatter::RcovFormatter.path_result )
8
8
  end
9
-
9
+
10
10
  @original_result = {
11
- source_fixture( 'sample.rb' ) => [nil, 1, 1, 1, nil, nil, 1, 1, nil, nil],
12
- source_fixture( 'app/models/user.rb' ) => [nil, 1, 1, 1, nil, nil, 1, 0, nil, nil],
13
- source_fixture( 'app/controllers/sample_controller.rb' ) => [nil, 1, 1, 1, nil, nil, 0, 0, nil, nil]
11
+ source_fixture( 'sample.rb' ) => [nil, 1, 1, 1, nil, 0, 1, 1, nil, nil],
12
+ source_fixture( 'app/models/user.rb' ) => [nil, 1, 1, 1, 1, 0, 1, 0, nil, nil],
13
+ source_fixture( 'app/models/robot.rb' ) => [1, 1, 1, 1, nil, nil, 1, 0, nil, nil],
14
+ source_fixture( 'app/models/house.rb' ) => [nil, nil, nil, nil, nil, nil, nil, nil, nil, nil],
15
+ source_fixture( 'app/models/airplane.rb' ) => [0, 0, 0, 0, 0],
16
+ source_fixture( 'app/models/dog.rb' ) => [1, 1, 1, 1, 1],
17
+ source_fixture( 'app/controllers/sample.rb' ) => [nil, 1, 1, 1, nil, nil, 0, 0, nil, nil]
14
18
  }
15
19
 
16
20
  @result = SimpleCov::Result.new( @original_result )
@@ -20,7 +24,7 @@ class SimplecovRcovFormatterTest < Test::Unit::TestCase
20
24
  assert_match( File.read( "#{File.dirname(__FILE__)}/fixtures/file_tr.html"), rcov_result )
21
25
  assert( File.exists?( SimpleCov::Formatter::RcovFormatter.path_result ) )
22
26
  end
23
-
27
+
24
28
  def source_fixture( filename )
25
29
  File.expand_path( File.join( File.dirname( __FILE__ ), 'fixtures', filename ) )
26
30
  end
metadata CHANGED
@@ -1,21 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplecov-rcov
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 1
9
- - 2
10
- version: 0.1.2
8
+ - 4
9
+ version: 0.1.4
11
10
  platform: ruby
12
11
  authors:
13
- - Fernando Guillen http://fernandoguillen.info
12
+ - Fernando Guillen http://fernandoguillen.info, Wes Morgan http://github.com/cap10morgan
14
13
  autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2011-01-10 00:00:00 +01:00
17
+ date: 2011-02-10 00:00:00 +01:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
@@ -26,14 +25,41 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- hash: 3
30
28
  segments:
31
29
  - 0
32
30
  version: "0"
33
31
  type: :runtime
34
32
  version_requirements: *id001
33
+ - !ruby/object:Gem::Dependency
34
+ name: echoe
35
+ prerelease: false
36
+ requirement: &id002 !ruby/object:Gem::Requirement
37
+ none: false
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 0
43
+ version: "0"
44
+ type: :development
45
+ version_requirements: *id002
46
+ - !ruby/object:Gem::Dependency
47
+ name: mocha
48
+ prerelease: false
49
+ requirement: &id003 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ segments:
55
+ - 0
56
+ version: "0"
57
+ type: :development
58
+ version_requirements: *id003
35
59
  description: Rcov style formatter for SimpleCov
36
- email: fguillen.mail@gmail.com
60
+ email:
61
+ - fguillen.mail@gmail.com
62
+ - cap10morgan@gmail.com
37
63
  executables: []
38
64
 
39
65
  extensions: []
@@ -42,21 +68,25 @@ extra_rdoc_files:
42
68
  - README.md
43
69
  - lib/simplecov-rcov.rb
44
70
  files:
71
+ - Gemfile
72
+ - Gemfile.lock
45
73
  - Manifest
46
74
  - README.md
47
75
  - Rakefile
48
76
  - lib/simplecov-rcov.rb
49
- - test/fixtures/app/controllers/sample_controller.rb
77
+ - simplecov-rcov.gemspec
78
+ - test/fixtures/app/controllers/sample.rb
79
+ - test/fixtures/app/models/airplane.rb
80
+ - test/fixtures/app/models/dog.rb
81
+ - test/fixtures/app/models/house.rb
82
+ - test/fixtures/app/models/robot.rb
50
83
  - test/fixtures/app/models/user.rb
51
84
  - test/fixtures/file_tr.html
52
- - test/fixtures/index_created.html
53
- - test/fixtures/index_rcov.html
54
85
  - test/fixtures/sample.rb
55
86
  - test/fixtures/totals_tr.html
56
87
  - test/helper.rb
57
88
  - test/simplecov-rcov_test.rb
58
89
  - views/index.erb.html
59
- - simplecov-rcov.gemspec
60
90
  has_rdoc: true
61
91
  homepage: http://github.com/fguillen/simplecov-rcov
62
92
  licenses: []
@@ -76,7 +106,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
106
  requirements:
77
107
  - - ">="
78
108
  - !ruby/object:Gem::Version
79
- hash: 3
80
109
  segments:
81
110
  - 0
82
111
  version: "0"
@@ -85,7 +114,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
114
  requirements:
86
115
  - - ">="
87
116
  - !ruby/object:Gem::Version
88
- hash: 11
89
117
  segments:
90
118
  - 1
91
119
  - 2
@@ -1,61 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
3
- <head>
4
- <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
5
- <title>SimpleCov - RCov style</title>
6
- </head>
7
- <body>
8
- <h1>SimpleCov - RCov style</h1>
9
-
10
- <div class="report_table_wrapper">
11
- <table class='report' id='report_table'>
12
- <thead>
13
- <tr>
14
- <th class="left_align">Name</th>
15
- <th class="right_align">Total Lines</th>
16
- <th class="right_align">Lines of Code</th>
17
- <th class="left_align">Total Coverage</th>
18
- <th class="left_align">Code Coverage</th>
19
- </tr>
20
- </thead>
21
- <tfoot>
22
- <tr>
23
- <td class="left_align">TOTAL</td>
24
- <td class='right_align'><tt>30</tt></td>
25
- <td class='right_align'><tt>15</tt></td>
26
- <td class="left_align"><tt class=''>80.00%</tt></td>
27
- <td class="left_align"><tt class='coverage_total'>80.00%</tt></td>
28
- </tr>
29
- </tfoot>
30
- <tbody>
31
-
32
- <tr class="all_files all_coverage 70 80 90 100 app controllers even">
33
- <td class="left_align">./fixtures/app/controllers/sample_controller.rb</td>
34
- <td class='right_align'><tt>10</tt></td>
35
- <td class='right_align'><tt>5</tt></td>
36
- <td class="left_align"><tt class=''>60.00%</tt></td>
37
- <td class="left_align"><tt class=''>60.00%</tt></td>
38
- </tr>
39
-
40
- <tr class="all_files all_coverage 70 80 90 100 app controllers even">
41
- <td class="left_align">./fixtures/app/models/user.rb</td>
42
- <td class='right_align'><tt>10</tt></td>
43
- <td class='right_align'><tt>5</tt></td>
44
- <td class="left_align"><tt class=''>80.00%</tt></td>
45
- <td class="left_align"><tt class=''>80.00%</tt></td>
46
- </tr>
47
-
48
- <tr class="all_files all_coverage 70 80 90 100 app controllers even">
49
- <td class="left_align">./fixtures/sample.rb</td>
50
- <td class='right_align'><tt>10</tt></td>
51
- <td class='right_align'><tt>5</tt></td>
52
- <td class="left_align"><tt class=''>100.00%</tt></td>
53
- <td class="left_align"><tt class=''>100.00%</tt></td>
54
- </tr>
55
-
56
- </tbody>
57
- </table>
58
- </div>
59
-
60
- </body>
61
- </html>
@@ -1,509 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
3
- <head>
4
- <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
5
- <title>SimpleCov - RCov style</title>
6
- </head>
7
- <body>
8
- <h1>SimpleCov - RCov style</h1>
9
-
10
- <div class="report_table_wrapper">
11
- <table class='report' id='report_table'>
12
- <thead>
13
- <tr>
14
- <th class="left_align">Name</th>
15
- <th class="right_align">Total Lines</th>
16
- <th class="right_align">Lines of Code</th>
17
- <th class="left_align">Total Coverage</th>
18
- <th class="left_align">Code Coverage</th>
19
- </tr>
20
- </thead>
21
- <tfoot>
22
- <tr>
23
- <td class="left_align">TOTAL</td>
24
- <td class='right_align'><tt>1019</tt></td>
25
- <td class='right_align'><tt>757</tt></td>
26
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>89.21%</tt></div>
27
- <div class="percent_graph">
28
- <div class="covered" style="width:89px"></div>
29
- <div class="uncovered" style="width:11px"></div>
30
- </div></td>
31
- <td class="left_align"><div class="percent_graph_legend"><tt class='coverage_total'>86.13%</tt></div>
32
- <div class="percent_graph">
33
- <div class="covered" style="width:86px"></div>
34
- <div class="uncovered" style="width:14px"></div>
35
- </div></td>
36
- </tr>
37
- </tfoot>
38
- <tbody>
39
-
40
- <tr class="all_files all_coverage 70 80 90 100 app controllers even">
41
- <td class="left_align"><a href="app-controllers-application_controller_rb.html">app/controllers/application_controller.rb</a></td>
42
- <td class='right_align'><tt>115</tt></td>
43
- <td class='right_align'><tt>82</tt></td>
44
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>71.30%</tt></div>
45
- <div class="percent_graph">
46
- <div class="covered" style="width:71px"></div>
47
- <div class="uncovered" style="width:29px"></div>
48
- </div></td>
49
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>63.41%</tt></div>
50
- <div class="percent_graph">
51
- <div class="covered" style="width:63px"></div>
52
- <div class="uncovered" style="width:37px"></div>
53
- </div></td>
54
- </tr>
55
-
56
- <tr class="all_files all_coverage 110 app controllers odd">
57
- <td class="left_align"><a href="app-controllers-authors_controller_rb.html">app/controllers/authors_controller.rb</a></td>
58
- <td class='right_align'><tt>62</tt></td>
59
- <td class='right_align'><tt>51</tt></td>
60
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
61
- <div class="percent_graph">
62
- <div class="covered" style="width:100px"></div>
63
- <div class="uncovered" style="width:0px"></div>
64
- </div></td>
65
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
66
- <div class="percent_graph">
67
- <div class="covered" style="width:100px"></div>
68
- <div class="uncovered" style="width:0px"></div>
69
- </div></td>
70
- </tr>
71
-
72
- <tr class="all_files all_coverage 110 app controllers even">
73
- <td class="left_align"><a href="app-controllers-galleries_controller_rb.html">app/controllers/galleries_controller.rb</a></td>
74
- <td class='right_align'><tt>18</tt></td>
75
- <td class='right_align'><tt>15</tt></td>
76
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
77
- <div class="percent_graph">
78
- <div class="covered" style="width:100px"></div>
79
- <div class="uncovered" style="width:0px"></div>
80
- </div></td>
81
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
82
- <div class="percent_graph">
83
- <div class="covered" style="width:100px"></div>
84
- <div class="uncovered" style="width:0px"></div>
85
- </div></td>
86
- </tr>
87
-
88
- <tr class="all_files all_coverage 110 app controllers odd">
89
- <td class="left_align"><a href="app-controllers-pages_controller_rb.html">app/controllers/pages_controller.rb</a></td>
90
- <td class='right_align'><tt>5</tt></td>
91
- <td class='right_align'><tt>5</tt></td>
92
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
93
- <div class="percent_graph">
94
- <div class="covered" style="width:100px"></div>
95
- <div class="uncovered" style="width:0px"></div>
96
- </div></td>
97
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
98
- <div class="percent_graph">
99
- <div class="covered" style="width:100px"></div>
100
- <div class="uncovered" style="width:0px"></div>
101
- </div></td>
102
- </tr>
103
-
104
- <tr class="all_files all_coverage 100 app controllers even">
105
- <td class="left_align"><a href="app-controllers-paintings_controller_rb.html">app/controllers/paintings_controller.rb</a></td>
106
- <td class='right_align'><tt>199</tt></td>
107
- <td class='right_align'><tt>164</tt></td>
108
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>92.46%</tt></div>
109
- <div class="percent_graph">
110
- <div class="covered" style="width:92px"></div>
111
- <div class="uncovered" style="width:8px"></div>
112
- </div></td>
113
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>90.85%</tt></div>
114
- <div class="percent_graph">
115
- <div class="covered" style="width:91px"></div>
116
- <div class="uncovered" style="width:9px"></div>
117
- </div></td>
118
- </tr>
119
-
120
- <tr class="all_files all_coverage 50 60 70 80 90 100 app controllers odd">
121
- <td class="left_align"><a href="app-controllers-user_sessions_controller_rb.html">app/controllers/user_sessions_controller.rb</a></td>
122
- <td class='right_align'><tt>33</tt></td>
123
- <td class='right_align'><tt>25</tt></td>
124
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>54.55%</tt></div>
125
- <div class="percent_graph">
126
- <div class="covered" style="width:55px"></div>
127
- <div class="uncovered" style="width:45px"></div>
128
- </div></td>
129
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>44.00%</tt></div>
130
- <div class="percent_graph">
131
- <div class="covered" style="width:44px"></div>
132
- <div class="uncovered" style="width:56px"></div>
133
- </div></td>
134
- </tr>
135
-
136
- <tr class="all_files all_coverage 110 app controllers even">
137
- <td class="left_align"><a href="app-controllers-users_controller_rb.html">app/controllers/users_controller.rb</a></td>
138
- <td class='right_align'><tt>47</tt></td>
139
- <td class='right_align'><tt>37</tt></td>
140
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
141
- <div class="percent_graph">
142
- <div class="covered" style="width:100px"></div>
143
- <div class="uncovered" style="width:0px"></div>
144
- </div></td>
145
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
146
- <div class="percent_graph">
147
- <div class="covered" style="width:100px"></div>
148
- <div class="uncovered" style="width:0px"></div>
149
- </div></td>
150
- </tr>
151
-
152
- <tr class="all_files all_coverage 110 app controllers odd">
153
- <td class="left_align"><a href="app-controllers-utils_controller_rb.html">app/controllers/utils_controller.rb</a></td>
154
- <td class='right_align'><tt>5</tt></td>
155
- <td class='right_align'><tt>5</tt></td>
156
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
157
- <div class="percent_graph">
158
- <div class="covered" style="width:100px"></div>
159
- <div class="uncovered" style="width:0px"></div>
160
- </div></td>
161
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
162
- <div class="percent_graph">
163
- <div class="covered" style="width:100px"></div>
164
- <div class="uncovered" style="width:0px"></div>
165
- </div></td>
166
- </tr>
167
-
168
- <tr class="all_files all_coverage 110 app helpers even">
169
- <td class="left_align"><a href="app-helpers-application_helper_rb.html">app/helpers/application_helper.rb</a></td>
170
- <td class='right_align'><tt>10</tt></td>
171
- <td class='right_align'><tt>8</tt></td>
172
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
173
- <div class="percent_graph">
174
- <div class="covered" style="width:100px"></div>
175
- <div class="uncovered" style="width:0px"></div>
176
- </div></td>
177
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
178
- <div class="percent_graph">
179
- <div class="covered" style="width:100px"></div>
180
- <div class="uncovered" style="width:0px"></div>
181
- </div></td>
182
- </tr>
183
-
184
- <tr class="all_files all_coverage 110 app helpers odd">
185
- <td class="left_align"><a href="app-helpers-authors_helper_rb.html">app/helpers/authors_helper.rb</a></td>
186
- <td class='right_align'><tt>2</tt></td>
187
- <td class='right_align'><tt>2</tt></td>
188
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
189
- <div class="percent_graph">
190
- <div class="covered" style="width:100px"></div>
191
- <div class="uncovered" style="width:0px"></div>
192
- </div></td>
193
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
194
- <div class="percent_graph">
195
- <div class="covered" style="width:100px"></div>
196
- <div class="uncovered" style="width:0px"></div>
197
- </div></td>
198
- </tr>
199
-
200
- <tr class="all_files all_coverage 60 70 80 90 100 app helpers even">
201
- <td class="left_align"><a href="app-helpers-layout_helper_rb.html">app/helpers/layout_helper.rb</a></td>
202
- <td class='right_align'><tt>22</tt></td>
203
- <td class='right_align'><tt>15</tt></td>
204
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>68.18%</tt></div>
205
- <div class="percent_graph">
206
- <div class="covered" style="width:68px"></div>
207
- <div class="uncovered" style="width:32px"></div>
208
- </div></td>
209
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>53.33%</tt></div>
210
- <div class="percent_graph">
211
- <div class="covered" style="width:53px"></div>
212
- <div class="uncovered" style="width:47px"></div>
213
- </div></td>
214
- </tr>
215
-
216
- <tr class="all_files all_coverage 110 app models odd">
217
- <td class="left_align"><a href="app-models-author_rb.html">app/models/author.rb</a></td>
218
- <td class='right_align'><tt>23</tt></td>
219
- <td class='right_align'><tt>17</tt></td>
220
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
221
- <div class="percent_graph">
222
- <div class="covered" style="width:100px"></div>
223
- <div class="uncovered" style="width:0px"></div>
224
- </div></td>
225
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
226
- <div class="percent_graph">
227
- <div class="covered" style="width:100px"></div>
228
- <div class="uncovered" style="width:0px"></div>
229
- </div></td>
230
- </tr>
231
-
232
- <tr class="all_files all_coverage 110 app models even">
233
- <td class="left_align"><a href="app-models-invitation_rb.html">app/models/invitation.rb</a></td>
234
- <td class='right_align'><tt>17</tt></td>
235
- <td class='right_align'><tt>14</tt></td>
236
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
237
- <div class="percent_graph">
238
- <div class="covered" style="width:100px"></div>
239
- <div class="uncovered" style="width:0px"></div>
240
- </div></td>
241
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
242
- <div class="percent_graph">
243
- <div class="covered" style="width:100px"></div>
244
- <div class="uncovered" style="width:0px"></div>
245
- </div></td>
246
- </tr>
247
-
248
- <tr class="all_files all_coverage 90 100 app models odd">
249
- <td class="left_align"><a href="app-models-painting_rb.html">app/models/painting.rb</a></td>
250
- <td class='right_align'><tt>100</tt></td>
251
- <td class='right_align'><tt>75</tt></td>
252
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>92.00%</tt></div>
253
- <div class="percent_graph">
254
- <div class="covered" style="width:92px"></div>
255
- <div class="uncovered" style="width:8px"></div>
256
- </div></td>
257
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>89.33%</tt></div>
258
- <div class="percent_graph">
259
- <div class="covered" style="width:89px"></div>
260
- <div class="uncovered" style="width:11px"></div>
261
- </div></td>
262
- </tr>
263
-
264
- <tr class="all_files all_coverage 110 app models even">
265
- <td class="left_align"><a href="app-models-user_rb.html">app/models/user.rb</a></td>
266
- <td class='right_align'><tt>46</tt></td>
267
- <td class='right_align'><tt>34</tt></td>
268
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
269
- <div class="percent_graph">
270
- <div class="covered" style="width:100px"></div>
271
- <div class="uncovered" style="width:0px"></div>
272
- </div></td>
273
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
274
- <div class="percent_graph">
275
- <div class="covered" style="width:100px"></div>
276
- <div class="uncovered" style="width:0px"></div>
277
- </div></td>
278
- </tr>
279
-
280
- <tr class="all_files all_coverage 110 app models odd">
281
- <td class="left_align"><a href="app-models-user_session_rb.html">app/models/user_session.rb</a></td>
282
- <td class='right_align'><tt>2</tt></td>
283
- <td class='right_align'><tt>2</tt></td>
284
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
285
- <div class="percent_graph">
286
- <div class="covered" style="width:100px"></div>
287
- <div class="uncovered" style="width:0px"></div>
288
- </div></td>
289
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
290
- <div class="percent_graph">
291
- <div class="covered" style="width:100px"></div>
292
- <div class="uncovered" style="width:0px"></div>
293
- </div></td>
294
- </tr>
295
-
296
- <tr class="all_files all_coverage 70 80 90 100 config even">
297
- <td class="left_align"><a href="config-boot_rb.html">config/boot.rb</a></td>
298
- <td class='right_align'><tt>110</tt></td>
299
- <td class='right_align'><tt>89</tt></td>
300
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>72.73%</tt></div>
301
- <div class="percent_graph">
302
- <div class="covered" style="width:73px"></div>
303
- <div class="uncovered" style="width:27px"></div>
304
- </div></td>
305
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>67.42%</tt></div>
306
- <div class="percent_graph">
307
- <div class="covered" style="width:67px"></div>
308
- <div class="uncovered" style="width:33px"></div>
309
- </div></td>
310
- </tr>
311
-
312
- <tr class="all_files all_coverage 110 config odd">
313
- <td class="left_align"><a href="config-environment_rb.html">config/environment.rb</a></td>
314
- <td class='right_align'><tt>47</tt></td>
315
- <td class='right_align'><tt>11</tt></td>
316
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
317
- <div class="percent_graph">
318
- <div class="covered" style="width:100px"></div>
319
- <div class="uncovered" style="width:0px"></div>
320
- </div></td>
321
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
322
- <div class="percent_graph">
323
- <div class="covered" style="width:100px"></div>
324
- <div class="uncovered" style="width:0px"></div>
325
- </div></td>
326
- </tr>
327
-
328
- <tr class="all_files all_coverage 110 config initializers even">
329
- <td class="left_align"><a href="config-initializers-00_load_app_config_rb.html">config/initializers/00_load_app_config.rb</a></td>
330
- <td class='right_align'><tt>2</tt></td>
331
- <td class='right_align'><tt>2</tt></td>
332
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
333
- <div class="percent_graph">
334
- <div class="covered" style="width:100px"></div>
335
- <div class="uncovered" style="width:0px"></div>
336
- </div></td>
337
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
338
- <div class="percent_graph">
339
- <div class="covered" style="width:100px"></div>
340
- <div class="uncovered" style="width:0px"></div>
341
- </div></td>
342
- </tr>
343
-
344
- <tr class="all_files all_coverage 110 config initializers odd">
345
- <td class="left_align"><a href="config-initializers-05_exception_notification_rb.html">config/initializers/05_exception_notification.rb</a></td>
346
- <td class='right_align'><tt>5</tt></td>
347
- <td class='right_align'><tt>3</tt></td>
348
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
349
- <div class="percent_graph">
350
- <div class="covered" style="width:100px"></div>
351
- <div class="uncovered" style="width:0px"></div>
352
- </div></td>
353
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
354
- <div class="percent_graph">
355
- <div class="covered" style="width:100px"></div>
356
- <div class="uncovered" style="width:0px"></div>
357
- </div></td>
358
- </tr>
359
-
360
- <tr class="all_files all_coverage 110 config initializers even">
361
- <td class="left_align"><a href="config-initializers-locale_rb.html">config/initializers/locale.rb</a></td>
362
- <td class='right_align'><tt>2</tt></td>
363
- <td class='right_align'><tt>2</tt></td>
364
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
365
- <div class="percent_graph">
366
- <div class="covered" style="width:100px"></div>
367
- <div class="uncovered" style="width:0px"></div>
368
- </div></td>
369
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
370
- <div class="percent_graph">
371
- <div class="covered" style="width:100px"></div>
372
- <div class="uncovered" style="width:0px"></div>
373
- </div></td>
374
- </tr>
375
-
376
- <tr class="all_files all_coverage 110 config initializers odd">
377
- <td class="left_align"><a href="config-initializers-new_rails_defaults_rb.html">config/initializers/new_rails_defaults.rb</a></td>
378
- <td class='right_align'><tt>21</tt></td>
379
- <td class='right_align'><tt>7</tt></td>
380
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
381
- <div class="percent_graph">
382
- <div class="covered" style="width:100px"></div>
383
- <div class="uncovered" style="width:0px"></div>
384
- </div></td>
385
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
386
- <div class="percent_graph">
387
- <div class="covered" style="width:100px"></div>
388
- <div class="uncovered" style="width:0px"></div>
389
- </div></td>
390
- </tr>
391
-
392
- <tr class="all_files all_coverage 110 config initializers even">
393
- <td class="left_align"><a href="config-initializers-paperclip_rb.html">config/initializers/paperclip.rb</a></td>
394
- <td class='right_align'><tt>2</tt></td>
395
- <td class='right_align'><tt>2</tt></td>
396
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
397
- <div class="percent_graph">
398
- <div class="covered" style="width:100px"></div>
399
- <div class="uncovered" style="width:0px"></div>
400
- </div></td>
401
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
402
- <div class="percent_graph">
403
- <div class="covered" style="width:100px"></div>
404
- <div class="uncovered" style="width:0px"></div>
405
- </div></td>
406
- </tr>
407
-
408
- <tr class="all_files all_coverage 110 config initializers odd">
409
- <td class="left_align"><a href="config-initializers-session_store_rb.html">config/initializers/session_store.rb</a></td>
410
- <td class='right_align'><tt>15</tt></td>
411
- <td class='right_align'><tt>4</tt></td>
412
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
413
- <div class="percent_graph">
414
- <div class="covered" style="width:100px"></div>
415
- <div class="uncovered" style="width:0px"></div>
416
- </div></td>
417
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
418
- <div class="percent_graph">
419
- <div class="covered" style="width:100px"></div>
420
- <div class="uncovered" style="width:0px"></div>
421
- </div></td>
422
- </tr>
423
-
424
- <tr class="all_files all_coverage 110 config even">
425
- <td class="left_align"><a href="config-routes_rb.html">config/routes.rb</a></td>
426
- <td class='right_align'><tt>25</tt></td>
427
- <td class='right_align'><tt>18</tt></td>
428
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
429
- <div class="percent_graph">
430
- <div class="covered" style="width:100px"></div>
431
- <div class="uncovered" style="width:0px"></div>
432
- </div></td>
433
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
434
- <div class="percent_graph">
435
- <div class="covered" style="width:100px"></div>
436
- <div class="uncovered" style="width:0px"></div>
437
- </div></td>
438
- </tr>
439
-
440
- <tr class="all_files all_coverage 110 lib kids_art odd">
441
- <td class="left_align"><a href="lib-kids_art-batch_processor_rb.html">lib/kids_art/batch_processor.rb</a></td>
442
- <td class='right_align'><tt>27</tt></td>
443
- <td class='right_align'><tt>20</tt></td>
444
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
445
- <div class="percent_graph">
446
- <div class="covered" style="width:100px"></div>
447
- <div class="uncovered" style="width:0px"></div>
448
- </div></td>
449
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
450
- <div class="percent_graph">
451
- <div class="covered" style="width:100px"></div>
452
- <div class="uncovered" style="width:0px"></div>
453
- </div></td>
454
- </tr>
455
-
456
- <tr class="all_files all_coverage 110 lib paperclip even">
457
- <td class="left_align"><a href="lib-paperclip-write_dimensions_rb.html">lib/paperclip/write_dimensions.rb</a></td>
458
- <td class='right_align'><tt>11</tt></td>
459
- <td class='right_align'><tt>10</tt></td>
460
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
461
- <div class="percent_graph">
462
- <div class="covered" style="width:100px"></div>
463
- <div class="uncovered" style="width:0px"></div>
464
- </div></td>
465
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
466
- <div class="percent_graph">
467
- <div class="covered" style="width:100px"></div>
468
- <div class="uncovered" style="width:0px"></div>
469
- </div></td>
470
- </tr>
471
-
472
- <tr class="all_files all_coverage 110 lib utils odd">
473
- <td class="left_align"><a href="lib-utils-core_rb.html">lib/utils/core.rb</a></td>
474
- <td class='right_align'><tt>7</tt></td>
475
- <td class='right_align'><tt>7</tt></td>
476
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
477
- <div class="percent_graph">
478
- <div class="covered" style="width:100px"></div>
479
- <div class="uncovered" style="width:0px"></div>
480
- </div></td>
481
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
482
- <div class="percent_graph">
483
- <div class="covered" style="width:100px"></div>
484
- <div class="uncovered" style="width:0px"></div>
485
- </div></td>
486
- </tr>
487
-
488
- <tr class="all_files all_coverage 100 lib utils even">
489
- <td class="left_align"><a href="lib-utils-zip_rb.html">lib/utils/zip.rb</a></td>
490
- <td class='right_align'><tt>39</tt></td>
491
- <td class='right_align'><tt>31</tt></td>
492
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>94.87%</tt></div>
493
- <div class="percent_graph">
494
- <div class="covered" style="width:95px"></div>
495
- <div class="uncovered" style="width:5px"></div>
496
- </div></td>
497
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>93.55%</tt></div>
498
- <div class="percent_graph">
499
- <div class="covered" style="width:94px"></div>
500
- <div class="uncovered" style="width:6px"></div>
501
- </div></td>
502
- </tr>
503
-
504
- </tbody>
505
- </table>
506
- </div>
507
-
508
- </body>
509
- </html>