Skip to content

docs: Update package-lock.json #7

docs: Update package-lock.json

docs: Update package-lock.json #7

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Qodana Community for JVM completed Sep 21, 2023 in 0s

460 new problems found by Qodana Community for JVM

Community for JVM

460 new problems were found

Inspection name Severity Problems
Unused symbol 🔶 Warning 354
Unused receiver parameter 🔶 Warning 25
Constant conditions 🔶 Warning 8
Unstable API Usage 🔶 Warning 6
Unresolved reference in KDoc 🔶 Warning 3
Private data class constructor is exposed via the 'copy' method 🔶 Warning 2
Leaking 'this' in constructor 🔶 Warning 2
Redundant string template 🔶 Warning 2
Kotlin Gradle and IDE plugins versions are different 🔶 Warning 1
Redundant diagnostic suppression 🔶 Warning 1
Unused import directive 🔶 Warning 1
Unnecessary non-capturing group 🔶 Warning 1
Useless call on collection type 🔶 Warning 1
Useless call on not-null type 🔶 Warning 1
Class member can have 'private' visibility ◽️ Notice 26
Convert 'object' to 'data object' ◽️ Notice 10
Argument could be converted to 'Set' to improve performance ◽️ Notice 6
Java methods should be replaced with Kotlin analog ◽️ Notice 4
Redundant 'with' call ◽️ Notice 2
Size check can be replaced with 'isNotEmpty()' ◽️ Notice 2
Function or property has platform type ◽️ Notice 1
Package name does not match containing directory ◽️ 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 280 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 180 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 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 151 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 83 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 notice on line 533 in analyzer/src/main/kotlin/managers/utils/MavenSupport.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 72 in utils/spdx/src/main/kotlin/model/SpdxExternalReference.kt

See this annotation in the file changed.

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

Convert 'object' to 'data object'

'sealed' sub-object can be converted to 'data object'

Check notice on line 80 in utils/spdx/src/main/kotlin/model/SpdxExternalReference.kt

See this annotation in the file changed.

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

Convert 'object' to 'data object'

'sealed' sub-object can be converted to 'data object'

Check notice on line 78 in utils/spdx/src/main/kotlin/model/SpdxExternalReference.kt

See this annotation in the file changed.

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

Convert 'object' to 'data object'

'sealed' sub-object can be converted to 'data object'

Check notice on line 67 in model/src/main/kotlin/utils/DependencyGraphBuilder.kt

See this annotation in the file changed.

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

Convert 'object' to 'data object'

'sealed' sub-object can be converted to 'data object'

Check notice on line 40 in model/src/main/kotlin/Provenance.kt

See this annotation in the file changed.

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

Convert 'object' to 'data object'

'sealed' sub-object can be converted to 'data object'

Check notice on line 76 in utils/spdx/src/main/kotlin/model/SpdxExternalReference.kt

See this annotation in the file changed.

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

Convert 'object' to 'data object'

'sealed' sub-object can be converted to 'data object'

Check notice on line 77 in utils/spdx/src/main/kotlin/model/SpdxExternalReference.kt

See this annotation in the file changed.

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

Convert 'object' to 'data object'

'sealed' sub-object can be converted to 'data object'

Check notice on line 71 in utils/spdx/src/main/kotlin/model/SpdxExternalReference.kt

See this annotation in the file changed.

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

Convert 'object' to 'data object'

'sealed' sub-object can be converted to 'data object'

Check notice on line 74 in utils/spdx/src/main/kotlin/model/SpdxExternalReference.kt

See this annotation in the file changed.

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

Convert 'object' to 'data object'

'sealed' sub-object can be converted to 'data object'

Check notice on line 75 in utils/spdx/src/main/kotlin/model/SpdxExternalReference.kt

See this annotation in the file changed.

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

Convert 'object' to 'data object'

'sealed' sub-object can be converted to 'data object'

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 notice on line 70 in plugins/scanners/scanoss/src/main/kotlin/ScanOss.kt

See this annotation in the file changed.

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

Function or property has platform type

Declaration has type inferred from a platform call, which can lead to unchecked nullability issues. Specify type explicitly as nullable or non-nullable.

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 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 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 33 in utils/spdx/src/main/kotlin/SpdxExpressionDefaultVisitor.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 39 in utils/spdx/src/main/kotlin/SpdxExpressionDefaultVisitor.kt

See this annotation in the file changed.

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

Constant conditions

'when' branch is never reachable