rferraz-churn 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +54 -0
- data/LICENSE +20 -0
- data/README.rdoc +123 -0
- data/Rakefile +96 -0
- data/VERSION +1 -0
- data/bin/churn +32 -0
- data/churn.gemspec +123 -0
- data/lib/churn/bzr_analyzer.rb +31 -0
- data/lib/churn/churn_calculator.rb +252 -0
- data/lib/churn/churn_history.rb +33 -0
- data/lib/churn/git_analyzer.rb +27 -0
- data/lib/churn/hg_analyzer.rb +31 -0
- data/lib/churn/location_mapping.rb +52 -0
- data/lib/churn/source_control.rb +66 -0
- data/lib/churn/svn_analyzer.rb +23 -0
- data/lib/churn.rb +1 -0
- data/lib/tasks/churn_tasks.rb +11 -0
- data/man/churn.1 +150 -0
- data/man/churn.html +542 -0
- data/test/data/churn_calculator.rb +217 -0
- data/test/data/test_helper.rb +14 -0
- data/test/test_helper.rb +14 -0
- data/test/unit/bzr_analyzer_test.rb +65 -0
- data/test/unit/churn_calculator_test.rb +90 -0
- data/test/unit/churn_history_test.rb +24 -0
- data/test/unit/git_analyzer_test.rb +17 -0
- data/test/unit/hg_analyzer_test.rb +66 -0
- data/test/unit/location_mapping_test.rb +35 -0
- metadata +389 -0
metadata
ADDED
@@ -0,0 +1,389 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rferraz-churn
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 63
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 16
|
10
|
+
version: 0.0.16
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Dan Mayer
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-11-22 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: arrayfields
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 43
|
29
|
+
segments:
|
30
|
+
- 4
|
31
|
+
- 7
|
32
|
+
- 4
|
33
|
+
version: 4.7.4
|
34
|
+
type: :runtime
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: chronic
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 17
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
- 2
|
48
|
+
- 3
|
49
|
+
version: 0.2.3
|
50
|
+
type: :runtime
|
51
|
+
version_requirements: *id002
|
52
|
+
- !ruby/object:Gem::Dependency
|
53
|
+
name: fattr
|
54
|
+
prerelease: false
|
55
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
hash: 7
|
61
|
+
segments:
|
62
|
+
- 2
|
63
|
+
- 2
|
64
|
+
- 0
|
65
|
+
version: 2.2.0
|
66
|
+
type: :runtime
|
67
|
+
version_requirements: *id003
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: hirb
|
70
|
+
prerelease: false
|
71
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
hash: 11
|
77
|
+
segments:
|
78
|
+
- 0
|
79
|
+
- 5
|
80
|
+
- 0
|
81
|
+
version: 0.5.0
|
82
|
+
type: :runtime
|
83
|
+
version_requirements: *id004
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: jeweler
|
86
|
+
prerelease: false
|
87
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
88
|
+
none: false
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
hash: 7
|
93
|
+
segments:
|
94
|
+
- 1
|
95
|
+
- 6
|
96
|
+
- 4
|
97
|
+
version: 1.6.4
|
98
|
+
type: :runtime
|
99
|
+
version_requirements: *id005
|
100
|
+
- !ruby/object:Gem::Dependency
|
101
|
+
name: json
|
102
|
+
prerelease: false
|
103
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
104
|
+
none: false
|
105
|
+
requirements:
|
106
|
+
- - ">="
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
hash: 13
|
109
|
+
segments:
|
110
|
+
- 1
|
111
|
+
- 6
|
112
|
+
- 1
|
113
|
+
version: 1.6.1
|
114
|
+
type: :runtime
|
115
|
+
version_requirements: *id006
|
116
|
+
- !ruby/object:Gem::Dependency
|
117
|
+
name: main
|
118
|
+
prerelease: false
|
119
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
120
|
+
none: false
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
hash: 39
|
125
|
+
segments:
|
126
|
+
- 4
|
127
|
+
- 6
|
128
|
+
- 0
|
129
|
+
version: 4.6.0
|
130
|
+
type: :runtime
|
131
|
+
version_requirements: *id007
|
132
|
+
- !ruby/object:Gem::Dependency
|
133
|
+
name: map
|
134
|
+
prerelease: false
|
135
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
136
|
+
none: false
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
hash: 51
|
141
|
+
segments:
|
142
|
+
- 4
|
143
|
+
- 3
|
144
|
+
- 0
|
145
|
+
version: 4.3.0
|
146
|
+
type: :runtime
|
147
|
+
version_requirements: *id008
|
148
|
+
- !ruby/object:Gem::Dependency
|
149
|
+
name: ruby_parser
|
150
|
+
prerelease: false
|
151
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
152
|
+
none: false
|
153
|
+
requirements:
|
154
|
+
- - ">="
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
hash: 1
|
157
|
+
segments:
|
158
|
+
- 2
|
159
|
+
- 3
|
160
|
+
- 1
|
161
|
+
version: 2.3.1
|
162
|
+
type: :runtime
|
163
|
+
version_requirements: *id009
|
164
|
+
- !ruby/object:Gem::Dependency
|
165
|
+
name: sexp_processor
|
166
|
+
prerelease: false
|
167
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
168
|
+
none: false
|
169
|
+
requirements:
|
170
|
+
- - ">="
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
hash: 9
|
173
|
+
segments:
|
174
|
+
- 3
|
175
|
+
- 0
|
176
|
+
- 7
|
177
|
+
version: 3.0.7
|
178
|
+
type: :runtime
|
179
|
+
version_requirements: *id010
|
180
|
+
- !ruby/object:Gem::Dependency
|
181
|
+
name: shoulda
|
182
|
+
prerelease: false
|
183
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
184
|
+
none: false
|
185
|
+
requirements:
|
186
|
+
- - ">="
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
hash: 3
|
189
|
+
segments:
|
190
|
+
- 0
|
191
|
+
version: "0"
|
192
|
+
type: :development
|
193
|
+
version_requirements: *id011
|
194
|
+
- !ruby/object:Gem::Dependency
|
195
|
+
name: jeweler
|
196
|
+
prerelease: false
|
197
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
198
|
+
none: false
|
199
|
+
requirements:
|
200
|
+
- - ~>
|
201
|
+
- !ruby/object:Gem::Version
|
202
|
+
hash: 15
|
203
|
+
segments:
|
204
|
+
- 1
|
205
|
+
- 6
|
206
|
+
- 0
|
207
|
+
version: 1.6.0
|
208
|
+
type: :development
|
209
|
+
version_requirements: *id012
|
210
|
+
- !ruby/object:Gem::Dependency
|
211
|
+
name: test-construct
|
212
|
+
prerelease: false
|
213
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
214
|
+
none: false
|
215
|
+
requirements:
|
216
|
+
- - ">="
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
hash: 3
|
219
|
+
segments:
|
220
|
+
- 0
|
221
|
+
version: "0"
|
222
|
+
type: :development
|
223
|
+
version_requirements: *id013
|
224
|
+
- !ruby/object:Gem::Dependency
|
225
|
+
name: mocha
|
226
|
+
prerelease: false
|
227
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
228
|
+
none: false
|
229
|
+
requirements:
|
230
|
+
- - ~>
|
231
|
+
- !ruby/object:Gem::Version
|
232
|
+
hash: 49
|
233
|
+
segments:
|
234
|
+
- 0
|
235
|
+
- 9
|
236
|
+
- 5
|
237
|
+
version: 0.9.5
|
238
|
+
type: :development
|
239
|
+
version_requirements: *id014
|
240
|
+
- !ruby/object:Gem::Dependency
|
241
|
+
name: main
|
242
|
+
prerelease: false
|
243
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
244
|
+
none: false
|
245
|
+
requirements:
|
246
|
+
- - ">="
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
hash: 3
|
249
|
+
segments:
|
250
|
+
- 0
|
251
|
+
version: "0"
|
252
|
+
type: :runtime
|
253
|
+
version_requirements: *id015
|
254
|
+
- !ruby/object:Gem::Dependency
|
255
|
+
name: json_pure
|
256
|
+
prerelease: false
|
257
|
+
requirement: &id016 !ruby/object:Gem::Requirement
|
258
|
+
none: false
|
259
|
+
requirements:
|
260
|
+
- - ">="
|
261
|
+
- !ruby/object:Gem::Version
|
262
|
+
hash: 3
|
263
|
+
segments:
|
264
|
+
- 0
|
265
|
+
version: "0"
|
266
|
+
type: :runtime
|
267
|
+
version_requirements: *id016
|
268
|
+
- !ruby/object:Gem::Dependency
|
269
|
+
name: chronic
|
270
|
+
prerelease: false
|
271
|
+
requirement: &id017 !ruby/object:Gem::Requirement
|
272
|
+
none: false
|
273
|
+
requirements:
|
274
|
+
- - ">="
|
275
|
+
- !ruby/object:Gem::Version
|
276
|
+
hash: 17
|
277
|
+
segments:
|
278
|
+
- 0
|
279
|
+
- 2
|
280
|
+
- 3
|
281
|
+
version: 0.2.3
|
282
|
+
type: :runtime
|
283
|
+
version_requirements: *id017
|
284
|
+
- !ruby/object:Gem::Dependency
|
285
|
+
name: sexp_processor
|
286
|
+
prerelease: false
|
287
|
+
requirement: &id018 !ruby/object:Gem::Requirement
|
288
|
+
none: false
|
289
|
+
requirements:
|
290
|
+
- - ~>
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
hash: 1
|
293
|
+
segments:
|
294
|
+
- 3
|
295
|
+
- 0
|
296
|
+
- 3
|
297
|
+
version: 3.0.3
|
298
|
+
type: :runtime
|
299
|
+
version_requirements: *id018
|
300
|
+
- !ruby/object:Gem::Dependency
|
301
|
+
name: ruby_parser
|
302
|
+
prerelease: false
|
303
|
+
requirement: &id019 !ruby/object:Gem::Requirement
|
304
|
+
none: false
|
305
|
+
requirements:
|
306
|
+
- - ~>
|
307
|
+
- !ruby/object:Gem::Version
|
308
|
+
hash: 5
|
309
|
+
segments:
|
310
|
+
- 2
|
311
|
+
- 3
|
312
|
+
version: "2.3"
|
313
|
+
type: :runtime
|
314
|
+
version_requirements: *id019
|
315
|
+
description: "High method and class churn has been shown to have increased bug and error rates. This gem helps you know what is changing a lot so you can do additional testing, code review, or refactoring to try to tame the volatile code. "
|
316
|
+
email: dan@mayerdan.com
|
317
|
+
executables:
|
318
|
+
- churn
|
319
|
+
extensions: []
|
320
|
+
|
321
|
+
extra_rdoc_files:
|
322
|
+
- LICENSE
|
323
|
+
- README.rdoc
|
324
|
+
files:
|
325
|
+
- .document
|
326
|
+
- Gemfile
|
327
|
+
- Gemfile.lock
|
328
|
+
- LICENSE
|
329
|
+
- README.rdoc
|
330
|
+
- Rakefile
|
331
|
+
- VERSION
|
332
|
+
- bin/churn
|
333
|
+
- churn.gemspec
|
334
|
+
- lib/churn.rb
|
335
|
+
- lib/churn/bzr_analyzer.rb
|
336
|
+
- lib/churn/churn_calculator.rb
|
337
|
+
- lib/churn/churn_history.rb
|
338
|
+
- lib/churn/git_analyzer.rb
|
339
|
+
- lib/churn/hg_analyzer.rb
|
340
|
+
- lib/churn/location_mapping.rb
|
341
|
+
- lib/churn/source_control.rb
|
342
|
+
- lib/churn/svn_analyzer.rb
|
343
|
+
- lib/tasks/churn_tasks.rb
|
344
|
+
- man/churn.1
|
345
|
+
- man/churn.html
|
346
|
+
- test/data/churn_calculator.rb
|
347
|
+
- test/data/test_helper.rb
|
348
|
+
- test/test_helper.rb
|
349
|
+
- test/unit/bzr_analyzer_test.rb
|
350
|
+
- test/unit/churn_calculator_test.rb
|
351
|
+
- test/unit/churn_history_test.rb
|
352
|
+
- test/unit/git_analyzer_test.rb
|
353
|
+
- test/unit/hg_analyzer_test.rb
|
354
|
+
- test/unit/location_mapping_test.rb
|
355
|
+
homepage: http://github.com/danmayer/churn
|
356
|
+
licenses: []
|
357
|
+
|
358
|
+
post_install_message:
|
359
|
+
rdoc_options: []
|
360
|
+
|
361
|
+
require_paths:
|
362
|
+
- lib
|
363
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
364
|
+
none: false
|
365
|
+
requirements:
|
366
|
+
- - ">="
|
367
|
+
- !ruby/object:Gem::Version
|
368
|
+
hash: 3
|
369
|
+
segments:
|
370
|
+
- 0
|
371
|
+
version: "0"
|
372
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
373
|
+
none: false
|
374
|
+
requirements:
|
375
|
+
- - ">="
|
376
|
+
- !ruby/object:Gem::Version
|
377
|
+
hash: 3
|
378
|
+
segments:
|
379
|
+
- 0
|
380
|
+
version: "0"
|
381
|
+
requirements: []
|
382
|
+
|
383
|
+
rubyforge_project:
|
384
|
+
rubygems_version: 1.8.6
|
385
|
+
signing_key:
|
386
|
+
specification_version: 3
|
387
|
+
summary: Providing additional churn metrics over the original metric_fu churn
|
388
|
+
test_files: []
|
389
|
+
|