Skip to content

Sonar scan

Sonar scan #62

Triggered via schedule January 20, 2025 00:04
Status Failure
Total duration 3m 41s
Artifacts

sonar-scan.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

1 error and 13 warnings
sonar-scan-net
Process completed with exit code 1.
sonar-scan-all
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v4.0.2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
SonarScanner
This action is deprecated and will be removed in a future release. Please use the sonarqube-scan-action action instead. The sonarqube-scan-action is a drop-in replacement for this action.
sonar-scan-net
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
sonar-scan-net: shared/src/EMBC.ESS.Shared.Contracts/Teams/Profile.cs#L12
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
sonar-scan-net: shared/src/EMBC.ESS.Shared.Contracts/Teams/Profile.cs#L12
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
sonar-scan-net: shared/src/EMBC.Utilities/Extensions/DoubleMetaphoneExtension.cs#L1156
Private classes which are not derived in the current assembly should be marked as 'sealed'. (https://rules.sonarsource.com/csharp/RSPEC-3260)
sonar-scan-net: shared/src/EMBC.Utilities/Extensions/LongestCommonSubsequenceExtension.cs#L57
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
sonar-scan-net: shared/src/EMBC.Utilities/Extensions/LongestCommonSubsequenceExtension.cs#L98
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
sonar-scan-net: shared/src/EMBC.Utilities/Notifications/NotificationSender.cs#L16
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
sonar-scan-net: shared/src/EMBC.Utilities/Extensions/StringSimilarityExtension.cs#L64
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
sonar-scan-net: shared/src/EMBC.Utilities/Extensions/SecurityEx.cs#L46
Check the return value of the 'Read' call to see how many bytes were read. (https://rules.sonarsource.com/csharp/RSPEC-2674)
sonar-scan-net: shared/src/EMBC.Utilities/Extensions/LongestCommonSubsequenceExtension.cs#L21
Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
sonar-scan-net: shared/src/EMBC.Utilities/Extensions/LevenshteinDistanceExtension.cs#L23
Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)