1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2016-06-09 16:27:16 -0700 using RuboCop version 0.37.2.
3
+ # on 2016-06-10 10:26:32 -0700 using RuboCop version 0.37.2.
4
4
# The point is for the user to remove these configuration records
5
5
# one by one as the offenses are removed from the code base.
6
6
# Note that changes in the inspected code, or installation of new
7
7
# versions of RuboCop, may require this file to be generated again.
8
8
9
- # Offense count: 10
10
- Lint/HandleExceptions :
11
- Exclude :
12
- - ' lib/selenium/server.rb'
13
- - ' lib/selenium/webdriver/common/platform.rb'
14
- - ' lib/selenium/webdriver/common/socket_poller.rb'
15
- - ' lib/selenium/webdriver/common/wait.rb'
16
- - ' lib/selenium/webdriver/firefox/binary.rb'
17
- - ' lib/selenium/webdriver/remote/bridge.rb'
18
- - ' lib/selenium/webdriver/remote/w3c_bridge.rb'
19
- - ' spec/integration/selenium/webdriver/spec_support/test_environment.rb'
20
-
21
- # Offense count: 1
22
- Lint/UselessAccessModifier :
23
- Exclude :
24
- - ' lib/selenium/webdriver/support/select.rb'
25
-
26
- # Offense count: 3
27
- Lint/UselessAssignment :
28
- Exclude :
29
- - ' lib/selenium/webdriver/firefox/profiles_ini.rb'
30
- - ' spec/integration/selenium/webdriver/touch_spec.rb'
31
- - ' spec/unit/selenium/webdriver/support/color_spec.rb'
32
-
33
- # Offense count: 2
34
- Lint/Void :
35
- Exclude :
36
- - ' spec/integration/selenium/webdriver/touch_spec.rb'
37
-
38
9
# Offense count: 41
39
10
Metrics/AbcSize :
40
11
Max : 53
@@ -48,285 +19,29 @@ Metrics/ClassLength:
48
19
Metrics/CyclomaticComplexity :
49
20
Max : 16
50
21
51
- # Offense count: 706
22
+ # Offense count: 637
52
23
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
53
24
# URISchemes: http, https
54
25
Metrics/LineLength :
55
- Max : 319
26
+ Max : 321
56
27
57
28
# Offense count: 61
58
29
# Configuration parameters: CountComments.
59
30
Metrics/MethodLength :
60
31
Max : 37
61
32
62
- # Offense count: 3
33
+ # Offense count: 7
63
34
# Configuration parameters: CountComments.
64
35
Metrics/ModuleLength :
65
- Max : 222
36
+ Max : 238
66
37
67
38
# Offense count: 15
68
39
Metrics/PerceivedComplexity :
69
40
Max : 16
70
41
71
- # Offense count: 31
72
- # Cop supports --auto-correct.
73
- # Configuration parameters: EnforcedStyle, SupportedStyles.
74
- # SupportedStyles: prefer_alias, prefer_alias_method
75
- Style/Alias :
76
- Exclude :
77
- - ' lib/selenium/webdriver/common/driver.rb'
78
- - ' lib/selenium/webdriver/common/driver_extensions/rotatable.rb'
79
- - ' lib/selenium/webdriver/common/element.rb'
80
- - ' lib/selenium/webdriver/common/html5/shared_web_storage.rb'
81
- - ' lib/selenium/webdriver/common/proxy.rb'
82
- - ' lib/selenium/webdriver/remote/bridge.rb'
83
- - ' lib/selenium/webdriver/remote/capabilities.rb'
84
- - ' lib/selenium/webdriver/remote/w3c_bridge.rb'
85
- - ' lib/selenium/webdriver/remote/w3c_capabilities.rb'
86
- - ' lib/selenium/webdriver/support/color.rb'
87
- - ' spec/integration/selenium/webdriver/spec_support/guards.rb'
88
-
89
- # Offense count: 3
90
- Style/AsciiComments :
91
- Exclude :
92
- - ' lib/selenium/webdriver/common/w3c_error.rb'
93
-
94
- # Offense count: 5
95
- # Configuration parameters: EnforcedStyle, SupportedStyles.
96
- # SupportedStyles: nested, compact
97
- Style/ClassAndModuleChildren :
98
- Exclude :
99
- - ' lib/selenium/webdriver/remote/commands.rb'
100
- - ' lib/selenium/webdriver/remote/w3c_commands.rb'
101
- - ' spec/integration/selenium/webdriver/app_cache_spec.rb'
102
- - ' spec/integration/selenium/webdriver/storage_spec.rb'
103
- - ' spec/integration/selenium/webdriver/touch_spec.rb'
104
-
105
- # Offense count: 3
106
- # Cop supports --auto-correct.
107
- # Configuration parameters: Keywords.
108
- # Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW
109
- Style/CommentAnnotation :
110
- Exclude :
111
- - ' lib/selenium/webdriver/remote/w3c_bridge.rb'
112
- - ' spec/integration/selenium/webdriver/window_spec.rb'
113
-
114
- # Offense count: 1
115
- Style/ConstantName :
116
- Exclude :
117
- - ' lib/selenium/webdriver/common/error.rb'
118
-
119
- # Offense count: 84
120
- Style/Documentation :
121
- Enabled : false
122
-
123
- # Offense count: 53
124
- # Cop supports --auto-correct.
125
- # Configuration parameters: EnforcedStyle, SupportedStyles.
126
- # SupportedStyles: leading, trailing
127
- Style/DotPosition :
128
- Enabled : false
129
-
130
- # Offense count: 1
131
- # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts.
132
- Style/FileName :
133
- Exclude :
134
- - ' lib/selenium-webdriver.rb'
135
-
136
- # Offense count: 1
137
- # Cop supports --auto-correct.
138
- # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
139
- # SupportedStyles: consistent, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
140
- Style/FirstParameterIndentation :
141
- Exclude :
142
- - ' spec/integration/selenium/webdriver/storage_spec.rb'
143
-
144
- # Offense count: 5
145
- # Configuration parameters: EnforcedStyle, SupportedStyles.
146
- # SupportedStyles: format, sprintf, percent
147
- Style/FormatString :
148
- Exclude :
149
- - ' lib/selenium/webdriver/common/driver.rb'
150
- - ' lib/selenium/webdriver/common/element.rb'
151
- - ' lib/selenium/webdriver/safari/server.rb'
152
- - ' lib/selenium/webdriver/support/color.rb'
153
-
154
- # Offense count: 1
155
- # Cop supports --auto-correct.
156
- # Configuration parameters: EnforcedStyle, SupportedStyles.
157
- # SupportedStyles: normal, rails
158
- Style/IndentationConsistency :
159
- Exclude :
160
- - ' spec/unit/selenium/webdriver/remote/http/default_spec.rb'
161
-
162
- # Offense count: 6
163
- # Cop supports --auto-correct.
164
- Style/LineEndConcatenation :
165
- Exclude :
166
- - ' lib/selenium/webdriver/common/window.rb'
167
- - ' lib/selenium/webdriver/remote/w3c_bridge.rb'
168
-
169
- # Offense count: 3
170
- # Cop supports --auto-correct.
171
- Style/MethodCallParentheses :
172
- Exclude :
173
- - ' lib/selenium/webdriver/remote/response.rb'
174
- - ' spec/integration/selenium/webdriver/chrome/profile_spec.rb'
175
- - ' spec/integration/selenium/webdriver/firefox/profile_spec.rb'
176
-
177
- # Offense count: 187
178
- # Configuration parameters: EnforcedStyle, SupportedStyles.
179
- # SupportedStyles: snake_case, camelCase
180
- Style/MethodName :
181
- Enabled : false
182
-
183
- # Offense count: 3
184
- # Cop supports --auto-correct.
185
- # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
186
- # SupportedStyles: aligned, indented
187
- Style/MultilineOperationIndentation :
188
- Enabled : false
189
-
190
- # Offense count: 33
191
- # Cop supports --auto-correct.
192
- Style/MutableConstant :
193
- Enabled : false
194
-
195
- # Offense count: 2
196
- # Cop supports --auto-correct.
197
- Style/Not :
198
- Exclude :
199
- - ' lib/selenium/webdriver/common/socket_poller.rb'
200
- - ' lib/selenium/webdriver/remote/http/default.rb'
201
-
202
- # Offense count: 2
203
- # Cop supports --auto-correct.
204
- Style/NumericLiterals :
205
- MinDigits : 6
206
-
207
- # Offense count: 8
208
- # Cop supports --auto-correct.
209
- Style/ParallelAssignment :
210
- Exclude :
211
- - ' lib/selenium/webdriver/common/element.rb'
212
- - ' lib/selenium/webdriver/common/touch_screen.rb'
213
- - ' lib/selenium/webdriver/firefox/profile.rb'
214
- - ' lib/selenium/webdriver/remote/http/common.rb'
215
- - ' spec/integration/selenium/webdriver/spec_support/shared_examples/concurrent_driver.rb'
216
- - ' spec/unit/selenium/server_spec.rb'
217
- - ' spec/unit/selenium/webdriver/remote/capabilities_spec.rb'
218
- - ' spec/unit/selenium/webdriver/support/event_firing_spec.rb'
219
-
220
- # Offense count: 28
221
- # Cop supports --auto-correct.
222
- Style/PerlBackrefs :
223
- Exclude :
224
- - ' lib/selenium/webdriver/common/bridge_helper.rb'
225
- - ' lib/selenium/webdriver/firefox/profile.rb'
226
- - ' lib/selenium/webdriver/firefox/profiles_ini.rb'
227
- - ' lib/selenium/webdriver/remote/capabilities.rb'
228
- - ' lib/selenium/webdriver/remote/w3c_capabilities.rb'
229
- - ' lib/selenium/webdriver/support/color.rb'
230
-
231
- # Offense count: 1
232
- # Cop supports --auto-correct.
233
- Style/RedundantParentheses :
234
- Exclude :
235
- - ' spec/integration/selenium/webdriver/spec_support/test_environment.rb'
236
-
237
- # Offense count: 1
238
- # Cop supports --auto-correct.
239
- # Configuration parameters: AllowMultipleReturnValues.
240
- Style/RedundantReturn :
241
- Exclude :
242
- - ' lib/selenium/webdriver/remote/w3c_bridge.rb'
243
-
244
- # Offense count: 1
245
- # Cop supports --auto-correct.
246
- Style/RedundantSelf :
247
- Exclude :
248
- - ' lib/selenium/webdriver/common/html5/shared_web_storage.rb'
249
-
250
- # Offense count: 2
251
- # Cop supports --auto-correct.
252
- Style/RescueModifier :
253
- Exclude :
254
- - ' lib/selenium/webdriver/firefox/service.rb'
255
- - ' lib/selenium/webdriver/phantomjs/service.rb'
256
-
257
- # Offense count: 2
258
- # Cop supports --auto-correct.
259
- # Configuration parameters: AllowAsExpressionSeparator.
260
- Style/Semicolon :
261
- Exclude :
262
- - ' spec/unit/selenium/webdriver/file_reaper_spec.rb'
263
- - ' spec/unit/selenium/webdriver/support/color_spec.rb'
264
-
265
- # Offense count: 2
266
- # Cop supports --auto-correct.
267
- # Configuration parameters: AllowIfMethodIsEmpty.
268
- Style/SingleLineMethods :
269
- Exclude :
270
- - ' spec/unit/selenium/webdriver/firefox/extension_spec.rb'
271
- - ' spec/unit/selenium/webdriver/wait_spec.rb'
272
-
273
- # Offense count: 2
274
- # Cop supports --auto-correct.
275
- # Configuration parameters: SupportedStyles.
276
- # SupportedStyles: use_perl_names, use_english_names
277
- Style/SpecialGlobalVars :
278
- EnforcedStyle : use_perl_names
279
-
280
- # Offense count: 1406
42
+ # Offense count: 1398
281
43
# Cop supports --auto-correct.
282
44
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
283
45
# SupportedStyles: single_quotes, double_quotes
284
46
Style/StringLiterals :
285
47
Enabled : false
286
-
287
- # Offense count: 1
288
- # Cop supports --auto-correct.
289
- # Configuration parameters: EnforcedStyle, SupportedStyles.
290
- # SupportedStyles: single_quotes, double_quotes
291
- Style/StringLiteralsInInterpolation :
292
- Enabled : false
293
-
294
- # Offense count: 9
295
- # Cop supports --auto-correct.
296
- # Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
297
- # SupportedStyles: comma, consistent_comma, no_comma
298
- Style/TrailingCommaInLiteral :
299
- Exclude :
300
- - ' lib/selenium/webdriver/android/bridge.rb'
301
- - ' lib/selenium/webdriver/common/search_context.rb'
302
- - ' lib/selenium/webdriver/firefox/binary.rb'
303
- - ' lib/selenium/webdriver/iphone/bridge.rb'
304
- - ' lib/selenium/webdriver/remote/w3c_capabilities.rb'
305
- - ' lib/selenium/webdriver/safari/options.rb'
306
- - ' spec/unit/selenium/webdriver/proxy_spec.rb'
307
- - ' spec/unit/selenium/webdriver/safari/bridge_spec.rb'
308
-
309
- # Offense count: 5
310
- # Cop supports --auto-correct.
311
- # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
312
- # Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
313
- Style/TrivialAccessors :
314
- Exclude :
315
- - ' lib/selenium/webdriver/common/driver.rb'
316
- - ' lib/selenium/webdriver/common/element.rb'
317
- - ' lib/selenium/webdriver/common/file_reaper.rb'
318
- - ' lib/selenium/webdriver/remote/capabilities.rb'
319
- - ' lib/selenium/webdriver/remote/w3c_capabilities.rb'
320
-
321
- # Offense count: 2
322
- # Cop supports --auto-correct.
323
- # Configuration parameters: MaxLineLength.
324
- Style/WhileUntilModifier :
325
- Exclude :
326
- - ' lib/selenium/webdriver/common/socket_lock.rb'
327
- - ' lib/selenium/webdriver/safari/server.rb'
328
-
329
- # Offense count: 1
330
- Style/ZeroLengthPredicate :
331
- Exclude :
332
- - ' lib/selenium/webdriver/common/html5/shared_web_storage.rb'
0 commit comments