Branch Coverage

blib/lib/Text/HyperScript.pm
Criterion Covered Total %
branch 20 22 90.9


line true false branch
54 3 248 if (ref $data eq "Text::HyperScript::NodeString")
59 127 121 if (ref $data eq "HASH")
64 2 119 if (ref $data eq "ARRAY")
74 117 11 unless (ref $data)
80 2 9 if (ref $data eq "Text::HyperScript::Boolean" and ${$data;})
86 7 2 if (ref $data eq "HASH")
92 5 3 unless (ref $value)
98 1 2 if (ref $value eq "Text::HyperScript::Boolean" and ${$value;})
104 2 0 if (ref $value eq "ARRAY")
116 2 0 if (ref $data eq "ARRAY")
125 14 123 if (@contents == 0)