Branch Coverage

blib/lib/Language/P/Toy/Value/SymbolTable.pm
Criterion Covered Total %
branch 8 18 44.4


line true false branch
26 0 0 if $self->is_main and $package eq 'main'
52 0 3233 if ($self->is_main and $packages[0] eq '' || $packages[0] eq 'main')
59 3233 0 if ($index == $#packages) { }
60 0 3233 if $sigil eq '::'
63 10 121 unless $glob or $create
64 121 3102 unless ($glob)
69 3223 0 if $sigil eq '*'
73 0 0 if (not exists $$current{'symbols'}{$subpackage}) { }
74 0 0 unless $create