TrxToSonar/Extensions.cs
Method GetTestFile
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
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();