Condition Coverage

blib/lib/Net/MitM.pm
Criterion Covered Total %
condition 33 51 64.7


and 3 conditions

line !l l&&!r l&&r condition
322 0 0 16 defined $$self{'verbose'} and $$self{'verbose'} <= 0
424 5 171 2 defined $interval and $interval == 0
537 0 0 18 $$this{'verbose'} and $$this{'log_file'}
835 270 0 2 $callback_behaviour ne 'readonly' and defined $new_msg
1161 2 0 23 $$this{'timer_interval'} and $$this{'timer_callback'}
1202 7 166 45 $$this{'LISTEN'} and vec $rout, fileno $$this{'LISTEN'}, 1
1208 202 166 0 not $$each{'CLIENT'} and $each != $this
1209 166 80 122 $$each{'CLIENT'} and vec $rout, fileno $$each{'CLIENT'}, 1
1226 28 0 15 $$this{'stop_when_idle'} and not @{$$this{'children'};}
1237 254 37 33 $$each{'SERVER'} and vec $rout, fileno $$each{'SERVER'}, 1
1246 0 0 0 $$this{'stop_when_idle'} and not @{$$this{'children'};}

or 2 conditions

line l !l condition
574 4 146 shift() || 1
576 150 0 $$this{'stop_when_idle'} || '--undefined--'
833 293 2 $$this{$direction . '_callback_behaviour'} || 'conditional'
1011 0 493 $$this{'protocol'} || 'tcp'
1221 15 28 $$this{'stop_when_idle'} || '--undefined--'
1317 0 0 shift() || undef

or 3 conditions

line l !l&&r !l&&!r condition
136 167 0 0 shift() || $$this{'remote_port_num'}
835 23 0 272 $callback_behaviour eq 'modify' or $callback_behaviour ne 'readonly' and defined $new_msg