cobench 0.0.36 → 0.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/pdd.yml +1 -1
- data/.github/workflows/rake.yml +1 -1
- data/.github/workflows/xcop.yml +1 -1
- data/bin/cobench +7 -3
- data/lib/cobench/version.rb +1 -1
- data/renovate.json +6 -0
- data/test/metrics/test_reviews.rb +2 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1fe6bbe020470085a4d1b27652329050e512b24e7f70d695fe28ccd4a2632c19
|
|
4
|
+
data.tar.gz: e343aa56c2adc91781570522a4f406f2dfdf612547f810a6b6a41a82a1fb2583
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87a083edb57651abb5b3479d00158f5d69e9c8faef38d9400294e92089ec31eabff03dc7bca73a97b835f7629d4c1fc82f1da60393f7492d03735b9218bef802
|
|
7
|
+
data.tar.gz: ce7e4c932dece1733026572c25f27f124622d391df73b7d5c8d5bfac896fc4d3ebe45317f59b1e4560a7ef6d716c76e790ca86628b7c2c59be33a29e3d285c8d
|
data/.github/workflows/pdd.yml
CHANGED
data/.github/workflows/rake.yml
CHANGED
data/.github/workflows/xcop.yml
CHANGED
data/bin/cobench
CHANGED
|
@@ -169,6 +169,10 @@ def build_xml(opts, loog)
|
|
|
169
169
|
data[u]['Score'] = { total: score }
|
|
170
170
|
end
|
|
171
171
|
averages = {
|
|
172
|
+
'CpP': {
|
|
173
|
+
f: lambda { |ms| div(actual(ms['Commits']), actual(ms['Pulls'])) },
|
|
174
|
+
title: 'Commits per Pull Request'
|
|
175
|
+
},
|
|
172
176
|
'HpP': {
|
|
173
177
|
f: lambda { |ms| div(actual(ms['HoC']), actual(ms['Pulls'])) },
|
|
174
178
|
title: 'HoC per Pull Request'
|
|
@@ -177,9 +181,9 @@ def build_xml(opts, loog)
|
|
|
177
181
|
f: lambda { |ms| div(actual(ms['HoC']), actual(ms['Commits'])) },
|
|
178
182
|
title: 'HoC per Commit'
|
|
179
183
|
},
|
|
180
|
-
'
|
|
181
|
-
f: lambda { |ms| div(actual(ms['Msgs']), actual(ms['Pulls'])) },
|
|
182
|
-
title: 'Messages per
|
|
184
|
+
'MpRP': {
|
|
185
|
+
f: lambda { |ms| div(actual(ms['Msgs']), actual(ms['Reviews']) + actual(ms['Pulls'])) },
|
|
186
|
+
title: 'Messages per Review+Pulls'
|
|
183
187
|
}
|
|
184
188
|
}
|
|
185
189
|
data.each do |u, ms|
|
data/lib/cobench/version.rb
CHANGED
data/renovate.json
ADDED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cobench
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.37
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yegor Bugayenko
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-09-
|
|
11
|
+
date: 2022-09-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: backtrace
|
|
@@ -272,6 +272,7 @@ files:
|
|
|
272
272
|
- lib/cobench/metrics/reviews.rb
|
|
273
273
|
- lib/cobench/version.rb
|
|
274
274
|
- logo.svg
|
|
275
|
+
- renovate.json
|
|
275
276
|
- test/metrics/test_reviews.rb
|
|
276
277
|
- test/test__helper.rb
|
|
277
278
|
- test/test_mask.rb
|