Branch Coverage

lib/YAX/Element.pm
Criterion Covered Total %
branch 8 32 25.0


line true false branch
36 0 259 if @_
44 0 0 if $deep
55 30 18 if @_
72 0 6 if (UNIVERSAL::isa($node, 'YAX::Fragment')) { }
84 0 0 if ($$self[$x] == $ref)
85 0 0 if (UNIVERSAL::isa($new, 'YAX::Fragment')) { }
97 0 0 unless $chld->parent == $self
99 0 0 if ($$self[$x] == $chld)
110 0 0 unless (defined $ref)
111 0 0 if (UNIVERSAL::isa($new, 'YAX::Fragment')) { }
120 0 0 if ($$self[$x] == $ref)
121 0 0 if (UNIVERSAL::isa($new, 'YAX::Fragment')) { }
133 0 6 unless (UNIVERSAL::isa($node, 'YAX::Node'))
137 0 6 if (defined $prnt and $prnt != $self)
149 0 2 unless @{$self->children;}
152 2 0 $atts ? :