metric_fu 2.1.3.4 → 2.1.3.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -66,7 +66,7 @@ END
66
66
 
67
67
  it "should return yaml results" do
68
68
  hotspots = MetricFu::Hotspots.new
69
- analyzer = MetricAnalyzer.new(@yaml)
69
+ analyzer = HotspotAnalyzer.new(@yaml)
70
70
  hotspots.instance_variable_set(:@analyzer, analyzer)
71
71
  result = hotspots.analyze
72
72
  expected = JSON.parse("{\"methods\":[{\"location\":{\"class_name\":\"Client\",\"method_name\":\"Client#client_requested_sync\",\"file_path\":\"lib/client/client.rb\",\"hash\":7919384682,\"simple_method_name\":\"#client_requested_sync\"},\"details\":{\"reek\":\"found 1 code smells\",\"flog\":\"complexity is 37.9\"}}],\"classes\":[{\"location\":{\"class_name\":\"Client\",\"method_name\":null,\"file_path\":\"lib/client/client.rb\",\"hash\":7995629750},\"details\":{\"reek\":\"found 2 code smells\",\"flog\":\"complexity is 37.9\"}}],\"files\":[{\"location\":{\"class_name\":null,\"method_name\":null,\"file_path\":\"lib/client/client.rb\",\"hash\":-5738801681},\"details\":{\"reek\":\"found 2 code smells\",\"flog\":\"complexity is 37.9\",\"churn\":\"detected high level of churn (changed 54 times)\"}},{\"location\":{\"class_name\":null,\"method_name\":null,\"file_path\":\"lib/client/foo.rb\",\"hash\":-7081271905},\"details\":{\"churn\":\"detected high level of churn (changed 52 times)\"}}]}")
@@ -75,7 +75,7 @@ END
75
75
 
76
76
  it "should put the changes into a hash" do
77
77
  hotspots = MetricFu::Hotspots.new
78
- analyzer = MetricAnalyzer.new(@yaml)
78
+ analyzer = HotspotAnalyzer.new(@yaml)
79
79
  hotspots.instance_variable_set(:@analyzer, analyzer)
80
80
  hotspots.analyze
81
81
  expected = JSON.parse("{\"methods\":[{\"location\":{\"class_name\":\"Client\",\"method_name\":\"Client#client_requested_sync\",\"file_path\":\"lib/client/client.rb\",\"hash\":7919384682,\"simple_method_name\":\"#client_requested_sync\"},\"details\":{\"reek\":\"found 1 code smells\",\"flog\":\"complexity is 37.9\"}}],\"classes\":[{\"location\":{\"class_name\":\"Client\",\"method_name\":null,\"file_path\":\"lib/client/client.rb\",\"hash\":7995629750},\"details\":{\"reek\":\"found 2 code smells\",\"flog\":\"complexity is 37.9\"}}],\"files\":[{\"location\":{\"class_name\":null,\"method_name\":null,\"file_path\":\"lib/client/client.rb\",\"hash\":-5738801681},\"details\":{\"reek\":\"found 2 code smells\",\"flog\":\"complexity is 37.9\",\"churn\":\"detected high level of churn (changed 54 times)\"}},{\"location\":{\"class_name\":null,\"method_name\":null,\"file_path\":\"lib/client/foo.rb\",\"hash\":-7081271905},\"details\":{\"churn\":\"detected high level of churn (changed 52 times)\"}}]}")
metadata CHANGED
@@ -1,17 +1,23 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: metric_fu
3
- version: !ruby/object:Gem::Version
4
- version: 2.1.3.4
3
+ version: !ruby/object:Gem::Version
4
+ hash: 97
5
5
  prerelease:
6
+ segments:
7
+ - 2
8
+ - 1
9
+ - 3
10
+ - 5
11
+ version: 2.1.3.5
6
12
  platform: ruby
7
- authors:
13
+ authors:
8
14
  - Jake Scruggs
9
15
  - Sean Soper
10
16
  - Andre Arko
11
17
  - Petrik de Heus
12
18
  - Grant McInnes
13
19
  - Nick Quaranto
14
- - Édouard Brière
20
+ - "\xC3\x89douard Bri\xC3\xA8re"
15
21
  - Carl Youngblood
16
22
  - Richard Huang
17
23
  - Dan Mayer
@@ -19,372 +25,380 @@ authors:
19
25
  autorequire:
20
26
  bindir: bin
21
27
  cert_chain: []
22
- date: 2012-12-28 00:00:00.000000000 Z
23
- dependencies:
24
- - !ruby/object:Gem::Dependency
25
- name: flay
26
- requirement: !ruby/object:Gem::Requirement
27
- none: false
28
- requirements:
29
- - - '='
30
- - !ruby/object:Gem::Version
31
- version: 1.2.1
32
- type: :runtime
28
+
29
+ date: 2013-01-02 00:00:00 Z
30
+ dependencies:
31
+ - !ruby/object:Gem::Dependency
32
+ name: bluff
33
33
  prerelease: false
34
- version_requirements: !ruby/object:Gem::Requirement
35
- none: false
36
- requirements:
37
- - - '='
38
- - !ruby/object:Gem::Version
39
- version: 1.2.1
40
- - !ruby/object:Gem::Dependency
41
- name: flog
42
- requirement: !ruby/object:Gem::Requirement
43
- none: false
44
- requirements:
45
- - - '='
46
- - !ruby/object:Gem::Version
47
- version: 2.3.0
34
+ requirement: &id001 !ruby/object:Gem::Requirement
35
+ none: false
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ hash: 3
40
+ segments:
41
+ - 0
42
+ version: "0"
48
43
  type: :runtime
44
+ version_requirements: *id001
45
+ - !ruby/object:Gem::Dependency
46
+ name: map
49
47
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- none: false
52
- requirements:
53
- - - '='
54
- - !ruby/object:Gem::Version
55
- version: 2.3.0
56
- - !ruby/object:Gem::Dependency
57
- name: reek
58
- requirement: !ruby/object:Gem::Requirement
59
- none: false
60
- requirements:
61
- - - '='
62
- - !ruby/object:Gem::Version
63
- version: 1.2.12
48
+ requirement: &id002 !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - "="
52
+ - !ruby/object:Gem::Version
53
+ hash: 39
54
+ segments:
55
+ - 6
56
+ - 2
57
+ - 0
58
+ version: 6.2.0
64
59
  type: :runtime
60
+ version_requirements: *id002
61
+ - !ruby/object:Gem::Dependency
62
+ name: activesupport
65
63
  prerelease: false
66
- version_requirements: !ruby/object:Gem::Requirement
67
- none: false
68
- requirements:
69
- - - '='
70
- - !ruby/object:Gem::Version
71
- version: 1.2.12
72
- - !ruby/object:Gem::Dependency
73
- name: roodi
74
- requirement: !ruby/object:Gem::Requirement
75
- none: false
76
- requirements:
77
- - - '='
78
- - !ruby/object:Gem::Version
79
- version: 2.1.0
64
+ requirement: &id003 !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ hash: 15
70
+ segments:
71
+ - 2
72
+ - 0
73
+ - 0
74
+ version: 2.0.0
80
75
  type: :runtime
76
+ version_requirements: *id003
77
+ - !ruby/object:Gem::Dependency
78
+ name: main
81
79
  prerelease: false
82
- version_requirements: !ruby/object:Gem::Requirement
83
- none: false
84
- requirements:
85
- - - '='
86
- - !ruby/object:Gem::Version
87
- version: 2.1.0
88
- - !ruby/object:Gem::Dependency
89
- name: rails_best_practices
90
- requirement: !ruby/object:Gem::Requirement
91
- none: false
92
- requirements:
93
- - - ~>
94
- - !ruby/object:Gem::Version
95
- version: '0.6'
80
+ requirement: &id004 !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - "="
84
+ - !ruby/object:Gem::Version
85
+ hash: 33
86
+ segments:
87
+ - 4
88
+ - 7
89
+ - 1
90
+ version: 4.7.1
96
91
  type: :runtime
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- none: false
100
- requirements:
101
- - - ~>
102
- - !ruby/object:Gem::Version
103
- version: '0.6'
104
- - !ruby/object:Gem::Dependency
92
+ version_requirements: *id004
93
+ - !ruby/object:Gem::Dependency
105
94
  name: churn
106
- requirement: !ruby/object:Gem::Requirement
107
- none: false
108
- requirements:
109
- - - '='
110
- - !ruby/object:Gem::Version
111
- version: 0.0.7
112
- type: :runtime
113
95
  prerelease: false
114
- version_requirements: !ruby/object:Gem::Requirement
115
- none: false
116
- requirements:
117
- - - '='
118
- - !ruby/object:Gem::Version
96
+ requirement: &id005 !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - "="
100
+ - !ruby/object:Gem::Version
101
+ hash: 17
102
+ segments:
103
+ - 0
104
+ - 0
105
+ - 7
119
106
  version: 0.0.7
120
- - !ruby/object:Gem::Dependency
121
- name: sexp_processor
122
- requirement: !ruby/object:Gem::Requirement
123
- none: false
124
- requirements:
125
- - - ~>
126
- - !ruby/object:Gem::Version
127
- version: 3.0.3
128
107
  type: :runtime
108
+ version_requirements: *id005
109
+ - !ruby/object:Gem::Dependency
110
+ name: rails_best_practices
129
111
  prerelease: false
130
- version_requirements: !ruby/object:Gem::Requirement
112
+ requirement: &id006 !ruby/object:Gem::Requirement
131
113
  none: false
132
- requirements:
114
+ requirements:
133
115
  - - ~>
134
- - !ruby/object:Gem::Version
135
- version: 3.0.3
136
- - !ruby/object:Gem::Dependency
137
- name: chronic
138
- requirement: !ruby/object:Gem::Requirement
139
- none: false
140
- requirements:
141
- - - '='
142
- - !ruby/object:Gem::Version
143
- version: 0.2.3
116
+ - !ruby/object:Gem::Version
117
+ hash: 7
118
+ segments:
119
+ - 0
120
+ - 6
121
+ version: "0.6"
144
122
  type: :runtime
123
+ version_requirements: *id006
124
+ - !ruby/object:Gem::Dependency
125
+ name: roodi
145
126
  prerelease: false
146
- version_requirements: !ruby/object:Gem::Requirement
147
- none: false
148
- requirements:
149
- - - '='
150
- - !ruby/object:Gem::Version
151
- version: 0.2.3
152
- - !ruby/object:Gem::Dependency
153
- name: main
154
- requirement: !ruby/object:Gem::Requirement
155
- none: false
156
- requirements:
157
- - - '='
158
- - !ruby/object:Gem::Version
159
- version: 4.7.1
127
+ requirement: &id007 !ruby/object:Gem::Requirement
128
+ none: false
129
+ requirements:
130
+ - - "="
131
+ - !ruby/object:Gem::Version
132
+ hash: 11
133
+ segments:
134
+ - 2
135
+ - 1
136
+ - 0
137
+ version: 2.1.0
160
138
  type: :runtime
139
+ version_requirements: *id007
140
+ - !ruby/object:Gem::Dependency
141
+ name: googlecharts
161
142
  prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- none: false
164
- requirements:
165
- - - '='
166
- - !ruby/object:Gem::Version
167
- version: 4.7.1
168
- - !ruby/object:Gem::Dependency
169
- name: activesupport
170
- requirement: !ruby/object:Gem::Requirement
171
- none: false
172
- requirements:
173
- - - ! '>='
174
- - !ruby/object:Gem::Version
175
- version: 2.0.0
143
+ requirement: &id008 !ruby/object:Gem::Requirement
144
+ none: false
145
+ requirements:
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ hash: 3
149
+ segments:
150
+ - 0
151
+ version: "0"
176
152
  type: :runtime
153
+ version_requirements: *id008
154
+ - !ruby/object:Gem::Dependency
155
+ name: chronic
177
156
  prerelease: false
178
- version_requirements: !ruby/object:Gem::Requirement
179
- none: false
180
- requirements:
181
- - - ! '>='
182
- - !ruby/object:Gem::Version
183
- version: 2.0.0
184
- - !ruby/object:Gem::Dependency
185
- name: coderay
186
- requirement: !ruby/object:Gem::Requirement
187
- none: false
188
- requirements:
189
- - - ! '>='
190
- - !ruby/object:Gem::Version
191
- version: '0'
157
+ requirement: &id009 !ruby/object:Gem::Requirement
158
+ none: false
159
+ requirements:
160
+ - - "="
161
+ - !ruby/object:Gem::Version
162
+ hash: 17
163
+ segments:
164
+ - 0
165
+ - 2
166
+ - 3
167
+ version: 0.2.3
192
168
  type: :runtime
169
+ version_requirements: *id009
170
+ - !ruby/object:Gem::Dependency
171
+ name: flay
193
172
  prerelease: false
194
- version_requirements: !ruby/object:Gem::Requirement
195
- none: false
196
- requirements:
197
- - - ! '>='
198
- - !ruby/object:Gem::Version
199
- version: '0'
200
- - !ruby/object:Gem::Dependency
173
+ requirement: &id010 !ruby/object:Gem::Requirement
174
+ none: false
175
+ requirements:
176
+ - - "="
177
+ - !ruby/object:Gem::Version
178
+ hash: 29
179
+ segments:
180
+ - 1
181
+ - 2
182
+ - 1
183
+ version: 1.2.1
184
+ type: :runtime
185
+ version_requirements: *id010
186
+ - !ruby/object:Gem::Dependency
201
187
  name: fattr
202
- requirement: !ruby/object:Gem::Requirement
203
- none: false
204
- requirements:
205
- - - '='
206
- - !ruby/object:Gem::Version
188
+ prerelease: false
189
+ requirement: &id011 !ruby/object:Gem::Requirement
190
+ none: false
191
+ requirements:
192
+ - - "="
193
+ - !ruby/object:Gem::Version
194
+ hash: 5
195
+ segments:
196
+ - 2
197
+ - 2
198
+ - 1
207
199
  version: 2.2.1
208
200
  type: :runtime
201
+ version_requirements: *id011
202
+ - !ruby/object:Gem::Dependency
203
+ name: flog
209
204
  prerelease: false
210
- version_requirements: !ruby/object:Gem::Requirement
211
- none: false
212
- requirements:
213
- - - '='
214
- - !ruby/object:Gem::Version
215
- version: 2.2.1
216
- - !ruby/object:Gem::Dependency
205
+ requirement: &id012 !ruby/object:Gem::Requirement
206
+ none: false
207
+ requirements:
208
+ - - "="
209
+ - !ruby/object:Gem::Version
210
+ hash: 3
211
+ segments:
212
+ - 2
213
+ - 3
214
+ - 0
215
+ version: 2.3.0
216
+ type: :runtime
217
+ version_requirements: *id012
218
+ - !ruby/object:Gem::Dependency
217
219
  name: arrayfields
218
- requirement: !ruby/object:Gem::Requirement
219
- none: false
220
- requirements:
221
- - - '='
222
- - !ruby/object:Gem::Version
220
+ prerelease: false
221
+ requirement: &id013 !ruby/object:Gem::Requirement
222
+ none: false
223
+ requirements:
224
+ - - "="
225
+ - !ruby/object:Gem::Version
226
+ hash: 43
227
+ segments:
228
+ - 4
229
+ - 7
230
+ - 4
223
231
  version: 4.7.4
224
232
  type: :runtime
233
+ version_requirements: *id013
234
+ - !ruby/object:Gem::Dependency
235
+ name: coderay
225
236
  prerelease: false
226
- version_requirements: !ruby/object:Gem::Requirement
227
- none: false
228
- requirements:
229
- - - '='
230
- - !ruby/object:Gem::Version
231
- version: 4.7.4
232
- - !ruby/object:Gem::Dependency
233
- name: map
234
- requirement: !ruby/object:Gem::Requirement
235
- none: false
236
- requirements:
237
- - - '='
238
- - !ruby/object:Gem::Version
239
- version: 6.2.0
237
+ requirement: &id014 !ruby/object:Gem::Requirement
238
+ none: false
239
+ requirements:
240
+ - - ">="
241
+ - !ruby/object:Gem::Version
242
+ hash: 3
243
+ segments:
244
+ - 0
245
+ version: "0"
240
246
  type: :runtime
247
+ version_requirements: *id014
248
+ - !ruby/object:Gem::Dependency
249
+ name: sexp_processor
241
250
  prerelease: false
242
- version_requirements: !ruby/object:Gem::Requirement
251
+ requirement: &id015 !ruby/object:Gem::Requirement
243
252
  none: false
244
- requirements:
245
- - - '='
246
- - !ruby/object:Gem::Version
247
- version: 6.2.0
248
- - !ruby/object:Gem::Dependency
249
- name: bluff
250
- requirement: !ruby/object:Gem::Requirement
251
- none: false
252
- requirements:
253
- - - ! '>='
254
- - !ruby/object:Gem::Version
255
- version: '0'
253
+ requirements:
254
+ - - ~>
255
+ - !ruby/object:Gem::Version
256
+ hash: 1
257
+ segments:
258
+ - 3
259
+ - 0
260
+ - 3
261
+ version: 3.0.3
256
262
  type: :runtime
263
+ version_requirements: *id015
264
+ - !ruby/object:Gem::Dependency
265
+ name: reek
257
266
  prerelease: false
258
- version_requirements: !ruby/object:Gem::Requirement
259
- none: false
260
- requirements:
261
- - - ! '>='
262
- - !ruby/object:Gem::Version
263
- version: '0'
264
- - !ruby/object:Gem::Dependency
265
- name: googlecharts
266
- requirement: !ruby/object:Gem::Requirement
267
- none: false
268
- requirements:
269
- - - ! '>='
270
- - !ruby/object:Gem::Version
271
- version: '0'
267
+ requirement: &id016 !ruby/object:Gem::Requirement
268
+ none: false
269
+ requirements:
270
+ - - "="
271
+ - !ruby/object:Gem::Version
272
+ hash: 7
273
+ segments:
274
+ - 1
275
+ - 2
276
+ - 12
277
+ version: 1.2.12
272
278
  type: :runtime
279
+ version_requirements: *id016
280
+ - !ruby/object:Gem::Dependency
281
+ name: ripper
273
282
  prerelease: false
274
- version_requirements: !ruby/object:Gem::Requirement
275
- none: false
276
- requirements:
277
- - - ! '>='
278
- - !ruby/object:Gem::Version
279
- version: '0'
280
- - !ruby/object:Gem::Dependency
281
- name: rcov
282
- requirement: !ruby/object:Gem::Requirement
283
- none: false
284
- requirements:
285
- - - ~>
286
- - !ruby/object:Gem::Version
287
- version: '0.8'
283
+ requirement: &id017 !ruby/object:Gem::Requirement
284
+ none: false
285
+ requirements:
286
+ - - "="
287
+ - !ruby/object:Gem::Version
288
+ hash: 29
289
+ segments:
290
+ - 1
291
+ - 0
292
+ - 5
293
+ version: 1.0.5
288
294
  type: :runtime
295
+ version_requirements: *id017
296
+ - !ruby/object:Gem::Dependency
297
+ name: rcov
289
298
  prerelease: false
290
- version_requirements: !ruby/object:Gem::Requirement
299
+ requirement: &id018 !ruby/object:Gem::Requirement
291
300
  none: false
292
- requirements:
301
+ requirements:
293
302
  - - ~>
294
- - !ruby/object:Gem::Version
295
- version: '0.8'
296
- - !ruby/object:Gem::Dependency
297
- name: japgolly-Saikuro
298
- requirement: !ruby/object:Gem::Requirement
299
- none: false
300
- requirements:
301
- - - ! '>='
302
- - !ruby/object:Gem::Version
303
- version: 1.1.1.0
303
+ - !ruby/object:Gem::Version
304
+ hash: 27
305
+ segments:
306
+ - 0
307
+ - 8
308
+ version: "0.8"
304
309
  type: :runtime
310
+ version_requirements: *id018
311
+ - !ruby/object:Gem::Dependency
312
+ name: Saikuro
305
313
  prerelease: false
306
- version_requirements: !ruby/object:Gem::Requirement
307
- none: false
308
- requirements:
309
- - - ! '>='
310
- - !ruby/object:Gem::Version
311
- version: 1.1.1.0
312
- - !ruby/object:Gem::Dependency
314
+ requirement: &id019 !ruby/object:Gem::Requirement
315
+ none: false
316
+ requirements:
317
+ - - "="
318
+ - !ruby/object:Gem::Version
319
+ hash: 19
320
+ segments:
321
+ - 1
322
+ - 1
323
+ - 0
324
+ version: 1.1.0
325
+ type: :runtime
326
+ version_requirements: *id019
327
+ - !ruby/object:Gem::Dependency
313
328
  name: rake
314
- requirement: !ruby/object:Gem::Requirement
315
- none: false
316
- requirements:
317
- - - <=
318
- - !ruby/object:Gem::Version
319
- version: 0.9.2
320
- type: :development
321
329
  prerelease: false
322
- version_requirements: !ruby/object:Gem::Requirement
330
+ requirement: &id020 !ruby/object:Gem::Requirement
323
331
  none: false
324
- requirements:
332
+ requirements:
325
333
  - - <=
326
- - !ruby/object:Gem::Version
334
+ - !ruby/object:Gem::Version
335
+ hash: 63
336
+ segments:
337
+ - 0
338
+ - 9
339
+ - 2
327
340
  version: 0.9.2
328
- - !ruby/object:Gem::Dependency
329
- name: rspec
330
- requirement: !ruby/object:Gem::Requirement
331
- none: false
332
- requirements:
333
- - - '='
334
- - !ruby/object:Gem::Version
335
- version: 1.3.0
336
341
  type: :development
342
+ version_requirements: *id020
343
+ - !ruby/object:Gem::Dependency
344
+ name: rspec
337
345
  prerelease: false
338
- version_requirements: !ruby/object:Gem::Requirement
339
- none: false
340
- requirements:
341
- - - '='
342
- - !ruby/object:Gem::Version
346
+ requirement: &id021 !ruby/object:Gem::Requirement
347
+ none: false
348
+ requirements:
349
+ - - "="
350
+ - !ruby/object:Gem::Version
351
+ hash: 27
352
+ segments:
353
+ - 1
354
+ - 3
355
+ - 0
343
356
  version: 1.3.0
344
- - !ruby/object:Gem::Dependency
345
- name: test-construct
346
- requirement: !ruby/object:Gem::Requirement
347
- none: false
348
- requirements:
349
- - - ! '>='
350
- - !ruby/object:Gem::Version
351
- version: 1.2.0
352
357
  type: :development
358
+ version_requirements: *id021
359
+ - !ruby/object:Gem::Dependency
360
+ name: test-construct
353
361
  prerelease: false
354
- version_requirements: !ruby/object:Gem::Requirement
355
- none: false
356
- requirements:
357
- - - ! '>='
358
- - !ruby/object:Gem::Version
362
+ requirement: &id022 !ruby/object:Gem::Requirement
363
+ none: false
364
+ requirements:
365
+ - - ">="
366
+ - !ruby/object:Gem::Version
367
+ hash: 31
368
+ segments:
369
+ - 1
370
+ - 2
371
+ - 0
359
372
  version: 1.2.0
360
- - !ruby/object:Gem::Dependency
361
- name: googlecharts
362
- requirement: !ruby/object:Gem::Requirement
363
- none: false
364
- requirements:
365
- - - ! '>='
366
- - !ruby/object:Gem::Version
367
- version: '0'
368
373
  type: :development
374
+ version_requirements: *id022
375
+ - !ruby/object:Gem::Dependency
376
+ name: googlecharts
369
377
  prerelease: false
370
- version_requirements: !ruby/object:Gem::Requirement
371
- none: false
372
- requirements:
373
- - - ! '>='
374
- - !ruby/object:Gem::Version
375
- version: '0'
376
- description: Code metrics from Flog, Flay, Simplecov-RCov, Saikuro, Churn, Reek, Roodi,
377
- Rails' stats task and Rails Best Practices
378
+ requirement: &id023 !ruby/object:Gem::Requirement
379
+ none: false
380
+ requirements:
381
+ - - ">="
382
+ - !ruby/object:Gem::Version
383
+ hash: 3
384
+ segments:
385
+ - 0
386
+ version: "0"
387
+ type: :development
388
+ version_requirements: *id023
389
+ description: Code metrics from Flog, Flay, Simplecov-RCov, Saikuro, Churn, Reek, Roodi, Rails' stats task and Rails Best Practices
378
390
  email: github@benjaminfleischer.com
379
- executables:
391
+ executables:
380
392
  - metric_fu
381
393
  extensions: []
394
+
382
395
  extra_rdoc_files: []
383
- files:
396
+
397
+ files:
384
398
  - .gitignore
385
399
  - .travis.yml
386
400
  - Gemfile
387
- - HISTORY
401
+ - HISTORY.md
388
402
  - MIT-LICENSE
389
403
  - Manifest.txt
390
404
  - README.md
@@ -426,51 +440,51 @@ files:
426
440
  - lib/metric_fu.rb
427
441
  - lib/metrics/base_template.rb
428
442
  - lib/metrics/churn/churn.rb
429
- - lib/metrics/churn/churn_analyzer.rb
443
+ - lib/metrics/churn/churn_hotspot.rb
430
444
  - lib/metrics/churn/template_awesome/churn.html.erb
431
445
  - lib/metrics/churn/template_standard/churn.html.erb
432
446
  - lib/metrics/flay/flay.rb
433
- - lib/metrics/flay/flay_analyzer.rb
434
447
  - lib/metrics/flay/flay_grapher.rb
448
+ - lib/metrics/flay/flay_hotspot.rb
435
449
  - lib/metrics/flay/template_awesome/flay.html.erb
436
450
  - lib/metrics/flay/template_standard/flay.html.erb
437
451
  - lib/metrics/flog/flog.rb
438
- - lib/metrics/flog/flog_analyzer.rb
439
452
  - lib/metrics/flog/flog_grapher.rb
453
+ - lib/metrics/flog/flog_hotspot.rb
440
454
  - lib/metrics/flog/template_awesome/flog.html.erb
441
455
  - lib/metrics/flog/template_standard/flog.html.erb
442
456
  - lib/metrics/generator.rb
443
457
  - lib/metrics/graph.rb
458
+ - lib/metrics/hotspot_analyzer.rb
444
459
  - lib/metrics/hotspots/hotspots.rb
445
460
  - lib/metrics/hotspots/template_awesome/hotspots.html.erb
446
461
  - lib/metrics/hotspots/template_standard/hotspots.html.erb
447
- - lib/metrics/metric_analyzer.rb
448
462
  - lib/metrics/rails_best_practices/rails_best_practices.rb
449
463
  - lib/metrics/rails_best_practices/rails_best_practices_grapher.rb
450
464
  - lib/metrics/rails_best_practices/template_awesome/rails_best_practices.html.erb
451
465
  - lib/metrics/rails_best_practices/template_standard/rails_best_practices.html.erb
452
466
  - lib/metrics/rcov/rcov.rb
453
- - lib/metrics/rcov/rcov_analyzer.rb
454
467
  - lib/metrics/rcov/rcov_grapher.rb
468
+ - lib/metrics/rcov/rcov_hotspot.rb
455
469
  - lib/metrics/rcov/template_awesome/rcov.html.erb
456
470
  - lib/metrics/rcov/template_standard/rcov.html.erb
457
471
  - lib/metrics/reek/reek.rb
458
- - lib/metrics/reek/reek_analyzer.rb
459
472
  - lib/metrics/reek/reek_grapher.rb
473
+ - lib/metrics/reek/reek_hotspot.rb
460
474
  - lib/metrics/reek/template_awesome/reek.html.erb
461
475
  - lib/metrics/reek/template_standard/reek.html.erb
462
476
  - lib/metrics/roodi/roodi.rb
463
- - lib/metrics/roodi/roodi_analyzer.rb
464
477
  - lib/metrics/roodi/roodi_grapher.rb
478
+ - lib/metrics/roodi/roodi_hotspot.rb
465
479
  - lib/metrics/roodi/template_awesome/roodi.html.erb
466
480
  - lib/metrics/roodi/template_standard/roodi.html.erb
467
481
  - lib/metrics/saikuro/saikuro.rb
468
- - lib/metrics/saikuro/saikuro_analyzer.rb
482
+ - lib/metrics/saikuro/saikuro_hotspot.rb
469
483
  - lib/metrics/saikuro/template_awesome/saikuro.html.erb
470
484
  - lib/metrics/saikuro/template_standard/saikuro.html.erb
471
485
  - lib/metrics/stats/stats.rb
472
- - lib/metrics/stats/stats_analyzer.rb
473
486
  - lib/metrics/stats/stats_grapher.rb
487
+ - lib/metrics/stats/stats_hotspot.rb
474
488
  - lib/metrics/stats/template_awesome/stats.html.erb
475
489
  - lib/metrics/stats/template_standard/stats.html.erb
476
490
  - lib/reporting/graphs/engines/bluff.rb
@@ -499,10 +513,10 @@ files:
499
513
  - spec/base/configuration_spec.rb
500
514
  - spec/base/generator_spec.rb
501
515
  - spec/base/graph_spec.rb
516
+ - spec/base/hotspot_analyzer_spec.rb
502
517
  - spec/base/line_numbers_spec.rb
503
518
  - spec/base/location_spec.rb
504
519
  - spec/base/md5_tracker_spec.rb
505
- - spec/base/metric_analyzer_spec.rb
506
520
  - spec/base/ranking_spec.rb
507
521
  - spec/base/report_spec.rb
508
522
  - spec/base/table_spec.rb
@@ -537,40 +551,52 @@ files:
537
551
  - spec/resources/yml/metric_missing.yml
538
552
  - spec/spec.opts
539
553
  - spec/spec_helper.rb
540
- homepage: http://github.com/bf4/metric_fu
541
- licenses:
554
+ homepage: http://github.com/metricfu/metric_fu
555
+ licenses:
542
556
  - MIT
543
557
  post_install_message:
544
558
  rdoc_options: []
545
- require_paths:
559
+
560
+ require_paths:
546
561
  - lib
547
- required_ruby_version: !ruby/object:Gem::Requirement
562
+ required_ruby_version: !ruby/object:Gem::Requirement
548
563
  none: false
549
- requirements:
550
- - - ! '>='
551
- - !ruby/object:Gem::Version
564
+ requirements:
565
+ - - ">="
566
+ - !ruby/object:Gem::Version
567
+ hash: 57
568
+ segments:
569
+ - 1
570
+ - 8
571
+ - 7
552
572
  version: 1.8.7
553
- required_rubygems_version: !ruby/object:Gem::Requirement
573
+ required_rubygems_version: !ruby/object:Gem::Requirement
554
574
  none: false
555
- requirements:
556
- - - ! '>='
557
- - !ruby/object:Gem::Version
575
+ requirements:
576
+ - - ">="
577
+ - !ruby/object:Gem::Version
578
+ hash: 23
579
+ segments:
580
+ - 1
581
+ - 3
582
+ - 6
558
583
  version: 1.3.6
559
584
  requirements: []
585
+
560
586
  rubyforge_project:
561
587
  rubygems_version: 1.8.24
562
588
  signing_key:
563
589
  specification_version: 3
564
590
  summary: A fistful of code metrics, with awesome templates and graphs
565
- test_files:
591
+ test_files:
566
592
  - spec/base/base_template_spec.rb
567
593
  - spec/base/configuration_spec.rb
568
594
  - spec/base/generator_spec.rb
569
595
  - spec/base/graph_spec.rb
596
+ - spec/base/hotspot_analyzer_spec.rb
570
597
  - spec/base/line_numbers_spec.rb
571
598
  - spec/base/location_spec.rb
572
599
  - spec/base/md5_tracker_spec.rb
573
- - spec/base/metric_analyzer_spec.rb
574
600
  - spec/base/ranking_spec.rb
575
601
  - spec/base/report_spec.rb
576
602
  - spec/base/table_spec.rb