Branch Coverage

blib/lib/Log/Report/Minimal.pm
Criterion Covered Total %
branch 22 52 42.3


line true false branch
52 3 0 unless ($textdomain)
66 0 12 if (@_ == 1 and &blessed($_[0]))
71 0 12 if (@_ == 2)
73 0 0 if $_[1] eq 'DELETE'
74 0 0 if $_[1] eq 'EXISTS'
81 0 12 @_ ? :
91 0 2 exists $opts->{'is_fatal'} ? :
92 0 2 unless $need{$reason} or $stop
94 0 2 unless &is_reason($reason)
98 0 2 if &use_errno($reason) and not defined $opts->{'errno'}
101 0 2 if @_ % 2
105 1 1 if ($stop) { }
124 0 0 if @_ % 2
134 0 0 @_ && ref $_[0] eq 'HASH' ? :
155 0 1 unless @_ % 2
164 0 0 $count == 1 ? :
171 1 0 $count == 1 ? :
178 0 1 $count == 1 ? :
192 2 3 @_ && $_[0] =~ /^\+\d+$/ ? :
193 2 3 @_ % 2 ? :
202 0 5 if defined $opts{'mode'}
205 0 5 if (my $in = $opts{'import'}) { }
206 0 0 ref $in eq 'ARRAY' ? :
212 5 0 if ($syntax eq 'SHORT') { }
0 0 elsif ($syntax ne 'REPORT' and $syntax ne 'LONG') { }
223 0 5 if %opts