Branch Coverage

blib/lib/YATT/Lite/Entities.pm
Criterion Covered Total %
branch 15 34 44.1


line true false branch
36 14 36 unless @opts
40 25 124 if (my $sub = $pack->can("define_$exp")) { }
22 102 elsif ($exp =~ /^-(\w+)$/) { }
102 0 elsif ($exp =~ /^\*(\w+)$/) { }
0 0 elsif ($sub = $pack->can($exp)) { }
43 0 22 unless $sub = $pack->can("declare_$1")
47 0 102 unless $sub = $pack->can("symbol_$1")
50 0 102 unless (defined $val)
89 0 0 unless (*{$my;}{'CODE'})
113 0 0 if defined $str and $str ne ''
121 0 0 unless defined $list and ref $list eq 'ARRAY'
127 11 0 if defined $_
148 3 0 if (defined $value) { }
160 0 3 unless @_
168 4 1 unless $multi{$key}++
194 0 0 $is_uts ? :
230 0 0 unless ref $code