Branch Coverage

blib/lib/Dist/Zilla/Role/HashDumper.pm
Criterion Covered Total %
branch 9 18 50.0


line true false branch
40 0 7 if ($data eq "{}\n") { }
43 0 7 unless $data =~ s/^\{\n//
44 0 7 unless $data =~ s/\n\}\n\z/,/
70 7 22 unless defined $hash->{$key}
74 1 21 if (not $reftype) { }
21 0 elsif ($reftype eq 'HASH') { }
0 0 elsif ($reftype eq 'ARRAY') { }
75 0 21 unless %{$hash->{$key};}
76 0 0 unless @{$hash->{$key};}