hexlet-codebattle/codebattle

View on GitHub
services/app/apps/runner/dockers/csharp/check/Checker.cs

Summary

Maintainability
A
2 hrs
Test Coverage

Method Test has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static void Test(bool success)
    {
      TextWriter oldOut = Console.Out;
      StringBuilder sb = new StringBuilder();
      TextWriter newOut = new StringWriter(sb);
Severity: Minor
Found in services/app/apps/runner/dockers/csharp/check/Checker.cs - About 1 hr to fix

    Method AssertSolution has 8 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        static bool AssertSolution(object result, object expected, IList<object> args, string output, double executionTime, IList<AssertResult> executionResults, CompareLogic compareLogic, bool success)
    Severity: Major
    Found in services/app/apps/runner/dockers/csharp/check/Checker.cs - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status