Branch Coverage

blib/lib/WebService/GData/Node/AbstractEntity.pm
Criterion Covered Total %
branch 21 28 75.0


line true false branch
20 24 364 if (@_ == 1)
34 22 1 if ($$this{$func})
35 22 0 if (ref $$this{$func}) { }
36 13 9 unless ref $val
45 0 1 if ($code)
58 35 149 if $this->_entity->can($func)
63 142 7 if ($$this{$func} and ref($$this{$func}) =~ /WebService/)
65 76 66 if ref($$this{$func}) =~ /array|collection/i
67 47 19 if (@{$$this{$func}->attributes;} == 0)
70 47 0 $$this{$func}{'text'} ? :
78 7 0 if $this->_entity->__get($public)
79 0 0 if $this->_entity->{$public}
92 5 14 if ($text)
95 0 14 unless $$this{$stored_attr}->text