Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.0.1 #1124

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Update action and version

9a7ff5d
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

4.0.1 #1124

Update action and version
9a7ff5d
Select commit
Loading
Failed to load commit list.
GitHub Actions / Qodana Community for JVM completed Aug 27, 2024 in 0s

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

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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

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

Use destructuring declaration

Use destructuring declaration

Check warning on line 103 in src/main/kotlin/fi/aalto/cs/apluscourses/toolwindows/APlusToolWindowFactory.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String '📦' is not properly capitalized. It should have title capitalization

Check warning on line 104 in src/main/kotlin/fi/aalto/cs/apluscourses/toolwindows/APlusToolWindowFactory.kt

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

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

Hardcoded strings

Hardcoded string literal: "scala3-$strippedScalaVersion/library/src/"

Check warning on line 13 in src/main/kotlin/fi/aalto/cs/apluscourses/utils/parser/S2FeedbackParser.kt

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

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

Hardcoded strings

Hardcoded string literal: "\|en"

Check warning on line 29 in src/main/kotlin/fi/aalto/cs/apluscourses/utils/parser/O1FeedbackParser.kt

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

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

Hardcoded strings

Hardcoded string literal: "O1"

Check warning on line 1 in settings.gradle.kts

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

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

Hardcoded strings

Hardcoded string literal: "scala-sdk-"

Check warning on line 33 in src/main/kotlin/fi/aalto/cs/apluscourses/services/OpenDocumentationActionProvider.kt

See this annotation in the file changed.

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

Hardcoded strings

Hardcoded string literal: "/o1/"

Check warning on line 33 in src/main/kotlin/fi/aalto/cs/apluscourses/services/OpenDocumentationActionProvider.kt

See this annotation in the file changed.

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

Hardcoded strings

Hardcoded string literal: "/doc/o1/"

Check warning on line 12 in src/main/kotlin/fi/aalto/cs/apluscourses/utils/parser/O1FeedbackParser.kt

See this annotation in the file changed.

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

Hardcoded strings

Hardcoded string literal: "h3"

Check warning on line 27 in src/main/kotlin/fi/aalto/cs/apluscourses/utils/parser/S2FeedbackParser.kt

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

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

Missing KDoc comments for public declarations

Function "postDownloadModule" is missing documentation