Condition Coverage

blib/lib/Net/Netcat.pm
Criterion Covered Total %
condition 9 35 25.7


and 3 conditions

line !l l&&!r l&&r condition
56 0 2 0 $ret != 0 and $ret != 1
95 2 0 0 defined $ncdest and $ncdest =~ /\S/
2 0 0 defined $ncdest and $ncdest =~ /\S/ and defined $uflag
0 0 0 defined $ncdest and $ncdest =~ /\S/ and defined $uflag and $uflag == 1
2 0 0 defined $ncport and $ncport =~ /\d/
2 0 0 defined $ncport and $ncport =~ /\d/ and defined $lflag
0 0 0 defined $ncport and $ncport =~ /\d/ and defined $lflag and $lflag == 1
2 0 0 defined $ncdest and $ncdest =~ /\S/
2 0 0 defined $ncdest and $ncdest =~ /\S/ and defined $ncport
0 0 0 defined $ncdest and $ncdest =~ /\S/ and defined $ncport and $ncport =~ /\d/
103 0 0 2 defined $printflg and $printflg == 1

or 2 conditions

line l !l condition
48 0 2 shift() || 'nc'