Push on main #16
codeql
on: dynamic
Matrix: Analyze
Annotations
1 error, 13 warnings, and 5 notices
Analyze (java)
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.14.6/x64/codeql/java/tools/autobuild.sh". Exit code was 1 and error was: Picked up JAVA_TOOL_OPTIONS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
|
AutoCloseable used without 'try'-with-resources:
utility/src/main/java/com/dua3/utility/io/IoUtil.java#L776
'Stream' used without 'try'-with-resources statement
|
Class is exposed outside of its visibility scope:
utility/src/main/java/com/dua3/utility/math/geometry/Segment2f.java#L11
Class `Path2fImpl` is not exported from module 'com.dua3.utility'
|
Class is exposed outside of its visibility scope:
utility/src/main/java/com/dua3/utility/math/geometry/Segment2f.java#L9
Class `Path2fImpl` is not exported from module 'com.dua3.utility'
|
Class is exposed outside of its visibility scope:
utility/src/main/java/com/dua3/utility/text/AnsiConverter.java#L95
Class `AnsiConverterImpl` is exposed outside its defined visibility scope
|
Statement with empty body:
utility/src/main/java/com/dua3/utility/xml/XmlUtil.java#L414
`if` statement has empty body
|
Magic Constant:
utility-swing/src/main/java/com/dua3/utility/swing/SwingFontUtil.java#L34
Should be one of: Font.PLAIN, Font.BOLD, Font.ITALIC or their combination
|
Mismatched query and update of collection:
utility-logging/src/main/java/com/dua3/utility/logging/Logger.java#L17
Contents of collection `markerLevelMap` are queried, but never updated
|
Suspicious 'System.arraycopy()' call:
utility/src/main/java/com/dua3/utility/lang/RingBuffer.java#L206
Source parameter type 'java.lang.Object\[\]' is not assignable to destination parameter `a` of type 'T\[\]'
|
Suspicious 'System.arraycopy()' call:
utility/src/main/java/com/dua3/utility/lang/RingBuffer.java#L207
Source parameter type 'java.lang.Object\[\]' is not assignable to destination parameter `a` of type 'T\[\]'
|
Unstable API Usage:
settings.gradle.kts#L45
'getRepositoriesMode()' is marked unstable with @Incubating
|
Unstable API Usage:
settings.gradle.kts#L45
'org.gradle.api.initialization.resolve.RepositoriesMode' is marked unstable with @Incubating
|
Unstable API Usage:
settings.gradle.kts#L45
'FAIL_ON_PROJECT_REPOS' is declared in unstable enum 'org.gradle.api.initialization.resolve.RepositoriesMode' marked with @Incubating
|
Unstable API Usage:
settings.gradle.kts#L46
'repositories(org.gradle.api.Action)' is marked unstable with @Incubating
|
Constant values:
utility/src/main/java/com/dua3/utility/text/Style.java#L143
Value `TEXT_DECORATION_UNDERLINE_VALUE_NO_LINE` is always 'false'
|
Constant values:
utility/src/main/java/com/dua3/utility/text/Style.java#L148
Value `TEXT_DECORATION_LINE_THROUGH_VALUE_LINE` is always 'true'
|
Constant values:
utility/src/main/java/com/dua3/utility/text/Style.java#L139
Value `TEXT_DECORATION_UNDERLINE_VALUE_LINE` is always 'true'
|
Constant values:
utility/src/main/java/com/dua3/utility/text/Style.java#L152
Value `TEXT_DECORATION_LINE_THROUGH_VALUE_NO_LINE` is always 'false'
|
'if' statement with identical branches:
utility/src/main/java/com/dua3/utility/math/MathUtil.java#L282
Common parts with variables can be extracted from 'if'
|