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