git_ownership_insights 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b993d413af1897253069cfd6ef12e1ba1b91228d7b72753d08e3a104e8df172b
|
4
|
+
data.tar.gz: b9ac3f82ee048d2501541672185f36333820c14cbd0da2ae6bd733509bb307d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82bc549f312667ca1e3771e9b7fd0427d7ad7950b0981592ae5954bd8860717dff78540d82caee64a5c82b5460ce4b39f6627a89675bb729b95276c2e1625568
|
7
|
+
data.tar.gz: 5849484323479c350f1cead67c3ea38673ff51dc386b7e6e48f716ef401c64e66ae1e56fefe7223b59c23e59dc098369d1e725dcef45ae94b42dabd3f33e6082
|
data/Gemfile.lock
CHANGED
@@ -73,7 +73,7 @@ class GitOwnershipInsights
|
|
73
73
|
count += 1 if lines_count > size
|
74
74
|
end
|
75
75
|
|
76
|
-
puts " *Current
|
76
|
+
puts " *Current total number of code files longer than #{size} lines:* #{count}"
|
77
77
|
end
|
78
78
|
|
79
79
|
def count_hotspot_lines(files)
|
@@ -198,9 +198,8 @@ class GitOwnershipInsights
|
|
198
198
|
puts " *Total amount of commits to #{CODE_EXTENSIONS} files:* #{total_changes}"
|
199
199
|
puts " *Total #{CODE_EXTENSIONS} files changed:* #{uniq_code_files_with_changes.count}"
|
200
200
|
count_big_files(@directory_path)
|
201
|
-
puts " *Current
|
201
|
+
puts " *Current total of #{CODE_EXTENSIONS} files in the folder:* #{file_count}"
|
202
202
|
puts " *Contributors:* #{contributors}"
|
203
|
-
puts "* means that it the current(instant) repository value, all the other metrics are done over #{duration_in_days} days period"
|
204
203
|
|
205
204
|
if HOTSPOT
|
206
205
|
puts "\n"
|
@@ -52,15 +52,14 @@ RSpec.describe GitOwnershipInsights do
|
|
52
52
|
*[".swift", ".kt"] files exceeding 250 lines with multiple contributors:* 1
|
53
53
|
*Total amount of commits to [".swift", ".kt"] files:* 7
|
54
54
|
*Total [".swift", ".kt"] files changed:* 3
|
55
|
-
*Current
|
56
|
-
*Current
|
55
|
+
*Current total number of code files longer than 250 lines:* 2
|
56
|
+
*Current total of [".swift", ".kt"] files in the folder:* 4
|
57
57
|
*Contributors:* {"FIOS"=>5, "FAND"=>2}
|
58
|
-
* means that it the current(instant) repository value, all the other metrics are done over 7 days period
|
59
58
|
|
60
|
-
Hotspot changes
|
59
|
+
*Hotspot changes:*
|
61
60
|
/file1.swift Contributors: ["FIOS", "FAND"] Commits: 3
|
62
61
|
|
63
|
-
Code ownership data
|
62
|
+
*Code ownership data:*
|
64
63
|
Codeownership data:
|
65
64
|
FIOS:
|
66
65
|
Total Count: 3
|