4.0.1 #1124
4.0.1 #1124
446 new problems found by Qodana Community for JVM
Qodana Community for JVM
446 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Missing KDoc comments for public declarations |
🔶 Warning | 351 |
Hardcoded strings |
🔶 Warning | 15 |
Unused symbol |
🔶 Warning | 14 |
Unstable API Usage |
🔶 Warning | 12 |
Incorrect string capitalization |
🔶 Warning | 3 |
Unused import directive |
🔶 Warning | 2 |
Unresolved reference in KDoc |
🔶 Warning | 1 |
Redundant nullable return type |
🔶 Warning | 1 |
Test-only usage in production code |
🔶 Warning | 1 |
Public API declaration with implicit return type |
◽️ Notice | 13 |
Class member can have 'private' visibility |
◽️ Notice | 9 |
Unnecessary type argument |
◽️ Notice | 6 |
Not-null assertion can be replaced with 'return' |
◽️ Notice | 5 |
Variable declaration could be moved inside 'when' |
◽️ Notice | 4 |
Use destructuring declaration |
◽️ Notice | 2 |
'associate' can be replaced with 'associateBy' or 'associateWith' |
◽️ Notice | 2 |
If-Null return/break/... foldable to '?:' |
◽️ Notice | 1 |
Null-checks can be replaced with safe-calls |
◽️ Notice | 1 |
Object literal can be converted to lambda |
◽️ Notice | 1 |
Redundant empty primary constructor |
◽️ Notice | 1 |
Verbose nullability and emptiness check |
◽️ 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 qodana-support@jetbrains.com
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check notice on line 9 in src/main/kotlin/fi/aalto/cs/apluscourses/model/news/NewsList.kt
github-actions / Qodana Community for JVM
Use destructuring declaration
Use destructuring declaration
Check notice on line 66 in src/main/kotlin/fi/aalto/cs/apluscourses/utils/PluginAutoInstaller.kt
github-actions / Qodana Community for JVM
Use destructuring declaration
Use destructuring declaration
github-actions / Qodana Community for JVM
Incorrect string capitalization
String 'ð¦' is not properly capitalized. It should have title capitalization
github-actions / Qodana Community for JVM
Incorrect string capitalization
String 'ð' is not properly capitalized. It should have title capitalization
Check warning on line 115 in src/main/kotlin/fi/aalto/cs/apluscourses/config/APlusConfigurable.kt
github-actions / Qodana Community for JVM
Incorrect string capitalization
String 'A+ Courses' is not properly capitalized. It should have sentence capitalization
Check notice on line 14 in src/main/kotlin/fi/aalto/cs/apluscourses/utils/parser/S2FeedbackParser.kt
github-actions / Qodana Community for JVM
If-Null return/break/... foldable to '?:'
If-Null return/break/... foldable to '?:'
Check warning on line 55 in src/main/kotlin/fi/aalto/cs/apluscourses/model/component/ScalaSdk.kt
github-actions / Qodana Community for JVM
Hardcoded strings
Hardcoded string literal: "scala3-library"
Check warning on line 40 in src/main/kotlin/fi/aalto/cs/apluscourses/model/component/ScalaSdk.kt
github-actions / Qodana Community for JVM
Hardcoded strings
Hardcoded string literal: "scala-library-"
Check warning on line 73 in src/main/kotlin/fi/aalto/cs/apluscourses/model/component/ScalaSdk.kt
github-actions / Qodana Community for JVM
Hardcoded strings
Hardcoded string literal: "scala3-$strippedScalaVersion/library/src/"
github-actions / Qodana Community for JVM
Hardcoded strings
Hardcoded string literal: "p"
Check warning on line 24 in src/main/kotlin/fi/aalto/cs/apluscourses/utils/APlusLocalizationUtil.kt
github-actions / Qodana Community for JVM
Hardcoded strings
Hardcoded string literal: "en"
Check warning on line 23 in src/main/kotlin/fi/aalto/cs/apluscourses/utils/APlusLocalizationUtil.kt
github-actions / Qodana Community for JVM
Hardcoded strings
Hardcoded string literal: "\|en"
github-actions / Qodana Community for JVM
Hardcoded strings
Hardcoded string literal: "O1"
Check warning on line 79 in src/main/kotlin/fi/aalto/cs/apluscourses/model/component/ScalaSdk.kt
github-actions / Qodana Community for JVM
Hardcoded strings
Hardcoded string literal: "scala-$scala2Version/src/library/"
Check warning on line 28 in src/main/kotlin/fi/aalto/cs/apluscourses/utils/parser/O1NewsParser.kt
github-actions / Qodana Community for JVM
Hardcoded strings
Hardcoded string literal: "O1"
Check warning on line 1 in settings.gradle.kts
github-actions / Qodana Community for JVM
Hardcoded strings
Hardcoded string literal: "A+ Courses"
Check warning on line 23 in src/main/kotlin/fi/aalto/cs/apluscourses/model/component/ScalaSdk.kt
github-actions / Qodana Community for JVM
Hardcoded strings
Hardcoded string literal: "scala-sdk-"
github-actions / Qodana Community for JVM
Hardcoded strings
Hardcoded string literal: "/o1/"
github-actions / Qodana Community for JVM
Hardcoded strings
Hardcoded string literal: "/doc/o1/"
github-actions / Qodana Community for JVM
Hardcoded strings
Hardcoded string literal: "h3"
github-actions / Qodana Community for JVM
Hardcoded strings
Hardcoded string literal: "S2"
Check warning on line 9 in src/main/kotlin/fi/aalto/cs/apluscourses/utils/parser/O1NewsParser.kt
github-actions / Qodana Community for JVM
Missing KDoc comments for public declarations
Function "parseTitle" is missing documentation
Check warning on line 226 in src/main/kotlin/fi/aalto/cs/apluscourses/ui/exercise/ExercisesView.kt
github-actions / Qodana Community for JVM
Missing KDoc comments for public declarations
Property "missingModule" is missing documentation
Check warning on line 4 in src/main/kotlin/fi/aalto/cs/apluscourses/model/exercise/ExerciseGroup.kt
github-actions / Qodana Community for JVM
Missing KDoc comments for public declarations
Property "id" is missing documentation
Check warning on line 11 in src/main/kotlin/fi/aalto/cs/apluscourses/utils/callbacks/Callbacks.kt
github-actions / Qodana Community for JVM
Missing KDoc comments for public declarations
Function "postDownloadModule" is missing documentation