Skip to content

Updated functions

Updated functions #221

Triggered via push February 15, 2024 21:03
Status Success
Total duration 4m 15s
Artifacts

sonar.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

22 warnings
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v1, actions/checkout@v2, actions/cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1, actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build: src/Models/RequetObject.cs#L103
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build: src/webserver/Controllers/ChatController.cs#L23
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build: src/webserver/Program.cs#L15
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
Build: src/webserver/Program.cs#L17
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
Build: src/webserver/Program.cs#L17
Change the visibility of 'hubContext' or make it 'const' or 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2223)
Build: src/live/ingest/src/Function.cs#L17
Remove the unused private field 'dynamoDBContext'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
Build: src/utilities/EnvironmentVariables.cs#L70
Handle the exception or explain in a comment why it can be ignored. (https://rules.sonarsource.com/csharp/RSPEC-2486)
Build: src/utilities/EnvironmentVariables.cs#L70
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
Build: src/webutils/Program.cs#L45
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/strategies/locked/Random/RandomRecentHighLow.cs#L90
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Build: src/strategies/locked/Random/RandomRecentHighLow.cs#L90
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Build: src/strategies/locked/Random/Random.cs#L60
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Build: src/strategies/drafts/Momentum_438539dc_many.cs#L99
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Build: src/strategies/drafts/Random-Extra.cs#L64
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Build: src/strategies/drafts/RandomRecentHighLow copy.cs#L103
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Build: src/strategies/drafts/RandomRecentHighLow_DRAFT.cs#L98
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Build: src/strategies/locked/Momentum/Momentum_7aa778ee.cs#L97
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Build: src/strategies/locked/Momentum/Momentum_14a2da93.cs#L86
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Build: src/strategies/locked/Momentum/Momentum_18d834cc.cs#L90
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Build: src/strategies/locked/Momentum/Momentum_2ff0b2b2.cs#L86
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.