flyerhzm-metric_fu 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. data/HISTORY +164 -0
  2. data/MIT-LICENSE +22 -0
  3. data/Manifest.txt +25 -0
  4. data/README.textile +27 -0
  5. data/Rakefile +18 -0
  6. data/TODO +9 -0
  7. data/lib/base/base_template.rb +145 -0
  8. data/lib/base/configuration.rb +180 -0
  9. data/lib/base/generator.rb +167 -0
  10. data/lib/base/graph.rb +39 -0
  11. data/lib/base/md5_tracker.rb +52 -0
  12. data/lib/base/report.rb +100 -0
  13. data/lib/generators/churn.rb +90 -0
  14. data/lib/generators/flay.rb +34 -0
  15. data/lib/generators/flog.rb +167 -0
  16. data/lib/generators/rails_best_practices.rb +31 -0
  17. data/lib/generators/rcov.rb +87 -0
  18. data/lib/generators/reek.rb +64 -0
  19. data/lib/generators/roodi.rb +32 -0
  20. data/lib/generators/saikuro.rb +208 -0
  21. data/lib/generators/stats.rb +43 -0
  22. data/lib/graphs/engines/bluff.rb +98 -0
  23. data/lib/graphs/engines/gchart.rb +119 -0
  24. data/lib/graphs/flay_grapher.rb +20 -0
  25. data/lib/graphs/flog_grapher.rb +40 -0
  26. data/lib/graphs/grapher.rb +11 -0
  27. data/lib/graphs/rails_best_practices_grapher.rb +20 -0
  28. data/lib/graphs/rcov_grapher.rb +20 -0
  29. data/lib/graphs/reek_grapher.rb +32 -0
  30. data/lib/graphs/roodi_grapher.rb +20 -0
  31. data/lib/metric_fu.rb +31 -0
  32. data/lib/templates/awesome/awesome_template.rb +37 -0
  33. data/lib/templates/awesome/churn.html.erb +19 -0
  34. data/lib/templates/awesome/css/buttons.css +82 -0
  35. data/lib/templates/awesome/css/default.css +75 -0
  36. data/lib/templates/awesome/css/integrity.css +335 -0
  37. data/lib/templates/awesome/css/reset.css +7 -0
  38. data/lib/templates/awesome/flay.html.erb +33 -0
  39. data/lib/templates/awesome/flog.html.erb +53 -0
  40. data/lib/templates/awesome/index.html.erb +31 -0
  41. data/lib/templates/awesome/layout.html.erb +30 -0
  42. data/lib/templates/awesome/rails_best_practices.html.erb +27 -0
  43. data/lib/templates/awesome/rcov.html.erb +42 -0
  44. data/lib/templates/awesome/reek.html.erb +40 -0
  45. data/lib/templates/awesome/roodi.html.erb +27 -0
  46. data/lib/templates/awesome/saikuro.html.erb +71 -0
  47. data/lib/templates/awesome/stats.html.erb +41 -0
  48. data/lib/templates/javascripts/bluff-min.js +1 -0
  49. data/lib/templates/javascripts/excanvas.js +19 -0
  50. data/lib/templates/javascripts/js-class.js +1 -0
  51. data/lib/templates/standard/churn.html.erb +31 -0
  52. data/lib/templates/standard/default.css +64 -0
  53. data/lib/templates/standard/flay.html.erb +34 -0
  54. data/lib/templates/standard/flog.html.erb +53 -0
  55. data/lib/templates/standard/index.html.erb +41 -0
  56. data/lib/templates/standard/rails_best_practices.html.erb +29 -0
  57. data/lib/templates/standard/rcov.html.erb +43 -0
  58. data/lib/templates/standard/reek.html.erb +42 -0
  59. data/lib/templates/standard/roodi.html.erb +29 -0
  60. data/lib/templates/standard/saikuro.html.erb +84 -0
  61. data/lib/templates/standard/standard_template.rb +26 -0
  62. data/lib/templates/standard/stats.html.erb +55 -0
  63. data/spec/base/base_template_spec.rb +161 -0
  64. data/spec/base/configuration_spec.rb +269 -0
  65. data/spec/base/generator_spec.rb +244 -0
  66. data/spec/base/graph_spec.rb +24 -0
  67. data/spec/base/md5_tracker_spec.rb +57 -0
  68. data/spec/base/report_spec.rb +139 -0
  69. data/spec/generators/churn_spec.rb +152 -0
  70. data/spec/generators/flay_spec.rb +104 -0
  71. data/spec/generators/flog_spec.rb +238 -0
  72. data/spec/generators/reek_spec.rb +126 -0
  73. data/spec/generators/saikuro_spec.rb +58 -0
  74. data/spec/generators/stats_spec.rb +74 -0
  75. data/spec/graphs/engines/bluff_spec.rb +15 -0
  76. data/spec/graphs/engines/gchart_spec.rb +15 -0
  77. data/spec/graphs/flay_grapher_spec.rb +37 -0
  78. data/spec/graphs/flog_grapher_spec.rb +45 -0
  79. data/spec/graphs/rcov_grapher_spec.rb +37 -0
  80. data/spec/graphs/reek_grapher_spec.rb +46 -0
  81. data/spec/graphs/roodi_grapher_spec.rb +37 -0
  82. data/spec/resources/saikuro/app/controllers/sessions_controller.rb_cyclo.html +10 -0
  83. data/spec/resources/saikuro/app/controllers/users_controller.rb_cyclo.html +16 -0
  84. data/spec/resources/saikuro/index_cyclo.html +155 -0
  85. data/spec/resources/saikuro_sfiles/thing.rb_cyclo.html +11 -0
  86. data/spec/resources/yml/20090630.yml +7844 -0
  87. data/spec/spec.opts +8 -0
  88. data/spec/spec_helper.rb +7 -0
  89. data/tasks/metric_fu.rake +22 -0
  90. data/vendor/_fonts/monaco.ttf +0 -0
  91. data/vendor/saikuro/saikuro.rb +1219 -0
  92. metadata +234 -0
metadata ADDED
@@ -0,0 +1,234 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: flyerhzm-metric_fu
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Jake Scruggs
8
+ - Sean Soper
9
+ - Andre Arko
10
+ - Petrik de Heus
11
+ - Grant McInnes
12
+ - Nick Quaranto
13
+ - "\xC3\x89douard Bri\xC3\xA8re"
14
+ - Carl Youngblood
15
+ - Richard Huang
16
+ autorequire:
17
+ bindir: bin
18
+ cert_chain: []
19
+
20
+ date: 2010-01-03 00:00:00 +08:00
21
+ default_executable:
22
+ dependencies:
23
+ - !ruby/object:Gem::Dependency
24
+ name: flay
25
+ type: :runtime
26
+ version_requirement:
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: 1.2.1
32
+ version:
33
+ - !ruby/object:Gem::Dependency
34
+ name: flog
35
+ type: :runtime
36
+ version_requirement:
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "="
40
+ - !ruby/object:Gem::Version
41
+ version: 2.2.0
42
+ version:
43
+ - !ruby/object:Gem::Dependency
44
+ name: reek
45
+ type: :runtime
46
+ version_requirement:
47
+ version_requirements: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: 1.2.6
52
+ version:
53
+ - !ruby/object:Gem::Dependency
54
+ name: roodi
55
+ type: :runtime
56
+ version_requirement:
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 2.1.0
62
+ version:
63
+ - !ruby/object:Gem::Dependency
64
+ name: rails_best_practices
65
+ type: :runtime
66
+ version_requirement:
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: 0.3.16
72
+ version:
73
+ - !ruby/object:Gem::Dependency
74
+ name: relevance-rcov
75
+ type: :runtime
76
+ version_requirement:
77
+ version_requirements: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: 0.8.3.3
82
+ version:
83
+ - !ruby/object:Gem::Dependency
84
+ name: mojombo-chronic
85
+ type: :runtime
86
+ version_requirement:
87
+ version_requirements: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: 0.3.0
92
+ version:
93
+ - !ruby/object:Gem::Dependency
94
+ name: construct
95
+ type: :runtime
96
+ version_requirement:
97
+ version_requirements: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: 0.1.5
102
+ version:
103
+ description: Code metrics from Flog, Flay, RCov, Saikuro, Churn, Reek, Roodi, Rails' stats task and Rails Best Practices
104
+ email: flyerhzm@gmail.com
105
+ executables: []
106
+
107
+ extensions: []
108
+
109
+ extra_rdoc_files:
110
+ - HISTORY
111
+ - Manifest.txt
112
+ - README.textile
113
+ files:
114
+ - README.textile
115
+ - HISTORY
116
+ - TODO
117
+ - MIT-LICENSE
118
+ - Rakefile
119
+ - lib/base/base_template.rb
120
+ - lib/base/configuration.rb
121
+ - lib/base/generator.rb
122
+ - lib/base/graph.rb
123
+ - lib/base/md5_tracker.rb
124
+ - lib/base/report.rb
125
+ - lib/generators/churn.rb
126
+ - lib/generators/flay.rb
127
+ - lib/generators/flog.rb
128
+ - lib/generators/rcov.rb
129
+ - lib/generators/reek.rb
130
+ - lib/generators/roodi.rb
131
+ - lib/generators/saikuro.rb
132
+ - lib/generators/stats.rb
133
+ - lib/generators/rails_best_practices.rb
134
+ - lib/graphs/engines/bluff.rb
135
+ - lib/graphs/engines/gchart.rb
136
+ - lib/graphs/flay_grapher.rb
137
+ - lib/graphs/flog_grapher.rb
138
+ - lib/graphs/grapher.rb
139
+ - lib/graphs/rcov_grapher.rb
140
+ - lib/graphs/reek_grapher.rb
141
+ - lib/graphs/roodi_grapher.rb
142
+ - lib/graphs/rails_best_practices_grapher.rb
143
+ - lib/metric_fu.rb
144
+ - lib/templates/awesome/awesome_template.rb
145
+ - lib/templates/awesome/churn.html.erb
146
+ - lib/templates/awesome/css/buttons.css
147
+ - lib/templates/awesome/css/default.css
148
+ - lib/templates/awesome/css/integrity.css
149
+ - lib/templates/awesome/css/reset.css
150
+ - lib/templates/awesome/flay.html.erb
151
+ - lib/templates/awesome/flog.html.erb
152
+ - lib/templates/awesome/index.html.erb
153
+ - lib/templates/awesome/layout.html.erb
154
+ - lib/templates/awesome/rcov.html.erb
155
+ - lib/templates/awesome/reek.html.erb
156
+ - lib/templates/awesome/roodi.html.erb
157
+ - lib/templates/awesome/saikuro.html.erb
158
+ - lib/templates/awesome/stats.html.erb
159
+ - lib/templates/awesome/rails_best_practices.html.erb
160
+ - lib/templates/javascripts/bluff-min.js
161
+ - lib/templates/javascripts/excanvas.js
162
+ - lib/templates/javascripts/js-class.js
163
+ - lib/templates/standard/churn.html.erb
164
+ - lib/templates/standard/default.css
165
+ - lib/templates/standard/flay.html.erb
166
+ - lib/templates/standard/flog.html.erb
167
+ - lib/templates/standard/index.html.erb
168
+ - lib/templates/standard/rcov.html.erb
169
+ - lib/templates/standard/reek.html.erb
170
+ - lib/templates/standard/roodi.html.erb
171
+ - lib/templates/standard/saikuro.html.erb
172
+ - lib/templates/standard/standard_template.rb
173
+ - lib/templates/standard/stats.html.erb
174
+ - lib/templates/standard/rails_best_practices.html.erb
175
+ - tasks/metric_fu.rake
176
+ - vendor/_fonts/monaco.ttf
177
+ - vendor/saikuro/saikuro.rb
178
+ - Manifest.txt
179
+ has_rdoc: true
180
+ homepage: http://github.com/flyerhzm/metric_fu
181
+ licenses: []
182
+
183
+ post_install_message:
184
+ rdoc_options:
185
+ - --main
186
+ - README.textile
187
+ require_paths:
188
+ - lib
189
+ required_ruby_version: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: "0"
194
+ version:
195
+ required_rubygems_version: !ruby/object:Gem::Requirement
196
+ requirements:
197
+ - - ">="
198
+ - !ruby/object:Gem::Version
199
+ version: "0"
200
+ version:
201
+ requirements: []
202
+
203
+ rubyforge_project:
204
+ rubygems_version: 1.3.5
205
+ signing_key:
206
+ specification_version: 3
207
+ summary: A fistful of code metrics, with awesome templates and graphs
208
+ test_files:
209
+ - spec/base/base_template_spec.rb
210
+ - spec/base/configuration_spec.rb
211
+ - spec/base/generator_spec.rb
212
+ - spec/base/graph_spec.rb
213
+ - spec/base/md5_tracker_spec.rb
214
+ - spec/base/report_spec.rb
215
+ - spec/generators/churn_spec.rb
216
+ - spec/generators/flay_spec.rb
217
+ - spec/generators/flog_spec.rb
218
+ - spec/generators/reek_spec.rb
219
+ - spec/generators/saikuro_spec.rb
220
+ - spec/generators/stats_spec.rb
221
+ - spec/graphs/engines/bluff_spec.rb
222
+ - spec/graphs/engines/gchart_spec.rb
223
+ - spec/graphs/flay_grapher_spec.rb
224
+ - spec/graphs/flog_grapher_spec.rb
225
+ - spec/graphs/rcov_grapher_spec.rb
226
+ - spec/graphs/reek_grapher_spec.rb
227
+ - spec/graphs/roodi_grapher_spec.rb
228
+ - spec/resources/saikuro/app/controllers/sessions_controller.rb_cyclo.html
229
+ - spec/resources/saikuro/app/controllers/users_controller.rb_cyclo.html
230
+ - spec/resources/saikuro/index_cyclo.html
231
+ - spec/resources/saikuro_sfiles/thing.rb_cyclo.html
232
+ - spec/resources/yml/20090630.yml
233
+ - spec/spec.opts
234
+ - spec/spec_helper.rb