Branch Coverage

blib/lib/YATT/Lite/XHF/Dumper.pm
Criterion Covered Total %
branch 17 18 94.4


line true false branch
23 12 26 if (@_ == 1 or not defined $_[0] or ref $_[0]) { }
22 4 elsif ($_[0] =~ /^$YATT::Lite::XHF::Dumper::cc_name+$/) { }
37 9 43 if (not defined $_[0]) { }
32 11 elsif (not ref $_[0]) { }
9 2 elsif (ref $_[0] eq 'ARRAY') { }
2 0 elsif (ref $_[0] eq 'HASH') { }
53 3 33 if ($str =~ s/\n$// or $str =~ /^\s+|\s+$/s) { }
66 4 5 if (@$item and @$item % 2 == 0 and looks_like_hash($item)) { }
77 1 8 if ref $item->[$i] or not $item->[$i] =~ /^$YATT::Lite::XHF::Dumper::cc_name+$/