| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 8 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 5 | 
| CRAP Score | 2 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 30 | 1 | public function lists($id = null)  | 
            |
| 31 |     { | 
            ||
| 32 | 1 | $link = $id ? $this->getLink().'?id='.$id : $this->getLink();  | 
            |
| 33 | 1 | $this->request->performRequest($link, [], 'application/json', 'GET');  | 
            |
| 34 | 1 | $this->response = $this->request->getResponse();  | 
            |
| 35 | |||
| 36 | 1 | return $this->parseResponseToEntities();  | 
            |
| 37 | }  | 
            ||
| 38 | |||
| 60 | }  |