Condition Coverage

blib/lib/POE/Component/Client/Traceroute.pm
Criterion Covered Total %
condition 49 86 56.9


and 2 conditions

line l !l condition
199 2 0 DEBUG() and warn "TR: Starting traceroute to $host\n"

and 3 conditions

line !l l&&!r l&&r condition
19 1 0 0 $^O eq 'MSWin32' and $^V eq v5.8.6
93 1 0 0 $^O eq 'MSWin32' and not $useicmp
360 0 1 0 $$session{'options'}{'sourceaddress'} and $$session{'options'}{'sourceaddress'} ne '0.0.0.0'
548 3 24 43 $type != 0 and $rawcode != 8
599 0 0 70 $trsessionid and $from_ip
604 43 27 0 $$session{'options'}{'useicmp'} and $from_port != $$session{'lastseq'}
27 43 0 not $$session{'options'}{'useicmp'} and $from_port != $$session{'lastport'}
835 39 2 76 exists $row{'routerip'} and $routerip
41 2 74 exists $row{'routerip'} and $routerip and $row{'routerip'}
4 58 16 exists $row{'routerip'} and $routerip and $row{'routerip'} and $row{'routerip'} ne $routerip

or 2 conditions

line l !l condition
77 1 0 delete $params{'alias'} || 'tracer'
78 1 0 delete $params{'firsthop'} || 1
79 1 0 delete $params{'maxttl'} || 32
80 1 0 delete $params{'timeout'} || undef
81 1 0 delete $params{'querytimeout'} || 3
82 1 0 delete $params{'queries'} || 3
83 1 0 delete $params{'baseport'} || 33434
84 1 0 delete $params{'packetlen'} || 68
85 1 0 delete $params{'sourceaddress'} || undef
86 0 1 delete $params{'device'} || undef
87 0 1 delete $params{'perhoppostback'} || 0
88 0 1 delete $params{'useicmp'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
90 0 0 1 delete $params{'debug'} || $POE::Component::Client::Traceroute::debug
91 0 0 1 delete $params{'debugsocket'} || $POE::Component::Client::Traceroute::debug_socket
112 0 0 1 $packetlen > 1492 or $packetlen < 68
246 0 0 2 $options{'packetlen'} > 1492 or $options{'packetlen'} < 68
327 0 0 1 $$session{'options'}{'device'} or $$session{'options'}{'sourceaddress'} ne '0.0.0.0'
460 1 44 0 not exists $$session{'lastport'} or $$session{'lastport'} != $port
537 65 2 3 $type == 11 or $type == 3
67 3 0 $type == 11 or $type == 3 or $type == 0
604 0 0 70 $$session{'options'}{'useicmp'} and $from_port != $$session{'lastseq'} or not $$session{'options'}{'useicmp'} and $from_port != $$session{'lastport'}
780 1 1 22 $$session{'hop'} > $$session{'options'}{'maxttl'} or $$session{'stop'}