Complete notification publishing migration #1624
Your pull request is up to standards!
Codacy found no issues in your code
Annotations
codacy-production / Codacy Static Code Analysis
apiserver/src/main/java/org/dependencytrack/dex/DexEngineInitializer.java#L270
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
codacy-production / Codacy Static Code Analysis
apiserver/src/main/java/org/dependencytrack/dex/DexEngineInitializer.java#L281
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
codacy-production / Codacy Static Code Analysis
apiserver/src/main/java/org/dependencytrack/notification/PublishNotificationActivity.java#L122
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type.
codacy-production / Codacy Static Code Analysis
notification/publishing/src/main/java/org/dependencytrack/notification/publishing/kafka/KafkaNotificationPublisherFactory.java#L132
The method 'runtimeConfigSpec()' has an NPath complexity of 240, current threshold is 200
codacy-production / Codacy Static Code Analysis
notification/publishing/src/main/java/org/dependencytrack/notification/publishing/kafka/KafkaNotificationPublisherFactory.java#L143
These nested if statements could be combined
codacy-production / Codacy Static Code Analysis
notification/publishing/src/main/java/org/dependencytrack/notification/publishing/kafka/KafkaNotificationPublisherFactory.java#L189
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type.
codacy-production / Codacy Static Code Analysis
notification/publishing/src/test/java/org/dependencytrack/notification/publishing/AbstractNotificationPublisherTest.java#L62
Document empty method body
codacy-production / Codacy Static Code Analysis
notification/publishing/src/test/java/org/dependencytrack/notification/publishing/AbstractNotificationPublisherTest.java#L65
Document empty method body
codacy-production / Codacy Static Code Analysis
notification/publishing/src/test/java/org/dependencytrack/notification/publishing/console/ConsoleNotificationPublisherTest.java#L40
Switch statements should be exhaustive, add a default case (or missing enum branches)
codacy-production / Codacy Static Code Analysis
notification/publishing/src/test/java/org/dependencytrack/notification/publishing/email/EmailNotificationPublisherTest.java#L77
Switch statements should be exhaustive, add a default case (or missing enum branches)
codacy-production / Codacy Static Code Analysis
notification/publishing/src/test/java/org/dependencytrack/notification/publishing/jira/JiraNotificationPublisherTest.java#L81
Switch statements should be exhaustive, add a default case (or missing enum branches)
codacy-production / Codacy Static Code Analysis
notification/publishing/src/test/java/org/dependencytrack/notification/publishing/mattermost/MattermostNotificationPublisherTest.java#L71
Switch statements should be exhaustive, add a default case (or missing enum branches)
codacy-production / Codacy Static Code Analysis
notification/publishing/src/test/java/org/dependencytrack/notification/publishing/msteams/MsTeamsNotificationPublisherTest.java#L71
Switch statements should be exhaustive, add a default case (or missing enum branches)
codacy-production / Codacy Static Code Analysis
notification/publishing/src/test/java/org/dependencytrack/notification/publishing/slack/SlackNotificationPublisherTest.java#L71
Switch statements should be exhaustive, add a default case (or missing enum branches)
codacy-production / Codacy Static Code Analysis
notification/publishing/src/test/java/org/dependencytrack/notification/publishing/webex/WebexNotificationPublisherTest.java#L71
Switch statements should be exhaustive, add a default case (or missing enum branches)
codacy-production / Codacy Static Code Analysis
notification/publishing/src/test/java/org/dependencytrack/notification/publishing/webhook/WebhookNotificationPublisherTest.java#L76
Switch statements should be exhaustive, add a default case (or missing enum branches)