Branch Coverage

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


line true false branch
58 3 0 unless ($textdomain)
69 0 12 if (@_ == 1 and builtin::blessed($_[0]))
74 0 12 if (@_ == 2)
76 0 0 if $_[1] eq "DELETE"
77 0 0 if $_[1] eq "EXISTS"
83 0 12 @_ ? :
94 0 2 exists $opts->{'is_fatal'} ? :
95 0 2 unless $need{$reason} or $stop
97 0 2 unless &is_reason($reason)
101 0 2 if &use_errno($reason) and not defined $opts->{'errno'}
104 0 2 if @_ % 2
108 1 1 if ($stop) { }
127 0 0 if @_ % 2
136 0 0 @_ && ref $_[0] eq 'HASH' ? :
159 0 1 unless @_ % 2
166 0 0 $count == 1 ? :
172 1 0 $count == 1 ? :
178 0 1 $count == 1 ? :
191 2 3 @_ && $_[0] =~ /^\+\d+$/ ? :
192 2 3 @_ % 2 ? :
201 0 5 if defined $opts{'mode'}
204 0 5 if (my $in = $opts{'import'}) { }
205 0 0 ref $in eq 'ARRAY' ? :
211 5 0 if ($syntax eq 'SHORT') { }
0 0 elsif ($syntax ne 'REPORT' and $syntax ne 'LONG') { }
221 0 5 if %opts