Branch Coverage

lib/Log/Report/Template/Textdomain.pm
Criterion Covered Total %
branch 17 40 42.5


line true false branch
41 2 5 if (my $only = $args->{'only_in_directory'})
42 2 0 ref $only eq 'ARRAY' ? :
51 0 7 unless $self->{'LRTT_templ'} = $args->{'templater'}
62 1 0 unless ref $domain eq "Log::Report::Domain"
81 1 2 unless my $only = $self->{'LRTT_only_in'}
104 2 2 @_ && ref $_[-1] eq 'HASH' ? :
105 0 4 $msgid =~ s/\|(.*)// ? :
106 0 4 if (defined $plural and not defined $params->{'_count'})
107 0 0 unless @_
110 0 4 if @_
122 4 4 unless defined $_[0]
138 0 0 @_ && ref $_[-1] eq 'HASH' ? :
139 0 0 if @_
140 0 0 if @_
145 0 0 $msgid =~ s/\|(.*)// ? :
147 0 0 unless defined $plural or not defined $params->{'_count'}
150 0 0 unless not defined $plural or defined $params->{'_count'}
153 0 0 if $params->{'_error'}
169 2 0 if ($stash)
171 1 1 if defined $value and length $value