Badgerati/Edison

View on GitHub
Edison.Engine/Contexts/EdisonContext.cs

Summary

Maintainability
C
1 day
Test Coverage

File EdisonContext.cs has 417 lines of code (exceeds 250 allowed). Consider refactoring.
Open

using Edison.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
Severity: Minor
Found in Edison.Engine/Contexts/EdisonContext.cs - About 6 hrs to fix

    Method RunThreads has 73 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            private void RunThreads(Assembly assembly, Exception globalSetupEx)
            {
    
                #region Fetch tests to run
    
    
    Severity: Major
    Found in Edison.Engine/Contexts/EdisonContext.cs - About 2 hrs to fix

      Method Run has 40 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              public TestResultDictionary Run()
              {
                  //run validation first
                  Validate();
      
      
      Severity: Minor
      Found in Edison.Engine/Contexts/EdisonContext.cs - About 1 hr to fix

        Method WriteResultsToFile has 32 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                private void WriteResultsToFile()
                {
                    if (DisableFileOutput)
                    {
                        Logger.Instance.WriteMessage("Output file creation disabled");
        Severity: Minor
        Found in Edison.Engine/Contexts/EdisonContext.cs - About 1 hr to fix

          There are no issues that match your filters.

          Category
          Status