Skip to content

refactor(patch): Change patch state via CLI

Sign in for the full log view
GitHub Actions / Qodana Community for JVM completed Dec 6, 2024 in 0s

620 new problems found by Qodana Community for JVM

Qodana Community for JVM

620 new problems were found

Inspection name Severity Problems
Usage of API marked for removal 🔴 Failure 1
Unstable API Usage 🔴 Failure 1
Unstable API Usage 🔶 Warning 527
Field may be 'final' 🔶 Warning 13
Nullability and data flow problems 🔶 Warning 12
Deprecated API usage 🔶 Warning 9
Unchecked warning 🔶 Warning 7
Field can be local 🔶 Warning 6
Result of method call ignored 🔶 Warning 5
@NotNull/@Nullable problems 🔶 Warning 5
Redundant semicolon 🔶 Warning 5
Incorrect string capitalization 🔶 Warning 3
Constant values 🔶 Warning 2
Minimum 'switch' branches 🔶 Warning 2
Redundant 'if' statement 🔶 Warning 2
Condition is covered by further condition 🔶 Warning 1
Duplicate throws 🔶 Warning 1
Functional expression can be folded 🔶 Warning 1
Number of placeholders does not match number of arguments in logging call 🔶 Warning 1
Non-final field in 'enum' 🔶 Warning 1
Redundant type cast 🔶 Warning 1
Redundant character escape 🔶 Warning 1
'size() == 0' can be replaced with 'isEmpty()' 🔶 Warning 1
Unnecessary unicode escape sequence 🔶 Warning 1
Non-distinguishable logging calls ◽️ Notice 4
Constant values ◽️ Notice 2
Method can be extracted ◽️ Notice 2
Logger initialized with foreign class ◽️ Notice 2
Commented out code ◽️ Notice 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/[email protected]
        with:
          upload-result: true
Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check notice on line 191 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/PatchProposalPanel.java

See this annotation in the file changed.

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

Commented out code

Commented out code (2 lines)

Check warning on line 85 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/PatchComponentFactory.java

See this annotation in the file changed.

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

Condition is covered by further condition

Condition 'c == null' covered by subsequent condition '!(c instanceof GitCommit gc)'

Check warning on line 294 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/services/RadicleCliService.java

See this annotation in the file changed.

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

Constant values

Condition `gitResult != null` is always `true`

Check warning on line 294 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/services/RadicleCliService.java

See this annotation in the file changed.

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

Constant values

Condition `gitResult.getOutput() != null` is always `true`

Check notice on line 89 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/services/RadicleCliService.java

See this annotation in the file changed.

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

Constant values

Value `active` is always 'true'

Check notice on line 68 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/actions/rad/RadCobShow.java

See this annotation in the file changed.

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

Constant values

Value `patch` is always 'null'

Check warning on line 74 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/dialog/PublishDialog.java

See this annotation in the file changed.

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

Nullability and data flow problems

Dereference of `((Visibility) visibilitySelect.getSelectedItem())` may produce `NullPointerException`

Check warning on line 172 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/dialog/TrackDialog.java

See this annotation in the file changed.

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

Nullability and data flow problems

Dereference of `((RadTrack.RadTrackType) trackActionSelect.getSelectedItem())` may produce `NullPointerException`

Check warning on line 222 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/review/ObservableThreadModel.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getRevisionNumber` may produce `NullPointerException`

Check warning on line 134 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/PatchComponentFactory.java

See this annotation in the file changed.

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

Nullability and data flow problems

@Nullable method 'getCurrentName' always returns a non-null value

Check warning on line 234 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/review/ObservableThreadModel.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getRoot` may produce `NullPointerException`

Check warning on line 71 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/actions/ReviewSubmitAction.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getUserData` may produce `NullPointerException`

Check warning on line 232 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/review/ObservableThreadModel.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getFile` may produce `NullPointerException`

Check warning on line 138 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/toolwindow/DragAndDropField.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `xyToLogicalPosition` may produce `NullPointerException`

Check warning on line 111 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/toolwindow/DragAndDropField.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `xyToLogicalPosition` may produce `NullPointerException`

Check warning on line 125 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/PatchComponentFactory.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getComponents` may produce `NullPointerException`

Check warning on line 220 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/review/ObservableThreadModel.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getRevisionNumber` may produce `NullPointerException`

Check warning on line 105 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/toolwindow/DropdownFilter.java

See this annotation in the file changed.

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

Nullability and data flow problems

Method invocation `getSelectedValue` may produce `NullPointerException`

Check warning on line 130 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/review/PatchDiffEditorGutterIconFactory.java

See this annotation in the file changed.

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

Deprecated API usage

'com.intellij.collaboration.ui.codereview.diff.EditorComponentInlaysManager' is deprecated

Check warning on line 197 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/PatchProposalPanel.java

See this annotation in the file changed.

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

Deprecated API usage

'setBody(java.lang.String)' is deprecated

Check warning on line 291 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/PatchProposalPanel.java

See this annotation in the file changed.

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

Deprecated API usage

'overrideUIDependentProperty(T, kotlin.jvm.functions.Function1)' is deprecated

Check warning on line 262 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/PatchProposalPanel.java

See this annotation in the file changed.

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

Deprecated API usage

'setBody(java.lang.String)' is deprecated

Check warning on line 249 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/timeline/TimelineComponentFactory.java

See this annotation in the file changed.

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

Deprecated API usage

'setBody(java.lang.String)' is deprecated

Check warning on line 191 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/issues/overview/IssueComponent.java

See this annotation in the file changed.

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

Deprecated API usage

'setBody(java.lang.String)' is deprecated

Check warning on line 253 in src/main/java/network/radicle/jetbrains/radiclejetbrainsplugin/patches/PatchProposalPanel.java

See this annotation in the file changed.

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

Deprecated API usage

'setBody(java.lang.String)' is deprecated