metric_fu 4.6.0 → 4.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/.metrics +6 -0
- data/.travis.yml +6 -5
- data/CONTRIBUTING.md +15 -3
- data/Gemfile +3 -8
- data/Gemfile.devtools +3 -3
- data/HISTORY.md +23 -2
- data/README.md +42 -38
- data/checksum/metric_fu-4.6.0.gem.sha512 +1 -0
- data/gemfiles/Gemfile.travis +7 -0
- data/lib/metric_fu/cli/helper.rb +2 -1
- data/lib/metric_fu/configuration.rb +0 -2
- data/lib/metric_fu/formatter/html.rb +2 -0
- data/lib/metric_fu/formatter/syntax.rb +47 -0
- data/lib/metric_fu/gem_version.rb +44 -11
- data/lib/metric_fu/io.rb +5 -5
- data/lib/metric_fu/loader.rb +12 -5
- data/lib/metric_fu/metric.rb +10 -0
- data/lib/metric_fu/metrics/base_template.rb +2 -2
- data/lib/metric_fu/metrics/cane/cane.rb +1 -0
- data/lib/metric_fu/metrics/churn/churn.rb +16 -42
- data/lib/metric_fu/metrics/churn/init.rb +7 -1
- data/lib/metric_fu/metrics/hotspots/analysis/groupings.rb +1 -0
- data/lib/metric_fu/metrics/hotspots/analysis/problems.rb +1 -0
- data/lib/metric_fu/metrics/hotspots/analysis/ranked_problem_location.rb +2 -0
- data/lib/metric_fu/metrics/hotspots/analysis/rankings.rb +5 -0
- data/lib/metric_fu/metrics/hotspots/hotspot.rb +3 -0
- data/lib/metric_fu/metrics/hotspots/hotspot_analyzer.rb +8 -4
- data/lib/metric_fu/metrics/hotspots/hotspots.rb +11 -0
- data/lib/metric_fu/metrics/reek/reek.rb +1 -1
- data/lib/metric_fu/metrics/reek/reek_hotspot.rb +0 -1
- data/lib/metric_fu/metrics/saikuro/saikuro.rb +1 -0
- data/lib/metric_fu/reporting/graphs/grapher.rb +0 -1
- data/lib/metric_fu/reporting/templates/awesome/awesome_template.rb +8 -59
- data/lib/metric_fu/run.rb +1 -1
- data/lib/metric_fu/{reporting/templates/awesome → templates}/css/bluff.css +0 -0
- data/lib/metric_fu/{reporting/templates/awesome → templates}/css/buttons.css +0 -0
- data/lib/metric_fu/{reporting/templates/awesome → templates}/css/default.css +0 -0
- data/lib/metric_fu/{reporting/templates/awesome → templates}/css/integrity.css +0 -0
- data/lib/metric_fu/{reporting/templates/awesome → templates}/css/rcov.css +0 -0
- data/lib/metric_fu/{reporting/templates/awesome → templates}/css/reset.css +0 -0
- data/lib/metric_fu/{reporting/templates/awesome → templates}/css/syntax.css +0 -0
- data/lib/metric_fu/templates/report.html.erb +32 -0
- data/lib/metric_fu/templates/report.rb +36 -0
- data/lib/metric_fu/utility.rb +4 -0
- data/lib/metric_fu/version.rb +1 -1
- data/metric_fu.gemspec +11 -2
- data/spec/cli/helper_spec.rb +33 -33
- data/spec/metric_fu/configuration_spec.rb +20 -20
- data/spec/metric_fu/data_structures/line_numbers_spec.rb +12 -11
- data/spec/metric_fu/data_structures/location_spec.rb +27 -26
- data/spec/metric_fu/formatter/html_spec.rb +18 -8
- data/spec/metric_fu/formatter/yaml_spec.rb +14 -3
- data/spec/metric_fu/formatter_spec.rb +5 -5
- data/spec/metric_fu/loader_spec.rb +1 -1
- data/spec/metric_fu/metric_spec.rb +2 -2
- data/spec/metric_fu/metrics/base_template_spec.rb +50 -50
- data/spec/metric_fu/metrics/cane/cane_spec.rb +29 -28
- data/spec/metric_fu/metrics/churn/churn_spec.rb +10 -33
- data/spec/metric_fu/metrics/flay/flay_grapher_spec.rb +9 -8
- data/spec/metric_fu/metrics/flay/flay_spec.rb +14 -13
- data/spec/metric_fu/metrics/flog/flog_grapher_spec.rb +16 -15
- data/spec/metric_fu/metrics/flog/flog_spec.rb +10 -9
- data/spec/metric_fu/metrics/generator_spec.rb +19 -19
- data/spec/metric_fu/metrics/graph_spec.rb +11 -9
- data/spec/metric_fu/metrics/hotspots/analysis/analyzed_problems_spec.rb +5 -0
- data/spec/metric_fu/metrics/hotspots/analysis/analyzer_tables_spec.rb +11 -6
- data/spec/metric_fu/metrics/hotspots/analysis/ranking_spec.rb +4 -3
- data/spec/metric_fu/metrics/hotspots/analysis/rankings_spec.rb +16 -10
- data/spec/metric_fu/metrics/hotspots/analysis/table_spec.rb +2 -1
- data/spec/metric_fu/metrics/hotspots/hotspot_analyzer_spec.rb +2 -1
- data/spec/metric_fu/metrics/hotspots/hotspot_spec.rb +8 -2
- data/spec/metric_fu/metrics/hotspots/hotspots_spec.rb +4 -8
- data/spec/metric_fu/metrics/rails_best_practices/rails_best_practices_grapher_spec.rb +10 -9
- data/spec/metric_fu/metrics/rails_best_practices/rails_best_practices_spec.rb +8 -7
- data/spec/metric_fu/metrics/rcov/rcov_grapher_spec.rb +8 -8
- data/spec/metric_fu/metrics/rcov/rcov_hotspot_spec.rb +7 -4
- data/spec/metric_fu/metrics/rcov/rcov_spec.rb +15 -14
- data/spec/metric_fu/metrics/reek/reek_grapher_spec.rb +10 -9
- data/spec/metric_fu/metrics/reek/reek_spec.rb +17 -15
- data/spec/metric_fu/metrics/roodi/roodi_grapher_spec.rb +9 -8
- data/spec/metric_fu/metrics/roodi/roodi_spec.rb +4 -3
- data/spec/metric_fu/metrics/saikuro/saikuro_spec.rb +13 -10
- data/spec/metric_fu/metrics/stats/stats_grapher_spec.rb +13 -12
- data/spec/metric_fu/metrics/stats/stats_spec.rb +16 -14
- data/spec/metric_fu/reporter_spec.rb +8 -7
- data/spec/metric_fu/reporting/graphs/grapher_spec.rb +1 -1
- data/spec/metric_fu/reporting/result_spec.rb +12 -11
- data/spec/metric_fu/run_spec.rb +24 -8
- data/spec/spec_helper.rb +1 -2
- data/spec/support/helper_methods.rb +14 -1
- metadata +124 -57
- metadata.gz.sig +0 -0
- checksums.yaml +0 -7
- checksums.yaml.gz.sig +0 -0
- data/lib/metric_fu/initial_requires.rb +0 -13
- data/lib/metric_fu/load_files.rb +0 -34
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metric_fu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.7.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Jake Scruggs
|
@@ -19,36 +20,44 @@ authors:
|
|
19
20
|
autorequire:
|
20
21
|
bindir: bin
|
21
22
|
cert_chain:
|
22
|
-
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
23
|
+
- !binary |-
|
24
|
+
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURqakNDQW5hZ0F3SUJB
|
25
|
+
Z0lCQVRBTkJna3Foa2lHOXcwQkFRVUZBREJHTVF3d0NnWURWUVFEREFOa1pY
|
26
|
+
WXgKSVRBZkJnb0praWFKay9Jc1pBRVpGaEZpWlc1cVlXMXBibVpzWldselky
|
27
|
+
aGxjakVUTUJFR0NnbVNKb21UOGl4awpBUmtXQTJOdmJUQWVGdzB4TXpFeE1E
|
28
|
+
Y3lNVFEwTURCYUZ3MHhOREV4TURjeU1UUTBNREJhTUVZeEREQUtCZ05WCkJB
|
29
|
+
TU1BMlJsZGpFaE1COEdDZ21TSm9tVDhpeGtBUmtXRVdKbGJtcGhiV2x1Wm14
|
30
|
+
bGFYTmphR1Z5TVJNd0VRWUsKQ1pJbWlaUHlMR1FCR1JZRFkyOXRNSUlCSWpB
|
31
|
+
TkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQQpuY1pGdTdW
|
32
|
+
TWJsaUlCaGlHajZKNWFLWFN1SEY2Z1hadUE4Z2twZ003ZGdWemtMaHV1ZDZo
|
33
|
+
U1lYb0M4VVpJcitNCk45aHZWL0YyRjNnTGxqMko3YUxIcjhDMGZvcjRLVmpj
|
34
|
+
NU4vYjI0OXZHb0g5bklsMHFaVkUzcUkrUjdNSWRZbE8KT05vZUhnaXltU0t5
|
35
|
+
c3NDekdGUnp2OFpWcnBXdVVtY0IzcWl4YjZkMmFpdjFrY3NaWm5Malk0RU81
|
36
|
+
alZXOVg5MgpkOVZNdU5kWVl0WjBsODhwcm1VTSsxZlZmYURkWStLR3JpZ2Vm
|
37
|
+
ZkhVR0QwajdwSE9ablJDWUt3R0hHLzdOa2c4CjB2RXRZVkJLU3BISVFUaEJN
|
38
|
+
V1hJUXU2OWdJcHI2QW1RZC9rVm5oZWpBZFFndnNEejQzbjloNWladnJ3Y2Vk
|
39
|
+
V1kKeDJ3eitGclVkSnpaWmhpdFVGR3Jud0lEQVFBQm80R0dNSUdETUFrR0Ex
|
40
|
+
VWRFd1FDTUFBd0N3WURWUjBQQkFRRApBZ1N3TUIwR0ExVWREZ1FXQkJUR3dH
|
41
|
+
SnR5bzhuVW9SdXhiWWZjSTVienVITDN6QWtCZ05WSFJFRUhUQWJnUmxrClpY
|
42
|
+
WkFZbVZ1YW1GdGFXNW1iR1ZwYzJOb1pYSXVZMjl0TUNRR0ExVWRFZ1FkTUJ1
|
43
|
+
QkdXUmxka0JpWlc1cVlXMXAKYm1ac1pXbHpZMmhsY2k1amIyMHdEUVlKS29a
|
44
|
+
SWh2Y05BUUVGQlFBRGdnRUJBSS9neXpjRm40WHZyelhocUtXYwp6TFViT3Aw
|
45
|
+
MzQ5clZJRjZmMFBsUXZmM1pKWlM3NkhLWjJFcVNRSnd6cGNBYm95cHZzUldr
|
46
|
+
MGtWbU93dnphZTRZCmJCMGFjMld1UmY3QW50Uzg0VmtaUW1JLzFBSXhrYVFV
|
47
|
+
SVF2SEphY2F3OHlKS05nZ2JEQkt1Z0hqY3JJV1dnMlYKdkR2eWp2Sng0c1FG
|
48
|
+
cEo4NExTRGJBVmtCOTJZYVA2Q1V3b2VYd3Jjc3Z2ZnJ2bzl4NUFrQkVDejlL
|
49
|
+
WkdENTMyZwpvNzhQNFdteklXTGdhbjVHSXlORnRHeENzWUF1ZytoMGpuQzR5
|
50
|
+
dWphdUtxcjhoS0RMdTRLK3F1Q0dqWC82TEw2CldPTno5dlQ2aDA1M2tIWllN
|
51
|
+
cmQ0R3MvTmRhQTR0SlN4cmhabFhkYWpBbS8wdkFPekxJcVVISFFrM1IwdGY3
|
52
|
+
YVkKZC93PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
53
|
+
date: 2013-12-31 00:00:00.000000000 Z
|
46
54
|
dependencies:
|
47
55
|
- !ruby/object:Gem::Dependency
|
48
56
|
name: flay
|
49
57
|
requirement: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
50
59
|
requirements:
|
51
|
-
- - '>='
|
60
|
+
- - ! '>='
|
52
61
|
- !ruby/object:Gem::Version
|
53
62
|
version: 2.0.1
|
54
63
|
- - ~>
|
@@ -57,8 +66,9 @@ dependencies:
|
|
57
66
|
type: :runtime
|
58
67
|
prerelease: false
|
59
68
|
version_requirements: !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
60
70
|
requirements:
|
61
|
-
- - '>='
|
71
|
+
- - ! '>='
|
62
72
|
- !ruby/object:Gem::Version
|
63
73
|
version: 2.0.1
|
64
74
|
- - ~>
|
@@ -67,6 +77,7 @@ dependencies:
|
|
67
77
|
- !ruby/object:Gem::Dependency
|
68
78
|
name: churn
|
69
79
|
requirement: !ruby/object:Gem::Requirement
|
80
|
+
none: false
|
70
81
|
requirements:
|
71
82
|
- - ~>
|
72
83
|
- !ruby/object:Gem::Version
|
@@ -74,6 +85,7 @@ dependencies:
|
|
74
85
|
type: :runtime
|
75
86
|
prerelease: false
|
76
87
|
version_requirements: !ruby/object:Gem::Requirement
|
88
|
+
none: false
|
77
89
|
requirements:
|
78
90
|
- - ~>
|
79
91
|
- !ruby/object:Gem::Version
|
@@ -81,8 +93,9 @@ dependencies:
|
|
81
93
|
- !ruby/object:Gem::Dependency
|
82
94
|
name: flog
|
83
95
|
requirement: !ruby/object:Gem::Requirement
|
96
|
+
none: false
|
84
97
|
requirements:
|
85
|
-
- - '>='
|
98
|
+
- - ! '>='
|
86
99
|
- !ruby/object:Gem::Version
|
87
100
|
version: 4.1.1
|
88
101
|
- - ~>
|
@@ -91,8 +104,9 @@ dependencies:
|
|
91
104
|
type: :runtime
|
92
105
|
prerelease: false
|
93
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
none: false
|
94
108
|
requirements:
|
95
|
-
- - '>='
|
109
|
+
- - ! '>='
|
96
110
|
- !ruby/object:Gem::Version
|
97
111
|
version: 4.1.1
|
98
112
|
- - ~>
|
@@ -101,8 +115,9 @@ dependencies:
|
|
101
115
|
- !ruby/object:Gem::Dependency
|
102
116
|
name: reek
|
103
117
|
requirement: !ruby/object:Gem::Requirement
|
118
|
+
none: false
|
104
119
|
requirements:
|
105
|
-
- - '>='
|
120
|
+
- - ! '>='
|
106
121
|
- !ruby/object:Gem::Version
|
107
122
|
version: 1.3.4
|
108
123
|
- - ~>
|
@@ -111,8 +126,9 @@ dependencies:
|
|
111
126
|
type: :runtime
|
112
127
|
prerelease: false
|
113
128
|
version_requirements: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
114
130
|
requirements:
|
115
|
-
- - '>='
|
131
|
+
- - ! '>='
|
116
132
|
- !ruby/object:Gem::Version
|
117
133
|
version: 1.3.4
|
118
134
|
- - ~>
|
@@ -121,8 +137,9 @@ dependencies:
|
|
121
137
|
- !ruby/object:Gem::Dependency
|
122
138
|
name: cane
|
123
139
|
requirement: !ruby/object:Gem::Requirement
|
140
|
+
none: false
|
124
141
|
requirements:
|
125
|
-
- - '>='
|
142
|
+
- - ! '>='
|
126
143
|
- !ruby/object:Gem::Version
|
127
144
|
version: 2.5.2
|
128
145
|
- - ~>
|
@@ -131,8 +148,9 @@ dependencies:
|
|
131
148
|
type: :runtime
|
132
149
|
prerelease: false
|
133
150
|
version_requirements: !ruby/object:Gem::Requirement
|
151
|
+
none: false
|
134
152
|
requirements:
|
135
|
-
- - '>='
|
153
|
+
- - ! '>='
|
136
154
|
- !ruby/object:Gem::Version
|
137
155
|
version: 2.5.2
|
138
156
|
- - ~>
|
@@ -141,8 +159,9 @@ dependencies:
|
|
141
159
|
- !ruby/object:Gem::Dependency
|
142
160
|
name: rails_best_practices
|
143
161
|
requirement: !ruby/object:Gem::Requirement
|
162
|
+
none: false
|
144
163
|
requirements:
|
145
|
-
- - '>='
|
164
|
+
- - ! '>='
|
146
165
|
- !ruby/object:Gem::Version
|
147
166
|
version: 1.14.3
|
148
167
|
- - ~>
|
@@ -151,8 +170,9 @@ dependencies:
|
|
151
170
|
type: :runtime
|
152
171
|
prerelease: false
|
153
172
|
version_requirements: !ruby/object:Gem::Requirement
|
173
|
+
none: false
|
154
174
|
requirements:
|
155
|
-
- - '>='
|
175
|
+
- - ! '>='
|
156
176
|
- !ruby/object:Gem::Version
|
157
177
|
version: 1.14.3
|
158
178
|
- - ~>
|
@@ -161,20 +181,23 @@ dependencies:
|
|
161
181
|
- !ruby/object:Gem::Dependency
|
162
182
|
name: metric_fu-Saikuro
|
163
183
|
requirement: !ruby/object:Gem::Requirement
|
184
|
+
none: false
|
164
185
|
requirements:
|
165
|
-
- - '>='
|
186
|
+
- - ! '>='
|
166
187
|
- !ruby/object:Gem::Version
|
167
188
|
version: 1.1.1.0
|
168
189
|
type: :runtime
|
169
190
|
prerelease: false
|
170
191
|
version_requirements: !ruby/object:Gem::Requirement
|
192
|
+
none: false
|
171
193
|
requirements:
|
172
|
-
- - '>='
|
194
|
+
- - ! '>='
|
173
195
|
- !ruby/object:Gem::Version
|
174
196
|
version: 1.1.1.0
|
175
197
|
- !ruby/object:Gem::Dependency
|
176
198
|
name: roodi
|
177
199
|
requirement: !ruby/object:Gem::Requirement
|
200
|
+
none: false
|
178
201
|
requirements:
|
179
202
|
- - ~>
|
180
203
|
- !ruby/object:Gem::Version
|
@@ -182,6 +205,7 @@ dependencies:
|
|
182
205
|
type: :runtime
|
183
206
|
prerelease: false
|
184
207
|
version_requirements: !ruby/object:Gem::Requirement
|
208
|
+
none: false
|
185
209
|
requirements:
|
186
210
|
- - ~>
|
187
211
|
- !ruby/object:Gem::Version
|
@@ -189,6 +213,7 @@ dependencies:
|
|
189
213
|
- !ruby/object:Gem::Dependency
|
190
214
|
name: code_metrics
|
191
215
|
requirement: !ruby/object:Gem::Requirement
|
216
|
+
none: false
|
192
217
|
requirements:
|
193
218
|
- - ~>
|
194
219
|
- !ruby/object:Gem::Version
|
@@ -196,6 +221,7 @@ dependencies:
|
|
196
221
|
type: :runtime
|
197
222
|
prerelease: false
|
198
223
|
version_requirements: !ruby/object:Gem::Requirement
|
224
|
+
none: false
|
199
225
|
requirements:
|
200
226
|
- - ~>
|
201
227
|
- !ruby/object:Gem::Version
|
@@ -203,43 +229,81 @@ dependencies:
|
|
203
229
|
- !ruby/object:Gem::Dependency
|
204
230
|
name: redcard
|
205
231
|
requirement: !ruby/object:Gem::Requirement
|
232
|
+
none: false
|
206
233
|
requirements:
|
207
|
-
- - '>='
|
234
|
+
- - ! '>='
|
208
235
|
- !ruby/object:Gem::Version
|
209
236
|
version: '0'
|
210
237
|
type: :runtime
|
211
238
|
prerelease: false
|
212
239
|
version_requirements: !ruby/object:Gem::Requirement
|
240
|
+
none: false
|
213
241
|
requirements:
|
214
|
-
- - '>='
|
242
|
+
- - ! '>='
|
215
243
|
- !ruby/object:Gem::Version
|
216
244
|
version: '0'
|
217
245
|
- !ruby/object:Gem::Dependency
|
218
246
|
name: coderay
|
219
247
|
requirement: !ruby/object:Gem::Requirement
|
248
|
+
none: false
|
220
249
|
requirements:
|
221
|
-
- - '>='
|
250
|
+
- - ! '>='
|
222
251
|
- !ruby/object:Gem::Version
|
223
252
|
version: '0'
|
224
253
|
type: :runtime
|
225
254
|
prerelease: false
|
226
255
|
version_requirements: !ruby/object:Gem::Requirement
|
256
|
+
none: false
|
227
257
|
requirements:
|
228
|
-
- - '>='
|
258
|
+
- - ! '>='
|
229
259
|
- !ruby/object:Gem::Version
|
230
260
|
version: '0'
|
231
261
|
- !ruby/object:Gem::Dependency
|
232
262
|
name: multi_json
|
233
263
|
requirement: !ruby/object:Gem::Requirement
|
264
|
+
none: false
|
234
265
|
requirements:
|
235
|
-
- - '>='
|
266
|
+
- - ! '>='
|
236
267
|
- !ruby/object:Gem::Version
|
237
268
|
version: '0'
|
238
269
|
type: :runtime
|
239
270
|
prerelease: false
|
240
271
|
version_requirements: !ruby/object:Gem::Requirement
|
272
|
+
none: false
|
241
273
|
requirements:
|
242
|
-
- - '>='
|
274
|
+
- - ! '>='
|
275
|
+
- !ruby/object:Gem::Version
|
276
|
+
version: '0'
|
277
|
+
- !ruby/object:Gem::Dependency
|
278
|
+
name: test_construct
|
279
|
+
requirement: !ruby/object:Gem::Requirement
|
280
|
+
none: false
|
281
|
+
requirements:
|
282
|
+
- - ! '>='
|
283
|
+
- !ruby/object:Gem::Version
|
284
|
+
version: '0'
|
285
|
+
type: :development
|
286
|
+
prerelease: false
|
287
|
+
version_requirements: !ruby/object:Gem::Requirement
|
288
|
+
none: false
|
289
|
+
requirements:
|
290
|
+
- - ! '>='
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '0'
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: json
|
295
|
+
requirement: !ruby/object:Gem::Requirement
|
296
|
+
none: false
|
297
|
+
requirements:
|
298
|
+
- - ! '>='
|
299
|
+
- !ruby/object:Gem::Version
|
300
|
+
version: '0'
|
301
|
+
type: :development
|
302
|
+
prerelease: false
|
303
|
+
version_requirements: !ruby/object:Gem::Requirement
|
304
|
+
none: false
|
305
|
+
requirements:
|
306
|
+
- - ! '>='
|
243
307
|
- !ruby/object:Gem::Version
|
244
308
|
version: '0'
|
245
309
|
description: Code metrics from Flog, Flay, Saikuro, Churn, Reek, Roodi, Code Statistics,
|
@@ -297,6 +361,7 @@ files:
|
|
297
361
|
- checksum/metric_fu-4.5.0.gem.sha512
|
298
362
|
- checksum/metric_fu-4.5.1.gem.sha512
|
299
363
|
- checksum/metric_fu-4.5.2.gem.sha512
|
364
|
+
- checksum/metric_fu-4.6.0.gem.sha512
|
300
365
|
- config/roodi_config.yml
|
301
366
|
- gem_tasks/build.rake
|
302
367
|
- gemfiles/Gemfile.travis
|
@@ -314,12 +379,11 @@ files:
|
|
314
379
|
- lib/metric_fu/errors/analysis_error.rb
|
315
380
|
- lib/metric_fu/formatter.rb
|
316
381
|
- lib/metric_fu/formatter/html.rb
|
382
|
+
- lib/metric_fu/formatter/syntax.rb
|
317
383
|
- lib/metric_fu/formatter/yaml.rb
|
318
384
|
- lib/metric_fu/gem_run.rb
|
319
385
|
- lib/metric_fu/gem_version.rb
|
320
|
-
- lib/metric_fu/initial_requires.rb
|
321
386
|
- lib/metric_fu/io.rb
|
322
|
-
- lib/metric_fu/load_files.rb
|
323
387
|
- lib/metric_fu/loader.rb
|
324
388
|
- lib/metric_fu/logging/mf_debugger.rb
|
325
389
|
- lib/metric_fu/metric.rb
|
@@ -395,13 +459,6 @@ files:
|
|
395
459
|
- lib/metric_fu/reporting/graphs/grapher.rb
|
396
460
|
- lib/metric_fu/reporting/result.rb
|
397
461
|
- lib/metric_fu/reporting/templates/awesome/awesome_template.rb
|
398
|
-
- lib/metric_fu/reporting/templates/awesome/css/bluff.css
|
399
|
-
- lib/metric_fu/reporting/templates/awesome/css/buttons.css
|
400
|
-
- lib/metric_fu/reporting/templates/awesome/css/default.css
|
401
|
-
- lib/metric_fu/reporting/templates/awesome/css/integrity.css
|
402
|
-
- lib/metric_fu/reporting/templates/awesome/css/rcov.css
|
403
|
-
- lib/metric_fu/reporting/templates/awesome/css/reset.css
|
404
|
-
- lib/metric_fu/reporting/templates/awesome/css/syntax.css
|
405
462
|
- lib/metric_fu/reporting/templates/awesome/index.html.erb
|
406
463
|
- lib/metric_fu/reporting/templates/awesome/layout.html.erb
|
407
464
|
- lib/metric_fu/reporting/templates/javascripts/bluff-min.js
|
@@ -410,6 +467,15 @@ files:
|
|
410
467
|
- lib/metric_fu/run.rb
|
411
468
|
- lib/metric_fu/tasks/metric_fu.rake
|
412
469
|
- lib/metric_fu/templates/configuration.rb
|
470
|
+
- lib/metric_fu/templates/css/bluff.css
|
471
|
+
- lib/metric_fu/templates/css/buttons.css
|
472
|
+
- lib/metric_fu/templates/css/default.css
|
473
|
+
- lib/metric_fu/templates/css/integrity.css
|
474
|
+
- lib/metric_fu/templates/css/rcov.css
|
475
|
+
- lib/metric_fu/templates/css/reset.css
|
476
|
+
- lib/metric_fu/templates/css/syntax.css
|
477
|
+
- lib/metric_fu/templates/report.html.erb
|
478
|
+
- lib/metric_fu/templates/report.rb
|
413
479
|
- lib/metric_fu/utility.rb
|
414
480
|
- lib/metric_fu/version.rb
|
415
481
|
- metric_fu.gemspec
|
@@ -492,7 +558,6 @@ files:
|
|
492
558
|
homepage: https://github.com/metricfu/metric_fu
|
493
559
|
licenses:
|
494
560
|
- MIT
|
495
|
-
metadata: {}
|
496
561
|
post_install_message:
|
497
562
|
rdoc_options:
|
498
563
|
- --main
|
@@ -500,20 +565,22 @@ rdoc_options:
|
|
500
565
|
require_paths:
|
501
566
|
- lib
|
502
567
|
required_ruby_version: !ruby/object:Gem::Requirement
|
568
|
+
none: false
|
503
569
|
requirements:
|
504
|
-
- - '>='
|
570
|
+
- - ! '>='
|
505
571
|
- !ruby/object:Gem::Version
|
506
572
|
version: 1.9.0
|
507
573
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
574
|
+
none: false
|
508
575
|
requirements:
|
509
|
-
- - '>='
|
576
|
+
- - ! '>='
|
510
577
|
- !ruby/object:Gem::Version
|
511
578
|
version: 1.3.6
|
512
579
|
requirements: []
|
513
580
|
rubyforge_project: metric_fu
|
514
|
-
rubygems_version:
|
581
|
+
rubygems_version: 1.8.23
|
515
582
|
signing_key:
|
516
|
-
specification_version:
|
583
|
+
specification_version: 3
|
517
584
|
summary: A fistful of code metrics, with awesome templates and graphs
|
518
585
|
test_files:
|
519
586
|
- spec/cli/helper_spec.rb
|
metadata.gz.sig
CHANGED
Binary file
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: d03acf0e261d588a802cd44d3f777942d397844b
|
4
|
-
data.tar.gz: 8cb84875a028571b062d807aa91a3f53a2ba2097
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: cb45ff86efe04d805e5cd6f5effda3ea34efe76209146b9806a1de16ff2a52132da389c31d3302c2e042dc77f8693ea3a09d2bed3a1a1c47aaa805a9260888d0
|
7
|
-
data.tar.gz: 4fb34d3006988447c3b3568980296f236622a3cee744b72f2843bf31aed81e17b21ded0ec7b6f8293cc112df1a6393b347f7461c76d96beff6a8b2dc34cb337b
|
checksums.yaml.gz.sig
DELETED
Binary file
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# rake is required for
|
2
|
-
# Rcov : FileList
|
3
|
-
# loading metric_fu.rake
|
4
|
-
require 'rake'
|
5
|
-
|
6
|
-
require 'yaml'
|
7
|
-
require 'redcard'
|
8
|
-
require 'multi_json'
|
9
|
-
|
10
|
-
MetricFu.configure
|
11
|
-
MetricFu.logging_require { 'mf_debugger' }
|
12
|
-
include MfDebugger
|
13
|
-
MfDebugger::Logger.debug_on = !!(ENV['MF_DEBUG'] =~ /true/i)
|
data/lib/metric_fu/load_files.rb
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
# require these first because others depend on them
|
2
|
-
MetricFu.reporting_require { 'result' }
|
3
|
-
MetricFu.metrics_require { 'hotspots/hotspot' }
|
4
|
-
MetricFu.metrics_require { 'generator' }
|
5
|
-
MetricFu.metrics_require { 'graph' }
|
6
|
-
MetricFu.reporting_require { 'graphs/grapher' }
|
7
|
-
MetricFu.metrics_require { 'hotspots/analysis/scoring_strategies' }
|
8
|
-
|
9
|
-
Dir.glob(File.join(MetricFu.lib_dir, '*.rb')).
|
10
|
-
reject{|file| file =~ /#{__FILE__}|ext.rb/}.
|
11
|
-
each do |file|
|
12
|
-
require file
|
13
|
-
end
|
14
|
-
|
15
|
-
MetricFu.load_tasks('metric_fu.rake', task_name: 'metrics:all')
|
16
|
-
|
17
|
-
Dir.glob(File.join(MetricFu.data_structures_dir, '**/*.rb')).each do |file|
|
18
|
-
require file
|
19
|
-
end
|
20
|
-
Dir.glob(File.join(MetricFu.logging_dir, '**/*.rb')).each do |file|
|
21
|
-
require file
|
22
|
-
end
|
23
|
-
Dir.glob(File.join(MetricFu.errors_dir, '**/*.rb')).each do |file|
|
24
|
-
require file
|
25
|
-
end
|
26
|
-
Dir.glob(File.join(MetricFu.metrics_dir, '**/*.rb')).each do |file|
|
27
|
-
require(file) unless file =~ /init.rb/
|
28
|
-
end
|
29
|
-
Dir.glob(File.join(MetricFu.reporting_dir, '**/*.rb')).each do |file|
|
30
|
-
require file
|
31
|
-
end
|
32
|
-
Dir.glob(File.join(MetricFu.formatter_dir, '**/*.rb')).each do |file|
|
33
|
-
require file
|
34
|
-
end
|