| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 16 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 5 | 
| CRAP Score | 2 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 45 | 5 | private function checkQueryCount(): void  | 
            |
| 
                                                                                                    
                        
                         | 
                |||
| 46 |     { | 
            ||
| 47 | 5 |         if ($this->getProfile()) { | 
            |
| 48 | 5 | $this->queryCounter->checkQueryCount(  | 
            |
| 49 | 5 |                 $this->getProfile()->getCollector('db')->getQueryCount() | 
            |
| 50 | );  | 
            ||
| 51 |         } else { | 
            ||
| 52 | // @codeCoverageIgnoreStart  | 
            ||
| 53 | echo "\n".  | 
            ||
| 54 | 'Profiler is disabled, it must be enabled for the '.  | 
            ||
| 55 | 'Query Counter. '.  | 
            ||
| 56 | 'See https://github.com/liip/LiipFunctionalTestBundle#query-counter'.  | 
            ||
| 57 | "\n";  | 
            ||
| 58 | // @codeCoverageIgnoreEnd  | 
            ||
| 59 | }  | 
            ||
| 60 | 3 | }  | 
            |
| 61 | }  | 
            ||
| 62 |