Branch Coverage

lib/SMB.pm
Criterion Covered Total %
branch 11 92 11.9


line true false branch
84 0 7 if $level > $self->log_level
87 4 3 $level == 1 ? :
103 0 0 if $level > $self->log_level
105 0 0 unless (defined $data)
111 0 0 $len > $MAX_DUMP_BYTES ? :
112 0 0 if $len > $MAX_DUMP_BYTES
117 0 0 $valid ? :
118 0 0 $valid ? :
119 0 0 $b <= 32 || $b >= 127 || $b == 37 ? :
0 0 $b == 0 ? :
0 0 $valid ? :
129 0 0 unless ($share_uri)
133 0 0 unless ($share_uri =~ m(^([/\\])\1([\w.]+(?::\d+)?)\1([^/\\]+)(?:$|\1)))
138 0 0 wantarray ? :
151 0 0 unless $dump_is_newline
166 0 0 $value =~ /"/ && !($value =~ /'/) ? :
169 0 0 if ($len > $dump_string_limit)
186 0 0 if $level >= $dump_level_limit
191 0 0 if $type
193 0 0 if (not $type) { }
0 0 elsif ($type eq 'ARRAY') { }
0 0 elsif ($type eq 'HASH') { }
0 0 elsif ($type eq 'REF') { }
0 0 elsif ($type eq 'CODE') { }
0 0 elsif ($type eq 'GLOB') { }
0 0 elsif ($type eq 'SCALAR') { }
0 0 elsif ($type eq 'JSON::PP::Boolean') { }
194 0 0 $value =~ /^-?\d+(?:\.\d+)?$/ || $inline == 2 && $value =~ /^-?\w+$/ ? :
0 0 defined $value ? :
199 0 0 if ($is_seen) { }
203 0 0 @$value > $dump_array_limit ? :
208 0 0 if ($dump_compress_array_elems and $elem eq $prev_elem)
217 0 0 if (@$value > $dump_array_limit)
224 0 0 if ($is_seen) { }
233 0 0 if ++$idx == $dump_array_limit and $size > $dump_array_limit
240 0 0 if ($size > $dump_array_limit)
261 0 0 if $value->isa($_)
263 0 0 unless $native_type
271 0 0 unless $inline
278 0 0 @_ ? :
296 30 35 if $method eq 'DESTROY'
298 0 35 unless ref $self
301 35 0 if (exists $self->{$method})
306 0 334 if @_ > 1
308 59 275 if @_
310 35 0 unless $self->can($AUTOLOAD)