| Conditions | 3 | 
| Paths | 4 | 
| Total Lines | 13 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 8 | 
| CRAP Score | 3 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 17 | 6 | public function run($command)  | 
            |
| 18 |     { | 
            ||
| 19 | 6 |         if (empty($command)) { | 
            |
| 20 | 1 | return '';  | 
            |
| 21 | }  | 
            ||
| 22 |         try { | 
            ||
| 23 | 5 | $ast = $this->lexer->readString($command);  | 
            |
| 24 | 4 | $value = $this->eval->getReturn($ast);  | 
            |
| 25 | 1 |         } catch (\Exception $exception) { | 
            |
| 26 | 1 | return $exception->getMessage();  | 
            |
| 27 | }  | 
            ||
| 28 | 4 | return $value;  | 
            |
| 29 | }  | 
            ||
| 30 | |||
| 41 |