| blib/lib/MooX/Failover.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 20 | 24 | 83.3 | 
| line | true | false | branch | 
|---|---|---|---|
| 252 | 6 | 0 | if (my $ref = ref $args) { } | 
| 254 | 6 | 0 | if $ref eq 'ARRAY' | 
| 255 | 0 | 0 | if $ref eq 'HASH' | 
| 274 | 1 | 9 | unless $next{'class'} | 
| 276 | 1 | 8 | unless try_load_class($next{'class'}) | 
| 280 | 1 | 7 | if $next{'class'} eq $caller | 
| 285 | 1 | 6 | unless $next{'class'}->can($next{'constructor'}) | 
| 288 | 3 | 3 | unless exists $next{'err_arg'} | 
| 289 | 3 | 3 | unless exists $next{'class_arg'} | 
| 298 | 5 | 1 | if defined $next{'err_arg'} | 
| 299 | 5 | 1 | if defined $next{'class_arg'} | 
| 301 | 1 | 5 | if defined $next{'orig_arg'} |