Branch Coverage

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


line true false branch
88 0 8 if $level > $self->log_level
91 4 4 $level == 1 ? :
107 0 0 if $level > $self->log_level
109 0 0 unless (defined $data)
115 0 0 $len > $MAX_DUMP_BYTES ? :
116 0 0 if $len > $MAX_DUMP_BYTES
121 0 0 $valid ? :
122 0 0 $valid ? :
123 0 0 $b <= 32 || $b >= 127 || $b == 37 ? :
0 0 $b == 0 ? :
0 0 $valid ? :
133 0 0 unless ($share_uri)
137 0 0 unless ($share_uri =~ m(^([/\\])\1([\w.]+(?::\d+)?)\1([^/\\]+)(?:$|\1)))
142 0 0 wantarray ? :
155 0 0 unless $dump_is_newline
170 0 0 $value =~ /"/ && !($value =~ /'/) ? :
173 0 0 if ($len > $dump_string_limit)
190 0 0 if $level >= $dump_level_limit
195 0 0 if $type
197 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') { }
198 0 0 $value =~ /^-?\d+(?:\.\d+)?$/ || $inline == 2 && $value =~ /^-?\w+$/ ? :
0 0 defined $value ? :
203 0 0 if ($is_seen) { }
207 0 0 @$value > $dump_array_limit ? :
212 0 0 if ($dump_compress_array_elems and $elem eq $prev_elem)
221 0 0 if (@$value > $dump_array_limit)
228 0 0 if ($is_seen) { }
237 0 0 if ++$idx == $dump_array_limit and $size > $dump_array_limit
244 0 0 if ($size > $dump_array_limit)
265 0 0 if $value->isa($_)
267 0 0 unless $native_type
275 0 0 unless $inline
282 0 0 @_ ? :
300 34 46 if $method eq 'DESTROY'
302 0 46 unless ref $self
305 46 0 if (exists $self->{$method})
310 0 512 if @_ > 1
312 124 388 if @_
314 46 0 unless $self->can($AUTOLOAD)