Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Merge pull request #41 from MarioAriasC/changelog-update-v0.2.5 #63

Merge pull request #41 from MarioAriasC/changelog-update-v0.2.5

Merge pull request #41 from MarioAriasC/changelog-update-v0.2.5 #63

GitHub Actions / Qodana Community for JVM completed Jul 30, 2023 in 0s

53 new problems found by Qodana Community for JVM

Community for JVM

53 new problems were found

Inspection name Severity Problems
Constant conditions 🔶 Warning 21
Unused symbol 🔶 Warning 20
Unused import directive 🔶 Warning 6
Redundant nullable return type 🔶 Warning 3
Serializable object must implement 'readResolve' 🔶 Warning 1
Const property naming convention ◽️ Notice 2
View the detailed Qodana report

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

  1. Register at Qodana Cloud and configure the action
  2. Use GitHub Code Scanning with Qodana
  3. Host Qodana report at GitHub Pages
  4. Inspect and use qodana.sarif.json (see the Qodana SARIF format 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:

      - name: 'Qodana Scan'
        uses: JetBrains/qodana-action@v2023.1.5
        with:
          upload-result: true
Contact Qodana team

Contact us at qodana-support@jetbrains.com

Details

This result was published with Qodana GitHub Action

Annotations

Check notice on line 13 in src/main/kotlin/org/ziglang/jb/editor/ZigCommenter.kt

See this annotation in the file changed.

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

Const property naming convention

Const property name `docComment` should not contain lowercase letters

Check notice on line 12 in src/main/kotlin/org/ziglang/jb/editor/ZigCommenter.kt

See this annotation in the file changed.

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

Const property naming convention

Const property name `comment` should not contain lowercase letters

Check warning on line 7 in src/main/kotlin/org/ziglang/jb/ZigLang.kt

See this annotation in the file changed.

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

Serializable object must implement 'readResolve'

Serializable object must implement 'readResolve'

Check warning on line 87 in src/main/kotlin/org/ziglang/jb/psi/utils.kt

See this annotation in the file changed.

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

Constant conditions

Condition 'element is ZigTopVarDecl' is always true

Check warning on line 17 in src/main/kotlin/org/ziglang/jb/reference/SymbolMixin.kt

See this annotation in the file changed.

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

Constant conditions

Condition 'prevSibling?.text == ZigTypes.DOT.toString()' is always false

Check warning on line 57 in src/main/kotlin/org/ziglang/jb/types/utils.kt

See this annotation in the file changed.

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

Constant conditions

'when' branch is never reachable

Check warning on line 91 in src/main/kotlin/org/ziglang/jb/types/utils.kt

See this annotation in the file changed.

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

Constant conditions

Cast will always fail

Check warning on line 70 in src/main/kotlin/org/ziglang/jb/types/utils.kt

See this annotation in the file changed.

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

Constant conditions

Condition 'firstChild is ZigContainerDecl' is always true

Check warning on line 55 in src/main/kotlin/org/ziglang/jb/types/utils.kt

See this annotation in the file changed.

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

Constant conditions

'when' branch is never reachable

Check warning on line 90 in src/main/kotlin/org/ziglang/jb/psi/utils.kt

See this annotation in the file changed.

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

Constant conditions

Condition 'element is ZigFnDecl' is always true when reached

Check warning on line 105 in src/main/kotlin/org/ziglang/jb/ZigSyntaxHighLighter.kt

See this annotation in the file changed.

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

Constant conditions

'when' branch is never reachable

Check warning on line 18 in src/main/kotlin/org/ziglang/jb/types/utils.kt

See this annotation in the file changed.

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

Constant conditions

'when' branch is never reachable

Check warning on line 14 in src/main/kotlin/org/ziglang/jb/ZigHighlightAnnotator.kt

See this annotation in the file changed.

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

Constant conditions

'when' branch is never reachable

Check warning on line 132 in src/main/kotlin/org/ziglang/jb/types/utils.kt

See this annotation in the file changed.

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

Constant conditions

'when' branch is never reachable

Check warning on line 29 in src/main/kotlin/org/ziglang/jb/reference/SymbolMixin.kt

See this annotation in the file changed.

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

Constant conditions

Condition 'parent.prevSiblingTypeIgnoring(ZigTypes.COLON, TokenType.WHITE_SPACE) != null' is always true

Check warning on line 54 in src/main/kotlin/org/ziglang/jb/types/utils.kt

See this annotation in the file changed.

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

Constant conditions

'when' branch is never reachable

Check warning on line 111 in src/main/kotlin/org/ziglang/jb/ZigSyntaxHighLighter.kt

See this annotation in the file changed.

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

Constant conditions

'when' branch is never reachable

Check warning on line 110 in src/main/kotlin/org/ziglang/jb/ZigSyntaxHighLighter.kt

See this annotation in the file changed.

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

Constant conditions

'when' branch is never reachable

Check warning on line 35 in src/main/kotlin/org/ziglang/jb/reference/SymbolMixin.kt

See this annotation in the file changed.

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

Constant conditions

Condition 'containerType != null' is always false

Check warning on line 87 in src/main/kotlin/org/ziglang/jb/psi/utils.kt

See this annotation in the file changed.

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

Constant conditions

Condition '(element is ZigTopVarDecl) \|\| (element is ZigLocalVarDecl)' is always true

Check warning on line 56 in src/main/kotlin/org/ziglang/jb/types/utils.kt

See this annotation in the file changed.

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

Constant conditions

'when' branch is never reachable

Check warning on line 22 in src/main/kotlin/org/ziglang/jb/types/utils.kt

See this annotation in the file changed.

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

Constant conditions

'when' branch is never reachable

Check warning on line 87 in src/main/kotlin/org/ziglang/jb/psi/utils.kt

See this annotation in the file changed.

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

Constant conditions

Condition '(((element is ZigTopVarDecl) \|\| (element is ZigLocalVarDecl)) \&\& (PsiTreeUtil.findChildOfType( element, ZigContainerDecl::class.java ) != null)) \|\| (element is ZigFnDecl)' is always true

Check warning on line 133 in src/main/kotlin/org/ziglang/jb/types/utils.kt

See this annotation in the file changed.

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

Constant conditions

'when' branch is never reachable

Check warning on line 7 in src/main/kotlin/org/ziglang/jb/completion/ZigPatterns.kt

See this annotation in the file changed.

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

Unused import directive

Unused import directive