Skip to content

Linting and tests

Linting and tests #949

Re-run triggered June 28, 2025 06:16
Status Success
Total duration 2m 33s
Artifacts

docker-publish.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
back-end-tests: OpenAlprWebhookProcessor.Server/LicensePlates/GetMostSeenPlates/GetMostSeenPlatesRequest.cs#L5
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
back-end-tests: OpenAlprWebhookProcessor.Server/LicensePlates/GetLicensePlateCounts/GetLicensePlateCountsRequest.cs#L5
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
back-end-tests: OpenAlprWebhookProcessor.Server/Cameras/Hikvision/HikvisionCamera.cs#L37
Define a constant instead of using this literal 'false' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
back-end-tests: OpenAlprWebhookProcessor.Server/LicensePlates/Enricher/LicensePlateData/LicensePlateDataClient.cs#L17
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
back-end-tests: OpenAlprWebhookProcessor.Server/Program.cs#L7
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
back-end-tests: OpenAlprWebhookProcessor.Server/Alerts/Pushover/PushoverClient.cs#L17
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
back-end-tests: OpenAlprWebhookProcessor.Server/Alerts/Pushover/PushoverClient.cs#L15
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
back-end-tests: OpenAlprWebhookProcessor.Server/ImageRelay/GetImage/GetImageHandler.cs#L170
The variable 'ex' is declared but never used
back-end-tests: OpenAlprWebhookProcessor.Server/WebhookProcessor/OpenAlprAgentScraper/OpenAlprAgentScraper.cs#L172
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
back-end-tests: OpenAlprWebhookProcessor.Server/WebPushSubscriptions/WebPushNotificationProducer.cs#L55
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.