isselab / HAnS

HAnS - Helping Annotate Software. HAnS is an open-source (Apache 2.0) plugin for IntelliJ that helps you annotate software.
Apache License 2.0
6 stars 8 forks source link

Make metrics view more preformant and autoloads #77

Closed johmara closed 4 months ago

johmara commented 4 months ago

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

Checklist:

github-actions[bot] commented 4 months ago

Qodana Community for JVM

214 new problems were found

Inspection name Severity Problems
@NotNull/@Nullable problems 🔶 Warning 32
Duplicate character in character class 🔶 Warning 22
C-style array declaration 🔶 Warning 20
Unused assignment 🔶 Warning 20
Field can be local 🔶 Warning 15
Nullability and data flow problems 🔶 Warning 12
Redundant local variable 🔶 Warning 12
Redundant nested character class 🔶 Warning 6
Field may be 'final' 🔶 Warning 5
Loop variable not updated inside loop 🔶 Warning 5
Unnecessary unicode escape sequence 🔶 Warning 5
Unused import 🔶 Warning 4
Labeled switch rule has redundant code block 🔶 Warning 3
'size() == 0' can be replaced with 'isEmpty()' 🔶 Warning 3
Unstable API Usage 🔶 Warning 3
Unnecessarily escaped character 🔶 Warning 2
Incorrect string capitalization 🔶 Warning 1
Pointless bitwise expression 🔶 Warning 1
Replacement operation has no effect 🔶 Warning 1
'String.equals()' can be replaced with 'String.isEmpty()' 🔶 Warning 1
Call to 'printStackTrace()' 🔶 Warning 1
Redundant 'if' statement 🔶 Warning 1
Unnecessary 'return' statement 🔶 Warning 1
Unnecessary semicolon 🔶 Warning 1
Duplicate branches in 'switch' ◽️ Notice 36
'if' statement with identical branches ◽️ 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: 1. Register at [Qodana Cloud](https://qodana.cloud/) and [configure the action](https://github.com/jetbrains/qodana-action#qodana-cloud) 2. Use [GitHub Code Scanning with Qodana](https://github.com/jetbrains/qodana-action#github-code-scanning) 3. Host [Qodana report at GitHub Pages](https://github.com/JetBrains/qodana-action/blob/3a8e25f5caad8d8b01c1435f1ef7b19fe8b039a0/README.md#github-pages) 4. Inspect and use `qodana.sarif.json` (see [the Qodana SARIF format](https://www.jetbrains.com/help/qodana/qodana-sarif-output.html#Report+structure) for details) 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: ```yaml - name: 'Qodana Scan' uses: JetBrains/qodana-action@v2023.3.1 with: upload-result: true ```
Contact Qodana team Contact us at [qodana-support@jetbrains.com](mailto:qodana-support@jetbrains.com) - Or via our issue tracker: https://jb.gg/qodana-issue - Or share your feedback: https://jb.gg/qodana-discussions