Skip to content

fix(scancode): Use SPDX expressions for file matches if present #8944

fix(scancode): Use SPDX expressions for file matches if present

fix(scancode): Use SPDX expressions for file matches if present #8944

GitHub Actions / Qodana Community for JVM completed Apr 2, 2024 in 0s

431 new problems found by Qodana Community for JVM

Qodana Community for JVM

431 new problems were found

Inspection name Severity Problems
Unused symbol 🔶 Warning 355
Unused receiver parameter 🔶 Warning 23
Unresolved reference in KDoc 🔶 Warning 3
Unstable API Usage 🔶 Warning 3
Private data class constructor is exposed via the 'copy' method 🔶 Warning 2
Leaking 'this' in constructor 🔶 Warning 2
Kotlin Gradle and IDE plugins versions are different 🔶 Warning 1
Constant conditions 🔶 Warning 1
Redundant diagnostic suppression 🔶 Warning 1
Useless call on collection type 🔶 Warning 1
Useless call on not-null type 🔶 Warning 1
Class member can have 'private' visibility ◽️ Notice 25
Argument could be converted to 'Set' to improve performance ◽️ Notice 5
Java methods should be replaced with Kotlin analog ◽️ Notice 4
Redundant 'with' call ◽️ Notice 2
Package name does not match containing directory ◽️ Notice 1
Explicit 'get' or 'set' call ◽️ 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 notice on line 287 in helper-cli/src/main/kotlin/commands/ListLicensesCommand.kt

See this annotation in the file changed.

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

Argument could be converted to 'Set' to improve performance

The argument can be converted to 'Set' to improve performance

Check notice on line 157 in model/src/main/kotlin/PackageCurationData.kt

See this annotation in the file changed.

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

Argument could be converted to 'Set' to improve performance

The argument can be converted to 'Set' to improve performance

Check notice on line 92 in helper-cli/src/main/kotlin/commands/ListPackagesCommand.kt

See this annotation in the file changed.

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

Argument could be converted to 'Set' to improve performance

The argument can be converted to 'Set' to improve performance

Check notice on line 187 in helper-cli/src/main/kotlin/commands/ListLicensesCommand.kt

See this annotation in the file changed.

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

Argument could be converted to 'Set' to improve performance

The argument can be converted to 'Set' to improve performance

Check notice on line 84 in cli/src/funTest/kotlin/ExamplesFunTest.kt

See this annotation in the file changed.

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

Argument could be converted to 'Set' to improve performance

The argument can be converted to 'Set' to improve performance

Check warning on line 22 in clients/fossid-webapp/src/main/kotlin/PostRequestBody.kt

See this annotation in the file changed.

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

Private data class constructor is exposed via the 'copy' method

Private primary constructor is exposed via the generated 'copy()' method of a 'data' class.

Check warning on line 30 in model/src/main/kotlin/VcsType.kt

See this annotation in the file changed.

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

Private data class constructor is exposed via the 'copy' method

Private primary constructor is exposed via the generated 'copy()' method of a 'data' class.

Check warning on line 10 in plugins/package-managers/pub/src/funTest/assets/projects/synthetic/flutter-project-with-android-and-cocoapods/android/build.gradle

See this annotation in the file changed.

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

Kotlin Gradle and IDE plugins versions are different

Kotlin version that is used for building with Gradle (1.3.50) is not properly supported in the IDE plugin (1.9)

Check warning on line 90 in clients/github-graphql/src/main/kotlin/GitHubService.kt

See this annotation in the file changed.

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

Unresolved reference in KDoc

Cannot resolve symbol 'Issue'

Check warning on line 108 in clients/github-graphql/src/main/kotlin/GitHubService.kt

See this annotation in the file changed.

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

Unresolved reference in KDoc

Cannot resolve symbol 'Release'

Check warning on line 127 in clients/github-graphql/src/main/kotlin/GitHubService.kt

See this annotation in the file changed.

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

Unresolved reference in KDoc

Cannot resolve symbol 'Issue'

Check warning on line 351 in plugins/advisors/github/src/main/kotlin/GitHubDefects.kt

See this annotation in the file changed.

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

Constant conditions

Condition 'closedAt == null' is always false when reached

Check warning on line 274 in examples/example.rules.kts

See this annotation in the file changed.

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

Redundant diagnostic suppression

Redundant suppression

Check warning on line 69 in scanner/src/testFixtures/kotlin/AbstractPathScannerWrapperFunTest.kt

See this annotation in the file changed.

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

Leaking 'this' in constructor

Calling non-final function config in constructor

Check warning on line 59 in scanner/src/testFixtures/kotlin/AbstractPathScannerWrapperFunTest.kt

See this annotation in the file changed.

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

Leaking 'this' in constructor

Calling non-final function config in constructor

Check notice on line 126 in utils/common/src/main/kotlin/Os.kt

See this annotation in the file changed.

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

Class member can have 'private' visibility

Function 'resolveWindowsExecutable' could be private

Check notice on line 326 in downloader/src/main/kotlin/VcsHost.kt

See this annotation in the file changed.

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

Class member can have 'private' visibility

Function 'fromUrl' could be private

Check notice on line 47 in clients/oss-index/src/main/kotlin/OssIndexService.kt

See this annotation in the file changed.

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

Class member can have 'private' visibility

Property 'JSON' could be private

Check notice on line 60 in scanner/src/main/kotlin/storages/Sw360Storage.kt

See this annotation in the file changed.

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

Class member can have 'private' visibility

Property 'JSON_MAPPER' could be private

Check notice on line 29 in clients/fossid-webapp/src/main/kotlin/VersionedFossIdService.kt

See this annotation in the file changed.

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

Class member can have 'private' visibility

Property 'delegate' could be private

Check notice on line 55 in clients/nexus-iq/src/main/kotlin/NexusIqService.kt

See this annotation in the file changed.

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

Class member can have 'private' visibility

Property 'JSON' could be private

Check notice on line 84 in model/src/main/kotlin/TextLocation.kt

See this annotation in the file changed.

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

Class member can have 'private' visibility

Function 'linesOverlapWith' could be private

Check notice on line 40 in plugins/package-curation-providers/api/src/main/kotlin/PackageCurationProviderFactory.kt

See this annotation in the file changed.

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

Class member can have 'private' visibility

Property 'ALL' could be private

Check notice on line 93 in utils/common/src/main/kotlin/ProcessCapture.kt

See this annotation in the file changed.

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

Class member can have 'private' visibility

Property 'usedWorkingDir' could be private

Check notice on line 151 in utils/ort/src/main/kotlin/OrtProxySelector.kt

See this annotation in the file changed.

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

Class member can have 'private' visibility

Function 'hasOrigin' could be private