Branch Coverage

blib/lib/Log/Report/Message.pm
Criterion Covered Total %
branch 36 64 56.2


line true false branch
37 0 139 if (ref $s{'_count'})
39 0 0 ref $c eq 'ARRAY' ? :
43 110 29 unless defined $s{'_join'}
45 127 12 if ($s{'_msgid'})
47 0 1 defined $s{'_append'} ? :
1 126 if $s{'_msgid'} =~ s/(\s+)$//s
50 1 126 if $s{'_msgid'} =~ s/^(\s+)//s
52 20 119 if ($s{'_plural'})
68 0 0 $msgid =~ s/\|(.*)// ? :
69 0 0 @_ && ref $_[-1] eq 'HASH' ? :
72 0 0 if (defined $plural) { }
73 0 0 unless @_ == 1
75 0 0 if ref $count eq 'ARRAY'
78 0 0 unless @_ == 0
98 0 9 ref $class ? :
104 0 15 @_ ? :
116 2 6 ref $_[0] eq 'Regexp' ? :
123 0 103 if $self->{'_lang'}
127 16 0 defined $self->{'_prepend'} ? :
0 16 defined $self->{'_append'} ? :
16 87 unless $self->{'_msgid'}
131 0 0 if defined $locale and !defined($oldloc) || $locale ne $oldloc
136 87 0 unless &blessed($domain)
140 0 87 unless defined $format
145 50 37 $self->{'_expand'} ? :
147 87 0 if defined $oldloc and !defined($locale) || $oldloc ne $locale
164 1 1 defined $self->{'_prepend'} ? :
2 0 defined $self->{'_msgid'} ? :
2 0 defined $self->{'_append'} ? :
170 12 14 if ($reversed)
171 6 6 if defined $self->{'_prepend'}
175 7 7 if defined $self->{'_append'}