Branch Coverage

blib/lib/JavaScript/Code/Element.pm
Criterion Covered Total %
branch 11 16 68.7


line true false branch
79 4 0 unless $intend > 1
90 7 3 unless (defined $parent)
92 4 3 unless defined $parent
97 3 0 if ($parent->can('elements'))
100 3 2 if &Scalar::Util::refaddr($element) == &Scalar::Util::refaddr($self)
102 0 2 unless $element->isa('JavaScript::Code::Variable')
103 0 2 if $obj eq $element
122 0 4 if not $built_in and exists $ReservedWords{$name}