public bool ExecuteTool(string userName, string path)
        {
            if (path.Contains(".git"))
            {
                path = @"C:\StaticAnalysisData\Results\" + userName;
            }
            SolutionPathFinder solnPathFinder = new SolutionPathFinder();
            string             solnPath       = solnPathFinder.SolutionFinder(path, "*.sln");

            string plogPath = solnPathFinder.SolutionFinder(path, "*.plog");

            Process pvsproc = new Process();

            pvsproc.StartInfo.FileName = @"C:\StaticAnalysisData\BatchFiles\PVS_Studio.bat";

            pvsproc.StartInfo.Arguments = String.Format("{0},{1},{2},{3}", solnPath, @"C:\StaticAnalysisData\Tools\PVS-Studio", @"C:\StaticAnalysisData\Results\" + userName, plogPath);
            pvsproc.Start();
            pvsproc.WaitForExit();


            if (File.Exists(@"C:\StaticAnalysisData\Results\" + userName + @"\Static_Analysis_Tools.plog.txt"))
            {
                return(true);
            }
            return(false);
        }
        public bool ExecuteTool(string userName, string path)
        {
            if (path.Contains(".git"))
            {
                path = @"C:\StaticAnalysisData\Results\" + userName;
            }
            SolutionPathFinder solnPathFinder = new SolutionPathFinder();
            string             solnPath       = solnPathFinder.SolutionFinder(path, "*.sln");


            Process proc = new Process();

            proc.StartInfo.FileName  = @"C:\StaticAnalysisData\BatchFiles\Resharper.bat";
            proc.StartInfo.Arguments = String.Format("{0},{1}", solnPath, @"C:\StaticAnalysisData\Results\" + userName + @"\ResharperOutput.html");
            proc.Start();
            proc.WaitForExit();

            if (!File.Exists(@"C:\StaticAnalysisData\Results\" + userName + @"\ResharperOutput.html"))
            {
                return(false);
            }
            return(true);
        }