JohnKary\PHPUnit\Listener\SpeedTrapListener::getHiddenCount PHP Méthode

getHiddenCount() protected méthode

Find how many slow tests occurred that won't be shown due to list length.
protected getHiddenCount ( ) : integer
Résultat integer Number of hidden slow tests
    protected function getHiddenCount()
    {
        $total = count($this->slow);
        $showing = $this->getReportLength();
        $hidden = 0;
        if ($total > $showing) {
            $hidden = $total - $showing;
        }
        return $hidden;
    }