Edison.GUI/Form1.cs
File Form1.cs
has 556 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Linq;
Class EdisonForm
has 38 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public partial class EdisonForm : Form
{
#region Repositories
Method SetProgress
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void SetProgress(int progress)
{
if (TestProgressBar.IsDisposed)
{
return;
Method AddFailedTestResult
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void AddFailedTestResult(TestResult result)
{
if (result.State == TestResultState.Success)
{
return;
Method RunTests
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void RunTests(List<string> tests, List<string> fixtures)
{
if (Assembly == default(Assembly) || (MainThread != default(Thread) && MainThread.ThreadState == ThreadState.Running))
{
return;