Condition Coverage

blib/lib/Message/Router.pm
Criterion Covered Total %
condition 20 38 52.6


and 2 conditions

line l !l condition
72 0 1 $message->{'static_forwards'} and ref $message->{'static_forwards'} and ref $message->{'static_forwards'} eq 'ARRAY' and scalar @{$message->{'static_forwards'};}

and 3 conditions

line !l l&&!r l&&r condition
19 0 16 0 $new_config and ref $new_config eq 'HASH'
23 11 2 1 ref $new_config->{'routes'} ne 'ARRAY' and ref $new_config->{'routes'} ne 'HASH'
68 1 0 5 ref $message and ref $message eq 'HASH'
72 4 0 1 $message->{'static_forwards'} and ref $message->{'static_forwards'}
4 0 1 $message->{'static_forwards'} and ref $message->{'static_forwards'} and ref $message->{'static_forwards'} eq 'ARRAY'
84 0 0 1 $forward_rec->{'forward'} && ref $forward_rec->{'forward'}
93 0 0 1 $forward_rec->{'transform'} and ref $forward_rec->{'transform'}
0 0 1 $forward_rec->{'transform'} and ref $forward_rec->{'transform'} and ref $forward_rec->{'transform'} eq 'HASH'
137 3 0 1 $route->{'.router_control'} and ref $route->{'.router_control'} eq 'HASH'
3 1 0 $route->{'.router_control'} and ref $route->{'.router_control'} eq 'HASH' and $route->{'.router_control'}{'short_circuit'}

or 3 conditions

line l !l&&r !l&&!r condition
78 0 0 1 not ref $forward_recs or ref $forward_recs ne 'ARRAY'
84 0 0 1 not $forward_rec->{'forward'} && ref $forward_rec->{'forward'} or ref $forward_rec->{'forward'} ne 'HASH'