PhpGitHooks\Module\PhpUnit\Infrastructure\Tool\StrictCoverageProcessor::process PHP 메소드

process() 공개 메소드

public process ( ) : float
리턴 float
    public function process()
    {
        $tool = $this->toolPathFinder->find('phpunit');
        $command = 'php ' . $tool . ' --coverage-text|grep Classes|cut -d " " -f 4|cut -d "%" -f 1';
        $process = new Process($command);
        $process->run();
        return (double) $process->getOutput();
    }
StrictCoverageProcessor