Skip to content

Merge pull request #466 from DFE-Digital/fix/throw-error-for-missing-… #1783

Merge pull request #466 from DFE-Digital/fix/throw-error-for-missing-…

Merge pull request #466 from DFE-Digital/fix/throw-error-for-missing-… #1783

Triggered via push January 18, 2024 12:33
Status Success
Total duration 2m 50s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Get Directories for Linting
0s
Get Directories for Linting
Build database upgrader
19s
Build database upgrader
Run javascript tests
16s
Run javascript tests
Matrix: Lint & Commit
Build and run unit tests
2m 37s
Build and run unit tests
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
Build database upgrader
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Build database upgrader
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Build and run unit tests
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Build and run unit tests: src/Dfe.PlanTech.Domain/Content/Interfaces/IRichTextContent.cs#L38
Reduce the number of generic parameters in the 'IRichTextContent' interface to no more than the 2 authorized. (https://rules.sonarsource.com/csharp/RSPEC-2436)
Build and run unit tests: src/Dfe.PlanTech.Domain/Questionnaire/Interfaces/ISection.cs#L19
Reduce the number of generic parameters in the 'ISection' interface to no more than the 2 authorized. (https://rules.sonarsource.com/csharp/RSPEC-2436)
Build and run unit tests: src/Dfe.PlanTech.Domain/Content/Models/Options/TextRendererOptions.cs#L18
"Find" method should be used instead of the "FirstOrDefault" extension method. (https://rules.sonarsource.com/csharp/RSPEC-6602)
Build and run unit tests: src/Dfe.PlanTech.Domain/Content/Interfaces/IRichTextContent.cs#L23
"Find" method should be used instead of the "FirstOrDefault" extension method. (https://rules.sonarsource.com/csharp/RSPEC-6602)
Build and run unit tests: src/Dfe.PlanTech.Application/Submissions/Queries/SubmissionStatusProcessor.cs#L65
"Find" method should be used instead of the "FirstOrDefault" extension method. (https://rules.sonarsource.com/csharp/RSPEC-6602)
Build and run unit tests: src/Dfe.PlanTech.Application/Submissions/Queries/GetSubmissionStatusesQuery.cs#L65
Extract this nested ternary operation into an independent statement. (https://rules.sonarsource.com/csharp/RSPEC-3358)
Build and run unit tests: src/Dfe.PlanTech.AzureFunctions/Mappings/PageMapper.cs#L21
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
Build and run unit tests: src/Dfe.PlanTech.AzureFunctions/Mappings/JsonToEntityMappers.cs#L31
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
Build and run unit tests: src/Dfe.PlanTech.AzureFunctions/Mappings/JsonToDbMapper.cs#L32
'System.NullReferenceException' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)

Artifacts

Produced during runtime
Name Size
code-coverage-report Expired
735 KB