Hal\MutaTesting\Mutation\Consolidation\TotalService::getScore PHP Method

getScore() public method

public getScore ( )
    public function getScore()
    {
        $mutants = $this->getMutants();
        $survivors = $this->getSurvivors();
        if ($mutants->count() === 0) {
            return '--';
        }
        return 100 - ceil($survivors->count() / $mutants->count() * 100);
    }