Branch Coverage

blib/lib/Net/IMP.pm
Criterion Covered Total %
branch 8 16 50.0


line true false branch
132 0 1 if ($basename =~ s/\[(?:(\w+)\+)?(\d+)\]$//) { }
134 0 0 if ($base)
135 0 0 unless my $offset = $atoi{$base}
140 0 1 unless $basenum = getservbyname($basename, 'tcp') || getservbyname($basename, 'udp')
153 5 1 $name ne '' ? :
154 0 6 if exists $atoi{$lname}
155 5 1 $diff >= 0 ? :
156 0 6 if (my $s = $itoa{$lnum} || $itoa{-$lnum})