You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
271 lines
12 KiB
271 lines
12 KiB
|
|
|
|
<!DOCTYPE suppressions PUBLIC |
|
"-//Puppy Crawl//DTD Suppressions 1.1//EN" |
|
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd"> |
|
|
|
<suppressions> |
|
|
|
<!-- Note that [/\\] must be used as the path separator for cross-platform support --> |
|
|
|
<!-- Generator --> |
|
<suppress checks="CyclomaticComplexity|BooleanExpressionComplexity" |
|
files="(SchemaGenerator|MessageDataGenerator|FieldSpec).java"/> |
|
<suppress checks="NPathComplexity" |
|
files="(MessageDataGenerator|FieldSpec|AssignorConfiguration).java"/> |
|
<suppress checks="JavaNCSS" |
|
files="(ApiMessageType).java|MessageDataGenerator.java"/> |
|
<suppress checks="MethodLength" |
|
files="MessageDataGenerator.java"/> |
|
|
|
<!-- Clients --> |
|
<suppress checks="ClassFanOutComplexity" |
|
files="(Fetcher|Sender|SenderTest|ConsumerCoordinator|KafkaConsumer|KafkaProducer|Utils|TransactionManager|TransactionManagerTest|KafkaAdminClient|NetworkClient|Admin).java"/> |
|
<suppress checks="ClassFanOutComplexity" |
|
files="(SaslServerAuthenticator|SaslAuthenticatorTest).java"/> |
|
<suppress checks="ClassFanOutComplexity" |
|
files="Errors.java"/> |
|
<suppress checks="ClassFanOutComplexity" |
|
files="Utils.java"/> |
|
<suppress checks="ClassFanOutComplexity" |
|
files="AbstractRequest.java"/> |
|
<suppress checks="ClassFanOutComplexity" |
|
files="AbstractResponse.java"/> |
|
|
|
<suppress checks="MethodLength" |
|
files="KerberosLogin.java|RequestResponseTest.java|ConnectMetricsRegistry.java|KafkaConsumer.java"/> |
|
|
|
<suppress checks="ParameterNumber" |
|
files="NetworkClient.java|FieldSpec.java"/> |
|
<suppress checks="ParameterNumber" |
|
files="KafkaConsumer.java"/> |
|
<suppress checks="ParameterNumber" |
|
files="Fetcher.java"/> |
|
<suppress checks="ParameterNumber" |
|
files="Sender.java"/> |
|
<suppress checks="ParameterNumber" |
|
files="ConfigDef.java"/> |
|
<suppress checks="ParameterNumber" |
|
files="DefaultRecordBatch.java"/> |
|
<suppress checks="ParameterNumber" |
|
files="Sender.java"/> |
|
|
|
<suppress checks="ClassDataAbstractionCoupling" |
|
files="(KafkaConsumer|ConsumerCoordinator|Fetcher|KafkaProducer|AbstractRequest|AbstractResponse|TransactionManager|Admin|KafkaAdminClient|MockAdminClient).java"/> |
|
<suppress checks="ClassDataAbstractionCoupling" |
|
files="(Errors|SaslAuthenticatorTest|AgentTest|CoordinatorTest).java"/> |
|
|
|
<suppress checks="BooleanExpressionComplexity" |
|
files="(Utils|Topic|KafkaLZ4BlockOutputStream|AclData|JoinGroupRequest).java"/> |
|
|
|
<suppress checks="CyclomaticComplexity" |
|
files="(ConsumerCoordinator|Fetcher|Sender|KafkaProducer|BufferPool|ConfigDef|RecordAccumulator|KerberosLogin|AbstractRequest|AbstractResponse|Selector|SslFactory|SslTransportLayer|SaslClientAuthenticator|SaslClientCallbackHandler|SaslServerAuthenticator|AbstractCoordinator|TransactionManager).java"/> |
|
|
|
<suppress checks="JavaNCSS" |
|
files="(AbstractRequest|AbstractResponse|KerberosLogin|WorkerSinkTaskTest|TransactionManagerTest|SenderTest|KafkaAdminClient|ConsumerCoordinatorTest).java"/> |
|
|
|
<suppress checks="NPathComplexity" |
|
files="(BufferPool|Fetcher|MetricName|Node|ConfigDef|RecordBatch|SslFactory|SslTransportLayer|MetadataResponse|KerberosLogin|Selector|Sender|Serdes|TokenInformation|Agent|Values|PluginUtils|MiniTrogdorCluster|TasksRequest|KafkaProducer).java"/> |
|
|
|
<suppress checks="(JavaNCSS|CyclomaticComplexity|MethodLength)" |
|
files="CoordinatorClient.java"/> |
|
<suppress checks="(UnnecessaryParentheses|BooleanExpressionComplexity|CyclomaticComplexity|WhitespaceAfter|LocalVariableName)" |
|
files="Murmur3.java"/> |
|
|
|
<suppress checks="(NPathComplexity|ClassFanOutComplexity|CyclomaticComplexity|ClassDataAbstractionCoupling|LocalVariableName|MemberName|ParameterName|MethodLength|JavaNCSS)" |
|
files="clients[\\/]src[\\/](generated|generated-test)[\\/].+.java$"/> |
|
|
|
<suppress checks="NPathComplexity" |
|
files="MessageTest.java"/> |
|
|
|
<!-- clients tests --> |
|
<suppress checks="ClassDataAbstractionCoupling" |
|
files="(Sender|Fetcher|KafkaConsumer|Metrics|RequestResponse|TransactionManager|KafkaAdminClient|Message|KafkaProducer)Test.java"/> |
|
|
|
<suppress checks="ClassFanOutComplexity" |
|
files="(ConsumerCoordinator|KafkaConsumer|RequestResponse|Fetcher|KafkaAdminClient|Message|KafkaProducer)Test.java"/> |
|
|
|
<suppress checks="ClassFanOutComplexity" |
|
files="MockAdminClient.java"/> |
|
|
|
<suppress checks="JavaNCSS" |
|
files="RequestResponseTest.java|FetcherTest.java"/> |
|
|
|
<suppress checks="NPathComplexity" |
|
files="MemoryRecordsTest|MetricsTest"/> |
|
|
|
<suppress checks="(WhitespaceAround|LocalVariableName|ImportControl|AvoidStarImport)" |
|
files="Murmur3Test.java"/> |
|
|
|
<!-- Connect --> |
|
<suppress checks="ClassFanOutComplexity" |
|
files="DistributedHerder(|Test).java"/> |
|
<suppress checks="ClassFanOutComplexity" |
|
files="Worker.java"/> |
|
<suppress checks="MethodLength" |
|
files="(KafkaConfigBackingStore|RequestResponseTest|WorkerSinkTaskTest).java"/> |
|
|
|
<suppress checks="ParameterNumber" |
|
files="(WorkerSinkTask|WorkerSourceTask).java"/> |
|
<suppress checks="ParameterNumber" |
|
files="WorkerCoordinator.java"/> |
|
<suppress checks="ParameterNumber" |
|
files="ConfigKeyInfo.java"/> |
|
|
|
<suppress checks="ClassDataAbstractionCoupling" |
|
files="(RestServer|AbstractHerder|DistributedHerder).java"/> |
|
|
|
<suppress checks="BooleanExpressionComplexity" |
|
files="JsonConverter.java"/> |
|
|
|
<suppress checks="CyclomaticComplexity" |
|
files="ConnectRecord.java"/> |
|
<suppress checks="CyclomaticComplexity" |
|
files="JsonConverter.java"/> |
|
<suppress checks="CyclomaticComplexity" |
|
files="FileStreamSourceTask.java"/> |
|
<suppress checks="CyclomaticComplexity" |
|
files="DistributedHerder.java"/> |
|
<suppress checks="CyclomaticComplexity" |
|
files="KafkaConfigBackingStore.java"/> |
|
<suppress checks="CyclomaticComplexity" |
|
files="(Values|ConnectHeader|ConnectHeaders).java"/> |
|
<suppress checks="CyclomaticComplexity" |
|
files="RocksDBGenericOptionsToDbOptionsColumnFamilyOptionsAdapterTest.java"/> |
|
|
|
<suppress checks="JavaNCSS" |
|
files="KafkaConfigBackingStore.java"/> |
|
<suppress checks="JavaNCSS" |
|
files="Values.java"/> |
|
|
|
<suppress checks="NPathComplexity" |
|
files="(DistributedHerder|RestClient|JsonConverter|KafkaConfigBackingStore|FileStreamSourceTask).java"/> |
|
|
|
<suppress checks="MethodLength" |
|
files="Values.java"/> |
|
|
|
<!-- connect tests--> |
|
<suppress checks="ClassDataAbstractionCoupling" |
|
files="(DistributedHerder|KafkaBasedLog)Test.java"/> |
|
|
|
<suppress checks="ClassFanOutComplexity" |
|
files="(WorkerSinkTask|WorkerSourceTask)Test.java"/> |
|
|
|
<!-- Streams --> |
|
<suppress checks="ClassFanOutComplexity" |
|
files="(TopologyBuilder|KafkaStreams|KStreamImpl|KTableImpl|StreamThread|StreamTask).java"/> |
|
|
|
<suppress checks="MethodLength" |
|
files="(KTableImpl|StreamsPartitionAssignor.java)"/> |
|
|
|
<suppress checks="ParameterNumber" |
|
files="StreamTask.java"/> |
|
<suppress checks="ParameterNumber" |
|
files="StreamThread.java"/> |
|
<suppress checks="ParameterNumber" |
|
files="RocksDBWindowStoreSupplier.java"/> |
|
|
|
<suppress checks="ClassDataAbstractionCoupling" |
|
files="(TopologyBuilder|KStreamImpl|StreamsPartitionAssignor|KafkaStreams|KTableImpl).java"/> |
|
|
|
<suppress checks="CyclomaticComplexity" |
|
files="TopologyBuilder.java"/> |
|
<suppress checks="CyclomaticComplexity" |
|
files="StreamsPartitionAssignor.java"/> |
|
<suppress checks="CyclomaticComplexity" |
|
files="StreamThread.java"/> |
|
<suppress checks="CyclomaticComplexity" |
|
files="TaskManager.java"/> |
|
|
|
<suppress checks="JavaNCSS" |
|
files="StreamsPartitionAssignor.java"/> |
|
|
|
<suppress checks="NPathComplexity" |
|
files="(ProcessorStateManager|InternalTopologyBuilder|StreamsPartitionAssignor|StreamThread|TaskManager).java"/> |
|
|
|
<suppress checks="(FinalLocalVariable|UnnecessaryParentheses|BooleanExpressionComplexity|CyclomaticComplexity|WhitespaceAfter|LocalVariableName)" |
|
files="Murmur3.java"/> |
|
|
|
<!-- suppress FinalLocalVariable outside of the streams package. --> |
|
<suppress checks="FinalLocalVariable" |
|
files="^(?!.*[\\/]org[\\/]apache[\\/]kafka[\\/]streams[\\/].*$)"/> |
|
|
|
<!-- generated code --> |
|
<suppress checks="(NPathComplexity|ClassFanOutComplexity|CyclomaticComplexity|ClassDataAbstractionCoupling|FinalLocalVariable|LocalVariableName|MemberName|ParameterName|MethodLength|JavaNCSS)" |
|
files="streams[\\/]src[\\/](generated|generated-test)[\\/].+.java$"/> |
|
|
|
|
|
<!-- Streams tests --> |
|
<suppress checks="ClassFanOutComplexity" |
|
files="(StreamThreadTest|StreamTaskTest|ProcessorTopologyTestDriver).java"/> |
|
|
|
<suppress checks="MethodLength" |
|
files="KStreamKTableJoinIntegrationTest.java"/> |
|
<suppress checks="MethodLength" |
|
files="KStreamKStreamJoinTest.java"/> |
|
<suppress checks="MethodLength" |
|
files="KStreamWindowAggregateTest.java"/> |
|
<suppress checks="MethodLength" |
|
files="RocksDBWindowStoreTest.java"/> |
|
|
|
<suppress checks="MemberName" |
|
files="StreamsPartitionAssignorTest.java"/> |
|
|
|
<suppress checks="ClassDataAbstractionCoupling" |
|
files=".*[/\\]streams[/\\].*test[/\\].*.java"/> |
|
|
|
<suppress checks="BooleanExpressionComplexity" |
|
files="SmokeTestDriver.java"/> |
|
|
|
<suppress checks="CyclomaticComplexity" |
|
files="KStreamKStreamJoinTest.java|KTableKTableForeignKeyJoinIntegrationTest.java"/> |
|
<suppress checks="CyclomaticComplexity" |
|
files="RelationalSmokeTest.java|SmokeTestDriver.java"/> |
|
|
|
<suppress checks="JavaNCSS" |
|
files="KStreamKStreamJoinTest.java"/> |
|
<suppress checks="JavaNCSS" |
|
files="SmokeTestDriver.java"/> |
|
|
|
<suppress checks="NPathComplexity" |
|
files="EosTestDriver|KStreamKStreamJoinTest.java|RelationalSmokeTest.java|SmokeTestDriver.java|KStreamKStreamLeftJoinTest.java|KTableKTableForeignKeyJoinIntegrationTest.java"/> |
|
|
|
<suppress checks="(FinalLocalVariable|WhitespaceAround|LocalVariableName|ImportControl|AvoidStarImport)" |
|
files="Murmur3Test.java"/> |
|
|
|
|
|
<!-- Streams Test-Utils --> |
|
<suppress checks="ClassFanOutComplexity" |
|
files="TopologyTestDriver.java"/> |
|
<suppress checks="ClassDataAbstractionCoupling" |
|
files="TopologyTestDriver.java"/> |
|
|
|
<!-- Tools --> |
|
<suppress checks="ClassDataAbstractionCoupling" |
|
files="VerifiableConsumer.java"/> |
|
|
|
<suppress checks="CyclomaticComplexity" |
|
files="(StreamsResetter|ProducerPerformance|Agent).java"/> |
|
<suppress checks="BooleanExpressionComplexity" |
|
files="StreamsResetter.java"/> |
|
<suppress checks="NPathComplexity" |
|
files="(ProducerPerformance|StreamsResetter|Agent|TransactionalMessageCopier).java"/> |
|
<suppress checks="ImportControl" |
|
files="SignalLogger.java"/> |
|
<suppress checks="IllegalImport" |
|
files="SignalLogger.java"/> |
|
<suppress checks="ParameterNumber" |
|
files="ProduceBenchSpec.java"/> |
|
<suppress checks="ParameterNumber" |
|
files="SustainedConnectionSpec.java"/> |
|
|
|
<!-- Log4J-Appender --> |
|
<suppress checks="CyclomaticComplexity" |
|
files="KafkaLog4jAppender.java"/> |
|
|
|
<suppress checks="NPathComplexity" |
|
files="KafkaLog4jAppender.java"/> |
|
<suppress checks="JavaNCSS" |
|
files="RequestResponseTest.java"/> |
|
|
|
</suppressions>
|
|
|