Condition Coverage

blib/lib/FTN/Addr.pm
Criterion Covered Total %
condition 24 66 36.3


and 3 conditions

line !l l&&!r l&&r condition
35 15 0 14 defined $base_addr and ref $base_addr
15 0 14 defined $base_addr and ref $base_addr and $base_addr->isa('FTN::Addr')
100 0 0 29 1 <= $$either{'zone'} and $$either{'zone'} <= 32767
0 0 29 1 <= $$either{'zone'} and $$either{'zone'} <= 32767 and 1 <= $$either{'net'}
0 0 29 1 <= $$either{'zone'} and $$either{'zone'} <= 32767 and 1 <= $$either{'net'} and $$either{'net'} <= 32767
0 0 29 1 <= $$either{'zone'} and $$either{'zone'} <= 32767 and 1 <= $$either{'net'} and $$either{'net'} <= 32767 and -1 <= $$either{'node'}
0 0 29 1 <= $$either{'zone'} and $$either{'zone'} <= 32767 and 1 <= $$either{'net'} and $$either{'net'} <= 32767 and -1 <= $$either{'node'} and $$either{'node'} <= 32767
0 0 29 1 <= $$either{'zone'} and $$either{'zone'} <= 32767 and 1 <= $$either{'net'} and $$either{'net'} <= 32767 and -1 <= $$either{'node'} and $$either{'node'} <= 32767 and 0 <= $$either{'point'}
0 0 29 1 <= $$either{'zone'} and $$either{'zone'} <= 32767 and 1 <= $$either{'net'} and $$either{'net'} <= 32767 and -1 <= $$either{'node'} and $$either{'node'} <= 32767 and 0 <= $$either{'point'} and $$either{'point'} <= 32767
0 0 29 1 <= $$either{'zone'} and $$either{'zone'} <= 32767 and 1 <= $$either{'net'} and $$either{'net'} <= 32767 and -1 <= $$either{'node'} and $$either{'node'} <= 32767 and 0 <= $$either{'point'} and $$either{'point'} <= 32767 and length $$either{'domain'} <= 8
0 0 29 1 <= $$either{'zone'} and $$either{'zone'} <= 32767 and 1 <= $$either{'net'} and $$either{'net'} <= 32767 and -1 <= $$either{'node'} and $$either{'node'} <= 32767 and 0 <= $$either{'point'} and $$either{'point'} <= 32767 and length $$either{'domain'} <= 8 and index($$either{'domain'}, '.') == -1
202 0 0 3 lc $_[0]->domain eq lc $_[1]->domain && $_[0]->zone == $_[1]->zone && $_[0]->net == $_[1]->net && $_[0]->node == $_[1]->node && $_[0]->point == $_[1]->point

or 2 conditions

line l !l condition
62 7 10 $4 || 0
77 2 5 $2 || 0
86 0 4 $3 || 0

or 3 conditions

line l !l&&r !l&&!r condition
32 9 20 0 ref $either || $either
122 1 0 0 $d || $default_domain
210 0 0 0 lc $_[1]->domain cmp lc $_[0]->domain or $_[1]->zone <=> $_[0]->zone
0 0 0 lc $_[1]->domain cmp lc $_[0]->domain or $_[1]->zone <=> $_[0]->zone or $_[1]->net <=> $_[0]->net
0 0 0 lc $_[1]->domain cmp lc $_[0]->domain or $_[1]->zone <=> $_[0]->zone or $_[1]->net <=> $_[0]->net or $_[1]->node <=> $_[0]->node
213 1 0 0 lc $_[0]->domain cmp lc $_[1]->domain or $_[0]->zone <=> $_[1]->zone
1 0 0 lc $_[0]->domain cmp lc $_[1]->domain or $_[0]->zone <=> $_[1]->zone or $_[0]->net <=> $_[1]->net
0 0 0 lc $_[0]->domain cmp lc $_[1]->domain or $_[0]->zone <=> $_[1]->zone or $_[0]->net <=> $_[1]->net or $_[0]->node <=> $_[1]->node