Branch Coverage

blib/lib/Localizer/Resource.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
24 0 6 @_ == 1 ? :
26 0 6 unless (exists $args{'dictionary'})
31 6 0 if ref $args{'dictionary'} eq 'HASH'
36 2 4 if (exists $args{'functions'}) { }
54 3 3 if ($self->precompile)
67 0 27 unless defined $compiled
69 18 9 if (ref $compiled eq 'CODE') { }
9 0 elsif (ref $compiled eq 'SCALAR') { }
81 5 29 if (my $code = $self->compiled->{$msgid})