tsumanne 0.0.2 → 0.0.4
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/.dockerignore +8 -0
- data/.mdlrc +6 -0
- data/.rubocop.yml +20 -12
- data/Dockerfile +24 -0
- data/README.md +0 -4
- data/Rakefile +19 -16
- data/exe/tsumanne +2 -1
- data/lib/tsumanne/api.rb +22 -21
- data/lib/tsumanne/cli.rb +153 -2
- data/lib/tsumanne/models/get_threads.rb +8 -3
- data/lib/tsumanne/models/register_thread.rb +5 -1
- data/lib/tsumanne/models/search_indexes.rb +7 -2
- data/lib/tsumanne/models/search_thread_from_uri.rb +14 -2
- data/lib/tsumanne/version.rb +1 -1
- data/mise.toml +42 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/{ast@2.4.2.rbi → ast@2.4.3.rbi} +45 -79
- data/sorbet/rbi/gems/benchmark@0.5.0.rbi +621 -0
- data/sorbet/rbi/gems/{chef-utils@18.2.7.rbi → chef-utils@18.8.54.rbi} +1 -0
- data/sorbet/rbi/gems/{concurrent-ruby@1.2.2.rbi → concurrent-ruby@1.3.5.rbi} +1 -0
- data/sorbet/rbi/gems/{diff-lcs@1.5.0.rbi → diff-lcs@1.6.2.rbi} +183 -199
- data/sorbet/rbi/gems/docile@1.4.0.rbi +147 -147
- data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.1.rbi} +36 -26
- data/sorbet/rbi/gems/{json@2.6.3.rbi → json@2.19.4.rbi} +920 -251
- data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +32 -63
- data/sorbet/rbi/gems/{kramdown@2.4.0.rbi → kramdown@2.5.1.rbi} +896 -711
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.5.rbi +9 -0
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +189 -0
- data/sorbet/rbi/gems/logger@1.7.0.rbi +896 -0
- data/sorbet/rbi/gems/{mdl@0.12.0.rbi → mdl@0.15.0.rbi} +109 -113
- data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +35 -41
- data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +147 -142
- data/sorbet/rbi/gems/{mixlib-shellout@3.2.7.rbi → mixlib-shellout@3.3.9.rbi} +127 -150
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +45 -56
- data/sorbet/rbi/gems/optimist@3.2.1.rbi +895 -0
- data/sorbet/rbi/gems/parallel@1.28.0.rbi +270 -0
- data/sorbet/rbi/gems/parser@3.3.11.1.rbi +5229 -0
- data/sorbet/rbi/gems/prism@1.9.0.rbi +42224 -0
- data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.8.1.rbi} +48 -44
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +101 -141
- data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.4.2.rbi} +867 -761
- data/sorbet/rbi/gems/rbi@0.3.10.rbi +5520 -0
- data/sorbet/rbi/gems/rbs@4.0.2.rbi +6908 -0
- data/sorbet/rbi/gems/regexp_parser@2.12.0.rbi +3398 -0
- data/sorbet/rbi/gems/require-hooks@0.4.0.rbi +152 -0
- data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.4.4.rbi} +1032 -908
- data/sorbet/rbi/gems/{rspec-core@3.12.2.rbi → rspec-core@3.13.6.rbi} +2860 -4206
- data/sorbet/rbi/gems/rspec-expectations@3.13.5.rbi +6108 -0
- data/sorbet/rbi/gems/{rspec-mocks@3.12.6.rbi → rspec-mocks@3.13.7.rbi} +1264 -1787
- data/sorbet/rbi/gems/rspec-support@3.13.6.rbi +1274 -0
- data/sorbet/rbi/gems/rspec@3.13.2.rbi +15 -0
- data/sorbet/rbi/gems/rubocop-ast@1.49.1.rbi +7212 -0
- data/sorbet/rbi/gems/rubocop-performance@1.26.1.rbi +3403 -0
- data/sorbet/rbi/gems/{rubocop-rake@0.6.0.rbi → rubocop-rake@0.7.1.rbi} +89 -103
- data/sorbet/rbi/gems/rubocop-rspec@3.9.0.rbi +7606 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.12.0.rbi +2448 -0
- data/sorbet/rbi/gems/rubocop@1.86.1.rbi +62232 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +326 -655
- data/sorbet/rbi/gems/rubydex@0.1.0.beta14.rbi +655 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +24 -158
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +450 -606
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +32 -166
- data/sorbet/rbi/gems/spoom@1.7.13.rbi +6151 -0
- data/sorbet/rbi/gems/{tapioca@0.11.8.rbi → tapioca@0.19.1.rbi} +1609 -1379
- data/sorbet/rbi/gems/{thor@1.2.2.rbi → thor@1.5.0.rbi} +1075 -1170
- data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +1 -0
- data/sorbet/rbi/gems/tsort@0.2.0.rbi +389 -0
- data/sorbet/rbi/gems/unicode-display_width@3.2.0.rbi +130 -0
- data/sorbet/rbi/gems/unicode-emoji@4.2.0.rbi +332 -0
- metadata +69 -66
- data/.ruby-version +0 -1
- data/sorbet/rbi/gems/base64@0.1.1.rbi +0 -172
- data/sorbet/rbi/gems/ffi-compiler@1.0.1.rbi +0 -206
- data/sorbet/rbi/gems/ffi@1.15.5.rbi +0 -1994
- data/sorbet/rbi/gems/http-parser@1.2.3.rbi +0 -422
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14237
- data/sorbet/rbi/gems/mhtml@0.1.6.rbi +0 -353
- data/sorbet/rbi/gems/parallel@1.23.0.rbi +0 -273
- data/sorbet/rbi/gems/parser@3.2.2.3.rbi +0 -7253
- data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
- data/sorbet/rbi/gems/rbi@0.0.17.rbi +0 -2967
- data/sorbet/rbi/gems/regexp_parser@2.8.1.rbi +0 -3749
- data/sorbet/rbi/gems/rspec-expectations@3.12.3.rbi +0 -8100
- data/sorbet/rbi/gems/rspec-support@3.12.1.rbi +0 -1609
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +0 -82
- data/sorbet/rbi/gems/rubocop-ast@1.29.0.rbi +0 -7144
- data/sorbet/rbi/gems/rubocop-capybara@2.18.0.rbi +0 -827
- data/sorbet/rbi/gems/rubocop-factory_bot@2.23.1.rbi +0 -812
- data/sorbet/rbi/gems/rubocop-performance@1.19.0.rbi +0 -3157
- data/sorbet/rbi/gems/rubocop-rspec@2.23.2.rbi +0 -7691
- data/sorbet/rbi/gems/rubocop-sorbet@0.7.3.rbi +0 -1226
- data/sorbet/rbi/gems/rubocop@1.56.2.rbi +0 -56541
- data/sorbet/rbi/gems/spoom@1.2.3.rbi +0 -3199
- data/sorbet/rbi/gems/syntax_tree@6.1.1.rbi +0 -22855
- data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +0 -65
- data/sorbet/rbi/gems/unparser@0.6.8.rbi +0 -4525
- data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +0 -425
- data/sorbet/rbi/gems/yard@0.9.34.rbi +0 -18219
|
@@ -4,19 +4,20 @@
|
|
|
4
4
|
# This is an autogenerated file for types exported from the `simplecov` gem.
|
|
5
5
|
# Please instead update this file by running `bin/tapioca gem simplecov`.
|
|
6
6
|
|
|
7
|
+
|
|
7
8
|
# Code coverage for ruby. Please check out README for a full introduction.
|
|
8
9
|
#
|
|
9
|
-
#
|
|
10
|
+
# pkg:gem/simplecov#lib/simplecov.rb:22
|
|
10
11
|
module SimpleCov
|
|
11
12
|
extend ::SimpleCov::Configuration
|
|
12
13
|
|
|
13
14
|
class << self
|
|
14
|
-
#
|
|
15
|
+
# pkg:gem/simplecov#lib/simplecov.rb:174
|
|
15
16
|
def at_exit_behavior; end
|
|
16
17
|
|
|
17
18
|
# Clear out the previously cached .result. Primarily useful in testing
|
|
18
19
|
#
|
|
19
|
-
#
|
|
20
|
+
# pkg:gem/simplecov#lib/simplecov.rb:170
|
|
20
21
|
def clear_result; end
|
|
21
22
|
|
|
22
23
|
# Collate a series of SimpleCov result files into a single SimpleCov output.
|
|
@@ -42,141 +43,121 @@ module SimpleCov
|
|
|
42
43
|
# merged together. If you want to honor the merge_timeout then provide the keyword argument
|
|
43
44
|
# `ignore_timeout: false`.
|
|
44
45
|
#
|
|
45
|
-
#
|
|
46
|
+
# pkg:gem/simplecov#lib/simplecov.rb:86
|
|
46
47
|
def collate(result_filenames, profile = T.unsafe(nil), ignore_timeout: T.unsafe(nil), &block); end
|
|
47
48
|
|
|
48
|
-
# Thinking: Move this behavior earlier so if there was an error we do nothing?
|
|
49
|
-
#
|
|
50
49
|
# @api private
|
|
51
50
|
#
|
|
52
|
-
#
|
|
51
|
+
# Thinking: Move this behavior earlier so if there was an error we do nothing?
|
|
52
|
+
#
|
|
53
|
+
# pkg:gem/simplecov#lib/simplecov.rb:223
|
|
53
54
|
def exit_and_report_previous_error(exit_status); end
|
|
54
55
|
|
|
55
|
-
# Returns the exit status from the exit exception
|
|
56
|
-
#
|
|
57
56
|
# @api private
|
|
58
57
|
#
|
|
59
|
-
#
|
|
58
|
+
# Returns the exit status from the exit exception
|
|
59
|
+
#
|
|
60
|
+
# pkg:gem/simplecov#lib/simplecov.rb:200
|
|
60
61
|
def exit_status_from_exception; end
|
|
61
62
|
|
|
62
63
|
# Basically, should we take care of at_exit behavior or something else?
|
|
63
64
|
# Used by the minitest plugin. See lib/minitest/simplecov_plugin.rb
|
|
64
65
|
#
|
|
65
|
-
#
|
|
66
|
+
# pkg:gem/simplecov#lib/simplecov.rb:28
|
|
66
67
|
def external_at_exit; end
|
|
67
68
|
|
|
68
69
|
# Basically, should we take care of at_exit behavior or something else?
|
|
69
70
|
# Used by the minitest plugin. See lib/minitest/simplecov_plugin.rb
|
|
70
71
|
#
|
|
71
|
-
#
|
|
72
|
+
# pkg:gem/simplecov#lib/simplecov.rb:28
|
|
72
73
|
def external_at_exit=(_arg0); end
|
|
73
74
|
|
|
74
|
-
#
|
|
75
|
-
# Used by the minitest plugin. See lib/minitest/simplecov_plugin.rb
|
|
76
|
-
#
|
|
77
|
-
# source://simplecov//lib/simplecov.rb#28
|
|
75
|
+
# pkg:gem/simplecov#lib/simplecov.rb:29
|
|
78
76
|
def external_at_exit?; end
|
|
79
77
|
|
|
80
78
|
# Applies the configured filters to the given array of SimpleCov::SourceFile items
|
|
81
79
|
#
|
|
82
|
-
#
|
|
80
|
+
# pkg:gem/simplecov#lib/simplecov.rb:131
|
|
83
81
|
def filtered(files); end
|
|
84
82
|
|
|
85
83
|
# @api private
|
|
86
|
-
# @return [Boolean]
|
|
87
84
|
#
|
|
88
|
-
#
|
|
85
|
+
# pkg:gem/simplecov#lib/simplecov.rb:268
|
|
89
86
|
def final_result_process?; end
|
|
90
87
|
|
|
91
88
|
# Applies the configured groups to the given array of SimpleCov::SourceFile items
|
|
92
89
|
#
|
|
93
|
-
#
|
|
90
|
+
# pkg:gem/simplecov#lib/simplecov.rb:142
|
|
94
91
|
def grouped(files); end
|
|
95
92
|
|
|
96
|
-
#
|
|
93
|
+
# pkg:gem/simplecov#lib/simplecov.rb:162
|
|
97
94
|
def load_adapter(name); end
|
|
98
95
|
|
|
99
96
|
# Applies the profile of given name on SimpleCov configuration
|
|
100
97
|
#
|
|
101
|
-
#
|
|
98
|
+
# pkg:gem/simplecov#lib/simplecov.rb:158
|
|
102
99
|
def load_profile(name); end
|
|
103
100
|
|
|
104
|
-
#
|
|
105
|
-
#
|
|
106
|
-
# source://simplecov//lib/simplecov.rb#24
|
|
101
|
+
# pkg:gem/simplecov#lib/simplecov.rb:24
|
|
107
102
|
def pid; end
|
|
108
103
|
|
|
109
|
-
#
|
|
110
|
-
#
|
|
111
|
-
# @param value the value to set the attribute pid to.
|
|
112
|
-
#
|
|
113
|
-
# source://simplecov//lib/simplecov.rb#24
|
|
104
|
+
# pkg:gem/simplecov#lib/simplecov.rb:24
|
|
114
105
|
def pid=(_arg0); end
|
|
115
106
|
|
|
116
107
|
# @api private
|
|
117
|
-
# @return [Boolean]
|
|
118
108
|
#
|
|
119
|
-
#
|
|
109
|
+
# pkg:gem/simplecov#lib/simplecov.rb:213
|
|
120
110
|
def previous_error?(error_exit_status); end
|
|
121
111
|
|
|
112
|
+
# @api private
|
|
113
|
+
#
|
|
122
114
|
# Usage:
|
|
123
115
|
# exit_status = SimpleCov.process_result(SimpleCov.result, exit_status)
|
|
124
116
|
#
|
|
125
|
-
#
|
|
126
|
-
#
|
|
127
|
-
# source://simplecov//lib/simplecov.rb#248
|
|
117
|
+
# pkg:gem/simplecov#lib/simplecov.rb:248
|
|
128
118
|
def process_result(result); end
|
|
129
119
|
|
|
130
|
-
#
|
|
120
|
+
# pkg:gem/simplecov#lib/simplecov.rb:233
|
|
131
121
|
def process_results_and_report_error; end
|
|
132
122
|
|
|
133
123
|
# @api private
|
|
134
|
-
# @return [Boolean]
|
|
135
124
|
#
|
|
136
|
-
#
|
|
125
|
+
# pkg:gem/simplecov#lib/simplecov.rb:229
|
|
137
126
|
def ready_to_process_results?; end
|
|
138
127
|
|
|
139
128
|
# Returns the result for the current coverage run, merging it across test suites
|
|
140
129
|
# from cache using SimpleCov::ResultMerger if use_merging is activated (default)
|
|
141
130
|
#
|
|
142
|
-
#
|
|
131
|
+
# pkg:gem/simplecov#lib/simplecov.rb:101
|
|
143
132
|
def result; end
|
|
144
133
|
|
|
145
134
|
# Returns nil if the result has not been computed
|
|
146
135
|
# Otherwise, returns the result
|
|
147
136
|
#
|
|
148
|
-
#
|
|
149
|
-
#
|
|
150
|
-
# source://simplecov//lib/simplecov.rb#124
|
|
137
|
+
# pkg:gem/simplecov#lib/simplecov.rb:124
|
|
151
138
|
def result?; end
|
|
152
139
|
|
|
153
|
-
#
|
|
140
|
+
# pkg:gem/simplecov#lib/simplecov.rb:256
|
|
154
141
|
def result_exit_status(result); end
|
|
155
142
|
|
|
156
|
-
# Rounding down to be extra strict, see #679
|
|
157
|
-
#
|
|
158
143
|
# @api private
|
|
159
144
|
#
|
|
160
|
-
#
|
|
145
|
+
# Rounding down to be extra strict, see #679
|
|
146
|
+
#
|
|
147
|
+
# pkg:gem/simplecov#lib/simplecov.rb:296
|
|
161
148
|
def round_coverage(coverage); end
|
|
162
149
|
|
|
163
|
-
# Called from at_exit block
|
|
164
|
-
#
|
|
165
150
|
# @api private
|
|
166
151
|
#
|
|
167
|
-
#
|
|
152
|
+
# Called from at_exit block
|
|
153
|
+
#
|
|
154
|
+
# pkg:gem/simplecov#lib/simplecov.rb:186
|
|
168
155
|
def run_exit_tasks!; end
|
|
169
156
|
|
|
170
|
-
#
|
|
171
|
-
#
|
|
172
|
-
# source://simplecov//lib/simplecov.rb#24
|
|
157
|
+
# pkg:gem/simplecov#lib/simplecov.rb:24
|
|
173
158
|
def running; end
|
|
174
159
|
|
|
175
|
-
#
|
|
176
|
-
#
|
|
177
|
-
# @param value the value to set the attribute running to.
|
|
178
|
-
#
|
|
179
|
-
# source://simplecov//lib/simplecov.rb#24
|
|
160
|
+
# pkg:gem/simplecov#lib/simplecov.rb:24
|
|
180
161
|
def running=(_arg0); end
|
|
181
162
|
|
|
182
163
|
# Sets up SimpleCov to run against your project.
|
|
@@ -195,17 +176,17 @@ module SimpleCov
|
|
|
195
176
|
#
|
|
196
177
|
# Please check out the RDoc for SimpleCov::Configuration to find about available config options
|
|
197
178
|
#
|
|
198
|
-
#
|
|
179
|
+
# pkg:gem/simplecov#lib/simplecov.rb:48
|
|
199
180
|
def start(profile = T.unsafe(nil), &block); end
|
|
200
181
|
|
|
201
182
|
# @api private
|
|
202
183
|
#
|
|
203
|
-
#
|
|
184
|
+
# pkg:gem/simplecov#lib/simplecov.rb:276
|
|
204
185
|
def wait_for_other_processes; end
|
|
205
186
|
|
|
206
187
|
# @api private
|
|
207
188
|
#
|
|
208
|
-
#
|
|
189
|
+
# pkg:gem/simplecov#lib/simplecov.rb:285
|
|
209
190
|
def write_last_run(result); end
|
|
210
191
|
|
|
211
192
|
private
|
|
@@ -214,36 +195,34 @@ module SimpleCov
|
|
|
214
195
|
#
|
|
215
196
|
# @return [Hash]
|
|
216
197
|
#
|
|
217
|
-
#
|
|
198
|
+
# pkg:gem/simplecov#lib/simplecov.rb:399
|
|
218
199
|
def adapt_coverage_result; end
|
|
219
200
|
|
|
220
201
|
# Finds files that were to be tracked but were not loaded and initializes
|
|
221
202
|
# the line-by-line coverage to zero (if relevant) or nil (comments / whitespace etc).
|
|
222
203
|
#
|
|
223
|
-
#
|
|
204
|
+
# pkg:gem/simplecov#lib/simplecov.rb:371
|
|
224
205
|
def add_not_loaded_files(result); end
|
|
225
206
|
|
|
226
|
-
#
|
|
207
|
+
# pkg:gem/simplecov#lib/simplecov.rb:302
|
|
227
208
|
def initial_setup(profile, &block); end
|
|
228
209
|
|
|
229
|
-
#
|
|
210
|
+
# pkg:gem/simplecov#lib/simplecov.rb:363
|
|
230
211
|
def lookup_corresponding_ruby_coverage_name(criterion); end
|
|
231
212
|
|
|
232
213
|
# parallel_tests isn't always available, see: https://github.com/grosser/parallel_tests/issues/772
|
|
233
214
|
#
|
|
234
|
-
#
|
|
215
|
+
# pkg:gem/simplecov#lib/simplecov.rb:425
|
|
235
216
|
def make_parallel_tests_available; end
|
|
236
217
|
|
|
237
|
-
#
|
|
238
|
-
#
|
|
239
|
-
# source://simplecov//lib/simplecov.rb#434
|
|
218
|
+
# pkg:gem/simplecov#lib/simplecov.rb:434
|
|
240
219
|
def probably_running_parallel_tests?; end
|
|
241
220
|
|
|
242
221
|
# Call steps that handle process coverage result
|
|
243
222
|
#
|
|
244
223
|
# @return [Hash]
|
|
245
224
|
#
|
|
246
|
-
#
|
|
225
|
+
# pkg:gem/simplecov#lib/simplecov.rb:388
|
|
247
226
|
def process_coverage_result; end
|
|
248
227
|
|
|
249
228
|
# Filter coverage result
|
|
@@ -252,7 +231,7 @@ module SimpleCov
|
|
|
252
231
|
#
|
|
253
232
|
# @return [Hash]
|
|
254
233
|
#
|
|
255
|
-
#
|
|
234
|
+
# pkg:gem/simplecov#lib/simplecov.rb:410
|
|
256
235
|
def remove_useless_results; end
|
|
257
236
|
|
|
258
237
|
# Initialize result with files that are not included by coverage
|
|
@@ -260,7 +239,7 @@ module SimpleCov
|
|
|
260
239
|
#
|
|
261
240
|
# @return [Hash]
|
|
262
241
|
#
|
|
263
|
-
#
|
|
242
|
+
# pkg:gem/simplecov#lib/simplecov.rb:420
|
|
264
243
|
def result_with_not_loaded_files; end
|
|
265
244
|
|
|
266
245
|
# Trigger Coverage.start depends on given config coverage_criterion
|
|
@@ -268,44 +247,38 @@ module SimpleCov
|
|
|
268
247
|
# With Positive branch it supports all coverage measurement types
|
|
269
248
|
# With Negative branch it supports only line coverage measurement type
|
|
270
249
|
#
|
|
271
|
-
#
|
|
250
|
+
# pkg:gem/simplecov#lib/simplecov.rb:314
|
|
272
251
|
def start_coverage_measurement; end
|
|
273
252
|
|
|
274
|
-
#
|
|
253
|
+
# pkg:gem/simplecov#lib/simplecov.rb:349
|
|
275
254
|
def start_coverage_with_criteria; end
|
|
276
255
|
end
|
|
277
256
|
end
|
|
278
257
|
|
|
279
|
-
#
|
|
258
|
+
# pkg:gem/simplecov#lib/simplecov/filter.rb:77
|
|
280
259
|
class SimpleCov::ArrayFilter < ::SimpleCov::Filter
|
|
281
|
-
#
|
|
282
|
-
#
|
|
283
|
-
# source://simplecov//lib/simplecov/filter.rb#78
|
|
260
|
+
# pkg:gem/simplecov#lib/simplecov/filter.rb:78
|
|
284
261
|
def initialize(filter_argument); end
|
|
285
262
|
|
|
286
263
|
# Returns true if any of the filters in the array match the given source file.
|
|
287
264
|
# Configure this Filter like StringFilter.new(['some/path', /^some_regex/, Proc.new {|src_file| ... }])
|
|
288
265
|
#
|
|
289
|
-
#
|
|
290
|
-
#
|
|
291
|
-
# source://simplecov//lib/simplecov/filter.rb#88
|
|
266
|
+
# pkg:gem/simplecov#lib/simplecov/filter.rb:88
|
|
292
267
|
def matches?(source_files_list); end
|
|
293
268
|
end
|
|
294
269
|
|
|
295
|
-
#
|
|
270
|
+
# pkg:gem/simplecov#lib/simplecov/filter.rb:69
|
|
296
271
|
class SimpleCov::BlockFilter < ::SimpleCov::Filter
|
|
297
272
|
# Returns true if the block given when initializing this filter with BlockFilter.new {|src_file| ... }
|
|
298
273
|
# returns true for the given source file.
|
|
299
274
|
#
|
|
300
|
-
#
|
|
301
|
-
#
|
|
302
|
-
# source://simplecov//lib/simplecov/filter.rb#72
|
|
275
|
+
# pkg:gem/simplecov#lib/simplecov/filter.rb:72
|
|
303
276
|
def matches?(source_file); end
|
|
304
277
|
end
|
|
305
278
|
|
|
306
279
|
# Functionally for combining coverage results
|
|
307
280
|
#
|
|
308
|
-
#
|
|
281
|
+
# pkg:gem/simplecov#lib/simplecov/combine.rb:6
|
|
309
282
|
module SimpleCov::Combine
|
|
310
283
|
private
|
|
311
284
|
|
|
@@ -316,13 +289,13 @@ module SimpleCov::Combine
|
|
|
316
289
|
#
|
|
317
290
|
# @return [Hash]
|
|
318
291
|
#
|
|
319
|
-
#
|
|
292
|
+
# pkg:gem/simplecov#lib/simplecov/combine.rb:16
|
|
320
293
|
def combine(combiner_module, coverage_a, coverage_b); end
|
|
321
294
|
|
|
322
|
-
#
|
|
295
|
+
# pkg:gem/simplecov#lib/simplecov/combine.rb:22
|
|
323
296
|
def empty_coverage?(coverage_a, coverage_b); end
|
|
324
297
|
|
|
325
|
-
#
|
|
298
|
+
# pkg:gem/simplecov#lib/simplecov/combine.rb:26
|
|
326
299
|
def existing_coverage(coverage_a, coverage_b); end
|
|
327
300
|
|
|
328
301
|
class << self
|
|
@@ -333,15 +306,13 @@ module SimpleCov::Combine
|
|
|
333
306
|
#
|
|
334
307
|
# @return [Hash]
|
|
335
308
|
#
|
|
336
|
-
#
|
|
309
|
+
# pkg:gem/simplecov#lib/simplecov/combine.rb:16
|
|
337
310
|
def combine(combiner_module, coverage_a, coverage_b); end
|
|
338
311
|
|
|
339
|
-
#
|
|
340
|
-
#
|
|
341
|
-
# source://simplecov//lib/simplecov/combine.rb#22
|
|
312
|
+
# pkg:gem/simplecov#lib/simplecov/combine.rb:22
|
|
342
313
|
def empty_coverage?(coverage_a, coverage_b); end
|
|
343
314
|
|
|
344
|
-
#
|
|
315
|
+
# pkg:gem/simplecov#lib/simplecov/combine.rb:26
|
|
345
316
|
def existing_coverage(coverage_a, coverage_b); end
|
|
346
317
|
end
|
|
347
318
|
end
|
|
@@ -350,7 +321,7 @@ end
|
|
|
350
321
|
#
|
|
351
322
|
# Should be called through `SimpleCov.combine`.
|
|
352
323
|
#
|
|
353
|
-
#
|
|
324
|
+
# pkg:gem/simplecov#lib/simplecov/combine/branches_combiner.rb:9
|
|
354
325
|
module SimpleCov::Combine::BranchesCombiner
|
|
355
326
|
private
|
|
356
327
|
|
|
@@ -364,7 +335,7 @@ module SimpleCov::Combine::BranchesCombiner
|
|
|
364
335
|
#
|
|
365
336
|
# @return [Hash]
|
|
366
337
|
#
|
|
367
|
-
#
|
|
338
|
+
# pkg:gem/simplecov#lib/simplecov/combine/branches_combiner.rb:23
|
|
368
339
|
def combine(coverage_a, coverage_b); end
|
|
369
340
|
|
|
370
341
|
class << self
|
|
@@ -378,7 +349,7 @@ module SimpleCov::Combine::BranchesCombiner
|
|
|
378
349
|
#
|
|
379
350
|
# @return [Hash]
|
|
380
351
|
#
|
|
381
|
-
#
|
|
352
|
+
# pkg:gem/simplecov#lib/simplecov/combine/branches_combiner.rb:23
|
|
382
353
|
def combine(coverage_a, coverage_b); end
|
|
383
354
|
end
|
|
384
355
|
end
|
|
@@ -387,7 +358,7 @@ end
|
|
|
387
358
|
#
|
|
388
359
|
# Should be called through `SimpleCov.combine`.
|
|
389
360
|
#
|
|
390
|
-
#
|
|
361
|
+
# pkg:gem/simplecov#lib/simplecov/combine/files_combiner.rb:9
|
|
391
362
|
module SimpleCov::Combine::FilesCombiner
|
|
392
363
|
private
|
|
393
364
|
|
|
@@ -395,7 +366,7 @@ module SimpleCov::Combine::FilesCombiner
|
|
|
395
366
|
#
|
|
396
367
|
# @return [Hash]
|
|
397
368
|
#
|
|
398
|
-
#
|
|
369
|
+
# pkg:gem/simplecov#lib/simplecov/combine/files_combiner.rb:17
|
|
399
370
|
def combine(coverage_a, coverage_b); end
|
|
400
371
|
|
|
401
372
|
class << self
|
|
@@ -403,7 +374,7 @@ module SimpleCov::Combine::FilesCombiner
|
|
|
403
374
|
#
|
|
404
375
|
# @return [Hash]
|
|
405
376
|
#
|
|
406
|
-
#
|
|
377
|
+
# pkg:gem/simplecov#lib/simplecov/combine/files_combiner.rb:17
|
|
407
378
|
def combine(coverage_a, coverage_b); end
|
|
408
379
|
end
|
|
409
380
|
end
|
|
@@ -412,45 +383,47 @@ end
|
|
|
412
383
|
#
|
|
413
384
|
# Should be called through `SimpleCov.combine`.
|
|
414
385
|
#
|
|
415
|
-
#
|
|
386
|
+
# pkg:gem/simplecov#lib/simplecov/combine/lines_combiner.rb:9
|
|
416
387
|
module SimpleCov::Combine::LinesCombiner
|
|
417
388
|
private
|
|
418
389
|
|
|
419
|
-
#
|
|
390
|
+
# pkg:gem/simplecov#lib/simplecov/combine/lines_combiner.rb:12
|
|
420
391
|
def combine(coverage_a, coverage_b); end
|
|
421
392
|
|
|
422
393
|
# Return depends on coverage in a specific line
|
|
423
394
|
#
|
|
395
|
+
# @param [Integer || nil] first_val
|
|
396
|
+
# @param [Integer || nil] second_val
|
|
397
|
+
#
|
|
424
398
|
# Logic:
|
|
425
399
|
#
|
|
426
400
|
# => nil + 0 = nil
|
|
427
401
|
# => nil + nil = nil
|
|
428
402
|
# => int + int = int
|
|
429
403
|
#
|
|
430
|
-
# @param first_val [Integer || nil]
|
|
431
|
-
# @param second_val [Integer || nil]
|
|
432
404
|
# @return [Integer || nil]
|
|
433
405
|
#
|
|
434
|
-
#
|
|
406
|
+
# pkg:gem/simplecov#lib/simplecov/combine/lines_combiner.rb:32
|
|
435
407
|
def merge_line_coverage(first_val, second_val); end
|
|
436
408
|
|
|
437
409
|
class << self
|
|
438
|
-
#
|
|
410
|
+
# pkg:gem/simplecov#lib/simplecov/combine/lines_combiner.rb:12
|
|
439
411
|
def combine(coverage_a, coverage_b); end
|
|
440
412
|
|
|
441
413
|
# Return depends on coverage in a specific line
|
|
442
414
|
#
|
|
415
|
+
# @param [Integer || nil] first_val
|
|
416
|
+
# @param [Integer || nil] second_val
|
|
417
|
+
#
|
|
443
418
|
# Logic:
|
|
444
419
|
#
|
|
445
420
|
# => nil + 0 = nil
|
|
446
421
|
# => nil + nil = nil
|
|
447
422
|
# => int + int = int
|
|
448
423
|
#
|
|
449
|
-
# @param first_val [Integer || nil]
|
|
450
|
-
# @param second_val [Integer || nil]
|
|
451
424
|
# @return [Integer || nil]
|
|
452
425
|
#
|
|
453
|
-
#
|
|
426
|
+
# pkg:gem/simplecov#lib/simplecov/combine/lines_combiner.rb:32
|
|
454
427
|
def merge_line_coverage(first_val, second_val); end
|
|
455
428
|
end
|
|
456
429
|
end
|
|
@@ -461,7 +434,7 @@ end
|
|
|
461
434
|
# To unite the results on file basis, it leverages
|
|
462
435
|
# the combine of lines and branches inside each file within given results.
|
|
463
436
|
#
|
|
464
|
-
#
|
|
437
|
+
# pkg:gem/simplecov#lib/simplecov/combine/results_combiner.rb:10
|
|
465
438
|
module SimpleCov::Combine::ResultsCombiner
|
|
466
439
|
private
|
|
467
440
|
|
|
@@ -473,25 +446,27 @@ module SimpleCov::Combine::ResultsCombiner
|
|
|
473
446
|
#
|
|
474
447
|
# @return [Hash]
|
|
475
448
|
#
|
|
476
|
-
#
|
|
449
|
+
# pkg:gem/simplecov#lib/simplecov/combine/results_combiner.rb:22
|
|
477
450
|
def combine(*results); end
|
|
478
451
|
|
|
479
452
|
# Combine two files coverage results
|
|
480
453
|
#
|
|
481
|
-
# @param
|
|
482
|
-
# @param
|
|
454
|
+
# @param [Hash] coverage_a
|
|
455
|
+
# @param [Hash] coverage_b
|
|
456
|
+
#
|
|
483
457
|
# @return [Hash]
|
|
484
458
|
#
|
|
485
|
-
#
|
|
459
|
+
# pkg:gem/simplecov#lib/simplecov/combine/results_combiner.rb:55
|
|
486
460
|
def combine_file_coverage(coverage_a, coverage_b); end
|
|
487
461
|
|
|
488
462
|
# Manage combining results on files level
|
|
489
463
|
#
|
|
490
|
-
# @param
|
|
491
|
-
# @param
|
|
464
|
+
# @param [Hash] combined_results
|
|
465
|
+
# @param [Hash] result
|
|
466
|
+
#
|
|
492
467
|
# @return [Hash]
|
|
493
468
|
#
|
|
494
|
-
#
|
|
469
|
+
# pkg:gem/simplecov#lib/simplecov/combine/results_combiner.rb:36
|
|
495
470
|
def combine_result_sets(combined_results, result); end
|
|
496
471
|
|
|
497
472
|
class << self
|
|
@@ -503,35 +478,37 @@ module SimpleCov::Combine::ResultsCombiner
|
|
|
503
478
|
#
|
|
504
479
|
# @return [Hash]
|
|
505
480
|
#
|
|
506
|
-
#
|
|
481
|
+
# pkg:gem/simplecov#lib/simplecov/combine/results_combiner.rb:22
|
|
507
482
|
def combine(*results); end
|
|
508
483
|
|
|
509
484
|
# Combine two files coverage results
|
|
510
485
|
#
|
|
511
|
-
# @param
|
|
512
|
-
# @param
|
|
486
|
+
# @param [Hash] coverage_a
|
|
487
|
+
# @param [Hash] coverage_b
|
|
488
|
+
#
|
|
513
489
|
# @return [Hash]
|
|
514
490
|
#
|
|
515
|
-
#
|
|
491
|
+
# pkg:gem/simplecov#lib/simplecov/combine/results_combiner.rb:55
|
|
516
492
|
def combine_file_coverage(coverage_a, coverage_b); end
|
|
517
493
|
|
|
518
494
|
# Manage combining results on files level
|
|
519
495
|
#
|
|
520
|
-
# @param
|
|
521
|
-
# @param
|
|
496
|
+
# @param [Hash] combined_results
|
|
497
|
+
# @param [Hash] result
|
|
498
|
+
#
|
|
522
499
|
# @return [Hash]
|
|
523
500
|
#
|
|
524
|
-
#
|
|
501
|
+
# pkg:gem/simplecov#lib/simplecov/combine/results_combiner.rb:36
|
|
525
502
|
def combine_result_sets(combined_results, result); end
|
|
526
503
|
end
|
|
527
504
|
end
|
|
528
505
|
|
|
529
506
|
# Helper that tries to find out what test suite is running (for SimpleCov.command_name)
|
|
530
507
|
#
|
|
531
|
-
#
|
|
508
|
+
# pkg:gem/simplecov#lib/simplecov/command_guesser.rb:7
|
|
532
509
|
module SimpleCov::CommandGuesser
|
|
533
510
|
class << self
|
|
534
|
-
#
|
|
511
|
+
# pkg:gem/simplecov#lib/simplecov/command_guesser.rb:16
|
|
535
512
|
def guess; end
|
|
536
513
|
|
|
537
514
|
# Storage for the original command line call that invoked the test suite.
|
|
@@ -540,7 +517,7 @@ module SimpleCov::CommandGuesser
|
|
|
540
517
|
# between rails unit/functional/integration tests impossible without this cached
|
|
541
518
|
# item.
|
|
542
519
|
#
|
|
543
|
-
#
|
|
520
|
+
# pkg:gem/simplecov#lib/simplecov/command_guesser.rb:14
|
|
544
521
|
def original_run_command; end
|
|
545
522
|
|
|
546
523
|
# Storage for the original command line call that invoked the test suite.
|
|
@@ -549,18 +526,18 @@ module SimpleCov::CommandGuesser
|
|
|
549
526
|
# between rails unit/functional/integration tests impossible without this cached
|
|
550
527
|
# item.
|
|
551
528
|
#
|
|
552
|
-
#
|
|
529
|
+
# pkg:gem/simplecov#lib/simplecov/command_guesser.rb:14
|
|
553
530
|
def original_run_command=(_arg0); end
|
|
554
531
|
|
|
555
532
|
private
|
|
556
533
|
|
|
557
|
-
#
|
|
534
|
+
# pkg:gem/simplecov#lib/simplecov/command_guesser.rb:31
|
|
558
535
|
def from_command_line_options; end
|
|
559
536
|
|
|
560
|
-
#
|
|
537
|
+
# pkg:gem/simplecov#lib/simplecov/command_guesser.rb:46
|
|
561
538
|
def from_defined_constants; end
|
|
562
539
|
|
|
563
|
-
#
|
|
540
|
+
# pkg:gem/simplecov#lib/simplecov/command_guesser.rb:22
|
|
564
541
|
def from_env; end
|
|
565
542
|
end
|
|
566
543
|
end
|
|
@@ -569,9 +546,9 @@ end
|
|
|
569
546
|
# defined here are usable from SimpleCov directly. Please check out
|
|
570
547
|
# SimpleCov documentation for further info.
|
|
571
548
|
#
|
|
572
|
-
#
|
|
549
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:13
|
|
573
550
|
module SimpleCov::Configuration
|
|
574
|
-
#
|
|
551
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:161
|
|
575
552
|
def adapters; end
|
|
576
553
|
|
|
577
554
|
# Add a filter to the processing chain.
|
|
@@ -590,14 +567,14 @@ module SimpleCov::Configuration
|
|
|
590
567
|
# * as an instance of a subclass of SimpleCov::Filter. See the documentation there
|
|
591
568
|
# on how to define your own filter classes
|
|
592
569
|
#
|
|
593
|
-
#
|
|
570
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:367
|
|
594
571
|
def add_filter(filter_argument = T.unsafe(nil), &filter_proc); end
|
|
595
572
|
|
|
596
573
|
# Define a group for files. Works similar to add_filter, only that the first
|
|
597
574
|
# argument is the desired group name and files PASSING the filter end up in the group
|
|
598
575
|
# (while filters exclude when the filter is applicable).
|
|
599
576
|
#
|
|
600
|
-
#
|
|
577
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:376
|
|
601
578
|
def add_group(group_name, filter_argument = T.unsafe(nil), &filter_proc); end
|
|
602
579
|
|
|
603
580
|
# Gets or sets the behavior to process coverage results.
|
|
@@ -611,7 +588,7 @@ module SimpleCov::Configuration
|
|
|
611
588
|
# SimpleCov.result.format!
|
|
612
589
|
# end
|
|
613
590
|
#
|
|
614
|
-
#
|
|
591
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:193
|
|
615
592
|
def at_exit(&block); end
|
|
616
593
|
|
|
617
594
|
# Gets or sets the behavior to start a new forked Process.
|
|
@@ -633,20 +610,16 @@ module SimpleCov::Configuration
|
|
|
633
610
|
# end
|
|
634
611
|
# end
|
|
635
612
|
#
|
|
636
|
-
#
|
|
613
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:233
|
|
637
614
|
def at_fork(&block); end
|
|
638
615
|
|
|
639
|
-
#
|
|
640
|
-
#
|
|
641
|
-
# source://simplecov//lib/simplecov/configuration.rb#428
|
|
616
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:428
|
|
642
617
|
def branch_coverage?; end
|
|
643
618
|
|
|
644
|
-
#
|
|
645
|
-
#
|
|
646
|
-
# source://simplecov//lib/simplecov/configuration.rb#443
|
|
619
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:443
|
|
647
620
|
def branch_coverage_supported?; end
|
|
648
621
|
|
|
649
|
-
#
|
|
622
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:424
|
|
650
623
|
def clear_coverage_criteria; end
|
|
651
624
|
|
|
652
625
|
# The name of the command (a.k.a. Test Suite) currently running. Used for result
|
|
@@ -659,7 +632,7 @@ module SimpleCov::Configuration
|
|
|
659
632
|
# You can specify it manually with SimpleCov.command_name("test:units") - please
|
|
660
633
|
# also check out the corresponding section in README.rdoc
|
|
661
634
|
#
|
|
662
|
-
#
|
|
635
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:87
|
|
663
636
|
def command_name(name = T.unsafe(nil)); end
|
|
664
637
|
|
|
665
638
|
# Allows you to configure simplecov in a block instead of prepending SimpleCov to all config methods
|
|
@@ -672,10 +645,10 @@ module SimpleCov::Configuration
|
|
|
672
645
|
# This is equivalent to SimpleCov.add_filter 'foobar' and thus makes it easier to set a bunch of configure
|
|
673
646
|
# options at once.
|
|
674
647
|
#
|
|
675
|
-
#
|
|
648
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:177
|
|
676
649
|
def configure(&block); end
|
|
677
650
|
|
|
678
|
-
#
|
|
651
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:416
|
|
679
652
|
def coverage_criteria; end
|
|
680
653
|
|
|
681
654
|
# Define which coverage criterion should be evaluated.
|
|
@@ -686,110 +659,96 @@ module SimpleCov::Configuration
|
|
|
686
659
|
#
|
|
687
660
|
# If not set the default is `:line`
|
|
688
661
|
#
|
|
689
|
-
# @param
|
|
662
|
+
# @param [Symbol] criterion
|
|
690
663
|
#
|
|
691
|
-
#
|
|
664
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:393
|
|
692
665
|
def coverage_criterion(criterion = T.unsafe(nil)); end
|
|
693
666
|
|
|
694
|
-
#
|
|
695
|
-
#
|
|
696
|
-
# source://simplecov//lib/simplecov/configuration.rb#420
|
|
667
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:420
|
|
697
668
|
def coverage_criterion_enabled?(criterion); end
|
|
698
669
|
|
|
699
670
|
# The name of the output and cache directory. Defaults to 'coverage'
|
|
700
671
|
#
|
|
701
672
|
# Configure with SimpleCov.coverage_dir('cov')
|
|
702
673
|
#
|
|
703
|
-
#
|
|
674
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:34
|
|
704
675
|
def coverage_dir(dir = T.unsafe(nil)); end
|
|
705
676
|
|
|
706
|
-
#
|
|
707
|
-
#
|
|
708
|
-
# source://simplecov//lib/simplecov/configuration.rb#452
|
|
677
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:452
|
|
709
678
|
def coverage_for_eval_enabled?; end
|
|
710
679
|
|
|
711
|
-
#
|
|
712
|
-
#
|
|
713
|
-
# source://simplecov//lib/simplecov/configuration.rb#447
|
|
680
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:447
|
|
714
681
|
def coverage_for_eval_supported?; end
|
|
715
682
|
|
|
716
683
|
# Returns the full path to the output directory using SimpleCov.root
|
|
717
684
|
# and SimpleCov.coverage_dir, so you can adjust this by configuring those
|
|
718
685
|
# values. Will create the directory if it's missing
|
|
719
686
|
#
|
|
720
|
-
#
|
|
687
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:46
|
|
721
688
|
def coverage_path; end
|
|
722
689
|
|
|
723
|
-
#
|
|
724
|
-
#
|
|
725
|
-
# source://simplecov//lib/simplecov/configuration.rb#432
|
|
690
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:432
|
|
726
691
|
def coverage_start_arguments_supported?; end
|
|
727
692
|
|
|
728
|
-
#
|
|
693
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:401
|
|
729
694
|
def enable_coverage(criterion); end
|
|
730
695
|
|
|
731
|
-
#
|
|
696
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:456
|
|
732
697
|
def enable_coverage_for_eval; end
|
|
733
698
|
|
|
734
699
|
# gets or sets the enabled_for_subprocess configuration
|
|
735
700
|
# when true, this will inject SimpleCov code into Process.fork
|
|
736
701
|
#
|
|
737
|
-
#
|
|
702
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:202
|
|
738
703
|
def enable_for_subprocesses(value = T.unsafe(nil)); end
|
|
739
704
|
|
|
740
705
|
# gets the enabled_for_subprocess configuration
|
|
741
706
|
#
|
|
742
|
-
#
|
|
743
|
-
#
|
|
744
|
-
# source://simplecov//lib/simplecov/configuration.rb#209
|
|
707
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:209
|
|
745
708
|
def enabled_for_subprocesses?; end
|
|
746
709
|
|
|
747
710
|
# Returns the list of configured filters. Add filters using SimpleCov.add_filter.
|
|
748
711
|
#
|
|
749
|
-
#
|
|
712
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:74
|
|
750
713
|
def filters; end
|
|
751
714
|
|
|
752
|
-
#
|
|
753
|
-
#
|
|
754
|
-
# @param value the value to set the attribute filters to.
|
|
715
|
+
# Returns the list of configured filters. Add filters using SimpleCov.add_filter.
|
|
755
716
|
#
|
|
756
|
-
#
|
|
717
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:14
|
|
757
718
|
def filters=(_arg0); end
|
|
758
719
|
|
|
759
720
|
# Gets or sets the configured formatter.
|
|
760
721
|
#
|
|
761
722
|
# Configure with: SimpleCov.formatter(SimpleCov::Formatter::SimpleFormatter)
|
|
762
723
|
#
|
|
763
|
-
#
|
|
724
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:98
|
|
764
725
|
def formatter(formatter = T.unsafe(nil)); end
|
|
765
726
|
|
|
766
|
-
#
|
|
727
|
+
# Gets or sets the configured formatter.
|
|
767
728
|
#
|
|
768
|
-
#
|
|
729
|
+
# Configure with: SimpleCov.formatter(SimpleCov::Formatter::SimpleFormatter)
|
|
769
730
|
#
|
|
770
|
-
#
|
|
731
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:14
|
|
771
732
|
def formatter=(_arg0); end
|
|
772
733
|
|
|
773
734
|
# Gets the configured formatters.
|
|
774
735
|
#
|
|
775
|
-
#
|
|
736
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:117
|
|
776
737
|
def formatters; end
|
|
777
738
|
|
|
778
739
|
# Sets the configured formatters.
|
|
779
740
|
#
|
|
780
|
-
#
|
|
741
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:110
|
|
781
742
|
def formatters=(formatters); end
|
|
782
743
|
|
|
783
744
|
# Returns the configured groups. Add groups using SimpleCov.add_group
|
|
784
745
|
#
|
|
785
|
-
#
|
|
746
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:150
|
|
786
747
|
def groups; end
|
|
787
748
|
|
|
788
|
-
#
|
|
789
|
-
#
|
|
790
|
-
# @param value the value to set the attribute groups to.
|
|
749
|
+
# Returns the configured groups. Add groups using SimpleCov.add_group
|
|
791
750
|
#
|
|
792
|
-
#
|
|
751
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:14
|
|
793
752
|
def groups=(_arg0); end
|
|
794
753
|
|
|
795
754
|
# Defines the maximum coverage drop at once allowed for the testsuite to pass.
|
|
@@ -797,7 +756,7 @@ module SimpleCov::Configuration
|
|
|
797
756
|
#
|
|
798
757
|
# Default is 100% (disabled)
|
|
799
758
|
#
|
|
800
|
-
#
|
|
759
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:313
|
|
801
760
|
def maximum_coverage_drop(coverage_drop = T.unsafe(nil)); end
|
|
802
761
|
|
|
803
762
|
# Defines the maximum age (in seconds) of a resultset to still be included in merged results.
|
|
@@ -811,7 +770,7 @@ module SimpleCov::Configuration
|
|
|
811
770
|
#
|
|
812
771
|
# Configure with SimpleCov.merge_timeout(3600) # 1hr
|
|
813
772
|
#
|
|
814
|
-
#
|
|
773
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:279
|
|
815
774
|
def merge_timeout(seconds = T.unsafe(nil)); end
|
|
816
775
|
|
|
817
776
|
# Defines the minimum overall coverage required for the testsuite to pass.
|
|
@@ -819,7 +778,7 @@ module SimpleCov::Configuration
|
|
|
819
778
|
#
|
|
820
779
|
# Default is 0% (disabled)
|
|
821
780
|
#
|
|
822
|
-
#
|
|
781
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:290
|
|
823
782
|
def minimum_coverage(coverage = T.unsafe(nil)); end
|
|
824
783
|
|
|
825
784
|
# Defines the minimum coverage per file required for the testsuite to pass.
|
|
@@ -828,7 +787,7 @@ module SimpleCov::Configuration
|
|
|
828
787
|
#
|
|
829
788
|
# Default is 0% (disabled)
|
|
830
789
|
#
|
|
831
|
-
#
|
|
790
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:330
|
|
832
791
|
def minimum_coverage_by_file(coverage = T.unsafe(nil)); end
|
|
833
792
|
|
|
834
793
|
# Certain code blocks (i.e. Ruby-implementation specific code) can be excluded from
|
|
@@ -837,43 +796,42 @@ module SimpleCov::Configuration
|
|
|
837
796
|
#
|
|
838
797
|
# Configure with SimpleCov.nocov_token('skip') or it's alias SimpleCov.skip_token('skip')
|
|
839
798
|
#
|
|
840
|
-
#
|
|
799
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:140
|
|
841
800
|
def nocov_token(nocov_token = T.unsafe(nil)); end
|
|
842
801
|
|
|
843
|
-
#
|
|
802
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:407
|
|
844
803
|
def primary_coverage(criterion = T.unsafe(nil)); end
|
|
845
804
|
|
|
846
805
|
# Whether we should print non-success status codes. This can be
|
|
847
806
|
# configured with the #print_error_status= method.
|
|
848
807
|
#
|
|
849
|
-
#
|
|
808
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:129
|
|
850
809
|
def print_error_status; end
|
|
851
810
|
|
|
852
|
-
#
|
|
853
|
-
#
|
|
854
|
-
# @param value the value to set the attribute print_error_status to.
|
|
811
|
+
# Whether we should print non-success status codes. This can be
|
|
812
|
+
# configured with the #print_error_status= method.
|
|
855
813
|
#
|
|
856
|
-
#
|
|
814
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:14
|
|
857
815
|
def print_error_status=(_arg0); end
|
|
858
816
|
|
|
859
817
|
# Returns the hash of available profiles
|
|
860
818
|
#
|
|
861
|
-
#
|
|
819
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:157
|
|
862
820
|
def profiles; end
|
|
863
821
|
|
|
864
822
|
# Returns the project name - currently assuming the last dirname in
|
|
865
823
|
# the SimpleCov.root is this.
|
|
866
824
|
#
|
|
867
|
-
#
|
|
825
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:251
|
|
868
826
|
def project_name(new_name = T.unsafe(nil)); end
|
|
869
827
|
|
|
870
|
-
#
|
|
828
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:300
|
|
871
829
|
def raise_on_invalid_coverage(coverage, coverage_setting); end
|
|
872
830
|
|
|
873
831
|
# Refuses any coverage drop. That is, coverage is only allowed to increase.
|
|
874
832
|
# SimpleCov will return non-zero if the coverage decreases.
|
|
875
833
|
#
|
|
876
|
-
#
|
|
834
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:344
|
|
877
835
|
def refuse_coverage_drop(*criteria); end
|
|
878
836
|
|
|
879
837
|
# The root for the project. This defaults to the
|
|
@@ -881,58 +839,52 @@ module SimpleCov::Configuration
|
|
|
881
839
|
#
|
|
882
840
|
# Configure with SimpleCov.root('/my/project/path')
|
|
883
841
|
#
|
|
884
|
-
#
|
|
842
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:22
|
|
885
843
|
def root(root = T.unsafe(nil)); end
|
|
886
844
|
|
|
887
|
-
#
|
|
888
|
-
# the coverage metrics by wrapping it inside # :nocov: comment blocks. The nocov token
|
|
889
|
-
# can be configured to be any other string using this.
|
|
890
|
-
#
|
|
891
|
-
# Configure with SimpleCov.nocov_token('skip') or it's alias SimpleCov.skip_token('skip')
|
|
892
|
-
#
|
|
893
|
-
# source://simplecov//lib/simplecov/configuration.rb#140
|
|
845
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:145
|
|
894
846
|
def skip_token(nocov_token = T.unsafe(nil)); end
|
|
895
847
|
|
|
896
848
|
# Coverage results will always include files matched by this glob, whether
|
|
897
849
|
# or not they were explicitly required. Without this, un-required files
|
|
898
850
|
# will not be present in the final report.
|
|
899
851
|
#
|
|
900
|
-
#
|
|
852
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:59
|
|
901
853
|
def track_files(glob); end
|
|
902
854
|
|
|
903
855
|
# Returns the glob that will be used to include files that were not
|
|
904
856
|
# explicitly required.
|
|
905
857
|
#
|
|
906
|
-
#
|
|
858
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:67
|
|
907
859
|
def tracked_files; end
|
|
908
860
|
|
|
909
861
|
# Defines whether to use result merging so all your test suites (test:units, test:functionals, cucumber, ...)
|
|
910
862
|
# are joined and combined into a single coverage report
|
|
911
863
|
#
|
|
912
|
-
#
|
|
864
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:262
|
|
913
865
|
def use_merging(use = T.unsafe(nil)); end
|
|
914
866
|
|
|
915
867
|
private
|
|
916
868
|
|
|
917
|
-
#
|
|
869
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:483
|
|
918
870
|
def minimum_possible_coverage_exceeded(coverage_option); end
|
|
919
871
|
|
|
920
872
|
# The actual filter processor. Not meant for direct use
|
|
921
873
|
#
|
|
922
|
-
#
|
|
874
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:490
|
|
923
875
|
def parse_filter(filter_argument = T.unsafe(nil), &filter_proc); end
|
|
924
876
|
|
|
925
|
-
#
|
|
877
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:466
|
|
926
878
|
def raise_if_criterion_disabled(criterion); end
|
|
927
879
|
|
|
928
|
-
#
|
|
880
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:475
|
|
929
881
|
def raise_if_criterion_unsupported(criterion); end
|
|
930
882
|
end
|
|
931
883
|
|
|
932
|
-
#
|
|
884
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:381
|
|
933
885
|
SimpleCov::Configuration::DEFAULT_COVERAGE_CRITERION = T.let(T.unsafe(nil), Symbol)
|
|
934
886
|
|
|
935
|
-
#
|
|
887
|
+
# pkg:gem/simplecov#lib/simplecov/configuration.rb:380
|
|
936
888
|
SimpleCov::Configuration::SUPPORTED_COVERAGE_CRITERIA = T.let(T.unsafe(nil), Array)
|
|
937
889
|
|
|
938
890
|
# Holds the individual data of a coverage result.
|
|
@@ -945,332 +897,292 @@ SimpleCov::Configuration::SUPPORTED_COVERAGE_CRITERIA = T.let(T.unsafe(nil), Arr
|
|
|
945
897
|
# * percent - percentage as covered/missed
|
|
946
898
|
# * strength - average hits per/coverable (will not exist for one shot lines format)
|
|
947
899
|
#
|
|
948
|
-
#
|
|
900
|
+
# pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:13
|
|
949
901
|
class SimpleCov::CoverageStatistics
|
|
950
902
|
# Requires only covered, missed and strength to be initialized.
|
|
951
903
|
#
|
|
952
904
|
# Other values are computed by this class.
|
|
953
905
|
#
|
|
954
|
-
#
|
|
955
|
-
#
|
|
956
|
-
# source://simplecov//lib/simplecov/coverage_statistics.rb#34
|
|
906
|
+
# pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:34
|
|
957
907
|
def initialize(covered:, missed:, total_strength: T.unsafe(nil)); end
|
|
958
908
|
|
|
959
|
-
#
|
|
960
|
-
#
|
|
961
|
-
# source://simplecov//lib/simplecov/coverage_statistics.rb#14
|
|
909
|
+
# pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:14
|
|
962
910
|
def covered; end
|
|
963
911
|
|
|
964
|
-
#
|
|
965
|
-
#
|
|
966
|
-
# source://simplecov//lib/simplecov/coverage_statistics.rb#14
|
|
912
|
+
# pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:14
|
|
967
913
|
def missed; end
|
|
968
914
|
|
|
969
|
-
#
|
|
970
|
-
#
|
|
971
|
-
# source://simplecov//lib/simplecov/coverage_statistics.rb#14
|
|
915
|
+
# pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:14
|
|
972
916
|
def percent; end
|
|
973
917
|
|
|
974
|
-
#
|
|
975
|
-
#
|
|
976
|
-
# source://simplecov//lib/simplecov/coverage_statistics.rb#14
|
|
918
|
+
# pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:14
|
|
977
919
|
def strength; end
|
|
978
920
|
|
|
979
|
-
#
|
|
980
|
-
#
|
|
981
|
-
# source://simplecov//lib/simplecov/coverage_statistics.rb#14
|
|
921
|
+
# pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:14
|
|
982
922
|
def total; end
|
|
983
923
|
|
|
984
924
|
private
|
|
985
925
|
|
|
986
|
-
#
|
|
926
|
+
# pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:44
|
|
987
927
|
def compute_percent(covered, missed, total); end
|
|
988
928
|
|
|
989
|
-
#
|
|
929
|
+
# pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:50
|
|
990
930
|
def compute_strength(total_strength, total); end
|
|
991
931
|
|
|
992
932
|
class << self
|
|
993
|
-
#
|
|
933
|
+
# pkg:gem/simplecov#lib/simplecov/coverage_statistics.rb:16
|
|
994
934
|
def from(coverage_statistics); end
|
|
995
935
|
end
|
|
996
936
|
end
|
|
997
937
|
|
|
998
|
-
#
|
|
938
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes.rb:4
|
|
999
939
|
module SimpleCov::ExitCodes; end
|
|
1000
940
|
|
|
1001
|
-
#
|
|
941
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes.rb:6
|
|
1002
942
|
SimpleCov::ExitCodes::EXCEPTION = T.let(T.unsafe(nil), Integer)
|
|
1003
943
|
|
|
1004
|
-
#
|
|
944
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/exit_code_handling.rb:5
|
|
1005
945
|
module SimpleCov::ExitCodes::ExitCodeHandling
|
|
1006
946
|
private
|
|
1007
947
|
|
|
1008
|
-
#
|
|
948
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/exit_code_handling.rb:8
|
|
1009
949
|
def call(result, coverage_limits:); end
|
|
1010
950
|
|
|
1011
|
-
#
|
|
951
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/exit_code_handling.rb:20
|
|
1012
952
|
def coverage_checks(result, coverage_limits); end
|
|
1013
953
|
|
|
1014
954
|
class << self
|
|
1015
|
-
#
|
|
955
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/exit_code_handling.rb:8
|
|
1016
956
|
def call(result, coverage_limits:); end
|
|
1017
957
|
|
|
1018
|
-
#
|
|
958
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/exit_code_handling.rb:20
|
|
1019
959
|
def coverage_checks(result, coverage_limits); end
|
|
1020
960
|
end
|
|
1021
961
|
end
|
|
1022
962
|
|
|
1023
|
-
#
|
|
963
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes.rb:8
|
|
1024
964
|
SimpleCov::ExitCodes::MAXIMUM_COVERAGE_DROP = T.let(T.unsafe(nil), Integer)
|
|
1025
965
|
|
|
1026
|
-
#
|
|
966
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes.rb:7
|
|
1027
967
|
SimpleCov::ExitCodes::MINIMUM_COVERAGE = T.let(T.unsafe(nil), Integer)
|
|
1028
968
|
|
|
1029
|
-
#
|
|
969
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:5
|
|
1030
970
|
class SimpleCov::ExitCodes::MaximumCoverageDropCheck
|
|
1031
|
-
#
|
|
1032
|
-
#
|
|
1033
|
-
# source://simplecov//lib/simplecov/exit_codes/maximum_coverage_drop_check.rb#6
|
|
971
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:6
|
|
1034
972
|
def initialize(result, maximum_coverage_drop); end
|
|
1035
973
|
|
|
1036
|
-
#
|
|
974
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:28
|
|
1037
975
|
def exit_code; end
|
|
1038
976
|
|
|
1039
|
-
#
|
|
1040
|
-
#
|
|
1041
|
-
# source://simplecov//lib/simplecov/exit_codes/maximum_coverage_drop_check.rb#11
|
|
977
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:11
|
|
1042
978
|
def failing?; end
|
|
1043
979
|
|
|
1044
|
-
#
|
|
980
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:17
|
|
1045
981
|
def report; end
|
|
1046
982
|
|
|
1047
983
|
private
|
|
1048
984
|
|
|
1049
|
-
#
|
|
985
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:49
|
|
1050
986
|
def compute_coverage_drop_data; end
|
|
1051
987
|
|
|
1052
|
-
#
|
|
988
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:42
|
|
1053
989
|
def coverage_drop_violations; end
|
|
1054
990
|
|
|
1055
|
-
#
|
|
991
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:61
|
|
1056
992
|
def drop_percent(criterion); end
|
|
1057
993
|
|
|
1058
|
-
#
|
|
994
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:73
|
|
1059
995
|
def last_coverage(criterion); end
|
|
1060
996
|
|
|
1061
|
-
#
|
|
997
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:36
|
|
1062
998
|
def last_run; end
|
|
1063
999
|
|
|
1064
|
-
#
|
|
1065
|
-
#
|
|
1066
|
-
# source://simplecov//lib/simplecov/exit_codes/maximum_coverage_drop_check.rb#34
|
|
1000
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:34
|
|
1067
1001
|
def maximum_coverage_drop; end
|
|
1068
1002
|
|
|
1069
|
-
#
|
|
1070
|
-
#
|
|
1071
|
-
# source://simplecov//lib/simplecov/exit_codes/maximum_coverage_drop_check.rb#34
|
|
1003
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:34
|
|
1072
1004
|
def result; end
|
|
1073
1005
|
end
|
|
1074
1006
|
|
|
1075
1007
|
# if anyone says "max_coverage_drop 0.000000000000000001" I appologize. Please don't.
|
|
1076
1008
|
#
|
|
1077
|
-
#
|
|
1009
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/maximum_coverage_drop_check.rb:60
|
|
1078
1010
|
SimpleCov::ExitCodes::MaximumCoverageDropCheck::MAX_DROP_ACCURACY = T.let(T.unsafe(nil), Integer)
|
|
1079
1011
|
|
|
1080
|
-
#
|
|
1012
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:5
|
|
1081
1013
|
class SimpleCov::ExitCodes::MinimumCoverageByFileCheck
|
|
1082
|
-
#
|
|
1083
|
-
#
|
|
1084
|
-
# source://simplecov//lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb#6
|
|
1014
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:6
|
|
1085
1015
|
def initialize(result, minimum_coverage_by_file); end
|
|
1086
1016
|
|
|
1087
|
-
#
|
|
1017
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:26
|
|
1088
1018
|
def exit_code; end
|
|
1089
1019
|
|
|
1090
|
-
#
|
|
1091
|
-
#
|
|
1092
|
-
# source://simplecov//lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb#11
|
|
1020
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:11
|
|
1093
1021
|
def failing?; end
|
|
1094
1022
|
|
|
1095
|
-
#
|
|
1023
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:15
|
|
1096
1024
|
def report; end
|
|
1097
1025
|
|
|
1098
1026
|
private
|
|
1099
1027
|
|
|
1100
|
-
#
|
|
1028
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:41
|
|
1101
1029
|
def compute_minimum_coverage_data; end
|
|
1102
1030
|
|
|
1103
|
-
#
|
|
1104
|
-
#
|
|
1105
|
-
# source://simplecov//lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb#32
|
|
1031
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:32
|
|
1106
1032
|
def minimum_coverage_by_file; end
|
|
1107
1033
|
|
|
1108
|
-
#
|
|
1034
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:34
|
|
1109
1035
|
def minimum_violations; end
|
|
1110
1036
|
|
|
1111
|
-
#
|
|
1112
|
-
#
|
|
1113
|
-
# source://simplecov//lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb#32
|
|
1037
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb:32
|
|
1114
1038
|
def result; end
|
|
1115
1039
|
end
|
|
1116
1040
|
|
|
1117
|
-
#
|
|
1041
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:5
|
|
1118
1042
|
class SimpleCov::ExitCodes::MinimumOverallCoverageCheck
|
|
1119
|
-
#
|
|
1120
|
-
#
|
|
1121
|
-
# source://simplecov//lib/simplecov/exit_codes/minimum_overall_coverage_check.rb#6
|
|
1043
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:6
|
|
1122
1044
|
def initialize(result, minimum_coverage); end
|
|
1123
1045
|
|
|
1124
|
-
#
|
|
1046
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:26
|
|
1125
1047
|
def exit_code; end
|
|
1126
1048
|
|
|
1127
|
-
#
|
|
1128
|
-
#
|
|
1129
|
-
# source://simplecov//lib/simplecov/exit_codes/minimum_overall_coverage_check.rb#11
|
|
1049
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:11
|
|
1130
1050
|
def failing?; end
|
|
1131
1051
|
|
|
1132
|
-
#
|
|
1052
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:15
|
|
1133
1053
|
def report; end
|
|
1134
1054
|
|
|
1135
1055
|
private
|
|
1136
1056
|
|
|
1137
|
-
#
|
|
1057
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:38
|
|
1138
1058
|
def calculate_minimum_violations; end
|
|
1139
1059
|
|
|
1140
|
-
#
|
|
1141
|
-
#
|
|
1142
|
-
# source://simplecov//lib/simplecov/exit_codes/minimum_overall_coverage_check.rb#32
|
|
1060
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:32
|
|
1143
1061
|
def minimum_coverage; end
|
|
1144
1062
|
|
|
1145
|
-
#
|
|
1063
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:34
|
|
1146
1064
|
def minimum_violations; end
|
|
1147
1065
|
|
|
1148
|
-
#
|
|
1149
|
-
#
|
|
1150
|
-
# source://simplecov//lib/simplecov/exit_codes/minimum_overall_coverage_check.rb#32
|
|
1066
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes/minimum_overall_coverage_check.rb:32
|
|
1151
1067
|
def result; end
|
|
1152
1068
|
end
|
|
1153
1069
|
|
|
1154
|
-
#
|
|
1070
|
+
# pkg:gem/simplecov#lib/simplecov/exit_codes.rb:5
|
|
1155
1071
|
SimpleCov::ExitCodes::SUCCESS = T.let(T.unsafe(nil), Integer)
|
|
1156
1072
|
|
|
1157
1073
|
# An array of SimpleCov SourceFile instances with additional collection helper
|
|
1158
1074
|
# methods for calculating coverage across them etc.
|
|
1159
1075
|
#
|
|
1160
|
-
#
|
|
1076
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:6
|
|
1161
1077
|
class SimpleCov::FileList
|
|
1162
1078
|
include ::Enumerable
|
|
1163
1079
|
extend ::Forwardable
|
|
1164
1080
|
|
|
1165
|
-
#
|
|
1166
|
-
#
|
|
1167
|
-
# source://simplecov//lib/simplecov/file_list.rb#22
|
|
1081
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:22
|
|
1168
1082
|
def initialize(files); end
|
|
1169
1083
|
|
|
1170
|
-
#
|
|
1084
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:101
|
|
1171
1085
|
def branch_covered_percent; end
|
|
1172
1086
|
|
|
1173
|
-
#
|
|
1174
|
-
def count(*
|
|
1087
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:10
|
|
1088
|
+
def count(*_arg0, **_arg1, &_arg2); end
|
|
1175
1089
|
|
|
1176
|
-
#
|
|
1090
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:26
|
|
1177
1091
|
def coverage_statistics; end
|
|
1178
1092
|
|
|
1179
|
-
#
|
|
1093
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:30
|
|
1180
1094
|
def coverage_statistics_by_file; end
|
|
1181
1095
|
|
|
1182
1096
|
# Return total count of covered branches
|
|
1183
1097
|
#
|
|
1184
|
-
#
|
|
1098
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:92
|
|
1185
1099
|
def covered_branches; end
|
|
1186
1100
|
|
|
1187
1101
|
# Returns the count of lines that have coverage
|
|
1188
1102
|
#
|
|
1189
|
-
#
|
|
1103
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:35
|
|
1190
1104
|
def covered_lines; end
|
|
1191
1105
|
|
|
1192
1106
|
# Computes the coverage based upon lines covered and lines missed
|
|
1193
|
-
#
|
|
1194
1107
|
# @return [Float]
|
|
1195
1108
|
#
|
|
1196
|
-
#
|
|
1109
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:76
|
|
1197
1110
|
def covered_percent; end
|
|
1198
1111
|
|
|
1199
1112
|
# Computes the coverage based upon lines covered and lines missed for each file
|
|
1200
1113
|
# Returns an array with all coverage percentages
|
|
1201
1114
|
#
|
|
1202
|
-
#
|
|
1115
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:60
|
|
1203
1116
|
def covered_percentages; end
|
|
1204
1117
|
|
|
1205
1118
|
# Computes the strength (hits / line) based upon lines covered and lines missed
|
|
1206
|
-
#
|
|
1207
1119
|
# @return [Float]
|
|
1208
1120
|
#
|
|
1209
|
-
#
|
|
1121
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:82
|
|
1210
1122
|
def covered_strength; end
|
|
1211
1123
|
|
|
1212
|
-
#
|
|
1213
|
-
def each(*
|
|
1124
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:10
|
|
1125
|
+
def each(*_arg0, **_arg1, &_arg2); end
|
|
1214
1126
|
|
|
1215
|
-
#
|
|
1216
|
-
def empty?(*
|
|
1127
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:10
|
|
1128
|
+
def empty?(*_arg0, **_arg1, &_arg2); end
|
|
1217
1129
|
|
|
1218
1130
|
# Finds the least covered file and returns that file's name
|
|
1219
1131
|
#
|
|
1220
|
-
#
|
|
1132
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:65
|
|
1221
1133
|
def least_covered_file; end
|
|
1222
1134
|
|
|
1223
|
-
#
|
|
1224
|
-
def length(*
|
|
1135
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:10
|
|
1136
|
+
def length(*_arg0, **_arg1, &_arg2); end
|
|
1225
1137
|
|
|
1226
1138
|
# Returns the overall amount of relevant lines of code across all files in this list
|
|
1227
1139
|
#
|
|
1228
|
-
#
|
|
1140
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:70
|
|
1229
1141
|
def lines_of_code; end
|
|
1230
1142
|
|
|
1231
|
-
#
|
|
1232
|
-
def map(*
|
|
1143
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:10
|
|
1144
|
+
def map(*_arg0, **_arg1, &_arg2); end
|
|
1233
1145
|
|
|
1234
1146
|
# Return total count of covered branches
|
|
1235
1147
|
#
|
|
1236
|
-
#
|
|
1148
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:97
|
|
1237
1149
|
def missed_branches; end
|
|
1238
1150
|
|
|
1239
1151
|
# Returns the count of lines that have been missed
|
|
1240
1152
|
#
|
|
1241
|
-
#
|
|
1153
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:40
|
|
1242
1154
|
def missed_lines; end
|
|
1243
1155
|
|
|
1244
1156
|
# Returns the count of lines that are not relevant for coverage
|
|
1245
1157
|
#
|
|
1246
|
-
#
|
|
1158
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:45
|
|
1247
1159
|
def never_lines; end
|
|
1248
1160
|
|
|
1249
|
-
#
|
|
1250
|
-
def size(*
|
|
1161
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:10
|
|
1162
|
+
def size(*_arg0, **_arg1, &_arg2); end
|
|
1251
1163
|
|
|
1252
1164
|
# Returns the count of skipped lines
|
|
1253
1165
|
#
|
|
1254
|
-
#
|
|
1166
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:52
|
|
1255
1167
|
def skipped_lines; end
|
|
1256
1168
|
|
|
1257
|
-
#
|
|
1258
|
-
def to_a(*
|
|
1169
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:10
|
|
1170
|
+
def to_a(*_arg0, **_arg1, &_arg2); end
|
|
1259
1171
|
|
|
1260
|
-
#
|
|
1261
|
-
def to_ary(*
|
|
1172
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:10
|
|
1173
|
+
def to_ary(*_arg0, **_arg1, &_arg2); end
|
|
1262
1174
|
|
|
1263
1175
|
# Return total count of branches in all files
|
|
1264
1176
|
#
|
|
1265
|
-
#
|
|
1177
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:87
|
|
1266
1178
|
def total_branches; end
|
|
1267
1179
|
|
|
1268
1180
|
private
|
|
1269
1181
|
|
|
1270
|
-
#
|
|
1182
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:114
|
|
1271
1183
|
def compute_coverage_statistics; end
|
|
1272
1184
|
|
|
1273
|
-
#
|
|
1185
|
+
# pkg:gem/simplecov#lib/simplecov/file_list.rb:107
|
|
1274
1186
|
def compute_coverage_statistics_by_file; end
|
|
1275
1187
|
end
|
|
1276
1188
|
|
|
@@ -1284,84 +1196,76 @@ end
|
|
|
1284
1196
|
# end
|
|
1285
1197
|
# end
|
|
1286
1198
|
#
|
|
1287
|
-
#
|
|
1199
|
+
# pkg:gem/simplecov#lib/simplecov/filter.rb:15
|
|
1288
1200
|
class SimpleCov::Filter
|
|
1289
|
-
#
|
|
1290
|
-
#
|
|
1291
|
-
# source://simplecov//lib/simplecov/filter.rb#18
|
|
1201
|
+
# pkg:gem/simplecov#lib/simplecov/filter.rb:18
|
|
1292
1202
|
def initialize(filter_argument); end
|
|
1293
1203
|
|
|
1294
|
-
#
|
|
1295
|
-
#
|
|
1296
|
-
# source://simplecov//lib/simplecov/filter.rb#16
|
|
1204
|
+
# pkg:gem/simplecov#lib/simplecov/filter.rb:16
|
|
1297
1205
|
def filter_argument; end
|
|
1298
1206
|
|
|
1299
|
-
#
|
|
1300
|
-
#
|
|
1301
|
-
# source://simplecov//lib/simplecov/filter.rb#22
|
|
1207
|
+
# pkg:gem/simplecov#lib/simplecov/filter.rb:22
|
|
1302
1208
|
def matches?(_source_file); end
|
|
1303
1209
|
|
|
1304
|
-
#
|
|
1305
|
-
#
|
|
1306
|
-
# source://simplecov//lib/simplecov/filter.rb#26
|
|
1210
|
+
# pkg:gem/simplecov#lib/simplecov/filter.rb:26
|
|
1307
1211
|
def passes?(source_file); end
|
|
1308
1212
|
|
|
1309
1213
|
class << self
|
|
1310
|
-
#
|
|
1214
|
+
# pkg:gem/simplecov#lib/simplecov/filter.rb:31
|
|
1311
1215
|
def build_filter(filter_argument); end
|
|
1312
1216
|
|
|
1313
|
-
#
|
|
1217
|
+
# pkg:gem/simplecov#lib/simplecov/filter.rb:37
|
|
1314
1218
|
def class_for_argument(filter_argument); end
|
|
1315
1219
|
end
|
|
1316
1220
|
end
|
|
1317
1221
|
|
|
1318
1222
|
# TODO: Documentation on how to build your own formatters
|
|
1319
1223
|
#
|
|
1320
|
-
#
|
|
1224
|
+
# pkg:gem/simplecov#lib/simplecov/formatter/multi_formatter.rb:4
|
|
1321
1225
|
module SimpleCov::Formatter
|
|
1322
1226
|
class << self
|
|
1323
|
-
#
|
|
1227
|
+
# pkg:gem/simplecov#lib/simplecov/default_formatter.rb:7
|
|
1324
1228
|
def from_env(env); end
|
|
1325
1229
|
end
|
|
1326
1230
|
end
|
|
1327
1231
|
|
|
1328
|
-
#
|
|
1232
|
+
# pkg:gem/simplecov#lib/simplecov/formatter/multi_formatter.rb:5
|
|
1329
1233
|
class SimpleCov::Formatter::MultiFormatter
|
|
1330
1234
|
class << self
|
|
1331
|
-
#
|
|
1235
|
+
# pkg:gem/simplecov#lib/simplecov/formatter/multi_formatter.rb:26
|
|
1332
1236
|
def [](*args); end
|
|
1333
1237
|
|
|
1334
|
-
#
|
|
1238
|
+
# pkg:gem/simplecov#lib/simplecov/formatter/multi_formatter.rb:17
|
|
1335
1239
|
def new(formatters = T.unsafe(nil)); end
|
|
1336
1240
|
end
|
|
1337
1241
|
end
|
|
1338
1242
|
|
|
1339
|
-
#
|
|
1243
|
+
# pkg:gem/simplecov#lib/simplecov/formatter/multi_formatter.rb:6
|
|
1340
1244
|
module SimpleCov::Formatter::MultiFormatter::InstanceMethods
|
|
1341
|
-
#
|
|
1245
|
+
# pkg:gem/simplecov#lib/simplecov/formatter/multi_formatter.rb:7
|
|
1342
1246
|
def format(result); end
|
|
1343
1247
|
end
|
|
1344
1248
|
|
|
1345
1249
|
# A ridiculously simple formatter for SimpleCov results.
|
|
1346
1250
|
#
|
|
1347
|
-
#
|
|
1251
|
+
# pkg:gem/simplecov#lib/simplecov/formatter/simple_formatter.rb:8
|
|
1348
1252
|
class SimpleCov::Formatter::SimpleFormatter
|
|
1349
1253
|
# Takes a SimpleCov::Result and generates a string out of it
|
|
1350
1254
|
#
|
|
1351
|
-
#
|
|
1255
|
+
# pkg:gem/simplecov#lib/simplecov/formatter/simple_formatter.rb:10
|
|
1352
1256
|
def format(result); end
|
|
1353
1257
|
end
|
|
1354
1258
|
|
|
1355
|
-
#
|
|
1259
|
+
# pkg:gem/simplecov#lib/simplecov/last_run.rb:6
|
|
1356
1260
|
module SimpleCov::LastRun
|
|
1357
1261
|
class << self
|
|
1358
|
-
#
|
|
1262
|
+
# pkg:gem/simplecov#lib/simplecov/last_run.rb:8
|
|
1359
1263
|
def last_run_path; end
|
|
1360
1264
|
|
|
1361
|
-
#
|
|
1265
|
+
# pkg:gem/simplecov#lib/simplecov/last_run.rb:12
|
|
1362
1266
|
def read; end
|
|
1363
1267
|
|
|
1364
|
-
#
|
|
1268
|
+
# pkg:gem/simplecov#lib/simplecov/last_run.rb:21
|
|
1365
1269
|
def write(json); end
|
|
1366
1270
|
end
|
|
1367
1271
|
end
|
|
@@ -1369,40 +1273,36 @@ end
|
|
|
1369
1273
|
# Classifies whether lines are relevant for code coverage analysis.
|
|
1370
1274
|
# Comments & whitespace lines, and :nocov: token blocks, are considered not relevant.
|
|
1371
1275
|
#
|
|
1372
|
-
#
|
|
1276
|
+
# pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:7
|
|
1373
1277
|
class SimpleCov::LinesClassifier
|
|
1374
|
-
#
|
|
1278
|
+
# pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:33
|
|
1375
1279
|
def classify(lines); end
|
|
1376
1280
|
|
|
1377
1281
|
class << self
|
|
1378
|
-
#
|
|
1282
|
+
# pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:15
|
|
1379
1283
|
def no_cov_line; end
|
|
1380
1284
|
|
|
1381
|
-
#
|
|
1382
|
-
#
|
|
1383
|
-
# source://simplecov//lib/simplecov/lines_classifier.rb#19
|
|
1285
|
+
# pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:19
|
|
1384
1286
|
def no_cov_line?(line); end
|
|
1385
1287
|
|
|
1386
|
-
#
|
|
1387
|
-
#
|
|
1388
|
-
# source://simplecov//lib/simplecov/lines_classifier.rb#26
|
|
1288
|
+
# pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:26
|
|
1389
1289
|
def whitespace_line?(line); end
|
|
1390
1290
|
end
|
|
1391
1291
|
end
|
|
1392
1292
|
|
|
1393
|
-
#
|
|
1293
|
+
# pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:12
|
|
1394
1294
|
SimpleCov::LinesClassifier::COMMENT_LINE = T.let(T.unsafe(nil), Regexp)
|
|
1395
1295
|
|
|
1396
|
-
#
|
|
1296
|
+
# pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:9
|
|
1397
1297
|
SimpleCov::LinesClassifier::NOT_RELEVANT = T.let(T.unsafe(nil), T.untyped)
|
|
1398
1298
|
|
|
1399
|
-
#
|
|
1299
|
+
# pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:8
|
|
1400
1300
|
SimpleCov::LinesClassifier::RELEVANT = T.let(T.unsafe(nil), Integer)
|
|
1401
1301
|
|
|
1402
|
-
#
|
|
1302
|
+
# pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:11
|
|
1403
1303
|
SimpleCov::LinesClassifier::WHITESPACE_LINE = T.let(T.unsafe(nil), Regexp)
|
|
1404
1304
|
|
|
1405
|
-
#
|
|
1305
|
+
# pkg:gem/simplecov#lib/simplecov/lines_classifier.rb:13
|
|
1406
1306
|
SimpleCov::LinesClassifier::WHITESPACE_OR_COMMENT_LINE = T.let(T.unsafe(nil), Regexp)
|
|
1407
1307
|
|
|
1408
1308
|
# Profiles are SimpleCov configuration procs that can be easily
|
|
@@ -1411,177 +1311,172 @@ SimpleCov::LinesClassifier::WHITESPACE_OR_COMMENT_LINE = T.let(T.unsafe(nil), Re
|
|
|
1411
1311
|
# # SimpleCov configuration here, same as in SimpleCov.configure
|
|
1412
1312
|
# end
|
|
1413
1313
|
#
|
|
1414
|
-
#
|
|
1314
|
+
# pkg:gem/simplecov#lib/simplecov/profiles.rb:11
|
|
1415
1315
|
class SimpleCov::Profiles < ::Hash
|
|
1416
1316
|
# Define a SimpleCov profile:
|
|
1417
1317
|
# SimpleCov.profiles.define 'rails' do
|
|
1418
1318
|
# # Same as SimpleCov.configure do .. here
|
|
1419
1319
|
# end
|
|
1420
1320
|
#
|
|
1421
|
-
#
|
|
1321
|
+
# pkg:gem/simplecov#lib/simplecov/profiles.rb:18
|
|
1422
1322
|
def define(name, &blk); end
|
|
1423
1323
|
|
|
1424
1324
|
# Applies the profile of given name on SimpleCov.configure
|
|
1425
1325
|
#
|
|
1426
|
-
#
|
|
1326
|
+
# pkg:gem/simplecov#lib/simplecov/profiles.rb:28
|
|
1427
1327
|
def load(name); end
|
|
1428
1328
|
end
|
|
1429
1329
|
|
|
1430
|
-
#
|
|
1330
|
+
# pkg:gem/simplecov#lib/simplecov/filter.rb:61
|
|
1431
1331
|
class SimpleCov::RegexFilter < ::SimpleCov::Filter
|
|
1432
1332
|
# Returns true when the given source file's filename matches the
|
|
1433
1333
|
# regex configured when initializing this Filter with RegexFilter.new(/someregex/)
|
|
1434
1334
|
#
|
|
1435
|
-
#
|
|
1436
|
-
#
|
|
1437
|
-
# source://simplecov//lib/simplecov/filter.rb#64
|
|
1335
|
+
# pkg:gem/simplecov#lib/simplecov/filter.rb:64
|
|
1438
1336
|
def matches?(source_file); end
|
|
1439
1337
|
end
|
|
1440
1338
|
|
|
1441
1339
|
# A simplecov code coverage result, initialized from the Hash Ruby's built-in coverage
|
|
1442
1340
|
# library generates (Coverage.result).
|
|
1443
1341
|
#
|
|
1444
|
-
#
|
|
1342
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:11
|
|
1445
1343
|
class SimpleCov::Result
|
|
1446
1344
|
extend ::Forwardable
|
|
1447
1345
|
|
|
1448
1346
|
# Initialize a new SimpleCov::Result from given Coverage.result (a Hash of filenames each containing an array of
|
|
1449
1347
|
# coverage data)
|
|
1450
1348
|
#
|
|
1451
|
-
#
|
|
1452
|
-
#
|
|
1453
|
-
# source://simplecov//lib/simplecov/result.rb#28
|
|
1349
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:28
|
|
1454
1350
|
def initialize(original_result, command_name: T.unsafe(nil), created_at: T.unsafe(nil)); end
|
|
1455
1351
|
|
|
1352
|
+
# Explicitly set the command name that was used for this coverage result. Defaults to SimpleCov.command_name
|
|
1456
1353
|
# The command name that launched this result.
|
|
1457
1354
|
# Delegated to SimpleCov.command_name if not set manually
|
|
1458
1355
|
#
|
|
1459
|
-
#
|
|
1356
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:61
|
|
1460
1357
|
def command_name; end
|
|
1461
1358
|
|
|
1462
1359
|
# Explicitly set the command name that was used for this coverage result. Defaults to SimpleCov.command_name
|
|
1360
|
+
# The command name that launched this result.
|
|
1361
|
+
# Delegated to SimpleCov.command_name if not set manually
|
|
1463
1362
|
#
|
|
1464
|
-
#
|
|
1363
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:21
|
|
1465
1364
|
def command_name=(_arg0); end
|
|
1466
1365
|
|
|
1467
|
-
#
|
|
1468
|
-
def coverage_statistics(*
|
|
1366
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:23
|
|
1367
|
+
def coverage_statistics(*_arg0, **_arg1, &_arg2); end
|
|
1469
1368
|
|
|
1470
|
-
#
|
|
1471
|
-
def coverage_statistics_by_file(*
|
|
1369
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:23
|
|
1370
|
+
def coverage_statistics_by_file(*_arg0, **_arg1, &_arg2); end
|
|
1472
1371
|
|
|
1473
|
-
#
|
|
1474
|
-
def covered_branches(*
|
|
1372
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:23
|
|
1373
|
+
def covered_branches(*_arg0, **_arg1, &_arg2); end
|
|
1475
1374
|
|
|
1476
|
-
#
|
|
1477
|
-
def covered_lines(*
|
|
1375
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:23
|
|
1376
|
+
def covered_lines(*_arg0, **_arg1, &_arg2); end
|
|
1478
1377
|
|
|
1479
|
-
#
|
|
1480
|
-
def covered_percent(*
|
|
1378
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:23
|
|
1379
|
+
def covered_percent(*_arg0, **_arg1, &_arg2); end
|
|
1481
1380
|
|
|
1482
|
-
#
|
|
1483
|
-
def covered_percentages(*
|
|
1381
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:23
|
|
1382
|
+
def covered_percentages(*_arg0, **_arg1, &_arg2); end
|
|
1484
1383
|
|
|
1485
|
-
#
|
|
1486
|
-
def covered_strength(*
|
|
1384
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:23
|
|
1385
|
+
def covered_strength(*_arg0, **_arg1, &_arg2); end
|
|
1487
1386
|
|
|
1387
|
+
# Explicitly set the Time this result has been created
|
|
1488
1388
|
# Defines when this result has been created. Defaults to Time.now
|
|
1489
1389
|
#
|
|
1490
|
-
#
|
|
1390
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:55
|
|
1491
1391
|
def created_at; end
|
|
1492
1392
|
|
|
1493
1393
|
# Explicitly set the Time this result has been created
|
|
1394
|
+
# Defines when this result has been created. Defaults to Time.now
|
|
1494
1395
|
#
|
|
1495
|
-
#
|
|
1396
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:19
|
|
1496
1397
|
def created_at=(_arg0); end
|
|
1497
1398
|
|
|
1498
1399
|
# Returns all filenames for source files contained in this result
|
|
1499
1400
|
#
|
|
1500
|
-
#
|
|
1401
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:40
|
|
1501
1402
|
def filenames; end
|
|
1502
1403
|
|
|
1503
1404
|
# Returns all files that are applicable to this result (sans filters!) as instances of SimpleCov::SourceFile. Aliased as :source_files
|
|
1504
1405
|
#
|
|
1505
|
-
#
|
|
1406
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:16
|
|
1506
1407
|
def files; end
|
|
1507
1408
|
|
|
1508
1409
|
# Applies the configured SimpleCov.formatter on this result
|
|
1509
1410
|
#
|
|
1510
|
-
#
|
|
1411
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:50
|
|
1511
1412
|
def format!; end
|
|
1512
1413
|
|
|
1513
1414
|
# Returns a Hash of groups for this result. Define groups using SimpleCov.add_group 'Models', 'app/models'
|
|
1514
1415
|
#
|
|
1515
|
-
#
|
|
1416
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:45
|
|
1516
1417
|
def groups; end
|
|
1517
1418
|
|
|
1518
|
-
#
|
|
1519
|
-
def least_covered_file(*
|
|
1419
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:23
|
|
1420
|
+
def least_covered_file(*_arg0, **_arg1, &_arg2); end
|
|
1520
1421
|
|
|
1521
|
-
#
|
|
1522
|
-
def missed_branches(*
|
|
1422
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:23
|
|
1423
|
+
def missed_branches(*_arg0, **_arg1, &_arg2); end
|
|
1523
1424
|
|
|
1524
|
-
#
|
|
1525
|
-
def missed_lines(*
|
|
1425
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:23
|
|
1426
|
+
def missed_lines(*_arg0, **_arg1, &_arg2); end
|
|
1526
1427
|
|
|
1527
1428
|
# Returns the original Coverage.result used for this instance of SimpleCov::Result
|
|
1528
1429
|
#
|
|
1529
|
-
#
|
|
1430
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:14
|
|
1530
1431
|
def original_result; end
|
|
1531
1432
|
|
|
1532
|
-
#
|
|
1533
|
-
#
|
|
1534
|
-
# source://simplecov//lib/simplecov/result.rb#16
|
|
1433
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:17
|
|
1535
1434
|
def source_files; end
|
|
1536
1435
|
|
|
1537
1436
|
# Returns a hash representation of this Result that can be used for marshalling it into JSON
|
|
1538
1437
|
#
|
|
1539
|
-
#
|
|
1438
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:66
|
|
1540
1439
|
def to_hash; end
|
|
1541
1440
|
|
|
1542
|
-
#
|
|
1543
|
-
def total_branches(*
|
|
1441
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:23
|
|
1442
|
+
def total_branches(*_arg0, **_arg1, &_arg2); end
|
|
1544
1443
|
|
|
1545
|
-
#
|
|
1546
|
-
def total_lines(*
|
|
1444
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:24
|
|
1445
|
+
def total_lines(*_arg0, **_arg1, &_arg2); end
|
|
1547
1446
|
|
|
1548
1447
|
private
|
|
1549
1448
|
|
|
1550
|
-
#
|
|
1449
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:84
|
|
1551
1450
|
def coverage; end
|
|
1552
1451
|
|
|
1553
1452
|
# Applies all configured SimpleCov filters on this result's source files
|
|
1554
1453
|
#
|
|
1555
|
-
#
|
|
1454
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:90
|
|
1556
1455
|
def filter!; end
|
|
1557
1456
|
|
|
1558
1457
|
class << self
|
|
1559
1458
|
# Loads a SimpleCov::Result#to_hash dump
|
|
1560
1459
|
#
|
|
1561
|
-
#
|
|
1460
|
+
# pkg:gem/simplecov#lib/simplecov/result.rb:76
|
|
1562
1461
|
def from_hash(hash); end
|
|
1563
1462
|
end
|
|
1564
1463
|
end
|
|
1565
1464
|
|
|
1566
1465
|
# Responsible for adapting the format of the coverage result whether it's default or with statistics
|
|
1567
1466
|
#
|
|
1568
|
-
#
|
|
1467
|
+
# pkg:gem/simplecov#lib/simplecov/result_adapter.rb:7
|
|
1569
1468
|
class SimpleCov::ResultAdapter
|
|
1570
|
-
#
|
|
1571
|
-
#
|
|
1572
|
-
# source://simplecov//lib/simplecov/result_adapter.rb#10
|
|
1469
|
+
# pkg:gem/simplecov#lib/simplecov/result_adapter.rb:10
|
|
1573
1470
|
def initialize(result); end
|
|
1574
1471
|
|
|
1575
|
-
#
|
|
1472
|
+
# pkg:gem/simplecov#lib/simplecov/result_adapter.rb:18
|
|
1576
1473
|
def adapt; end
|
|
1577
1474
|
|
|
1578
|
-
#
|
|
1579
|
-
#
|
|
1580
|
-
# source://simplecov//lib/simplecov/result_adapter.rb#8
|
|
1475
|
+
# pkg:gem/simplecov#lib/simplecov/result_adapter.rb:8
|
|
1581
1476
|
def result; end
|
|
1582
1477
|
|
|
1583
1478
|
class << self
|
|
1584
|
-
#
|
|
1479
|
+
# pkg:gem/simplecov#lib/simplecov/result_adapter.rb:14
|
|
1585
1480
|
def call(*args); end
|
|
1586
1481
|
end
|
|
1587
1482
|
end
|
|
@@ -1590,10 +1485,10 @@ end
|
|
|
1590
1485
|
# SimpleCov::Results into a single result for coverage analysis based
|
|
1591
1486
|
# upon multiple test suites.
|
|
1592
1487
|
#
|
|
1593
|
-
#
|
|
1488
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:11
|
|
1594
1489
|
module SimpleCov::ResultMerger
|
|
1595
1490
|
class << self
|
|
1596
|
-
#
|
|
1491
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:187
|
|
1597
1492
|
def adapt_pre_simplecov_0_18_result(result); end
|
|
1598
1493
|
|
|
1599
1494
|
# We changed the format of the raw result data in simplecov, as people are likely
|
|
@@ -1601,85 +1496,81 @@ module SimpleCov::ResultMerger
|
|
|
1601
1496
|
# considered we can adapt them).
|
|
1602
1497
|
# See https://github.com/simplecov-ruby/simplecov/pull/824#issuecomment-576049747
|
|
1603
1498
|
#
|
|
1604
|
-
#
|
|
1499
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:172
|
|
1605
1500
|
def adapt_result(result); end
|
|
1606
1501
|
|
|
1607
|
-
#
|
|
1502
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:93
|
|
1608
1503
|
def create_result(command_names, coverage); end
|
|
1609
1504
|
|
|
1610
|
-
#
|
|
1505
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:22
|
|
1611
1506
|
def merge_and_store(*file_paths, ignore_timeout: T.unsafe(nil)); end
|
|
1612
1507
|
|
|
1613
|
-
#
|
|
1508
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:100
|
|
1614
1509
|
def merge_coverage(*results); end
|
|
1615
1510
|
|
|
1616
|
-
#
|
|
1511
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:28
|
|
1617
1512
|
def merge_results(*file_paths, ignore_timeout: T.unsafe(nil)); end
|
|
1618
1513
|
|
|
1619
|
-
#
|
|
1514
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:74
|
|
1620
1515
|
def merge_valid_results(results, ignore_timeout: T.unsafe(nil)); end
|
|
1621
1516
|
|
|
1622
1517
|
# Gets all SimpleCov::Results stored in resultset, merges them and produces a new
|
|
1623
1518
|
# SimpleCov::Result with merged coverage data and the command_name
|
|
1624
1519
|
# for the result consisting of a join on all source result's names
|
|
1625
1520
|
#
|
|
1626
|
-
#
|
|
1521
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:117
|
|
1627
1522
|
def merged_result; end
|
|
1628
1523
|
|
|
1629
|
-
#
|
|
1524
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:51
|
|
1630
1525
|
def parse_file(path); end
|
|
1631
1526
|
|
|
1632
|
-
#
|
|
1527
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:65
|
|
1633
1528
|
def parse_json(content); end
|
|
1634
1529
|
|
|
1635
1530
|
# pre 0.18 coverage data pointed from file directly to an array of line coverage
|
|
1636
1531
|
#
|
|
1637
|
-
#
|
|
1638
|
-
#
|
|
1639
|
-
# source://simplecov//lib/simplecov/result_merger.rb#181
|
|
1532
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:181
|
|
1640
1533
|
def pre_simplecov_0_18_result?(result); end
|
|
1641
1534
|
|
|
1642
|
-
#
|
|
1535
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:56
|
|
1643
1536
|
def read_file(path); end
|
|
1644
1537
|
|
|
1645
|
-
#
|
|
1538
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:126
|
|
1646
1539
|
def read_resultset; end
|
|
1647
1540
|
|
|
1648
1541
|
# The path to the .resultset.json cache file
|
|
1649
1542
|
#
|
|
1650
|
-
#
|
|
1543
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:14
|
|
1651
1544
|
def resultset_path; end
|
|
1652
1545
|
|
|
1653
|
-
#
|
|
1546
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:18
|
|
1654
1547
|
def resultset_writelock; end
|
|
1655
1548
|
|
|
1656
1549
|
# Saves the given SimpleCov::Result in the resultset cache
|
|
1657
1550
|
#
|
|
1658
|
-
#
|
|
1551
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:136
|
|
1659
1552
|
def store_result(result); end
|
|
1660
1553
|
|
|
1661
1554
|
# Ensure only one process is reading or writing the resultset at any
|
|
1662
1555
|
# given time
|
|
1663
1556
|
#
|
|
1664
|
-
#
|
|
1557
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:153
|
|
1665
1558
|
def synchronize_resultset; end
|
|
1666
1559
|
|
|
1667
|
-
#
|
|
1560
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:89
|
|
1668
1561
|
def time_since_result_creation(data); end
|
|
1669
1562
|
|
|
1670
|
-
#
|
|
1563
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:46
|
|
1671
1564
|
def valid_results(file_path, ignore_timeout: T.unsafe(nil)); end
|
|
1672
1565
|
|
|
1673
|
-
#
|
|
1674
|
-
#
|
|
1675
|
-
# source://simplecov//lib/simplecov/result_merger.rb#85
|
|
1566
|
+
# pkg:gem/simplecov#lib/simplecov/result_merger.rb:85
|
|
1676
1567
|
def within_merge_timeout?(data); end
|
|
1677
1568
|
end
|
|
1678
1569
|
end
|
|
1679
1570
|
|
|
1680
1571
|
# Responsible for producing file coverage metrics.
|
|
1681
1572
|
#
|
|
1682
|
-
#
|
|
1573
|
+
# pkg:gem/simplecov#lib/simplecov/simulate_coverage.rb:7
|
|
1683
1574
|
module SimpleCov::SimulateCoverage
|
|
1684
1575
|
private
|
|
1685
1576
|
|
|
@@ -1690,7 +1581,7 @@ module SimpleCov::SimulateCoverage
|
|
|
1690
1581
|
#
|
|
1691
1582
|
# @return [Hash]
|
|
1692
1583
|
#
|
|
1693
|
-
#
|
|
1584
|
+
# pkg:gem/simplecov#lib/simplecov/simulate_coverage.rb:18
|
|
1694
1585
|
def call(absolute_path); end
|
|
1695
1586
|
|
|
1696
1587
|
class << self
|
|
@@ -1701,7 +1592,7 @@ module SimpleCov::SimulateCoverage
|
|
|
1701
1592
|
#
|
|
1702
1593
|
# @return [Hash]
|
|
1703
1594
|
#
|
|
1704
|
-
#
|
|
1595
|
+
# pkg:gem/simplecov#lib/simplecov/simulate_coverage.rb:18
|
|
1705
1596
|
def call(absolute_path); end
|
|
1706
1597
|
end
|
|
1707
1598
|
end
|
|
@@ -1709,35 +1600,33 @@ end
|
|
|
1709
1600
|
# Representation of a source file including it's coverage data, source code,
|
|
1710
1601
|
# source lines and featuring helpers to interpret that data.
|
|
1711
1602
|
#
|
|
1712
|
-
#
|
|
1603
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/line.rb:4
|
|
1713
1604
|
class SimpleCov::SourceFile
|
|
1714
|
-
#
|
|
1715
|
-
#
|
|
1716
|
-
# source://simplecov//lib/simplecov/source_file.rb#14
|
|
1605
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:14
|
|
1717
1606
|
def initialize(filename, coverage_data); end
|
|
1718
1607
|
|
|
1719
1608
|
# Return all the branches inside current source file
|
|
1720
1609
|
#
|
|
1721
|
-
#
|
|
1610
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:98
|
|
1722
1611
|
def branches; end
|
|
1723
1612
|
|
|
1724
|
-
#
|
|
1613
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:106
|
|
1725
1614
|
def branches_coverage_percent; end
|
|
1726
1615
|
|
|
1727
|
-
#
|
|
1616
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:142
|
|
1728
1617
|
def branches_for_line(line_number); end
|
|
1729
1618
|
|
|
1730
1619
|
# Return hash with key of line number and branch coverage count as value
|
|
1731
1620
|
#
|
|
1732
|
-
#
|
|
1621
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:118
|
|
1733
1622
|
def branches_report; end
|
|
1734
1623
|
|
|
1735
1624
|
# The array of coverage data received from the Coverage.result
|
|
1736
1625
|
#
|
|
1737
|
-
#
|
|
1626
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:12
|
|
1738
1627
|
def coverage_data; end
|
|
1739
1628
|
|
|
1740
|
-
#
|
|
1629
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:32
|
|
1741
1630
|
def coverage_statistics; end
|
|
1742
1631
|
|
|
1743
1632
|
# Select the covered branches
|
|
@@ -1746,130 +1635,121 @@ class SimpleCov::SourceFile
|
|
|
1746
1635
|
#
|
|
1747
1636
|
# @return [Array]
|
|
1748
1637
|
#
|
|
1749
|
-
#
|
|
1638
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:129
|
|
1750
1639
|
def covered_branches; end
|
|
1751
1640
|
|
|
1752
1641
|
# Returns all covered lines as SimpleCov::SourceFile::Line
|
|
1753
1642
|
#
|
|
1754
|
-
#
|
|
1643
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:48
|
|
1755
1644
|
def covered_lines; end
|
|
1756
1645
|
|
|
1757
1646
|
# The coverage for this file in percent. 0 if the file has no coverage lines
|
|
1758
1647
|
#
|
|
1759
|
-
#
|
|
1648
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:80
|
|
1760
1649
|
def covered_percent; end
|
|
1761
1650
|
|
|
1762
|
-
#
|
|
1651
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:84
|
|
1763
1652
|
def covered_strength; end
|
|
1764
1653
|
|
|
1765
1654
|
# The full path to this source file (e.g. /User/colszowka/projects/simplecov/lib/simplecov/source_file.rb)
|
|
1766
1655
|
#
|
|
1767
|
-
#
|
|
1656
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:10
|
|
1768
1657
|
def filename; end
|
|
1769
1658
|
|
|
1770
1659
|
# Access SimpleCov::SourceFile::Line source lines by line number
|
|
1771
1660
|
#
|
|
1772
|
-
#
|
|
1661
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:75
|
|
1773
1662
|
def line(number); end
|
|
1774
1663
|
|
|
1775
1664
|
# Check if any branches missing on given line number
|
|
1776
1665
|
#
|
|
1777
|
-
# @param
|
|
1666
|
+
# @param [Integer] line_number
|
|
1667
|
+
#
|
|
1778
1668
|
# @return [Boolean]
|
|
1779
1669
|
#
|
|
1780
|
-
#
|
|
1670
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:153
|
|
1781
1671
|
def line_with_missed_branch?(line_number); end
|
|
1782
1672
|
|
|
1783
1673
|
# Returns all source lines for this file as instances of SimpleCov::SourceFile::Line,
|
|
1784
1674
|
# and thus including coverage data. Aliased as :source_lines
|
|
1785
1675
|
#
|
|
1786
|
-
#
|
|
1676
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:42
|
|
1787
1677
|
def lines; end
|
|
1788
1678
|
|
|
1789
1679
|
# Returns the number of relevant lines (covered + missed)
|
|
1790
1680
|
#
|
|
1791
|
-
#
|
|
1681
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:70
|
|
1792
1682
|
def lines_of_code; end
|
|
1793
1683
|
|
|
1794
1684
|
# Select the missed branches with coverage equal to zero
|
|
1795
1685
|
#
|
|
1796
1686
|
# @return [Array]
|
|
1797
1687
|
#
|
|
1798
|
-
#
|
|
1688
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:138
|
|
1799
1689
|
def missed_branches; end
|
|
1800
1690
|
|
|
1801
1691
|
# Returns all lines that should have been, but were not covered
|
|
1802
1692
|
# as instances of SimpleCov::SourceFile::Line
|
|
1803
1693
|
#
|
|
1804
|
-
#
|
|
1694
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:54
|
|
1805
1695
|
def missed_lines; end
|
|
1806
1696
|
|
|
1807
1697
|
# Returns all lines that are not relevant for coverage as
|
|
1808
1698
|
# SimpleCov::SourceFile::Line instances
|
|
1809
1699
|
#
|
|
1810
|
-
#
|
|
1700
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:60
|
|
1811
1701
|
def never_lines; end
|
|
1812
1702
|
|
|
1813
|
-
#
|
|
1814
|
-
#
|
|
1815
|
-
# source://simplecov//lib/simplecov/source_file.rb#102
|
|
1703
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:102
|
|
1816
1704
|
def no_branches?; end
|
|
1817
1705
|
|
|
1818
|
-
#
|
|
1819
|
-
#
|
|
1820
|
-
# source://simplecov//lib/simplecov/source_file.rb#88
|
|
1706
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:88
|
|
1821
1707
|
def no_lines?; end
|
|
1822
1708
|
|
|
1823
1709
|
# The path to this source file relative to the projects directory
|
|
1824
1710
|
#
|
|
1825
|
-
#
|
|
1711
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:20
|
|
1826
1712
|
def project_filename; end
|
|
1827
1713
|
|
|
1828
|
-
#
|
|
1714
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:92
|
|
1829
1715
|
def relevant_lines; end
|
|
1830
1716
|
|
|
1831
1717
|
# Returns all lines that were skipped as SimpleCov::SourceFile::Line instances
|
|
1832
1718
|
#
|
|
1833
|
-
#
|
|
1719
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:65
|
|
1834
1720
|
def skipped_lines; end
|
|
1835
1721
|
|
|
1836
|
-
#
|
|
1837
|
-
#
|
|
1838
|
-
# source://simplecov//lib/simplecov/source_file.rb#25
|
|
1722
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:30
|
|
1839
1723
|
def source; end
|
|
1840
1724
|
|
|
1841
|
-
#
|
|
1842
|
-
# and thus including coverage data. Aliased as :source_lines
|
|
1843
|
-
#
|
|
1844
|
-
# source://simplecov//lib/simplecov/source_file.rb#42
|
|
1725
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:45
|
|
1845
1726
|
def source_lines; end
|
|
1846
1727
|
|
|
1847
1728
|
# The source code for this file. Aliased as :source
|
|
1848
1729
|
#
|
|
1849
|
-
#
|
|
1730
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:25
|
|
1850
1731
|
def src; end
|
|
1851
1732
|
|
|
1852
1733
|
# Return the relevant branches to source file
|
|
1853
1734
|
#
|
|
1854
|
-
#
|
|
1735
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:112
|
|
1855
1736
|
def total_branches; end
|
|
1856
1737
|
|
|
1857
1738
|
private
|
|
1858
1739
|
|
|
1859
|
-
#
|
|
1740
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:346
|
|
1860
1741
|
def branch_coverage_statistics; end
|
|
1861
1742
|
|
|
1862
|
-
#
|
|
1743
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:324
|
|
1863
1744
|
def build_branch(branch_data, hit_count, condition_start_line); end
|
|
1864
1745
|
|
|
1865
1746
|
# Call recursive method that transform our static hash to array of objects
|
|
1866
|
-
#
|
|
1867
1747
|
# @return [Array]
|
|
1868
1748
|
#
|
|
1869
|
-
#
|
|
1749
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:273
|
|
1870
1750
|
def build_branches; end
|
|
1871
1751
|
|
|
1872
|
-
#
|
|
1752
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:310
|
|
1873
1753
|
def build_branches_from(condition, branches); end
|
|
1874
1754
|
|
|
1875
1755
|
# Build full branches report
|
|
@@ -1878,44 +1758,44 @@ class SimpleCov::SourceFile
|
|
|
1878
1758
|
#
|
|
1879
1759
|
# @return [Hash]
|
|
1880
1760
|
#
|
|
1881
|
-
#
|
|
1761
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:262
|
|
1882
1762
|
def build_branches_report; end
|
|
1883
1763
|
|
|
1884
|
-
#
|
|
1764
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:229
|
|
1885
1765
|
def build_lines; end
|
|
1886
1766
|
|
|
1887
|
-
#
|
|
1767
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:164
|
|
1888
1768
|
def build_no_cov_chunks; end
|
|
1889
1769
|
|
|
1890
1770
|
# Warning to identify condition from Issue #56
|
|
1891
1771
|
#
|
|
1892
|
-
#
|
|
1772
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:251
|
|
1893
1773
|
def coverage_exceeding_source_warn; end
|
|
1894
1774
|
|
|
1895
|
-
#
|
|
1775
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:214
|
|
1896
1776
|
def ensure_remove_undefs(file_lines); end
|
|
1897
1777
|
|
|
1898
|
-
#
|
|
1778
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:336
|
|
1899
1779
|
def line_coverage_statistics; end
|
|
1900
1780
|
|
|
1901
|
-
#
|
|
1781
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:246
|
|
1902
1782
|
def lines_strength; end
|
|
1903
1783
|
|
|
1904
|
-
#
|
|
1784
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:178
|
|
1905
1785
|
def load_source; end
|
|
1906
1786
|
|
|
1907
1787
|
# no_cov_chunks is zero indexed to work directly with the array holding the lines
|
|
1908
1788
|
#
|
|
1909
|
-
#
|
|
1789
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:160
|
|
1910
1790
|
def no_cov_chunks; end
|
|
1911
1791
|
|
|
1912
|
-
#
|
|
1792
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:282
|
|
1913
1793
|
def process_skipped_branches(branches); end
|
|
1914
1794
|
|
|
1915
|
-
#
|
|
1795
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:237
|
|
1916
1796
|
def process_skipped_lines(lines); end
|
|
1917
1797
|
|
|
1918
|
-
#
|
|
1798
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:198
|
|
1919
1799
|
def read_lines(file, lines, current_line); end
|
|
1920
1800
|
|
|
1921
1801
|
# Since we are dumping to and loading from JSON, and we have arrays as keys those
|
|
@@ -1926,67 +1806,55 @@ class SimpleCov::SourceFile
|
|
|
1926
1806
|
#
|
|
1927
1807
|
# See #801
|
|
1928
1808
|
#
|
|
1929
|
-
#
|
|
1809
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:300
|
|
1930
1810
|
def restore_ruby_data_structure(structure); end
|
|
1931
1811
|
|
|
1932
|
-
#
|
|
1812
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:206
|
|
1933
1813
|
def set_encoding_based_on_magic_comment(file, line); end
|
|
1934
1814
|
|
|
1935
|
-
#
|
|
1936
|
-
#
|
|
1937
|
-
# source://simplecov//lib/simplecov/source_file.rb#194
|
|
1815
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:194
|
|
1938
1816
|
def shebang?(line); end
|
|
1939
1817
|
end
|
|
1940
1818
|
|
|
1941
1819
|
# Representing single branch that has been detected in coverage report.
|
|
1942
1820
|
# Give us support methods that handle needed calculations.
|
|
1943
1821
|
#
|
|
1944
|
-
#
|
|
1822
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:8
|
|
1945
1823
|
class SimpleCov::SourceFile::Branch
|
|
1946
|
-
#
|
|
1947
|
-
#
|
|
1948
|
-
# source://simplecov//lib/simplecov/source_file/branch.rb#12
|
|
1824
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:12
|
|
1949
1825
|
def initialize(start_line:, end_line:, coverage:, inline:, type:); end
|
|
1950
1826
|
|
|
1951
|
-
#
|
|
1952
|
-
#
|
|
1953
|
-
# source://simplecov//lib/simplecov/source_file/branch.rb#9
|
|
1827
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:9
|
|
1954
1828
|
def coverage; end
|
|
1955
1829
|
|
|
1956
1830
|
# Return true if there is relevant count defined > 0
|
|
1957
1831
|
#
|
|
1958
1832
|
# @return [Boolean]
|
|
1959
1833
|
#
|
|
1960
|
-
#
|
|
1834
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:31
|
|
1961
1835
|
def covered?; end
|
|
1962
1836
|
|
|
1963
|
-
#
|
|
1964
|
-
#
|
|
1965
|
-
# source://simplecov//lib/simplecov/source_file/branch.rb#9
|
|
1837
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:9
|
|
1966
1838
|
def end_line; end
|
|
1967
1839
|
|
|
1968
|
-
#
|
|
1969
|
-
#
|
|
1970
|
-
# source://simplecov//lib/simplecov/source_file/branch.rb#22
|
|
1840
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:22
|
|
1971
1841
|
def inline?; end
|
|
1972
1842
|
|
|
1973
1843
|
# Check if branche missed or not
|
|
1974
1844
|
#
|
|
1975
1845
|
# @return [Boolean]
|
|
1976
1846
|
#
|
|
1977
|
-
#
|
|
1847
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:40
|
|
1978
1848
|
def missed?; end
|
|
1979
1849
|
|
|
1980
|
-
#
|
|
1981
|
-
#
|
|
1982
|
-
# source://simplecov//lib/simplecov/source_file/branch.rb#70
|
|
1850
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:70
|
|
1983
1851
|
def overlaps_with?(line_range); end
|
|
1984
1852
|
|
|
1985
1853
|
# Return array with coverage count and badge
|
|
1986
1854
|
#
|
|
1987
1855
|
# @return [Array]
|
|
1988
1856
|
#
|
|
1989
|
-
#
|
|
1857
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:79
|
|
1990
1858
|
def report; end
|
|
1991
1859
|
|
|
1992
1860
|
# The line on which we want to report the coverage
|
|
@@ -1997,29 +1865,23 @@ class SimpleCov::SourceFile::Branch
|
|
|
1997
1865
|
# * makes it distinguishable if the first line of the branch is an inline branch
|
|
1998
1866
|
# (see the nested_branches fixture)
|
|
1999
1867
|
#
|
|
2000
|
-
#
|
|
1868
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:52
|
|
2001
1869
|
def report_line; end
|
|
2002
1870
|
|
|
2003
1871
|
# Flags the branch as skipped
|
|
2004
1872
|
#
|
|
2005
|
-
#
|
|
1873
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:61
|
|
2006
1874
|
def skipped!; end
|
|
2007
1875
|
|
|
2008
1876
|
# Returns true if the branch was marked skipped by virtue of nocov comments.
|
|
2009
1877
|
#
|
|
2010
|
-
#
|
|
2011
|
-
#
|
|
2012
|
-
# source://simplecov//lib/simplecov/source_file/branch.rb#66
|
|
1878
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:66
|
|
2013
1879
|
def skipped?; end
|
|
2014
1880
|
|
|
2015
|
-
#
|
|
2016
|
-
#
|
|
2017
|
-
# source://simplecov//lib/simplecov/source_file/branch.rb#9
|
|
1881
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:9
|
|
2018
1882
|
def start_line; end
|
|
2019
1883
|
|
|
2020
|
-
#
|
|
2021
|
-
#
|
|
2022
|
-
# source://simplecov//lib/simplecov/source_file/branch.rb#9
|
|
1884
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/branch.rb:9
|
|
2023
1885
|
def type; end
|
|
2024
1886
|
end
|
|
2025
1887
|
|
|
@@ -2029,120 +1891,102 @@ end
|
|
|
2029
1891
|
# line), 0 (line not covered) or >1 (the amount of times the line was
|
|
2030
1892
|
# executed)
|
|
2031
1893
|
#
|
|
2032
|
-
#
|
|
1894
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/line.rb:10
|
|
2033
1895
|
class SimpleCov::SourceFile::Line
|
|
2034
|
-
#
|
|
2035
|
-
# @return [Line] a new instance of Line
|
|
2036
|
-
#
|
|
2037
|
-
# source://simplecov//lib/simplecov/source_file/line.rb#25
|
|
1896
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/line.rb:25
|
|
2038
1897
|
def initialize(src, line_number, coverage); end
|
|
2039
1898
|
|
|
2040
1899
|
# The coverage data for this line: either nil (never), 0 (missed) or >=1 (times covered)
|
|
2041
1900
|
#
|
|
2042
|
-
#
|
|
1901
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/line.rb:16
|
|
2043
1902
|
def coverage; end
|
|
2044
1903
|
|
|
2045
1904
|
# Returns true if this is a line that has been covered
|
|
2046
1905
|
#
|
|
2047
|
-
#
|
|
2048
|
-
#
|
|
2049
|
-
# source://simplecov//lib/simplecov/source_file/line.rb#42
|
|
1906
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/line.rb:42
|
|
2050
1907
|
def covered?; end
|
|
2051
1908
|
|
|
2052
|
-
#
|
|
2053
|
-
#
|
|
2054
|
-
# source://simplecov//lib/simplecov/source_file/line.rb#14
|
|
1909
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/line.rb:22
|
|
2055
1910
|
def line; end
|
|
2056
1911
|
|
|
2057
1912
|
# The line number in the source file. Aliased as :line, :number
|
|
2058
1913
|
#
|
|
2059
|
-
#
|
|
1914
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/line.rb:14
|
|
2060
1915
|
def line_number; end
|
|
2061
1916
|
|
|
2062
1917
|
# Returns true if this is a line that should have been covered, but was not
|
|
2063
1918
|
#
|
|
2064
|
-
#
|
|
2065
|
-
#
|
|
2066
|
-
# source://simplecov//lib/simplecov/source_file/line.rb#37
|
|
1919
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/line.rb:37
|
|
2067
1920
|
def missed?; end
|
|
2068
1921
|
|
|
2069
1922
|
# Returns true if this line is not relevant for coverage
|
|
2070
1923
|
#
|
|
2071
|
-
#
|
|
2072
|
-
#
|
|
2073
|
-
# source://simplecov//lib/simplecov/source_file/line.rb#47
|
|
1924
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/line.rb:47
|
|
2074
1925
|
def never?; end
|
|
2075
1926
|
|
|
2076
|
-
#
|
|
2077
|
-
#
|
|
2078
|
-
# source://simplecov//lib/simplecov/source_file/line.rb#14
|
|
1927
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/line.rb:23
|
|
2079
1928
|
def number; end
|
|
2080
1929
|
|
|
2081
1930
|
# Whether this line was skipped
|
|
2082
1931
|
#
|
|
2083
|
-
#
|
|
1932
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/line.rb:18
|
|
2084
1933
|
def skipped; end
|
|
2085
1934
|
|
|
2086
1935
|
# Flags this line as skipped
|
|
2087
1936
|
#
|
|
2088
|
-
#
|
|
1937
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/line.rb:52
|
|
2089
1938
|
def skipped!; end
|
|
2090
1939
|
|
|
2091
1940
|
# Returns true if this line was skipped, false otherwise. Lines are skipped if they are wrapped with
|
|
2092
1941
|
# # :nocov: comment lines.
|
|
2093
1942
|
#
|
|
2094
|
-
#
|
|
2095
|
-
#
|
|
2096
|
-
# source://simplecov//lib/simplecov/source_file/line.rb#58
|
|
1943
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/line.rb:58
|
|
2097
1944
|
def skipped?; end
|
|
2098
1945
|
|
|
2099
|
-
# The source code for this line. Aliased as :source
|
|
2100
1946
|
# Lets grab some fancy aliases, shall we?
|
|
2101
1947
|
#
|
|
2102
|
-
#
|
|
1948
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/line.rb:21
|
|
2103
1949
|
def source; end
|
|
2104
1950
|
|
|
2105
1951
|
# The source code for this line. Aliased as :source
|
|
2106
1952
|
#
|
|
2107
|
-
#
|
|
1953
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/line.rb:12
|
|
2108
1954
|
def src; end
|
|
2109
1955
|
|
|
2110
1956
|
# The status of this line - either covered, missed, skipped or never. Useful i.e. for direct use
|
|
2111
1957
|
# as a css class in report generation
|
|
2112
1958
|
#
|
|
2113
|
-
#
|
|
1959
|
+
# pkg:gem/simplecov#lib/simplecov/source_file/line.rb:64
|
|
2114
1960
|
def status; end
|
|
2115
1961
|
end
|
|
2116
1962
|
|
|
2117
|
-
#
|
|
1963
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:205
|
|
2118
1964
|
SimpleCov::SourceFile::RUBY_FILE_ENCODING_MAGIC_COMMENT_REGEX = T.let(T.unsafe(nil), Regexp)
|
|
2119
1965
|
|
|
2120
|
-
#
|
|
1966
|
+
# pkg:gem/simplecov#lib/simplecov/source_file.rb:193
|
|
2121
1967
|
SimpleCov::SourceFile::SHEBANG_REGEX = T.let(T.unsafe(nil), Regexp)
|
|
2122
1968
|
|
|
2123
|
-
#
|
|
1969
|
+
# pkg:gem/simplecov#lib/simplecov/filter.rb:53
|
|
2124
1970
|
class SimpleCov::StringFilter < ::SimpleCov::Filter
|
|
2125
1971
|
# Returns true when the given source file's filename matches the
|
|
2126
1972
|
# string configured when initializing this Filter with StringFilter.new('somestring')
|
|
2127
1973
|
#
|
|
2128
|
-
#
|
|
2129
|
-
#
|
|
2130
|
-
# source://simplecov//lib/simplecov/filter.rb#56
|
|
1974
|
+
# pkg:gem/simplecov#lib/simplecov/filter.rb:56
|
|
2131
1975
|
def matches?(source_file); end
|
|
2132
1976
|
end
|
|
2133
1977
|
|
|
2134
1978
|
# Select the files that related to working scope directory of SimpleCov
|
|
2135
1979
|
#
|
|
2136
|
-
#
|
|
1980
|
+
# pkg:gem/simplecov#lib/simplecov/useless_results_remover.rb:7
|
|
2137
1981
|
module SimpleCov::UselessResultsRemover
|
|
2138
1982
|
class << self
|
|
2139
|
-
#
|
|
1983
|
+
# pkg:gem/simplecov#lib/simplecov/useless_results_remover.rb:8
|
|
2140
1984
|
def call(coverage_result); end
|
|
2141
1985
|
|
|
2142
|
-
#
|
|
1986
|
+
# pkg:gem/simplecov#lib/simplecov/useless_results_remover.rb:14
|
|
2143
1987
|
def root_regx; end
|
|
2144
1988
|
end
|
|
2145
1989
|
end
|
|
2146
1990
|
|
|
2147
|
-
#
|
|
1991
|
+
# pkg:gem/simplecov#lib/simplecov/version.rb:4
|
|
2148
1992
|
SimpleCov::VERSION = T.let(T.unsafe(nil), String)
|