Branch Coverage

lib/Badger/Class/Vars.pm
Criterion Covered Total %
branch 27 34 79.4


line true false branch
34 4 2 if @_ > 2
41 8 1 @_ == 1 ? :
45 0 9 if &is_object("Badger::Class", $target)
49 2 7 unless ref $vars
53 3 6 if ref $vars eq "ARRAY"
56 0 9 unless ref $vars eq "HASH"
59 0 9 unless %$vars
74 0 37 unless $symbol =~ /^([\$\@\%])?(\w+)$/
84 22 15 if ($sigil eq '$') { }
8 7 elsif ($sigil eq '@') { }
7 0 elsif ($sigil eq '%') { }
86 0 19 ref $ref eq 'SCALAR' ? :
19 3 defined $ref ? :
90 4 1 ref $ref eq 'ARRAY' ? :
5 3 defined $ref ? :
95 4 0 ref $ref eq 'HASH' ? :
4 3 defined $ref ? :