Skip to content

Refactoring

Refactoring #7

Triggered via push May 29, 2024 16:11
Status Success
Total duration 2m 28s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

11 warnings and 10 notices
qodana
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Busy wait: api/src/main/java/com/javadiscord/jdi/internal/api/DiscordRequestDispatcher.java#L56
Call to `Thread.sleep()` in a loop, probably busy-waiting
Deprecated API usage: api/src/main/java/com/javadiscord/jdi/core/api/builders/ModifyCurrentUserNickBuilder.java#L26
'com.javadiscord.jdi.internal.api.guild.ModifyCurrentUserNickRequest' is deprecated
Deprecated API usage: example/lj-discord-bot/src/main/java/com/javadiscord/bot/Main.java#L30
'getInstance(java.lang.String)' is deprecated
Deprecated API usage: api/src/main/java/com/javadiscord/jdi/core/api/builders/ModifyCurrentUserNickBuilder.java#L25
'com.javadiscord.jdi.internal.api.guild.ModifyCurrentUserNickRequest' is deprecated
Deprecated API usage: example/lj-discord-bot/src/main/java/com/javadiscord/bot/utils/docker/DockerCommandRunner.java#L32
'com.github.dockerjava.core.command.ExecStartResultCallback' is deprecated
'Optional' used as field or parameter type: api/src/main/java/com/javadiscord/jdi/core/api/builders/EditWebhookMessageBuilder.java#L23
`Optional<List<MessageAttachment>>` used as type for field 'attachments'
'Optional' used as field or parameter type: api/src/main/java/com/javadiscord/jdi/core/api/builders/ModifyGuildMemberBuilder.java#L17
`Optional<OffsetDateTime>` used as type for field 'communicationDisabledUntil'
Vulnerable declared dependency: example/lj-discord-bot/build.gradle#L12
Provides transitive vulnerable dependency maven:io.netty:netty-handler:4.1.46.Final * [CVE-2023-34462](https://devhub.checkmarx.com/cve-details/CVE-2023-34462?utm_source=jetbrains&utm_medium=referral) 6.5 Allocation of Resources Without Limits or Throttling vulnerability with Medium severity found * [CVE-2021-21290](https://devhub.checkmarx.com/cve-details/CVE-2021-21290?utm_source=jetbrains&utm_medium=referral) 5.5 Creation of Temporary File With Insecure Permissions vulnerability with Medium severity found Results powered by [Checkmarx](https://checkmarx.com)(c)
Vulnerable declared dependency: example/lj-discord-bot/build.gradle#L13
Provides transitive vulnerable dependency maven:com.squareup.okhttp3:okhttp:3.14.9 * [CVE-2023-0833](https://devhub.checkmarx.com/cve-details/CVE-2023-0833?utm_source=jetbrains&utm_medium=referral) 5.5 Generation of Error Message Containing Sensitive Information vulnerability with Medium severity found Results powered by [Checkmarx](https://checkmarx.com)(c)
Vulnerable declared dependency: example/lj-discord-bot/build.gradle#L12
Provides transitive vulnerable dependency maven:org.apache.httpcomponents:httpclient:4.5.12 * [CVE-2020-13956](https://devhub.checkmarx.com/cve-details/CVE-2020-13956?utm_source=jetbrains&utm_medium=referral) 5.3 Improper Input Validation vulnerability with Medium severity found Results powered by [Checkmarx](https://checkmarx.com)(c)
Vulnerable declared dependency: api/build.gradle#L19
Provides transitive vulnerable dependency maven:com.jayway.jsonpath:json-path:2.7.0 * [CVE-2023-51074](https://devhub.checkmarx.com/cve-details/CVE-2023-51074?utm_source=jetbrains&utm_medium=referral) 5.3 Out-of-bounds Write vulnerability with Medium severity found Results powered by [Checkmarx](https://checkmarx.com)(c)
Vulnerable declared dependency: example/lj-discord-bot/build.gradle#L12
Provides transitive vulnerable dependency maven:commons-codec:commons-codec:1.11 * [Cxeb68d52e-5509](https://devhub.checkmarx.com/cve-details/Cxeb68d52e-5509?utm_source=jetbrains&utm_medium=referral) 3.7 Exposure of Sensitive Information to an Unauthorized Actor vulnerability with Low severity found Results powered by [Checkmarx](https://checkmarx.com)(c)
Vulnerable declared dependency: example/lj-discord-bot/build.gradle#L12
Provides transitive vulnerable dependency maven:io.netty:netty-common:4.1.46.Final * [CVE-2021-21290](https://devhub.checkmarx.com/cve-details/CVE-2021-21290?utm_source=jetbrains&utm_medium=referral) 5.5 Creation of Temporary File With Insecure Permissions vulnerability with Medium severity found Results powered by [Checkmarx](https://checkmarx.com)(c)
Vulnerable declared dependency: api/build.gradle#L19
Provides transitive vulnerable dependency maven:io.netty:netty-codec-http2:4.1.97.Final * [CVE-2023-44487](https://devhub.checkmarx.com/cve-details/CVE-2023-44487?utm_source=jetbrains&utm_medium=referral) 5.3 Uncontrolled Resource Consumption vulnerability with Medium severity found Results powered by [Checkmarx](https://checkmarx.com)(c)
Vulnerable declared dependency: example/lj-discord-bot/build.gradle#L12
Provides transitive vulnerable dependency maven:org.glassfish.jersey.core:jersey-common:2.30.1 * [CVE-2021-28168](https://devhub.checkmarx.com/cve-details/CVE-2021-28168?utm_source=jetbrains&utm_medium=referral) 5.5 Incorrect Permission Assignment for Critical Resource vulnerability with Medium severity found Results powered by [Checkmarx](https://checkmarx.com)(c)