Skip to content

[Improve] File handling in support of Domain and Common filestore #60

[Improve] File handling in support of Domain and Common filestore

[Improve] File handling in support of Domain and Common filestore #60

Triggered via pull request December 19, 2023 15:51
Status Success
Total duration 4m 49s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Analyze (csharp): CDP4Orm/AutoGenDao/ArrayParameterTypeDao.cs#L70
'ArrayParameterTypeDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)' hides inherited member 'CompoundParameterTypeDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Analyze (csharp): CDP4Orm/AutoGenDao/ArrayParameterTypeDao.cs#L146
'ArrayParameterTypeDao.MapToDto(NpgsqlDataReader)' hides inherited member 'CompoundParameterTypeDao.MapToDto(NpgsqlDataReader)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Analyze (csharp): CDP4Orm/AutoGenDao/CyclicRatioScaleDao.cs#L70
'CyclicRatioScaleDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)' hides inherited member 'RatioScaleDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Analyze (csharp): CDP4Orm/AutoGenDao/CyclicRatioScaleDao.cs#L146
'CyclicRatioScaleDao.MapToDto(NpgsqlDataReader)' hides inherited member 'RatioScaleDao.MapToDto(NpgsqlDataReader)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Analyze (csharp): CometServer/Startup.cs#L235
'HangfireApplicationBuilderExtensions.UseHangfireServer(IApplicationBuilder, BackgroundJobServerOptions, IEnumerable<IBackgroundProcess>, JobStorage)' is obsolete: 'Please use IServiceCollection.AddHangfireServer extension method instead in the ConfigureServices method. Will be removed in 2.0.0.'
Analyze (csharp): CometServer/Modules/Authentication/AuthenticationModule.cs#L59
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.
Analyze (csharp): CometServer/Exceptions/BadRequestException.cs#L78
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Analyze (csharp): CometServer/Modules/10-25/ExchangeFileExportApi.cs#L119
The variable 'e' is declared but never used
Analyze (csharp): CometServer/Modules/10-25/EngineeringModelApi.cs#L144
The variable 'e' is declared but never used
Analyze (csharp): CometServer/Modules/CarterExtensions/HttpResponseExtensions.cs#L45
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)