-
Notifications
You must be signed in to change notification settings - Fork 0
/
kotlin-detect-config.yaml
383 lines (375 loc) · 30.8 KB
/
kotlin-detect-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
# this is NOT a full configuration file, it is expected to be used
# with `--build-upon-default-config`
#
# Documentation at https://detekt.dev/docs/introduction/configurations
# Exclude files with pre-existing issues BEFORE detect
# Ideally this should be driven down to 0
style:
MagicNumber:
excludes:
- "**/examples/android/CHIPTest/app/src/test/java/com/tcl/chip/chiptest/ExampleUnitTest.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/bluetooth/BluetoothManager.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/AddressUpdateFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/ClusterDetailFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/MultiAdminClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/SensorClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/WildcardFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/provisioning/AddressCommissioningFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/provisioning/DeviceProvisioningFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/provisioning/EnterNetworkFragment.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/CommandManager.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairingCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkLongImSubscribeCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/Main.kt"
- "**/src/controller/java/src/matter/jsontlv/JsonToTlv.kt"
- "**/src/controller/java/src/matter/onboardingpayload/Base38.kt"
- "**/src/controller/java/src/matter/onboardingpayload/ManualOnboardingPayloadParser.kt"
- "**/src/controller/java/src/matter/onboardingpayload/OnboardingPayload.kt"
- "**/src/controller/java/src/matter/onboardingpayload/QRCodeBasicOnboardingPayloadGenerator.kt"
- "**/src/controller/java/src/matter/onboardingpayload/QRCodeOnboardingPayloadGenerator.kt"
- "**/src/controller/java/src/matter/onboardingpayload/QRCodeOnboardingPayloadParser.kt"
- "**/src/controller/java/src/matter/onboardingpayload/VendorId.kt"
- "**/src/controller/java/src/matter/tlv/tags.kt"
- "**/src/controller/java/src/matter/tlv/TlvWriter.kt"
- "**/src/controller/java/src/matter/tlv/types.kt"
- "**/src/controller/java/src/matter/tlv/utils.kt"
- "**/src/controller/java/src/matter/tlv/values.kt"
- "**/src/controller/java/src/matter/tlv/values.kt"
- "**/src/controller/java/src/matter/controller/model/Status.kt"
- "**/src/controller/java/tests/chip/devicecontroller/cluster/ChipClusterEventStructTest.kt"
- "**/src/controller/java/tests/chip/devicecontroller/cluster/ChipClusterStructTest.kt"
- "**/src/controller/java/tests/matter/jsontlv/JsonToTlvToJsonTest.kt"
- "**/src/controller/java/tests/matter/onboardingpayload/ManualCodeTest.kt"
- "**/src/controller/java/tests/matter/onboardingpayload/QRCodeTest.kt"
- "**/src/controller/java/tests/matter/tlv/TlvReaderTest.kt"
- "**/src/controller/java/tests/matter/tlv/TlvReadWriteTest.kt"
- "**/src/controller/java/tests/matter/tlv/TlvWriterTest.kt"
- "**/src/controller/java/generated/java/**/*"
WildcardImport:
excludes:
- "**/examples/android/CHIPTest/app/src/androidTest/java/com/tcl/chip/chiptest/ExampleInstrumentedTest.kt"
- "**/examples/android/CHIPTest/app/src/main/java/com/tcl/chip/chiptest/MainActivity.kt"
- "**/examples/android/CHIPTest/app/src/test/java/com/tcl/chip/chiptest/ExampleUnitTest.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/BasicClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/ClusterDetailFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/MultiAdminClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/OnOffClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/SensorClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/provisioning/UnpairDeviceFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/SelectActionFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/setuppayloadscanner/BarcodeFragment.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/Main.kt"
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/src/matter/jsontlv/JsonToTlv.kt"
- "**/src/controller/java/src/matter/jsontlv/TlvToJson.kt"
- "**/src/controller/java/tests/matter/jsontlv/JsonToTlvToJsonTest.kt"
NewLineAtEndOfFile:
excludes:
- "**/examples/android/CHIPTest/app/src/androidTest/java/com/tcl/chip/chiptest/ExampleInstrumentedTest.kt"
- "**/examples/android/CHIPTest/app/src/test/java/com/tcl/chip/chiptest/ExampleUnitTest.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/AddressUpdateFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/ClusterInteractionFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/ClusterInteractionHistoryFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/ClusterInteractionSettingsFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/EndpointAdapter.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/EndpointItem.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/HistoryCommandAdapter.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/HistoryCommand.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/setuppayloadscanner/BarcodeFragment.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/Argument.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/ArgumentType.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/Command.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/CommandManager.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/CredentialsIssuer.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/IPAddress.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/MatterCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/CloseSessionCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/DiscoveryFilterType.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairAddressPaseCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairAlreadyDiscoveredCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairCodeCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairCodePaseCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairCodeThreadCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairCodeWifiCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairingCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairingModeType.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairingNetworkType.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkCommissionerCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkCommissioningModeCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkDeviceTypeCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkFabricCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkInstanceNameCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkLongCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkLongImInvokeCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkLongImExtendableInvokeCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkLongImWriteCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkShortCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkVendorCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/UnpairCommand.kt"
- "**/src/controller/java/src/matter/onboardingpayload/Verhoeff.kt"
MaxLineLength:
excludes:
- "**/examples/android/CHIPTest/app/src/main/java/com/tcl/chip/chiptest/MainActivity.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/bluetooth/BluetoothManager.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/ChipClient.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/BasicClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/ClusterDetailFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/MultiAdminClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/OnOffClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/OpCredClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/SensorClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/WildcardFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/provisioning/DeviceProvisioningFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/setuppayloadscanner/CHIPLedgerDetailsFragment.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/Command.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/MatterCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairingCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkLongImSubscribeCommand.kt"
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/src/matter/jsontlv/TlvToJson.kt"
- "**/src/controller/java/src/matter/onboardingpayload/ManualOnboardingPayloadGenerator.kt"
- "**/src/controller/java/src/matter/onboardingpayload/ManualOnboardingPayloadParser.kt"
- "**/src/controller/java/src/matter/onboardingpayload/OnboardingPayload.kt"
- "**/src/controller/java/src/matter/onboardingpayload/QRCodeBasicOnboardingPayloadGenerator.kt"
- "**/src/controller/java/tests/matter/onboardingpayload/ManualCodeTest.kt"
- "**/src/controller/java/tests/matter/onboardingpayload/QRCodeTest.kt"
UnusedParameter:
excludes:
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/bluetooth/BluetoothManager.kt"
- "**/src/controller/java/generated/java/**/*"
ReturnCount:
excludes:
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/CHIPToolActivity.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/SensorClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/provisioning/EnterNetworkFragment.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/CommandManager.kt"
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/src/matter/onboardingpayload/Verhoeff.kt"
- "**/src/controller/java/src/matter/onboardingpayload/OnboardingPayload.kt"
UnusedPrivateProperty:
excludes:
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/CHIPToolActivity.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/OnOffClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/ClusterInteractionFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/provisioning/EnterNetworkFragment.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/MatterCommand.kt"
- "**/src/controller/java/src/matter/controller/ReportCallbackJni.kt"
- "**/src/controller/java/src/matter/onboardingpayload/Base38.kt"
- "**/src/controller/java/generated/java/**/*"
ForbiddenComment:
excludes:
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/MultiAdminClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/ClusterInteractionFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/provisioning/AddressCommissioningFragment.kt"
- "**/src/controller/java/src/matter/onboardingpayload/QRCodeOnboardingPayloadParser.kt"
ExplicitItLambdaParameter:
excludes:
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/ClusterDetailFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/HistoryCommandAdapter.kt"
ThrowsCount:
excludes:
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/CommandManager.kt"
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/src/matter/tlv/TlvReader.kt"
- "**/src/controller/java/src/matter/jsontlv/JsonToTlv.kt"
- "**/src/controller/java/src/matter/jsontlv/TlvToJson.kt"
- "**/src/controller/java/src/matter/onboardingpayload/ManualOnboardingPayloadParser.kt"
- "**/src/controller/java/src/matter/onboardingpayload/ManualOnboardingPayloadGenerator.kt"
- "**/src/controller/java/src/matter/onboardingpayload/Base38.kt"
SerialVersionUIDInSerializableClass:
excludes:
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/HistoryCommand.kt"
UnusedPrivateMember:
excludes:
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/setuppayloadscanner/BarcodeFragment.kt"
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/src/matter/controller/Messages.kt"
- "**/src/controller/java/src/matter/controller/model/Paths.kt"
- "**/src/controller/java/src/matter/controller/ReportCallbackJni.kt"
- "**/src/controller/java/src/matter/onboardingpayload/OnboardingPayload.kt"
UseCheckOrError:
excludes:
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/src/matter/tlv/tags.kt"
- "**/src/controller/java/src/matter/tlv/types.kt"
UseRequire:
excludes:
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/src/matter/jsontlv/JsonToTlv.kt"
- "**/src/controller/java/src/matter/onboardingpayload/Verhoeff10.kt"
UtilityClassWithPublicConstructor:
excludes:
- "**/src/controller/java/src/matter/onboardingpayload/Verhoeff.kt"
MayBeConst:
excludes:
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/src/matter/onboardingpayload/Base38.kt"
FunctionOnlyReturningConstant:
excludes:
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/src/matter/controller/Messages.kt"
- "**/src/controller/java/src/matter/onboardingpayload/QRCodeOnboardingPayloadGenerator.kt"
exceptions:
TooGenericExceptionCaught:
excludes:
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/BasicClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/WildcardFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/SensorClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/setuppayloadscanner/BarcodeFragment.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/Argument.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/Main.kt"
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/tests/matter/onboardingpayload/ManualCodeTest.kt"
- "**/src/controller/java/tests/matter/onboardingpayload/QRCodeTest.kt"
SwallowedException:
excludes:
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/SensorClientFragment.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/Argument.kt"
TooGenericExceptionThrown:
excludes:
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/discover/DiscoverCommissionablesCommand.kt"
- "**/src/controller/java/generated/java/**/*"
ThrowingExceptionsWithoutMessageOrCause:
excludes:
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/CommandManager.kt"
- "**/src/controller/java/generated/java/**/*"
naming:
VariableNaming:
excludes:
- "**/src/controller/java/generated/java/**/*"
FunctionNaming:
excludes:
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/SelectActionFragment.kt"
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/tests/matter/tlv/TlvReadWriteTest.kt"
- "**/src/controller/java/tests/matter/tlv/TlvWriterTest.kt"
- "**/src/controller/java/tests/matter/tlv/TlvReaderTest.kt"
- "**/src/controller/java/tests/matter/jsontlv/JsonToTlvToJsonTest.kt"
- "**/src/controller/java/tests/matter/onboardingpayload/ManualCodeTest.kt"
- "**/src/controller/java/tests/matter/onboardingpayload/QRCodeTest.kt"
- "**/examples/android/CHIPTest/app/src/test/java/com/tcl/chip/chiptest/ExampleUnitTest.kt"
ConstructorParameterNaming:
excludes:
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/HistoryCommandAdapter.kt"
- "**/src/controller/java/generated/java/**/*"
FunctionParameterNaming:
excludes:
- "**/src/controller/java/generated/java/**/*"
TopLevelPropertyNaming:
excludes:
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/src/matter/onboardingpayload/OnboardingPayload.kt"
performance:
SpreadOperator:
excludes:
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/tests/matter/tlv/TlvReaderTest.kt"
potential-bugs:
EqualsWithHashCodeExist:
excludes:
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/src/matter/onboardingpayload/OnboardingPayload.kt"
ImplicitDefaultLocale:
excludes:
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/src/matter/onboardingpayload/OnboardingPayload.kt"
- "**/src/controller/java/src/matter/onboardingpayload/ManualOnboardingPayloadGenerator.kt"
complexity:
TooManyFunctions:
excludes:
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/CHIPToolActivity.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/ClusterDetailFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/AddressUpdateFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/GroupSettingFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/OnOffClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/OtaProviderClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/SensorClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/WildcardFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/GenericChipDeviceListener.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/SelectActionFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/setuppayloadscanner/BarcodeFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/util/TlvParseUtil.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/Command.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/CommandManager.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairingCommand.kt"
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/src/matter/jsontlv/JsonToTlv.kt"
- "**/src/controller/java/src/matter/onboardingpayload/OnboardingPayload.kt"
- "**/src/controller/java/src/matter/tlv/TlvReader.kt"
- "**/src/controller/java/src/matter/tlv/TlvWriter.kt"
- "**/src/controller/java/src/matter/controller/MatterControllerImpl.kt"
- "**/src/controller/java/src/matter/controller/CompletionListenerAdapter.kt"
- "**/src/controller/java/src/matter/controller/MatterController.kt"
- "**/src/controller/java/src/matter/controller/ReportCallbackJni.kt"
- "**/src/controller/java/src/matter/controller/model/States.kt"
- "**/src/controller/java/tests/matter/jsontlv/JsonToTlvToJsonTest.kt"
- "**/src/controller/java/tests/matter/onboardingpayload/ManualCodeTest.kt"
- "**/src/controller/java/tests/matter/onboardingpayload/QRCodeTest.kt"
- "**/src/controller/java/tests/matter/tlv/TlvReadWriteTest.kt"
NestedBlockDepth:
excludes:
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/WildcardFragment.kt"
- "**/src/controller/java/generated/java/**/*"
LongParameterList:
excludes:
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/clusterinteraction/ClusterDetailFragment.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/Command.kt"
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/src/matter/controller/MatterControllerImpl.kt"
- "**/src/controller/java/src/matter/controller/InvokeCallbackJni.kt"
- "**/src/controller/java/src/matter/controller/ReportCallbackJni.kt"
- "**/src/controller/java/src/matter/controller/model/States.kt"
- "**/src/controller/java/src/matter/onboardingpayload/OnboardingPayload.kt"
LongMethod:
excludes:
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/provisioning/AddressCommissioningFragment.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/common/CommandManager.kt"
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/src/matter/controller/MatterControllerImpl.kt"
- "**/src/controller/java/src/matter/onboardingpayload/Base38.kt"
- "**/src/controller/java/src/matter/onboardingpayload/ManualOnboardingPayloadGenerator.kt"
- "**/src/controller/java/src/matter/onboardingpayload/ManualOnboardingPayloadParser.kt"
- "**/src/controller/java/tests/matter/jsontlv/JsonToTlvToJsonTest.kt"
- "**/src/controller/java/tests/matter/onboardingpayload/ManualCodeTest.kt"
- "**/src/controller/java/tests/matter/onboardingpayload/QRCodeTest.kt"
- "**/src/controller/java/tests/matter/tlv/TlvReaderTest.kt"
LargeClass:
excludes:
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/WildcardFragment.kt"
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/tests/matter/tlv/TlvReadWriteTest.kt"
- "**/src/controller/java/tests/matter/jsontlv/JsonToTlvToJsonTest.kt"
CyclomaticComplexMethod:
excludes:
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/src/matter/tlv/TlvReader.kt"
- "**/src/controller/java/src/matter/tlv/types.kt"
- "**/src/controller/java/src/matter/jsontlv/TlvToJson.kt"
ComplexCondition:
excludes:
- "**/src/controller/java/generated/java/**/*"
- "**/src/controller/java/src/matter/onboardingpayload/ManualOnboardingPayloadGenerator.kt"
empty-blocks:
EmptyFunctionBlock:
excludes:
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/BasicClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/MultiAdminClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/OnOffClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/OpCredClientFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/provisioning/AddressCommissioningFragment.kt"
- "**/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/provisioning/DeviceProvisioningFragment.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/discover/DiscoverCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/discover/DiscoverCommissionersCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/CloseSessionCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairCodePaseCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkCommissionerCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkCommissioningModeCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkDeviceTypeCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkFabricCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkInstanceNameCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkShortCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkVendorCommand.kt"
- "**/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/UnpairCommand.kt"
- "**/src/controller/java/generated/java/**/*"