public function getCoverageBadge(Repo $repo)
    {
        if ($repo->getCoverageBadgeHash()) {
            return sprintf(
                '<img src="%s" />',
                $this->helper->getCoverageBadgeUrl(
                    $repo->getSlug(),
                    $repo->getType(),
                    $repo->getCoverageBadgeHash()
                )
            );
        }

        return '';
    }