Skip to content

updated workflows

updated workflows #4

Triggered via push March 8, 2024 14:54
Status Success
Total duration 2m 19s
Artifacts

Qodana.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

153 warnings
Incorrect indent (around child statement): Upload/Controllers/HealthController.cs#L16
Line indent is not restored to the previous level around child statement
Incorrect indent (around child statement): VideoStreamer/Controllers/HealthController.cs#L16
Line indent is not restored to the previous level around child statement
Incorrect indent (around child statement): RecommendationAlgo/Controllers/HealthController.cs#L16
Line indent is not restored to the previous level around child statement
Incorrect indent (around child statement): Account/Controllers/HealthController.cs#L16
Line indent is not restored to the previous level around child statement
Incorrect indent (around child statement): Render/Controllers/HealthController.cs#L16
Line indent is not restored to the previous level around child statement
Incorrect indent (around child statement): VideoLibrary/Controllers/HealthController.cs#L16
Line indent is not restored to the previous level around child statement
Use of obsolete symbol: APIGateway/Auth/OwnAuthHandler.cs#L30
CS0618: ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.
Use of obsolete symbol: APIGateway/Auth/OwnAuthHandler.cs#L28
CS0618: Interface 'Microsoft.AspNetCore.Authentication.ISystemClock' is obsolete: Use TimeProvider instead.
Async function without await expression: Account/Services/AccountService.cs#L21
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.
Async method invocation without await expression: Account/Services/AccountService.cs#L33
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.
Converting null literal or possible null value to non-nullable type.: VideoLibrary/ConsulRegisterer.cs#L16
Converting null literal or possible null value into non-nullable type
Converting null literal or possible null value to non-nullable type.: Common/Model/VideoCategory.cs#L105
Converting null literal or possible null value into non-nullable type
Converting null literal or possible null value to non-nullable type.: Account/ConsulRegisterer.cs#L16
Converting null literal or possible null value into non-nullable type
Converting null literal or possible null value to non-nullable type.: Upload/ConsulRegisterer.cs#L16
Converting null literal or possible null value into non-nullable type
Converting null literal or possible null value to non-nullable type.: VideoStreamer/ConsulRegisterer.cs#L16
Converting null literal or possible null value into non-nullable type
Converting null literal or possible null value to non-nullable type.: Upload/Controllers/UploadController.cs#L39
Converting null literal or possible null value into non-nullable type
Converting null literal or possible null value to non-nullable type.: Render/ConsulRegisterer.cs#L16
Converting null literal or possible null value into non-nullable type
Converting null literal or possible null value to non-nullable type.: RecommendationAlgo/ConsulRegisterer.cs#L16
Converting null literal or possible null value into non-nullable type
Dereference of a possibly null reference.: Account/Services/StripePaymentService.cs#L44
Dereference of a possibly null reference
Possible null reference argument for a parameter.: VideoStreamer/ConsulRegisterer.cs#L19
Possible null reference argument for parameter 'uriString' in 'System.Uri.Uri'
Possible null reference argument for a parameter.: VideoLibrary/ConsulRegisterer.cs#L19
Possible null reference argument for parameter 'uriString' in 'System.Uri.Uri'
Possible null reference argument for a parameter.: APIGateway/Auth/OwnAuthHandler.cs#L73
Possible null reference argument for parameter 's' in 'System.Text.Encoding.GetBytes'
Possible null reference argument for a parameter.: Account/Services/AuthTokenGenerator.cs#L45
Possible null reference argument for parameter 's' in 'System.Text.Encoding.GetBytes'
Possible null reference argument for a parameter.: Account/ConsulRegisterer.cs#L19
Possible null reference argument for parameter 'uriString' in 'System.Uri.Uri'
Possible null reference argument for a parameter.: Common/Model/VideoCategory.cs#L107
Possible null reference argument for parameter 'element' in 'System.Reflection.CustomAttributeExtensions.GetCustomAttribute'
Possible null reference argument for a parameter.: Account/Services/AuthTokenGenerator.cs#L22
Possible null reference argument for parameter 's' in 'System.Text.Encoding.GetBytes'
Possible null reference argument for a parameter.: RecommendationAlgo/ConsulRegisterer.cs#L19
Possible null reference argument for parameter 'uriString' in 'System.Uri.Uri'
Possible null reference argument for a parameter.: Render/ConsulRegisterer.cs#L19
Possible null reference argument for parameter 'uriString' in 'System.Uri.Uri'
Possible null reference argument for a parameter.: Upload/ConsulRegisterer.cs#L19
Possible null reference argument for parameter 'uriString' in 'System.Uri.Uri'
Non-nullable member is uninitialized.: RecommendationAlgo/Repository/EFC/DatabaseContext.cs#L9
Non-nullable property 'VideoStats' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Account/Repository/Entities/Account.cs#L14
Non-nullable property 'Email' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: VideoLibrary/Model/VideoDTO.cs#L12
Non-nullable property 'ThumbnailUri' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Common/MBcontracts/RecommendationVideoResponse.cs#L6
Non-nullable property 'VideoIds' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: VideoLibrary/Model/VideoDTO.cs#L11
Non-nullable property 'VideoUri' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: VideoLibrary/Repository/Entities/Video.cs#L18
Non-nullable property 'Description' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Account/Model/DTO/RegisterRequestDTO.cs#L6
Non-nullable property 'passwordUnhashed' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Account/Model/DTO/RegisterRequestDTO.cs#L5
Non-nullable property 'email' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Account/Model/DTO/LoginRequestDTO.cs#L5
Non-nullable property 'email' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Common/MBcontracts/UploadVideoRequest.cs#L20
Non-nullable property 'VideoUri' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Account/Repository/EFC/DatabaseContext.cs#L7
Non-nullable property 'Accounts' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: RecommendationAlgo/Repository/EFC/DatabaseContext.cs#L8
Non-nullable property 'WatchHistories' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Account/Model/DTO/IncomingPaymentDTO.cs#L7
Non-nullable property 'StripeToken' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Upload/Model/DTO/VideoUploadDTO.cs#L9
Non-nullable property 'Title' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: VideoLibrary/Model/VideoDTO.cs#L8
Non-nullable property 'Description' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Upload/Model/DTO/VideoUploadDTO.cs#L17
Non-nullable property 'ThumbnailUri' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Account/Repository/Entities/Account.cs#L17
Non-nullable property 'PasswordHashed' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: VideoLibrary/Repository/EFC/DatabaseContext.cs#L8
Non-nullable property 'Videos' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: VideoLibrary/Repository/Entities/Video.cs#L27
Non-nullable property 'VideoUri' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Common/MBcontracts/UploadVideoRequest.cs#L14
Non-nullable property 'Description' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: VideoLibrary/Model/VideoDTO.cs#L7
Non-nullable property 'Title' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Common/MBcontracts/UploadVideoRequest.cs#L12
Non-nullable property 'Title' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Common/MBcontracts/UploadVideoRequest.cs#L22
Non-nullable property 'ThumbnailUri' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Account/Model/DTO/AccountDTO.cs#L6
Non-nullable property 'Email' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Account/Model/DTO/LoginRequestDTO.cs#L6
Non-nullable property 'passwordUnhashed' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: VideoLibrary/Repository/Entities/Video.cs#L15
Non-nullable property 'Title' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Common/MBcontracts/RenderVideoRequest.cs#L6
Non-nullable property 'VideoUri' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: VideoLibrary/Repository/Entities/Video.cs#L30
Non-nullable property 'ThumbnailUri' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Upload/Model/DTO/VideoUploadDTO.cs#L12
Non-nullable property 'Description' is uninitialized. Consider declaring the property as nullable.
Namespace does not correspond to file location: RecommendationAlgo/ConsulRegisterer.cs#L4
Namespace does not correspond to file location, must be: 'RecommendationAlgo'
Namespace does not correspond to file location: Render/Controllers/HealthController.cs#L4
Namespace does not correspond to file location, must be: 'Render.Controllers'
Namespace does not correspond to file location: Account/ConsulRegisterer.cs#L4
Namespace does not correspond to file location, must be: 'Account'
Expression is always 'true' or 'false' according to nullable reference types' annotations: Upload/Controllers/UploadController.cs#L29
Expression is always false according to nullable reference types' annotations
Expression is always 'true' or 'false' according to nullable reference types' annotations: Upload/Controllers/UploadController.cs#L33
Expression is always false according to nullable reference types' annotations
Expression is always 'true' or 'false' according to nullable reference types' annotations: VideoLibrary/Controllers/VideoController.cs#L30
Expression is always false according to nullable reference types' annotations
Conditional access qualifier expression is not null according to nullable reference types' annotations: Common/AccIdExtractorFromHttpContext.cs#L21
Conditional access qualifier expression is never null according to nullable reference types' annotations
Empty constructor: Account/Model/DTO/IncomingPaymentDTO.cs#L3
Empty constructor is redundant. The compiler generates the same by default.
Empty constructor: Account/Model/DTO/LoginRequestDTO.cs#L3
Empty constructor is redundant. The compiler generates the same by default.
Empty constructor: Account/Model/DTO/RegisterRequestDTO.cs#L3
Empty constructor is redundant. The compiler generates the same by default.
Invalid XML documentation comment: RecommendationAlgo/Repository/RecommendationRepository.cs#L153
Parameter 'category' has no matching param tag in the XML comment for RecommendationAlgo.Repository.RecommendationRepository.GetRecommendedVideosBasedOnLikeSimilarity (but other parameters do)
Invalid XML documentation comment: VideoLibrary/Controllers/VideoController.cs#L18
Parameter 'topN' has no matching param tag in the XML comment for OpenVisStreamer.VideoLibrary.Controllers.VideoController.GetRecommendedVideos (but other parameters do)
Redundant member initializer: Common/MBcontracts/UploadVideoRequest.cs#L29
Initializing property by default value is redundant
Redundant member initializer: Account/Repository/Entities/Account.cs#L10
Initializing property by default value is redundant
Redundant member initializer: Account/Repository/Entities/Account.cs#L22
Initializing property by default value is redundant
Redundant member initializer: RecommendationAlgo/Repository/Entities/WatchHistory.cs#L25
Initializing property by default value is redundant
Redundant member initializer: RecommendationAlgo/Repository/Entities/WatchHistory.cs#L19
Initializing property by default value is redundant
Redundant member initializer: VideoLibrary/Repository/Entities/Video.cs#L39
Initializing property by default value is redundant
Redundant member initializer: Account/Repository/Entities/Account.cs#L20
Initializing property by default value is redundant
Redundant type declaration body: APIGateway/Swagger/SwaggerAggregator.cs#L6
Redundant empty class declaration body
Redundant using directive: APIGateway/Auth/OwnAuthHandler.cs#L5
Using directive is not required by the code and can be safely removed
Redundant using directive: APIGateway/Auth/OwnAuthHandler.cs#L7
Using directive is not required by the code and can be safely removed
Redundant using directive: Common/MBcontracts/UploadVideoRequest.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: VideoLibrary/Program.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: RecommendationAlgo/Program.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: RecommendationAlgo/Repository/Entities/VideoStats.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: RecommendationAlgo/Repository/Entities/WatchHistory.cs#L3
Using directive is not required by the code and can be safely removed
Redundant using directive: Account/Program.cs#L4
Using directive is not required by the code and can be safely removed
Redundant using directive: APIGateway/Auth/OwnAuthHandler.cs#L11
Using directive is not required by the code and can be safely removed
Redundant using directive: APIGateway/Auth/OwnAuthHandler.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Common/MBcontracts/UploadVideoRequest.cs#L1
Using directive is not required by the code and can be safely removed
Auto-property accessor is never used (non-private accessibility): VideoLibrary/Model/VideoDTO.cs#L7
Auto-property accessor 'Title.get' is never used
Auto-property accessor is never used (non-private accessibility): Account/Model/DTO/IncomingPaymentDTO.cs#L7
Auto-property accessor 'StripeToken.set' is never used
Auto-property accessor is never used (non-private accessibility): Account/Model/DTO/AccountDTO.cs#L6
Auto-property accessor 'Email.get' is never used
Auto-property accessor is never used (non-private accessibility): Account/Model/DTO/AccountDTO.cs#L7
Auto-property accessor 'Balance.get' is never used
Auto-property accessor is never used (non-private accessibility): Account/Model/DTO/AccountDTO.cs#L8
Auto-property accessor 'SubscriptionValidUntil.get' is never used
Auto-property accessor is never used (non-private accessibility): Account/Model/DTO/RegisterRequestDTO.cs#L6
Auto-property accessor 'passwordUnhashed.set' is never used
Auto-property accessor is never used (non-private accessibility): Common/MBcontracts/UploadVideoRequest.cs#L18
Auto-property accessor 'videoLength.set' is never used
Auto-property accessor is never used (non-private accessibility): Account/Model/DTO/AccountDTO.cs#L5
Auto-property accessor 'AccId.get' is never used
Auto-property accessor is never used (non-private accessibility): VideoLibrary/Model/VideoDTO.cs#L12
Auto-property accessor 'ThumbnailUri.get' is never used
Auto-property accessor is never used (non-private accessibility): VideoLibrary/Model/VideoDTO.cs#L15
Auto-property accessor 'UploadDateTime.get' is never used
Auto-property accessor is never used (non-private accessibility): VideoLibrary/Model/VideoDTO.cs#L8
Auto-property accessor 'Description.get' is never used
Auto-property accessor is never used (non-private accessibility): VideoLibrary/Model/VideoDTO.cs#L11
Auto-property accessor 'VideoUri.get' is never used
Auto-property accessor is never used (non-private accessibility): VideoLibrary/Model/VideoDTO.cs#L9
Auto-property accessor 'Category.get' is never used
Auto-property accessor is never used (non-private accessibility): Upload/Model/DTO/VideoUploadDTO.cs#L12
Auto-property accessor 'Description.set' is never used
Auto-property accessor is never used (non-private accessibility): VideoLibrary/Model/VideoDTO.cs#L6
Auto-property accessor 'VideoId.get' is never used
Unused parameter (private accessibility): Account/Services/StripePaymentService.cs#L12
Parameter 'retryAttempt' is never used
Unused local variable: Render/Services/RenderService.cs#L41
Local variable 'error' is never used
Unused local variable: Render/Services/RenderService.cs#L40
Local variable 'output' is never used
Unused local variable: VideoStreamer/Program.cs#L6
Local variable 'consulIP' is never used
Unused local variable: APIGateway/Auth/OwnAuthHandler.cs#L77
Local variable 'validatedToken' is never used
Unused local variable: APIGateway/Auth/OwnAuthHandler.cs#L79
Local variable 'a' is never used
Do not use object initializer for 'using' variable: Render/Services/RenderService.cs#L35
Initialize object properties inside the 'using' statement to ensure that the object is disposed if an exception is thrown during initialization
qodana
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, JetBrains/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.