private function getHistoryEntry($path)
    {
        $dom = new Document();
        $dom->load($path);
        $collection = $this->xmlDecoder->decode($dom);
        $suites = $collection->getSuites();
        $suite = reset($suites);
        $envInformations = $suite->getEnvInformations();

        $vcsBranch = null;

        if (isset($envInformations['vcs']['branch'])) {
            $vcsBranch = $envInformations['vcs']['branch'];
        }

        $summary = $suite->getSummary();
        $entry = new HistoryEntry(
            $suite->getUuid(),
            $suite->getDate(),
            $suite->getTag(),
            $vcsBranch,
            $summary->getNbSubjects(),
            $summary->getNbIterations(),
            $summary->getNbRevolutions(),
            $summary->getMinTime(),
            $summary->getMaxTime(),
            $summary->getMeanTime(),
            $summary->getMeanRelStDev(),
            $summary->getTotalTime()
        );

        return $entry;
    }