| blib/lib/Authen/TacacsPlus.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 6 | 36 | 16.6 | 
| line | true | false | branch | 
|---|---|---|---|
| 29 | 0 | 1 | if (ref $_[0] eq 'ARRAY') { } | 
| 37 | 1 | 0 | $h{'Timeout'} ? : | 
| 38 | 1 | 0 | $h{'Port'} ? : | 
| 43 | 1 | 0 | if ($res < 0) | 
| 51 | 0 | 0 | $h{'Port'} ? : | 
| 0 | 0 | $h{'Timeout'} ? : | |
| 53 | 0 | 0 | if $res >= 0 | 
| 54 | 0 | 0 | if $res >= 0 | 
| 57 | 1 | 0 | if $res < 0 | 
| 70 | 0 | 0 | unless ($res or errmsg() =~ /Authentication failed/) | 
| 78 | 0 | 0 | $h{'Port'} ? : | 
| 0 | 0 | $h{'Timeout'} ? : | |
| 80 | 0 | 0 | if $ret < 0 | 
| 82 | 0 | 0 | if $res | 
| 93 | 0 | 1 | if ($self->{'open'}) | 
| 115 | 0 | 0 | @_ ? : | 
| 116 | 0 | 0 | if ($! != 0) | 
| 117 | 0 | 0 | if ($! =~ /Invalid/) { } |