This repository has been archived by the owner on Dec 3, 2024. It is now read-only.
Add initial SonarCloud scan workflow #5
Annotations
1 error and 10 warnings
Build, Test and Analyze
Process completed with exit code 1.
|
Build, Test and Analyze:
Dfe.Identifiers.Domain/Query/EstablishmentQueryResult.cs#L7
Non-nullable field 'Establishment' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
Build, Test and Analyze:
Dfe.Identifiers.Domain/Query/EstablishmentQueryResult.cs#L8
Non-nullable field 'LocalAuthority' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
Build, Test and Analyze:
Dfe.Identifiers.Domain/Helpers/IdentifierMapping.cs#L11
Dereference of a possibly null reference.
|
Build, Test and Analyze:
Dfe.Identifiers.Domain/Query/EstablishmentQueryResult.cs#L8
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
|
Build, Test and Analyze:
Dfe.Identifiers.Domain/Query/EstablishmentQueryResult.cs#L7
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
|
Build, Test and Analyze:
Dfe.Identifiers.Domain/Query/EstablishmentQueryResult.cs#L9
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
|
Build, Test and Analyze:
Dfe.Identifiers.Infrastructure/Repositories/EstablishmentRepository.cs#L17
Possible null reference argument for parameter 'value' in 'bool string.StartsWith(string value)'.
|
Build, Test and Analyze:
Dfe.Identifiers.Infrastructure/Repositories/EstablishmentRepository.cs#L17
Possible null reference argument for parameter 'value' in 'bool string.EndsWith(string value)'.
|
Build, Test and Analyze:
Dfe.Identifiers.Infrastructure/Migrations/20240328120816_Initial.cs#L25
Define a constant instead of using this literal 'SqlServer:Identity' 6 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Build, Test and Analyze:
Dfe.Identifiers.Infrastructure/Migrations/20240328120816_Initial.cs#L35
Define a constant instead of using this literal 'Ref_EducationEstablishmentType' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Loading