Skip to content

refactorings, javadoc additions and minor fixes #76

refactorings, javadoc additions and minor fixes

refactorings, javadoc additions and minor fixes #76

Triggered via push March 8, 2024 06:04
Status Success
Total duration 3m 30s
Artifacts

codeql.yml

on: push
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 warnings and 5 notices
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#L92
Class `AnsiConverterImpl` is exposed outside its defined visibility scope
Class is exposed outside of its visibility scope: utility/src/main/java/com/dua3/utility/concurrent/ThreadFactoryBuilder.java#L84
Class `CustomThreadFactory` is not exported from module 'com.dua3.utility'
Suspicious 'System.arraycopy()' call: utility/src/main/java/com/dua3/utility/lang/RingBuffer.java#L223
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#L224
Source parameter type 'java.lang.Object\[\]' is not assignable to destination parameter `a` of type 'T\[\]'
Analyze (java-kotlin)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-java@v3, actions/checkout@v3, github/codeql-action/init@v2, github/codeql-action/autobuild@v2, github/codeql-action/analyze@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Analyze (java-kotlin)
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
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'