gmarokov/dotnet-trx2sonar

View on GitHub
TrxToSonar/Extensions.cs

Summary

Maintainability
A
1 hr
Test Coverage

Method GetTestFile has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        public static string GetTestFile(this UnitTest unitTest, string solutionDirectory, bool useAbsolutePath, bool usePDBFile)
        {
            if (usePDBFile && System.IO.File.Exists(Path.ChangeExtension(unitTest.Storage, "pdb")))
            {
                return unitTest.GetFilePathFromPDB();
Severity: Minor
Found in TrxToSonar/Extensions.cs - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status