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 2 0 do { ref $_[0] eq 'HASH' } ? :
9 2 do { ref $_[0] eq 'ARRAY' } ? :
32 11 do { not ref $_[0] } ? :
43 9 defined $_[0] ? :
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+$/