Condition Coverage

blib/lib/Traceroute/Similar.pm
Criterion Covered Total %
condition 5 24 20.8


and 3 conditions

line !l l&&!r l&&r condition
132 0 0 1 defined $common and scalar @{$common;} >= 1
197 0 0 0 defined $cur_hop and !defined($last_hop) || $last_hop ne $cur_hop
210 0 0 0 defined $cur_hop and !defined($last_hop) || $last_hop ne $cur_hop
260 0 3 0 defined $traceroute_bin and $traceroute_bin ne ''
3 0 0 defined $traceroute_bin and $traceroute_bin ne '' and -x $traceroute_bin

or 3 conditions

line l !l&&r !l&&!r condition
154 0 2 22 not defined $routes->{$host}[$x]{'addr'} or $current_hop ne $routes->{$host}[$x]{'addr'}
197 0 0 0 !defined($last_hop) || $last_hop ne $cur_hop
210 0 0 0 !defined($last_hop) || $last_hop ne $cur_hop