expressir 2.3.0 → 2.3.1
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/.rubocop_todo.yml +480 -49
- data/benchmark/srl_benchmark.rb +47 -34
- data/benchmark/srl_native_benchmark.rb +20 -16
- data/benchmark/srl_ruby_benchmark.rb +14 -12
- data/expressir.gemspec +2 -2
- data/lib/expressir/changes/item_change.rb +0 -1
- data/lib/expressir/changes/mapping_change.rb +0 -1
- data/lib/expressir/changes/schema_change.rb +0 -1
- data/lib/expressir/changes/version_change.rb +0 -1
- data/lib/expressir/commands/changes_import_eengine.rb +2 -2
- data/lib/expressir/commands/validate_ascii.rb +0 -1
- data/lib/expressir/eengine/arm_compare_report.rb +0 -1
- data/lib/expressir/eengine/changes_section.rb +0 -1
- data/lib/expressir/eengine/mim_compare_report.rb +0 -1
- data/lib/expressir/eengine/modified_object.rb +0 -1
- data/lib/expressir/express/builder.rb +64 -21
- data/lib/expressir/express/builders/built_in_builder.rb +4 -2
- data/lib/expressir/express/builders/entity_decl_builder.rb +8 -4
- data/lib/expressir/express/builders/expression_builder.rb +0 -6
- data/lib/expressir/express/builders/function_decl_builder.rb +8 -8
- data/lib/expressir/express/builders/procedure_decl_builder.rb +8 -8
- data/lib/expressir/express/builders/rule_decl_builder.rb +8 -8
- data/lib/expressir/express/builders/syntax_builder.rb +2 -44
- data/lib/expressir/express/formatters/remark_formatter.rb +1 -3
- data/lib/expressir/express/parser.rb +234 -14
- data/lib/expressir/express/remark_attacher.rb +47 -18
- data/lib/expressir/express/transformer/remark_handling.rb +0 -1
- data/lib/expressir/model/exp_file.rb +2 -1
- data/lib/expressir/model/model_element.rb +1 -1
- data/lib/expressir/model/repository.rb +8 -9
- data/lib/expressir/model/search_engine.rb +7 -6
- data/lib/expressir/package/builder.rb +3 -1
- data/lib/expressir/package/metadata.rb +0 -1
- data/lib/expressir/schema_manifest.rb +0 -1
- data/lib/expressir/schema_manifest_entry.rb +0 -1
- data/lib/expressir/version.rb +1 -1
- metadata +15 -15
data/.rubocop_todo.yml
CHANGED
|
@@ -1,23 +1,95 @@
|
|
|
1
1
|
# This configuration was generated by
|
|
2
2
|
# `rubocop --auto-gen-config`
|
|
3
|
-
# on 2026-03-
|
|
3
|
+
# on 2026-03-31 03:29:04 UTC using RuboCop version 1.86.0.
|
|
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:
|
|
9
|
+
# Offense count: 2
|
|
10
10
|
# This cop supports safe autocorrection (--autocorrect).
|
|
11
11
|
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation.
|
|
12
12
|
Gemspec/OrderedDependencies:
|
|
13
13
|
Exclude:
|
|
14
14
|
- 'expressir.gemspec'
|
|
15
15
|
|
|
16
|
-
# Offense count:
|
|
16
|
+
# Offense count: 14
|
|
17
17
|
# This cop supports safe autocorrection (--autocorrect).
|
|
18
18
|
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
19
19
|
# SupportedStyles: with_first_argument, with_fixed_indentation
|
|
20
20
|
Layout/ArgumentAlignment:
|
|
21
|
+
Exclude:
|
|
22
|
+
- 'benchmark/srl_benchmark.rb'
|
|
23
|
+
- 'debug_simple_use_clause.rb'
|
|
24
|
+
- 'debug_use_clause.rb'
|
|
25
|
+
- 'lib/expressir/express/parser.rb'
|
|
26
|
+
- 'lib/expressir/express/remark_attacher.rb'
|
|
27
|
+
- 'spec/expressir/model/repository_validator_spec.rb'
|
|
28
|
+
- 'tmp_compare.rb'
|
|
29
|
+
- 'tmp_mem_profile.rb'
|
|
30
|
+
|
|
31
|
+
# Offense count: 4
|
|
32
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
33
|
+
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
34
|
+
# SupportedStyles: with_first_element, with_fixed_indentation
|
|
35
|
+
Layout/ArrayAlignment:
|
|
36
|
+
Exclude:
|
|
37
|
+
- 'benchmark/memory_profiler.rb'
|
|
38
|
+
- 'lib/expressir/express/parser.rb'
|
|
39
|
+
- 'spec/expressir/model/search_engine_advanced_spec.rb'
|
|
40
|
+
|
|
41
|
+
# Offense count: 10
|
|
42
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
43
|
+
# Configuration parameters: EnforcedStyleAlignWith.
|
|
44
|
+
# SupportedStylesAlignWith: start_of_line, begin
|
|
45
|
+
Layout/BeginEndAlignment:
|
|
46
|
+
Exclude:
|
|
47
|
+
- 'benchmark/memory_isolation_test.rb'
|
|
48
|
+
- 'benchmark/memory_objectspace_test.rb'
|
|
49
|
+
- 'tmp_compare.rb'
|
|
50
|
+
- 'tmp_test_no_transform.rb'
|
|
51
|
+
|
|
52
|
+
# Offense count: 22
|
|
53
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
54
|
+
# Configuration parameters: EnforcedStyleAlignWith.
|
|
55
|
+
# SupportedStylesAlignWith: either, start_of_block, start_of_line
|
|
56
|
+
Layout/BlockAlignment:
|
|
57
|
+
Exclude:
|
|
58
|
+
- 'benchmark/dense_cache_test.rb'
|
|
59
|
+
- 'benchmark/malloc_trim_test.rb'
|
|
60
|
+
- 'benchmark/memory_heap_prep.rb'
|
|
61
|
+
- 'benchmark/memory_isolation_test.rb'
|
|
62
|
+
- 'benchmark/memory_objectspace_test.rb'
|
|
63
|
+
- 'benchmark/quick_mem_test.rb'
|
|
64
|
+
- 'benchmark/srl_benchmark.rb'
|
|
65
|
+
- 'debug_model.rb'
|
|
66
|
+
- 'debug_use_clause3.rb'
|
|
67
|
+
- 'lib/expressir/express/builders/entity_decl_builder.rb'
|
|
68
|
+
- 'lib/expressir/package/builder.rb'
|
|
69
|
+
- 'spec/expressir/commands/package_nil_guards_spec.rb'
|
|
70
|
+
- 'spec/expressir/model/repository_validator_spec.rb'
|
|
71
|
+
|
|
72
|
+
# Offense count: 22
|
|
73
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
74
|
+
Layout/BlockEndNewline:
|
|
75
|
+
Exclude:
|
|
76
|
+
- 'benchmark/dense_cache_test.rb'
|
|
77
|
+
- 'benchmark/malloc_trim_test.rb'
|
|
78
|
+
- 'benchmark/memory_heap_prep.rb'
|
|
79
|
+
- 'benchmark/memory_isolation_test.rb'
|
|
80
|
+
- 'benchmark/memory_objectspace_test.rb'
|
|
81
|
+
- 'benchmark/quick_mem_test.rb'
|
|
82
|
+
- 'benchmark/srl_benchmark.rb'
|
|
83
|
+
- 'debug_model.rb'
|
|
84
|
+
- 'debug_use_clause3.rb'
|
|
85
|
+
- 'lib/expressir/express/builders/entity_decl_builder.rb'
|
|
86
|
+
- 'lib/expressir/package/builder.rb'
|
|
87
|
+
- 'spec/expressir/commands/package_nil_guards_spec.rb'
|
|
88
|
+
- 'spec/expressir/model/repository_validator_spec.rb'
|
|
89
|
+
|
|
90
|
+
# Offense count: 2
|
|
91
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
92
|
+
Layout/ClosingParenthesisIndentation:
|
|
21
93
|
Exclude:
|
|
22
94
|
- 'lib/expressir/express/parser.rb'
|
|
23
95
|
|
|
@@ -28,21 +100,24 @@ Layout/CommentIndentation:
|
|
|
28
100
|
Exclude:
|
|
29
101
|
- 'spec/expressir/model/indexes/reference_index_spec.rb'
|
|
30
102
|
|
|
31
|
-
# Offense count:
|
|
103
|
+
# Offense count: 7
|
|
32
104
|
# This cop supports safe autocorrection (--autocorrect).
|
|
33
105
|
Layout/ElseAlignment:
|
|
34
106
|
Exclude:
|
|
107
|
+
- 'debug_use_clause3.rb'
|
|
35
108
|
- 'lib/expressir/express/builders/function_decl_builder.rb'
|
|
36
109
|
- 'lib/expressir/express/builders/procedure_decl_builder.rb'
|
|
37
110
|
- 'lib/expressir/express/builders/rule_decl_builder.rb'
|
|
38
111
|
|
|
39
|
-
# Offense count:
|
|
112
|
+
# Offense count: 6
|
|
40
113
|
# This cop supports safe autocorrection (--autocorrect).
|
|
41
114
|
Layout/EmptyLineAfterGuardClause:
|
|
42
115
|
Exclude:
|
|
43
116
|
- 'lib/expressir/express/builder.rb'
|
|
44
117
|
- 'lib/expressir/model/repository.rb'
|
|
45
118
|
- 'lib/expressir/model/search_engine.rb'
|
|
119
|
+
- 'tmp_mem2.rb'
|
|
120
|
+
- 'tmp_mem_with_opt.rb'
|
|
46
121
|
|
|
47
122
|
# Offense count: 1
|
|
48
123
|
# This cop supports safe autocorrection (--autocorrect).
|
|
@@ -51,7 +126,7 @@ Layout/EmptyLineBetweenDefs:
|
|
|
51
126
|
Exclude:
|
|
52
127
|
- 'lib/expressir/express/remark_attacher.rb'
|
|
53
128
|
|
|
54
|
-
# Offense count:
|
|
129
|
+
# Offense count: 12
|
|
55
130
|
# This cop supports safe autocorrection (--autocorrect).
|
|
56
131
|
Layout/EmptyLines:
|
|
57
132
|
Exclude:
|
|
@@ -63,28 +138,71 @@ Layout/EmptyLines:
|
|
|
63
138
|
- 'lib/expressir/eengine/changes_section.rb'
|
|
64
139
|
- 'lib/expressir/eengine/mim_compare_report.rb'
|
|
65
140
|
- 'lib/expressir/eengine/modified_object.rb'
|
|
141
|
+
- 'lib/expressir/express/remark_attacher.rb'
|
|
66
142
|
- 'lib/expressir/package/metadata.rb'
|
|
67
143
|
- 'lib/expressir/schema_manifest.rb'
|
|
68
144
|
- 'lib/expressir/schema_manifest_entry.rb'
|
|
69
145
|
|
|
146
|
+
# Offense count: 1
|
|
147
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
148
|
+
Layout/EmptyLinesAfterModuleInclusion:
|
|
149
|
+
Exclude:
|
|
150
|
+
- 'benchmark/malloc_trim_test.rb'
|
|
151
|
+
|
|
70
152
|
# Offense count: 6
|
|
71
153
|
# This cop supports safe autocorrection (--autocorrect).
|
|
154
|
+
# Configuration parameters: EnforcedStyle.
|
|
155
|
+
# SupportedStyles: empty_lines, no_empty_lines
|
|
156
|
+
Layout/EmptyLinesAroundBlockBody:
|
|
157
|
+
Exclude:
|
|
158
|
+
- 'benchmark/perf_regression.rb'
|
|
159
|
+
- 'benchmark/validate_load_benchmark.rb'
|
|
160
|
+
- 'lib/expressir/express/parser.rb'
|
|
161
|
+
|
|
162
|
+
# Offense count: 3
|
|
163
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
164
|
+
Layout/EmptyLinesAroundMethodBody:
|
|
165
|
+
Exclude:
|
|
166
|
+
- 'benchmark/srl_benchmark.rb'
|
|
167
|
+
- 'debug_simple_use.rb'
|
|
168
|
+
|
|
169
|
+
# Offense count: 7
|
|
170
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
72
171
|
# Configuration parameters: EnforcedStyleAlignWith.
|
|
73
172
|
# SupportedStylesAlignWith: keyword, variable, start_of_line
|
|
74
173
|
Layout/EndAlignment:
|
|
75
174
|
Exclude:
|
|
175
|
+
- 'debug_use_clause3.rb'
|
|
76
176
|
- 'lib/expressir/express/builders/function_decl_builder.rb'
|
|
77
177
|
- 'lib/expressir/express/builders/procedure_decl_builder.rb'
|
|
78
178
|
- 'lib/expressir/express/builders/rule_decl_builder.rb'
|
|
79
179
|
|
|
80
|
-
# Offense count:
|
|
180
|
+
# Offense count: 3
|
|
81
181
|
# This cop supports safe autocorrection (--autocorrect).
|
|
82
182
|
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
|
|
83
183
|
Layout/ExtraSpacing:
|
|
84
184
|
Exclude:
|
|
85
185
|
- 'benchmark/srl_benchmark.rb'
|
|
186
|
+
- 'lib/expressir/express/parser.rb'
|
|
187
|
+
- 'tmp_test_no_transform.rb'
|
|
86
188
|
|
|
87
|
-
# Offense count:
|
|
189
|
+
# Offense count: 2
|
|
190
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
191
|
+
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
192
|
+
# SupportedStyles: consistent, consistent_relative_to_receiver, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
|
|
193
|
+
Layout/FirstArgumentIndentation:
|
|
194
|
+
Exclude:
|
|
195
|
+
- 'lib/expressir/express/parser.rb'
|
|
196
|
+
|
|
197
|
+
# Offense count: 2
|
|
198
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
199
|
+
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
200
|
+
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
|
201
|
+
Layout/FirstArrayElementIndentation:
|
|
202
|
+
Exclude:
|
|
203
|
+
- 'spec/expressir/model/repository_validator_spec.rb'
|
|
204
|
+
|
|
205
|
+
# Offense count: 21
|
|
88
206
|
# This cop supports safe autocorrection (--autocorrect).
|
|
89
207
|
# Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
|
|
90
208
|
# SupportedHashRocketStyles: key, separator, table
|
|
@@ -92,19 +210,42 @@ Layout/ExtraSpacing:
|
|
|
92
210
|
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
|
|
93
211
|
Layout/HashAlignment:
|
|
94
212
|
Exclude:
|
|
213
|
+
- 'benchmark/srl_benchmark.rb'
|
|
214
|
+
- 'benchmark/srl_native_benchmark.rb'
|
|
215
|
+
- 'benchmark/srl_ruby_benchmark.rb'
|
|
216
|
+
- 'benchmark/validate_load_benchmark.rb'
|
|
95
217
|
- 'lib/expressir/express/parser.rb'
|
|
218
|
+
- 'lib/expressir/model/exp_file.rb'
|
|
219
|
+
- 'spec/expressir/model/model_element_spec.rb'
|
|
96
220
|
|
|
97
|
-
# Offense count:
|
|
221
|
+
# Offense count: 1
|
|
222
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
223
|
+
Layout/HeredocIndentation:
|
|
224
|
+
Exclude:
|
|
225
|
+
- 'debug_simple_use.rb'
|
|
226
|
+
|
|
227
|
+
# Offense count: 28
|
|
228
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
229
|
+
# Configuration parameters: EnforcedStyle.
|
|
230
|
+
# SupportedStyles: normal, indented_internal_methods
|
|
231
|
+
Layout/IndentationConsistency:
|
|
232
|
+
Exclude:
|
|
233
|
+
- 'benchmark/dense_cache_test.rb'
|
|
234
|
+
- 'benchmark/malloc_trim_test.rb'
|
|
235
|
+
- 'benchmark/memory_heap_prep.rb'
|
|
236
|
+
- 'benchmark/memory_isolation_test.rb'
|
|
237
|
+
- 'benchmark/memory_objectspace_test.rb'
|
|
238
|
+
- 'benchmark/quick_mem_test.rb'
|
|
239
|
+
- 'tmp_mem_with_opt.rb'
|
|
240
|
+
|
|
241
|
+
# Offense count: 70
|
|
98
242
|
# This cop supports safe autocorrection (--autocorrect).
|
|
99
243
|
# Configuration parameters: Width, EnforcedStyleAlignWith, AllowedPatterns.
|
|
100
244
|
# SupportedStylesAlignWith: start_of_line, relative_to_receiver
|
|
101
245
|
Layout/IndentationWidth:
|
|
102
|
-
|
|
103
|
-
- 'lib/expressir/express/builders/function_decl_builder.rb'
|
|
104
|
-
- 'lib/expressir/express/builders/procedure_decl_builder.rb'
|
|
105
|
-
- 'lib/expressir/express/builders/rule_decl_builder.rb'
|
|
246
|
+
Enabled: false
|
|
106
247
|
|
|
107
|
-
# Offense count:
|
|
248
|
+
# Offense count: 1127
|
|
108
249
|
# This cop supports safe autocorrection (--autocorrect).
|
|
109
250
|
# Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings.
|
|
110
251
|
# URISchemes: http, https
|
|
@@ -113,12 +254,104 @@ Layout/LineLength:
|
|
|
113
254
|
|
|
114
255
|
# Offense count: 1
|
|
115
256
|
# This cop supports safe autocorrection (--autocorrect).
|
|
257
|
+
# Configuration parameters: EnforcedStyle.
|
|
258
|
+
# SupportedStyles: symmetrical, new_line, same_line
|
|
259
|
+
Layout/MultilineArrayBraceLayout:
|
|
260
|
+
Exclude:
|
|
261
|
+
- 'spec/expressir/model/repository_validator_spec.rb'
|
|
262
|
+
|
|
263
|
+
# Offense count: 6
|
|
264
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
265
|
+
Layout/MultilineBlockLayout:
|
|
266
|
+
Exclude:
|
|
267
|
+
- 'benchmark/dense_cache_test.rb'
|
|
268
|
+
- 'benchmark/malloc_trim_test.rb'
|
|
269
|
+
- 'benchmark/memory_heap_prep.rb'
|
|
270
|
+
- 'benchmark/memory_isolation_test.rb'
|
|
271
|
+
- 'benchmark/memory_objectspace_test.rb'
|
|
272
|
+
- 'benchmark/quick_mem_test.rb'
|
|
273
|
+
|
|
274
|
+
# Offense count: 1
|
|
275
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
276
|
+
# Configuration parameters: EnforcedStyle.
|
|
277
|
+
# SupportedStyles: symmetrical, new_line, same_line
|
|
278
|
+
Layout/MultilineMethodCallBraceLayout:
|
|
279
|
+
Exclude:
|
|
280
|
+
- 'lib/expressir/express/parser.rb'
|
|
281
|
+
|
|
282
|
+
# Offense count: 2
|
|
283
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
284
|
+
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
285
|
+
# SupportedStyles: aligned, indented
|
|
286
|
+
Layout/MultilineOperationIndentation:
|
|
287
|
+
Exclude:
|
|
288
|
+
- 'benchmark/memory_objectspace_test.rb'
|
|
289
|
+
|
|
290
|
+
# Offense count: 15
|
|
291
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
292
|
+
Layout/RescueEnsureAlignment:
|
|
293
|
+
Exclude:
|
|
294
|
+
- 'benchmark/memory_isolation_test.rb'
|
|
295
|
+
- 'benchmark/memory_objectspace_test.rb'
|
|
296
|
+
- 'benchmark/perf_regression.rb'
|
|
297
|
+
- 'benchmark/srl_benchmark.rb'
|
|
298
|
+
- 'benchmark/validate_load_benchmark.rb'
|
|
299
|
+
- 'lib/expressir/express/parser.rb'
|
|
300
|
+
- 'tmp_compare.rb'
|
|
301
|
+
- 'tmp_test_no_transform.rb'
|
|
302
|
+
|
|
303
|
+
# Offense count: 3
|
|
304
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
116
305
|
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator, EnforcedStyleForRationalLiterals.
|
|
117
306
|
# SupportedStylesForExponentOperator: space, no_space
|
|
118
307
|
# SupportedStylesForRationalLiterals: space, no_space
|
|
119
308
|
Layout/SpaceAroundOperators:
|
|
120
309
|
Exclude:
|
|
310
|
+
- 'benchmark/dense_cache_test.rb'
|
|
121
311
|
- 'benchmark/srl_benchmark.rb'
|
|
312
|
+
- 'tmp_compare.rb'
|
|
313
|
+
|
|
314
|
+
# Offense count: 4
|
|
315
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
316
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
|
317
|
+
# SupportedStyles: space, no_space, compact
|
|
318
|
+
# SupportedStylesForEmptyBraces: space, no_space
|
|
319
|
+
Layout/SpaceInsideHashLiteralBraces:
|
|
320
|
+
Exclude:
|
|
321
|
+
- 'tmp_mem_profile.rb'
|
|
322
|
+
|
|
323
|
+
# Offense count: 10
|
|
324
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
325
|
+
# Configuration parameters: EnforcedStyle.
|
|
326
|
+
# SupportedStyles: final_newline, final_blank_line
|
|
327
|
+
Layout/TrailingEmptyLines:
|
|
328
|
+
Exclude:
|
|
329
|
+
- 'benchmark/perf_regression.rb'
|
|
330
|
+
- 'debug_model.rb'
|
|
331
|
+
- 'debug_ruby_parser.rb'
|
|
332
|
+
- 'debug_simple_use.rb'
|
|
333
|
+
- 'debug_simple_use_clause.rb'
|
|
334
|
+
- 'debug_use_clause.rb'
|
|
335
|
+
- 'debug_use_clause2.rb'
|
|
336
|
+
- 'debug_use_clause3.rb'
|
|
337
|
+
- 'debug_use_clause4.rb'
|
|
338
|
+
- 'measure_mem.rb'
|
|
339
|
+
|
|
340
|
+
# Offense count: 49
|
|
341
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
342
|
+
# Configuration parameters: AllowInHeredoc.
|
|
343
|
+
Layout/TrailingWhitespace:
|
|
344
|
+
Enabled: false
|
|
345
|
+
|
|
346
|
+
# Offense count: 19
|
|
347
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
348
|
+
Lint/AmbiguousOperatorPrecedence:
|
|
349
|
+
Exclude:
|
|
350
|
+
- 'benchmark/malloc_trim_test.rb'
|
|
351
|
+
- 'benchmark/memory_isolation_test.rb'
|
|
352
|
+
- 'benchmark/memory_leak_detector.rb'
|
|
353
|
+
- 'benchmark/memory_objectspace_test.rb'
|
|
354
|
+
- 'benchmark/validate_load_benchmark.rb'
|
|
122
355
|
|
|
123
356
|
# Offense count: 9
|
|
124
357
|
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches, IgnoreDuplicateElseBranch.
|
|
@@ -142,13 +375,21 @@ Lint/DuplicateMethods:
|
|
|
142
375
|
Exclude:
|
|
143
376
|
- 'lib/expressir/commands/validate_ascii.rb'
|
|
144
377
|
|
|
145
|
-
# Offense count:
|
|
378
|
+
# Offense count: 11
|
|
146
379
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
147
380
|
Lint/RedundantDirGlobSort:
|
|
148
381
|
Exclude:
|
|
382
|
+
- 'benchmark/malloc_trim_test.rb'
|
|
383
|
+
- 'benchmark/memory_heap_prep.rb'
|
|
384
|
+
- 'benchmark/memory_isolation_test.rb'
|
|
385
|
+
- 'benchmark/memory_leak_detector.rb'
|
|
386
|
+
- 'benchmark/memory_objectspace_test.rb'
|
|
387
|
+
- 'benchmark/perf_regression.rb'
|
|
388
|
+
- 'benchmark/quick_mem_test.rb'
|
|
149
389
|
- 'benchmark/srl_benchmark.rb'
|
|
150
390
|
- 'benchmark/srl_native_benchmark.rb'
|
|
151
391
|
- 'benchmark/srl_ruby_benchmark.rb'
|
|
392
|
+
- 'benchmark/validate_load_benchmark.rb'
|
|
152
393
|
|
|
153
394
|
# Offense count: 3
|
|
154
395
|
# This cop supports safe autocorrection (--autocorrect).
|
|
@@ -158,14 +399,6 @@ Lint/RedundantRequireStatement:
|
|
|
158
399
|
- 'lib/expressir/express/remark_attacher.rb'
|
|
159
400
|
- 'lib/expressir/express/transformer/remark_handling.rb'
|
|
160
401
|
|
|
161
|
-
# Offense count: 3
|
|
162
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
163
|
-
Lint/ScriptPermission:
|
|
164
|
-
Exclude:
|
|
165
|
-
- 'benchmark/srl_benchmark.rb'
|
|
166
|
-
- 'benchmark/srl_native_benchmark.rb'
|
|
167
|
-
- 'benchmark/srl_ruby_benchmark.rb'
|
|
168
|
-
|
|
169
402
|
# Offense count: 2
|
|
170
403
|
# Configuration parameters: AllowedPatterns.
|
|
171
404
|
# AllowedPatterns: (?-mix:(exactly|at_least|at_most)\(\d+\)\.times)
|
|
@@ -173,7 +406,15 @@ Lint/UnreachableLoop:
|
|
|
173
406
|
Exclude:
|
|
174
407
|
- 'lib/expressir/model/dependency_resolver.rb'
|
|
175
408
|
|
|
176
|
-
# Offense count:
|
|
409
|
+
# Offense count: 2
|
|
410
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
411
|
+
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
|
412
|
+
Lint/UnusedBlockArgument:
|
|
413
|
+
Exclude:
|
|
414
|
+
- 'benchmark/memory_heap_prep.rb'
|
|
415
|
+
- 'benchmark/memory_profiler.rb'
|
|
416
|
+
|
|
417
|
+
# Offense count: 4
|
|
177
418
|
# This cop supports safe autocorrection (--autocorrect).
|
|
178
419
|
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods, NotImplementedExceptions.
|
|
179
420
|
# NotImplementedExceptions: NotImplementedError
|
|
@@ -183,36 +424,44 @@ Lint/UnusedMethodArgument:
|
|
|
183
424
|
- 'lib/expressir/express/cache.rb'
|
|
184
425
|
- 'lib/expressir/express/parser.rb'
|
|
185
426
|
|
|
186
|
-
# Offense count:
|
|
427
|
+
# Offense count: 12
|
|
187
428
|
# This cop supports safe autocorrection (--autocorrect).
|
|
188
429
|
Lint/UselessAssignment:
|
|
189
430
|
Exclude:
|
|
431
|
+
- 'benchmark/dense_cache_test.rb'
|
|
432
|
+
- 'benchmark/memory_isolation_test.rb'
|
|
433
|
+
- 'benchmark/memory_leak_detector.rb'
|
|
434
|
+
- 'benchmark/memory_profiler.rb'
|
|
435
|
+
- 'benchmark/perf_regression.rb'
|
|
190
436
|
- 'benchmark/srl_benchmark.rb'
|
|
191
437
|
- 'spec/expressir/express/pretty_formatter_spec.rb'
|
|
192
438
|
- 'spec/expressir/model/indexes/type_index_spec.rb'
|
|
439
|
+
- 'tmp_mem2.rb'
|
|
440
|
+
- 'tmp_mem_profile.rb'
|
|
441
|
+
- 'tmp_mem_with_opt.rb'
|
|
193
442
|
|
|
194
|
-
# Offense count:
|
|
443
|
+
# Offense count: 244
|
|
195
444
|
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
|
|
196
445
|
Metrics/AbcSize:
|
|
197
446
|
Enabled: false
|
|
198
447
|
|
|
199
|
-
# Offense count:
|
|
448
|
+
# Offense count: 11
|
|
200
449
|
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
|
|
201
450
|
# AllowedMethods: refine
|
|
202
451
|
Metrics/BlockLength:
|
|
203
|
-
Max:
|
|
452
|
+
Max: 106
|
|
204
453
|
|
|
205
|
-
# Offense count:
|
|
454
|
+
# Offense count: 14
|
|
206
455
|
# Configuration parameters: CountBlocks, CountModifierForms.
|
|
207
456
|
Metrics/BlockNesting:
|
|
208
457
|
Max: 6
|
|
209
458
|
|
|
210
|
-
# Offense count:
|
|
459
|
+
# Offense count: 198
|
|
211
460
|
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
|
|
212
461
|
Metrics/CyclomaticComplexity:
|
|
213
462
|
Enabled: false
|
|
214
463
|
|
|
215
|
-
# Offense count:
|
|
464
|
+
# Offense count: 291
|
|
216
465
|
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
|
217
466
|
Metrics/MethodLength:
|
|
218
467
|
Max: 167
|
|
@@ -222,7 +471,7 @@ Metrics/MethodLength:
|
|
|
222
471
|
Metrics/ParameterLists:
|
|
223
472
|
Max: 8
|
|
224
473
|
|
|
225
|
-
# Offense count:
|
|
474
|
+
# Offense count: 171
|
|
226
475
|
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
|
|
227
476
|
Metrics/PerceivedComplexity:
|
|
228
477
|
Enabled: false
|
|
@@ -261,18 +510,21 @@ Naming/VariableNumber:
|
|
|
261
510
|
- 'spec/expressir/commands/validate_ascii_spec.rb'
|
|
262
511
|
- 'spec/expressir/express/pretty_formatter_spec.rb'
|
|
263
512
|
|
|
264
|
-
# Offense count:
|
|
513
|
+
# Offense count: 6
|
|
265
514
|
# Configuration parameters: MinSize.
|
|
266
515
|
Performance/CollectionLiteralInLoop:
|
|
267
516
|
Exclude:
|
|
517
|
+
- 'benchmark/memory_profiler.rb'
|
|
518
|
+
- 'lib/expressir/express/parser.rb'
|
|
268
519
|
- 'lib/expressir/express/remark_attacher.rb'
|
|
269
520
|
- 'lib/expressir/express/streaming_builder.rb'
|
|
270
521
|
|
|
271
|
-
# Offense count:
|
|
522
|
+
# Offense count: 8
|
|
272
523
|
Performance/FixedSize:
|
|
273
524
|
Exclude:
|
|
274
525
|
- 'lib/expressir/express/formatters/data_types_formatter.rb'
|
|
275
526
|
- 'lib/expressir/express/formatters/declarations_formatter.rb'
|
|
527
|
+
- 'lib/expressir/express/parser.rb'
|
|
276
528
|
|
|
277
529
|
# Offense count: 6
|
|
278
530
|
Performance/MapMethodChain:
|
|
@@ -326,7 +578,7 @@ RSpec/DescribedClass:
|
|
|
326
578
|
- 'spec/expressir/model/model_element_spec.rb'
|
|
327
579
|
- 'spec/expressir/model/repository_spec.rb'
|
|
328
580
|
|
|
329
|
-
# Offense count:
|
|
581
|
+
# Offense count: 452
|
|
330
582
|
# Configuration parameters: CountAsOne.
|
|
331
583
|
RSpec/ExampleLength:
|
|
332
584
|
Max: 122
|
|
@@ -424,6 +676,29 @@ Style/ArgumentsForwarding:
|
|
|
424
676
|
- 'lib/expressir/model/repository.rb'
|
|
425
677
|
- 'lib/expressir/model/search_engine.rb'
|
|
426
678
|
|
|
679
|
+
# Offense count: 31
|
|
680
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
681
|
+
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
|
|
682
|
+
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
|
|
683
|
+
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
|
684
|
+
# FunctionalMethods: let, let!, subject, watch
|
|
685
|
+
# AllowedMethods: lambda, proc, it
|
|
686
|
+
Style/BlockDelimiters:
|
|
687
|
+
Exclude:
|
|
688
|
+
- 'benchmark/dense_cache_test.rb'
|
|
689
|
+
- 'benchmark/malloc_trim_test.rb'
|
|
690
|
+
- 'benchmark/memory_heap_prep.rb'
|
|
691
|
+
- 'benchmark/memory_isolation_test.rb'
|
|
692
|
+
- 'benchmark/memory_objectspace_test.rb'
|
|
693
|
+
- 'benchmark/quick_mem_test.rb'
|
|
694
|
+
- 'benchmark/srl_benchmark.rb'
|
|
695
|
+
- 'debug_model.rb'
|
|
696
|
+
- 'debug_use_clause3.rb'
|
|
697
|
+
- 'lib/expressir/express/builders/entity_decl_builder.rb'
|
|
698
|
+
- 'lib/expressir/package/builder.rb'
|
|
699
|
+
- 'spec/expressir/commands/package_nil_guards_spec.rb'
|
|
700
|
+
- 'spec/expressir/model/repository_validator_spec.rb'
|
|
701
|
+
|
|
427
702
|
# Offense count: 2
|
|
428
703
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
429
704
|
Style/ConcatArrayLiterals:
|
|
@@ -438,21 +713,21 @@ Style/EmptyElse:
|
|
|
438
713
|
Exclude:
|
|
439
714
|
- 'lib/expressir/commands/changes_validate.rb'
|
|
440
715
|
|
|
441
|
-
# Offense count:
|
|
716
|
+
# Offense count: 1
|
|
717
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
718
|
+
# Configuration parameters: EnforcedStyle.
|
|
719
|
+
# SupportedStyles: trailing_conditional, ternary
|
|
720
|
+
Style/EmptyStringInsideInterpolation:
|
|
721
|
+
Exclude:
|
|
722
|
+
- 'benchmark/perf_regression.rb'
|
|
723
|
+
|
|
724
|
+
# Offense count: 40
|
|
442
725
|
# This cop supports safe autocorrection (--autocorrect).
|
|
443
726
|
# Configuration parameters: MaxUnannotatedPlaceholdersAllowed, Mode, AllowedMethods, AllowedPatterns.
|
|
444
727
|
# SupportedStyles: annotated, template, unannotated
|
|
445
728
|
Style/FormatStringToken:
|
|
446
729
|
EnforcedStyle: unannotated
|
|
447
730
|
|
|
448
|
-
# Offense count: 1
|
|
449
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
450
|
-
# Configuration parameters: AllowedReceivers.
|
|
451
|
-
# AllowedReceivers: Thread.current
|
|
452
|
-
Style/HashEachMethods:
|
|
453
|
-
Exclude:
|
|
454
|
-
- 'lib/expressir/express/builders/syntax_builder.rb'
|
|
455
|
-
|
|
456
731
|
# Offense count: 1
|
|
457
732
|
# Configuration parameters: MinBranchesCount.
|
|
458
733
|
Style/HashLikeCase:
|
|
@@ -464,16 +739,51 @@ Style/MixinUsage:
|
|
|
464
739
|
Exclude:
|
|
465
740
|
- 'benchmark/srl_benchmark.rb'
|
|
466
741
|
|
|
467
|
-
# Offense count:
|
|
742
|
+
# Offense count: 2
|
|
743
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
744
|
+
Style/MultilineIfModifier:
|
|
745
|
+
Exclude:
|
|
746
|
+
- 'tmp_compare.rb'
|
|
747
|
+
|
|
748
|
+
# Offense count: 1
|
|
749
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
750
|
+
Style/MultilineTernaryOperator:
|
|
751
|
+
Exclude:
|
|
752
|
+
- 'debug_use_clause3.rb'
|
|
753
|
+
|
|
754
|
+
# Offense count: 3
|
|
755
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
756
|
+
# Configuration parameters: AllowMethodComparison, ComparisonsThreshold.
|
|
757
|
+
Style/MultipleComparison:
|
|
758
|
+
Exclude:
|
|
759
|
+
- 'benchmark/memory_profiler.rb'
|
|
760
|
+
- 'lib/expressir/express/parser.rb'
|
|
761
|
+
|
|
762
|
+
# Offense count: 1
|
|
763
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
764
|
+
# Configuration parameters: EnforcedStyle.
|
|
765
|
+
# SupportedStyles: literals, strict
|
|
766
|
+
Style/MutableConstant:
|
|
767
|
+
Exclude:
|
|
768
|
+
- 'benchmark/perf_regression.rb'
|
|
769
|
+
|
|
770
|
+
# Offense count: 19
|
|
468
771
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
469
772
|
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
|
|
470
773
|
# SupportedStyles: predicate, comparison
|
|
471
774
|
Style/NumericPredicate:
|
|
472
775
|
Exclude:
|
|
473
776
|
- 'spec/**/*'
|
|
777
|
+
- 'benchmark/memory_leak_detector.rb'
|
|
778
|
+
- 'benchmark/memory_objectspace_test.rb'
|
|
779
|
+
- 'benchmark/memory_profiler.rb'
|
|
780
|
+
- 'benchmark/perf_regression.rb'
|
|
474
781
|
- 'benchmark/srl_benchmark.rb'
|
|
475
782
|
- 'benchmark/srl_native_benchmark.rb'
|
|
476
783
|
- 'benchmark/srl_ruby_benchmark.rb'
|
|
784
|
+
- 'benchmark/validate_load_benchmark.rb'
|
|
785
|
+
- 'lib/expressir/express/parser.rb'
|
|
786
|
+
- 'tmp_compare.rb'
|
|
477
787
|
|
|
478
788
|
# Offense count: 3
|
|
479
789
|
# Configuration parameters: AllowedClasses.
|
|
@@ -481,27 +791,65 @@ Style/OneClassPerFile:
|
|
|
481
791
|
Exclude:
|
|
482
792
|
- 'benchmark/srl_benchmark.rb'
|
|
483
793
|
|
|
794
|
+
# Offense count: 1
|
|
795
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
796
|
+
Style/RedundantAssignment:
|
|
797
|
+
Exclude:
|
|
798
|
+
- 'debug_simple_use.rb'
|
|
799
|
+
|
|
800
|
+
# Offense count: 4
|
|
801
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
802
|
+
Style/RedundantBegin:
|
|
803
|
+
Exclude:
|
|
804
|
+
- 'benchmark/perf_regression.rb'
|
|
805
|
+
- 'benchmark/srl_benchmark.rb'
|
|
806
|
+
- 'benchmark/validate_load_benchmark.rb'
|
|
807
|
+
- 'lib/expressir/express/parser.rb'
|
|
808
|
+
|
|
809
|
+
# Offense count: 6
|
|
810
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
811
|
+
Style/RedundantParentheses:
|
|
812
|
+
Exclude:
|
|
813
|
+
- 'benchmark/srl_benchmark.rb'
|
|
814
|
+
- 'benchmark/srl_native_benchmark.rb'
|
|
815
|
+
- 'benchmark/srl_ruby_benchmark.rb'
|
|
816
|
+
- 'benchmark/validate_load_benchmark.rb'
|
|
817
|
+
- 'lib/expressir/express/parser.rb'
|
|
818
|
+
|
|
484
819
|
# Offense count: 2
|
|
485
820
|
# This cop supports safe autocorrection (--autocorrect).
|
|
486
821
|
Style/RedundantStringEscape:
|
|
487
822
|
Exclude:
|
|
488
823
|
- 'benchmark/srl_benchmark.rb'
|
|
489
824
|
|
|
490
|
-
# Offense count:
|
|
825
|
+
# Offense count: 9
|
|
491
826
|
# This cop supports safe autocorrection (--autocorrect).
|
|
492
827
|
Style/RescueModifier:
|
|
493
828
|
Exclude:
|
|
829
|
+
- 'benchmark/memory_isolation_test.rb'
|
|
830
|
+
- 'benchmark/memory_objectspace_test.rb'
|
|
494
831
|
- 'benchmark/srl_benchmark.rb'
|
|
832
|
+
- 'tmp_compare.rb'
|
|
833
|
+
- 'tmp_test_no_transform.rb'
|
|
495
834
|
|
|
496
|
-
# Offense count:
|
|
835
|
+
# Offense count: 32
|
|
497
836
|
# This cop supports safe autocorrection (--autocorrect).
|
|
498
837
|
# Configuration parameters: EnforcedStyle.
|
|
499
838
|
# SupportedStyles: implicit, explicit
|
|
500
839
|
Style/RescueStandardError:
|
|
501
840
|
Exclude:
|
|
841
|
+
- 'benchmark/memory_isolation_test.rb'
|
|
842
|
+
- 'benchmark/memory_leak_detector.rb'
|
|
843
|
+
- 'benchmark/memory_objectspace_test.rb'
|
|
844
|
+
- 'benchmark/perf_regression.rb'
|
|
502
845
|
- 'benchmark/srl_benchmark.rb'
|
|
503
846
|
- 'benchmark/srl_native_benchmark.rb'
|
|
504
847
|
- 'benchmark/srl_ruby_benchmark.rb'
|
|
848
|
+
- 'benchmark/validate_load_benchmark.rb'
|
|
849
|
+
- 'tmp_compare.rb'
|
|
850
|
+
- 'tmp_mem2.rb'
|
|
851
|
+
- 'tmp_mem_with_opt.rb'
|
|
852
|
+
- 'tmp_test_no_transform.rb'
|
|
505
853
|
|
|
506
854
|
# Offense count: 1
|
|
507
855
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
@@ -511,22 +859,86 @@ Style/SafeNavigation:
|
|
|
511
859
|
Exclude:
|
|
512
860
|
- 'lib/expressir/model/repository.rb'
|
|
513
861
|
|
|
514
|
-
# Offense count:
|
|
862
|
+
# Offense count: 6
|
|
515
863
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
516
864
|
Style/SelectByKind:
|
|
517
865
|
Exclude:
|
|
866
|
+
- 'debug_model.rb'
|
|
518
867
|
- 'lib/expressir/express/formatters/remark_formatter.rb'
|
|
519
868
|
- 'lib/expressir/model/model_element.rb'
|
|
520
869
|
|
|
521
|
-
# Offense count:
|
|
870
|
+
# Offense count: 10
|
|
871
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
872
|
+
# Configuration parameters: AllowAsExpressionSeparator.
|
|
873
|
+
Style/Semicolon:
|
|
874
|
+
Exclude:
|
|
875
|
+
- 'benchmark/dense_cache_test.rb'
|
|
876
|
+
- 'benchmark/malloc_trim_test.rb'
|
|
877
|
+
- 'benchmark/memory_heap_prep.rb'
|
|
878
|
+
- 'benchmark/memory_isolation_test.rb'
|
|
879
|
+
- 'benchmark/memory_objectspace_test.rb'
|
|
880
|
+
- 'benchmark/quick_mem_test.rb'
|
|
881
|
+
- 'tmp_mem_with_opt.rb'
|
|
882
|
+
|
|
883
|
+
# Offense count: 27
|
|
884
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
885
|
+
# Configuration parameters: Mode.
|
|
886
|
+
Style/StringConcatenation:
|
|
887
|
+
Exclude:
|
|
888
|
+
- 'benchmark/malloc_trim_test.rb'
|
|
889
|
+
- 'benchmark/memory_isolation_test.rb'
|
|
890
|
+
- 'benchmark/memory_leak_detector.rb'
|
|
891
|
+
- 'benchmark/memory_objectspace_test.rb'
|
|
892
|
+
- 'benchmark/validate_load_benchmark.rb'
|
|
893
|
+
|
|
894
|
+
# Offense count: 128
|
|
522
895
|
# This cop supports safe autocorrection (--autocorrect).
|
|
523
896
|
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
|
524
897
|
# SupportedStyles: single_quotes, double_quotes
|
|
525
898
|
Style/StringLiterals:
|
|
526
899
|
Exclude:
|
|
900
|
+
- 'benchmark/dense_cache_test.rb'
|
|
901
|
+
- 'benchmark/malloc_trim_test.rb'
|
|
902
|
+
- 'benchmark/memory_heap_prep.rb'
|
|
903
|
+
- 'benchmark/memory_isolation_test.rb'
|
|
904
|
+
- 'benchmark/memory_leak_detector.rb'
|
|
905
|
+
- 'benchmark/memory_objectspace_test.rb'
|
|
906
|
+
- 'benchmark/memory_profiler.rb'
|
|
907
|
+
- 'benchmark/perf_regression.rb'
|
|
908
|
+
- 'benchmark/quick_mem_test.rb'
|
|
527
909
|
- 'benchmark/srl_benchmark.rb'
|
|
528
910
|
- 'benchmark/srl_native_benchmark.rb'
|
|
529
911
|
- 'benchmark/srl_ruby_benchmark.rb'
|
|
912
|
+
- 'benchmark/validate_load_benchmark.rb'
|
|
913
|
+
- 'lib/expressir/express/parser.rb'
|
|
914
|
+
|
|
915
|
+
# Offense count: 14
|
|
916
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
917
|
+
# Configuration parameters: EnforcedStyle.
|
|
918
|
+
# SupportedStyles: single_quotes, double_quotes
|
|
919
|
+
Style/StringLiteralsInInterpolation:
|
|
920
|
+
Exclude:
|
|
921
|
+
- 'benchmark/malloc_trim_test.rb'
|
|
922
|
+
- 'benchmark/memory_isolation_test.rb'
|
|
923
|
+
- 'benchmark/memory_leak_detector.rb'
|
|
924
|
+
- 'benchmark/memory_objectspace_test.rb'
|
|
925
|
+
- 'benchmark/validate_load_benchmark.rb'
|
|
926
|
+
|
|
927
|
+
# Offense count: 1
|
|
928
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
929
|
+
# Configuration parameters: .
|
|
930
|
+
# SupportedStyles: percent, brackets
|
|
931
|
+
Style/SymbolArray:
|
|
932
|
+
EnforcedStyle: percent
|
|
933
|
+
MinSize: 5
|
|
934
|
+
|
|
935
|
+
# Offense count: 2
|
|
936
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
937
|
+
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
|
|
938
|
+
# AllowedMethods: define_method
|
|
939
|
+
Style/SymbolProc:
|
|
940
|
+
Exclude:
|
|
941
|
+
- 'debug_model.rb'
|
|
530
942
|
|
|
531
943
|
# Offense count: 3
|
|
532
944
|
# This cop supports safe autocorrection (--autocorrect).
|
|
@@ -536,3 +948,22 @@ Style/TrailingCommaInArguments:
|
|
|
536
948
|
Exclude:
|
|
537
949
|
- 'benchmark/srl_benchmark.rb'
|
|
538
950
|
- 'spec/expressir/express/pretty_formatter_spec.rb'
|
|
951
|
+
|
|
952
|
+
# Offense count: 3
|
|
953
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
954
|
+
# Configuration parameters: EnforcedStyleForMultiline.
|
|
955
|
+
# SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
|
|
956
|
+
Style/TrailingCommaInArrayLiteral:
|
|
957
|
+
Exclude:
|
|
958
|
+
- 'benchmark/memory_objectspace_test.rb'
|
|
959
|
+
- 'tmp_mem2.rb'
|
|
960
|
+
|
|
961
|
+
# Offense count: 5
|
|
962
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
963
|
+
# Configuration parameters: EnforcedStyleForMultiline.
|
|
964
|
+
# SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
|
|
965
|
+
Style/TrailingCommaInHashLiteral:
|
|
966
|
+
Exclude:
|
|
967
|
+
- 'benchmark/perf_regression.rb'
|
|
968
|
+
- 'benchmark/validate_load_benchmark.rb'
|
|
969
|
+
- 'lib/expressir/express/parser.rb'
|