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

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

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

@param Repo $repo
@return string
Get Repo coverage badge