| Conditions | 5 | 
| Paths | 5 | 
| Total Lines | 15 | 
| Code Lines | 11 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 0 | 
| CRAP Score | 30 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 55 | public function className()  | 
            ||
| 56 |     { | 
            ||
| 57 |         switch (strtolower($this->name)) { | 
            ||
| 58 | case self::ROLE_USER:  | 
            ||
| 59 | return 'tag';  | 
            ||
| 60 | case self::ROLE_MANAGER:  | 
            ||
| 61 | return 'success';  | 
            ||
| 62 | case self::ROLE_DEVELOPER:  | 
            ||
| 63 | return 'info';  | 
            ||
| 64 | case self::ROLE_ADMIN:  | 
            ||
| 65 | return 'primary';  | 
            ||
| 66 | }  | 
            ||
| 67 | |||
| 68 | return 'primary';  | 
            ||
| 69 | }  | 
            ||
| 70 | }  | 
            ||
| 71 |