Branch Coverage

blib/lib/Net/NetSend.pm
Criterion Covered Total %
branch 0 86 0.0


line true false branch
85 0 0 if (length $message < 128)
96 0 0 if (length $message > 4000)
117 0 0 if $debug
146 0 0 unless my $host = inet_aton($target_ip)
148 0 0 unless socket $sock, 2, 2, $proto
150 0 0 unless connect $sock, $dest_addr
173 0 0 unless ($answer_received)
175 0 0 if $debug
179 0 0 if (length $nbanswer == 0)
182 0 0 if $debug
186 0 0 if (length $nbanswer < 20)
189 0 0 if $debug
206 0 0 if ($debug)
213 0 0 if ($service eq "\cC")
223 0 0 if @names03 > 0
229 0 0 if $debug
249 0 0 unless my $host = inet_aton($mbtarget_ip)
250 0 0 unless socket $sock, 2, 1, $proto
252 0 0 unless connect $sock, $dest_addr
279 0 0 if (not $init_resp =~ /^$NB_SESSION_ESTABLISHED/) { }
292 0 0 if $confirm_packets
386 0 0 if (length $resp < 10)
391 0 0 if $die
395 0 0 if (substr($resp, 9, 1) ne $SMB_HEADER_ERROR_CLASS_SUCCESS) { }
400 0 0 if $die
403 0 0 if $confirm_success
444 0 0 unless my $host = inet_aton($target_ip)
446 0 0 unless socket $sock, 2, 1, $proto
449 0 0 unless connect $sock, $dest_addr
473 0 0 unless ($answer_received)
474 0 0 if ($confirm_packets)
491 0 0 if (not $init_resp =~ /^$NB_SESSION_ESTABLISHED/) { }
501 0 0 if $confirm_packets
520 0 0 if $enctype ne $NB_SESSION_MESSAGE
536 0 0 if ($type eq $SMB_HEADER_SEND_SINGLE_BLOCK_MSG)
570 0 0 if (shift()) { }
584 0 0 if (length $string > 255)
618 0 0 if ($debug)
624 0 0 if ($debug)
631 0 0 if $type ne $SMB_HEADER_SEND_SINGLE_BLOCK_MSG and $type ne $SMB_HEADER_SEND_MULTI_BLOCK_MSG_START and $type ne $SMB_HEADER_SEND_MULTI_BLOCK_MSG_TEXT and $type ne $SMB_HEADER_SEND_MULTI_BLOCK_MSG_END
659 0 0 if substr($text, $i - 1, 1) eq "\000"
661 0 0 if $i % 8 == 0 and $i != 0
668 0 0 if length $param == 1