Skip to content

Fix selection of Conan executable when named "conan.exe" #96

Fix selection of Conan executable when named "conan.exe"

Fix selection of Conan executable when named "conan.exe" #96

GitHub Actions / Qodana Community for JVM completed Oct 23, 2023 in 0s

29 new problems found by Qodana Community for JVM

Community for JVM

29 new problems were found

Inspection name Severity Problems
Unused import directive 🔶 Warning 8
Incorrect string capitalization 🔶 Warning 7
Unused symbol 🔶 Warning 5
Class member can have 'private' visibility ◽️ Notice 3
Property naming convention ◽️ Notice 3
Might be 'const' ◽️ Notice 1
Unnecessary type argument ◽️ Notice 1
Unnecessary local variable ◽️ 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 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/[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 warning on line 56 in src/main/kotlin/com/jfrog/conan/plugin/services/ConanService.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Add Conan support to the project' is not properly capitalized. It should have title capitalization

Check warning on line 49 in src/main/kotlin/com/jfrog/conan/plugin/dialogs/ConanExecutableDialog.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Conan Executable' is not properly capitalized. It should have sentence capitalization

Check warning on line 32 in src/main/kotlin/com/jfrog/conan/plugin/toolWindow/MainActionToolbar.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Update packages and dependency provider' is not properly capitalized. It should have title capitalization

Check warning on line 24 in src/main/kotlin/com/jfrog/conan/plugin/dialogs/ConanInstallDialog.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Choose Which Profiles To Install This dependency For' is not properly capitalized. It should have title capitalization

Check warning on line 100 in src/main/kotlin/com/jfrog/conan/plugin/toolWindow/PackageInformationPanel.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Library Removed From Project' is not properly capitalized. It should have sentence capitalization

Check warning on line 48 in src/main/kotlin/com/jfrog/conan/plugin/toolWindow/MainActionToolbar.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Show used packages' is not properly capitalized. It should have title capitalization

Check warning on line 27 in src/main/kotlin/com/jfrog/conan/plugin/dialogs/ConanExecutableDialog.kt

See this annotation in the file changed.

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

Incorrect string capitalization

String 'Select Conan executable' is not properly capitalized. It should have title capitalization

Check warning on line 5 in src/main/kotlin/com/jfrog/conan/plugin/conan/extensions/file.kt

See this annotation in the file changed.

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

Unused import directive

Unused import directive

Check warning on line 17 in src/main/kotlin/com/jfrog/conan/plugin/services/ConanService.kt

See this annotation in the file changed.

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

Unused import directive

Unused import directive

Check warning on line 3 in src/main/kotlin/com/jfrog/conan/plugin/conan/ConanPluginUtils.kt

See this annotation in the file changed.

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

Unused import directive

Unused import directive

Check warning on line 10 in src/main/kotlin/com/jfrog/conan/plugin/cmake/CMake.kt

See this annotation in the file changed.

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

Unused import directive

Unused import directive

Check warning on line 4 in src/main/kotlin/com/jfrog/conan/plugin/conan/extensions/file.kt

See this annotation in the file changed.

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

Unused import directive

Unused import directive

Check warning on line 6 in src/main/kotlin/com/jfrog/conan/plugin/conan/extensions/file.kt

See this annotation in the file changed.

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

Unused import directive

Unused import directive

Check warning on line 4 in src/main/kotlin/com/jfrog/conan/plugin/conan/ConanPluginUtils.kt

See this annotation in the file changed.

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

Unused import directive

Unused import directive

Check warning on line 7 in src/main/kotlin/com/jfrog/conan/plugin/cmake/CMake.kt

See this annotation in the file changed.

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

Unused import directive

Unused import directive

Check notice on line 14 in src/main/kotlin/com/jfrog/conan/plugin/conan/ConanPluginUtils.kt

See this annotation in the file changed.

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

Might be 'const'

Might be 'const'

Check notice on line 91 in src/main/kotlin/com/jfrog/conan/plugin/toolWindow/UsedPackagesPanel.kt

See this annotation in the file changed.

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

Class member can have 'private' visibility

Function 'getHtml' could be private

Check notice on line 83 in src/main/kotlin/com/jfrog/conan/plugin/toolWindow/ReadmePanel.kt

See this annotation in the file changed.

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

Class member can have 'private' visibility

Function 'getHtml' could be private

Check notice on line 153 in src/main/kotlin/com/jfrog/conan/plugin/services/ConanService.kt

See this annotation in the file changed.

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

Class member can have 'private' visibility

Function 'getCMakeProviderFile' could be private

Check notice on line 10 in src/main/kotlin/com/jfrog/conan/plugin/models/Library.kt

See this annotation in the file changed.

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

Property naming convention

Property name `cmake_target_name` should not contain underscores

Check notice on line 6 in src/main/kotlin/com/jfrog/conan/plugin/models/Component.kt

See this annotation in the file changed.

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

Property naming convention

Property name `cmake_target_name` should not contain underscores

Check notice on line 9 in src/main/kotlin/com/jfrog/conan/plugin/models/Library.kt

See this annotation in the file changed.

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

Property naming convention

Property name `cmake_file_name` should not contain underscores

Check notice on line 78 in src/main/kotlin/com/jfrog/conan/plugin/cmake/CMake.kt

See this annotation in the file changed.

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

Unnecessary type argument

Remove explicit type arguments

Check notice on line 20 in src/main/kotlin/com/jfrog/conan/plugin/conan/ConanPluginUtils.kt

See this annotation in the file changed.

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

Unnecessary local variable

Variable used only in following return and can be inlined

Check warning on line 27 in src/main/kotlin/com/jfrog/conan/plugin/dialogs/ConanInstallDialog.kt

See this annotation in the file changed.

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

Unused symbol

Function "getSelectedInstallProfiles" is never used