| Conditions | 3 | 
| Paths | 4 | 
| Total Lines | 8 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 4 | 
| CRAP Score | 3.072 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 39 | 4 | public static function mapLocatorLabelToRenderVariable($locatorTerm)  | 
            |
| 40 |     { | 
            ||
| 41 | 4 |         if ($locatorTerm instanceof Locator) { | 
            |
| 42 | $locatorTerm = (string)$locatorTerm;  | 
            ||
| 43 | }  | 
            ||
| 44 | return  | 
            ||
| 45 | 4 | array_key_exists($locatorTerm, self::LABEL_TO_VARIABLE_MAP) ?  | 
            |
| 46 | 4 | self::LABEL_TO_VARIABLE_MAP[$locatorTerm] : $locatorTerm;  | 
            |
| 47 | }  | 
            ||
| 49 |