| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 33 | private function process() |
||
| 34 | { |
||
| 35 | $service = new ProblemService(); |
||
| 36 | |||
| 37 | $this->statistics = []; |
||
| 38 | $resultCount = $service->getResultCount($this->problem->id); |
||
| 39 | foreach ($resultCount as $result) { |
||
| 40 | $this->statistics[$result->result] = $result->user_count; |
||
| 41 | $this->total += $result->user_count; |
||
| 42 | } |
||
| 74 |