| Conditions | 3 | 
| Paths | 2 | 
| Total Lines | 15 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 9 | 
| CRAP Score | 3 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 22 | 1 | public function pass(FuncCall $funcCall, Context $context)  | 
            |
| 23 |     { | 
            ||
| 24 | 1 | $functionName = $this->resolveFunctionName($funcCall, $context);  | 
            |
| 25 | 1 |         if (!$functionName || !isset($this->map[$functionName])) { | 
            |
| 26 | 1 | return false;  | 
            |
| 27 | }  | 
            ||
| 28 | |||
| 29 | 1 | $context->notice(  | 
            |
| 30 | 1 | 'sleep.usage',  | 
            |
| 31 | 1 |             sprintf('Function %s() can cause a denial of service vulnerability.', $functionName), | 
            |
| 32 | $funcCall  | 
            ||
| 33 | 1 | );  | 
            |
| 34 | |||
| 35 | 1 | return true;  | 
            |
| 36 | }  | 
            ||
| 37 | }  | 
            ||
| 38 |