microting/eform-sdk-dotnet

View on GitHub
eFormSDK.Integration.Base.CoreTests/CoreTestSite.cs

Summary

Maintainability
C
7 hrs
Test Coverage

Method Core_Site_SiteDelete_ReturnsTrue has 60 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        [Test] //Using Communicatorn needs httpMock
        public async Task Core_Site_SiteDelete_ReturnsTrue()
        {
            // Arrange
            string siteName = Guid.NewGuid().ToString();
Severity: Major
Found in eFormSDK.Integration.Base.CoreTests/CoreTestSite.cs - About 2 hrs to fix

    File CoreTestSite.cs has 259 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    using System;
    using System.IO;
    using System.Linq;
    using System.Reflection;
    using System.Threading.Tasks;
    Severity: Minor
    Found in eFormSDK.Integration.Base.CoreTests/CoreTestSite.cs - About 2 hrs to fix

      Method Core_Site_SiteUpdate_returnsTrue has 38 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              [Test] //Using Communicatorn needs httpMock
              public async Task Core_Site_SiteUpdate_returnsTrue()
              {
                  // Arrange
                  // Arrange
      Severity: Minor
      Found in eFormSDK.Integration.Base.CoreTests/CoreTestSite.cs - About 1 hr to fix

        Method DoSetup has 26 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                public override async Task DoSetup()
                {
                    #region Setup SettingsTableContent
        
                    _dbContextHelper = new DbContextHelper(ConnectionString);
        Severity: Minor
        Found in eFormSDK.Integration.Base.CoreTests/CoreTestSite.cs - About 1 hr to fix

          There are no issues that match your filters.

          Category
          Status