Skip to content

Add/Edit Facility Form Validation #379

Add/Edit Facility Form Validation

Add/Edit Facility Form Validation #379

Triggered via pull request March 27, 2024 15:28
Status Failure
Total duration 4m 50s
Artifacts

codeql-analysis.yml

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

Annotations

6 errors and 10 warnings
Analyze with CodeQL (csharp): tests/FMS.App.Tests/Helpers/ExportHelperTests.cs#L49
There is no argument given that corresponds to the required parameter 'reportType' of 'ExportHelper.ExportExcelAsByteArray<T>(IEnumerable<T>, ExportHelper.ReportType)'
Analyze with CodeQL (csharp): tests/FMS.App.Tests/Helpers/ExportHelperTests.cs#L65
There is no argument given that corresponds to the required parameter 'reportType' of 'ExportHelper.ExportExcelAsByteArray<T>(IEnumerable<T>, ExportHelper.ReportType)'
Analyze with CodeQL (csharp): tests/FMS.App.Tests/Helpers/ExportHelperTests.cs#L49
There is no argument given that corresponds to the required parameter 'reportType' of 'ExportHelper.ExportExcelAsByteArray<T>(IEnumerable<T>, ExportHelper.ReportType)'
Analyze with CodeQL (csharp): tests/FMS.App.Tests/Helpers/ExportHelperTests.cs#L65
There is no argument given that corresponds to the required parameter 'reportType' of 'ExportHelper.ExportExcelAsByteArray<T>(IEnumerable<T>, ExportHelper.ReportType)'
Analyze with CodeQL (csharp)
Assets file '/home/runner/work/FMS/FMS/artifacts/FMS.Domain/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze with CodeQL (csharp)
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.16.5/x64/codeql/csharp/tools/autobuild.sh". Exit code was 1 and last log line was: Error: Could not auto-detect a suitable build method. See the logs for more details.
Analyze with CodeQL (csharp): FMS.Infrastructure/Migrations/20240223163127_UpdateSPgetNearbyFacilities.cs#L46
Use 'Guid.NewGuid()' or 'Guid.Empty' or add arguments to this GUID instantiation. (https://rules.sonarsource.com/csharp/RSPEC-4581)
Analyze with CodeQL (csharp): FMS.Infrastructure/Repositories/FacilityRepository.cs#L307
Change this expression which always evaluates to the same result. (https://rules.sonarsource.com/csharp/RSPEC-2589)
Analyze with CodeQL (csharp): tests/FMS.Infrastructure.Tests/CabinetRepositoryTest.cs#L230
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Analyze with CodeQL (csharp): tests/FMS.Infrastructure.Tests/CabinetRepositoryTest.cs#L209
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Analyze with CodeQL (csharp): tests/FMS.Infrastructure.Tests/CabinetRepositoryTest.cs#L190
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Analyze with CodeQL (csharp): tests/FMS.Infrastructure.Tests/CabinetRepositoryTest.cs#L249
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Analyze with CodeQL (csharp): tests/FMS.Infrastructure.Tests/FileRepositoryTests.cs#L242
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Analyze with CodeQL (csharp): tests/FMS.Infrastructure.Tests/CabinetRepositoryTest.cs#L360
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Analyze with CodeQL (csharp): tests/FMS.Infrastructure.Tests/CabinetRepositoryTest.cs#L340
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Analyze with CodeQL (csharp): tests/FMS.Infrastructure.Tests/CabinetRepositoryTest.cs#L381
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)