private static void GetPreviousVersionStats(Report report, ReportViewModel viewReport, ReportTestStatistics latestStats)
        {
            if (report.Previous == null)
            {
                return;
            }

            var previousStats = report.Previous.Statistics;
            if (previousStats.IsEmpty)
            {
                return;
            }
                
            if (latestStats.PercentageSuccess > previousStats.PercentageSuccess)
            {
                viewReport.StateChange = ReportViewModel.ProjectStateChange.Good;
            }
            else if (latestStats.PercentageSuccess == previousStats.PercentageSuccess)
            {
                viewReport.StateChange = ReportViewModel.ProjectStateChange.Neutral;
            }
            else if (latestStats.PercentageSuccess < previousStats.PercentageSuccess)
            {
                viewReport.StateChange = ReportViewModel.ProjectStateChange.Bad;
            }
            viewReport.HasPreviousStats = true;
        }
        private Report LoadReport(string path)
        {
            var report = new Report(Path.GetFileNameWithoutExtension(path));
            IEnumerable<ReportVersion> getVersions =  GetVersions(path);
            report.Versions = getVersions.ToList();

            return report;
        }