Skip to content

Push on main

Push on main #40

GitHub Actions / Qodana Community for JVM completed Nov 18, 2023 in 0s

19 new problems found by Qodana Community for JVM

Qodana Community for JVM

19 new problems were found

Inspection name Severity Problems
Unstable API Usage 🔶 Warning 4
Class is exposed outside of its visibility scope 🔶 Warning 3
Statement with empty body 🔶 Warning 3
Suspicious 'System.arraycopy()' call 🔶 Warning 2
Magic Constant 🔶 Warning 1
Mismatched query and update of collection 🔶 Warning 1
Constant values ◽️ Notice 4
'if' statement with identical branches ◽️ Notice 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 11 in utility/src/main/java/com/dua3/utility/math/geometry/Segment2f.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Class is exposed outside of its visibility scope

Class `Path2fImpl` is not exported from module 'com.dua3.utility'

Check warning on line 9 in utility/src/main/java/com/dua3/utility/math/geometry/Segment2f.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Class is exposed outside of its visibility scope

Class `Path2fImpl` is not exported from module 'com.dua3.utility'

Check warning on line 95 in utility/src/main/java/com/dua3/utility/text/AnsiConverter.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Class is exposed outside of its visibility scope

Class `AnsiConverterImpl` is exposed outside its defined visibility scope

Check notice on line 143 in utility/src/main/java/com/dua3/utility/text/Style.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Value `TEXT_DECORATION_UNDERLINE_VALUE_NO_LINE` is always 'false'

Check notice on line 148 in utility/src/main/java/com/dua3/utility/text/Style.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Value `TEXT_DECORATION_LINE_THROUGH_VALUE_LINE` is always 'true'

Check notice on line 139 in utility/src/main/java/com/dua3/utility/text/Style.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Value `TEXT_DECORATION_UNDERLINE_VALUE_LINE` is always 'true'

Check notice on line 152 in utility/src/main/java/com/dua3/utility/text/Style.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constant values

Value `TEXT_DECORATION_LINE_THROUGH_VALUE_NO_LINE` is always 'false'

Check warning on line 763 in utility/src/main/java/com/dua3/utility/text/RichText.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Statement with empty body

`for` statement has empty body

Check warning on line 414 in utility/src/main/java/com/dua3/utility/xml/XmlUtil.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Statement with empty body

`if` statement has empty body

Check warning on line 274 in utility/src/main/java/com/dua3/utility/text/TextUtil.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Statement with empty body

`for` statement has empty body

Check notice on line 282 in utility/src/main/java/com/dua3/utility/math/MathUtil.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

'if' statement with identical branches

Common parts with variables can be extracted from 'if'

Check warning on line 34 in utility-swing/src/main/java/com/dua3/utility/swing/SwingFontUtil.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Magic Constant

Should be one of: Font.PLAIN, Font.BOLD, Font.ITALIC or their combination

Check warning on line 25 in utility-logging/utility-logging-slf4j/src/main/java/com/dua3/utility/logging/slf4j/LoggerSlf4j.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Mismatched query and update of collection

Contents of collection `markerLevelMap` are queried, but never updated

Check warning on line 206 in utility/src/main/java/com/dua3/utility/lang/RingBuffer.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Suspicious 'System.arraycopy()' call

Source parameter type 'java.lang.Object\[\]' is not assignable to destination parameter `a` of type 'T\[\]'

Check warning on line 207 in utility/src/main/java/com/dua3/utility/lang/RingBuffer.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Suspicious 'System.arraycopy()' call

Source parameter type 'java.lang.Object\[\]' is not assignable to destination parameter `a` of type 'T\[\]'

Check warning on line 57 in settings.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unstable API Usage

'org.gradle.api.initialization.resolve.RepositoriesMode' is marked unstable with @Incubating

Check warning on line 57 in settings.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unstable API Usage

'getRepositoriesMode()' is marked unstable with @Incubating

Check warning on line 57 in settings.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unstable API Usage

'FAIL_ON_PROJECT_REPOS' is declared in unstable enum 'org.gradle.api.initialization.resolve.RepositoriesMode' marked with @Incubating

Check warning on line 58 in settings.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unstable API Usage

'repositories(org.gradle.api.Action)' is marked unstable with @Incubating