Badgerati/Edison

View on GitHub
Edison.GUI/Form1.cs

Summary

Maintainability
D
2 days
Test Coverage

File Form1.cs has 556 lines of code (exceeds 250 allowed). Consider refactoring.
Open

using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Linq;
Severity: Major
Found in Edison.GUI/Form1.cs - About 1 day to fix

    Class EdisonForm has 38 methods (exceeds 20 allowed). Consider refactoring.
    Open

        public partial class EdisonForm : Form
        {
    
            #region Repositories
    
    
    Severity: Minor
    Found in Edison.GUI/Form1.cs - About 5 hrs to fix

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

              private void SetProgress(int progress)
              {
                  if (TestProgressBar.IsDisposed)
                  {
                      return;
      Severity: Minor
      Found in Edison.GUI/Form1.cs - About 1 hr to fix

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

                private void AddFailedTestResult(TestResult result)
                {
                    if (result.State == TestResultState.Success)
                    {
                        return;
        Severity: Minor
        Found in Edison.GUI/Form1.cs - About 1 hr to fix

          Method RunTests has 28 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  private void RunTests(List<string> tests, List<string> fixtures)
                  {
                      if (Assembly == default(Assembly) || (MainThread != default(Thread) && MainThread.ThreadState == ThreadState.Running))
                      {
                          return;
          Severity: Minor
          Found in Edison.GUI/Form1.cs - About 1 hr to fix

            There are no issues that match your filters.

            Category
            Status