| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 15 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 0 | 
| CRAP Score | 12 | 
| Changes | 0 | ||
| 1 | <?php | ||
| 29 | public function runInternal(ElementInterface $element) | ||
| 30 |     { | ||
| 31 | // Check access | ||
| 32 |         if (($access = $this->checkAccess($element)) !== true) { | ||
| 33 | return $access; | ||
| 34 | } | ||
| 35 | |||
| 36 | if (!$this->performAction( | ||
| 37 | $this->populate($element) | ||
| 38 |         )) { | ||
| 39 | return $this->handleFailResponse($element); | ||
| 40 | } | ||
| 41 | |||
| 42 | return $this->handleSuccessResponse($element); | ||
| 43 | } | ||
| 44 | |||
| 54 |