microting/eform-sdk-dotnet

View on GitHub
eFormSDK.Base.Tests/DbTestFixture.cs

Summary

Maintainability
B
5 hrs
Test Coverage

Method ClearDb has 101 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        private async Task ClearDb()
        {
            Console.WriteLine($"{DateTime.Now} : ClearDb...");
            List<string> modelNames = new List<string>
            {
Severity: Major
Found in eFormSDK.Base.Tests/DbTestFixture.cs - About 4 hrs to fix

    Method Setup has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            [SetUp]
            public async Task Setup()
            {
                Console.WriteLine($"{DateTime.Now} : Starting MariaDb Container...");
                await _mariadbTestcontainer.StartAsync();
    Severity: Minor
    Found in eFormSDK.Base.Tests/DbTestFixture.cs - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status