Branch Coverage

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


line true false branch
48 3 0 unless ($textdomain)
62 0 12 if (@_ == 1 and &blessed($_[0]))
67 0 12 if (@_ == 2)
69 0 0 if $_[1] eq 'DELETE'
70 0 0 if $_[1] eq 'EXISTS'
77 0 12 @_ ? :
87 0 2 exists $opts->{'is_fatal'} ? :
88 0 2 unless $need{$reason} or $stop
90 0 2 unless &is_reason($reason)
94 0 2 if &use_errno($reason) and not defined $opts->{'errno'}
97 0 2 if @_ % 2
101 1 1 if ($stop) { }
120 0 0 if @_ % 2
130 0 0 @_ && ref $_[0] eq 'HASH' ? :
151 0 1 unless @_ % 2
160 0 0 $count == 1 ? :
167 1 0 $count == 1 ? :
174 0 1 $count == 1 ? :
188 2 3 @_ && $_[0] =~ /^\+\d+$/ ? :
189 2 3 @_ % 2 ? :
198 0 5 if defined $opts{'mode'}
201 0 5 if (my $in = $opts{'import'}) { }
202 0 0 ref $in eq 'ARRAY' ? :
208 5 0 if ($syntax eq 'SHORT') { }
0 0 elsif ($syntax ne 'REPORT' and $syntax ne 'LONG') { }
219 0 5 if %opts