Branch Coverage

blib/lib/Medusa.pm
Criterion Covered Total %
branch 33 56 58.9


line true false branch
55 15 0 $LOG{'TIME'} eq 'gmtime' ? :
15 0 $LOG{'TIME_FORMAT'} eq 'default' ? :
0 15 !$options->{'date'} ? :
56 0 0 $LOG{'TIME'} eq 'gmtime' ? :
60 0 0 if ($format =~ s/\.\%ms$//)
69 15 0 if ($time)
73 8 7 if ($options->{'guid'} and $params{'guid'})
77 15 0 if ($options->{'level'})
84 37 42 if $key =~ /^prefix|level|guid$/
85 14 28 if (ref $params{$key}) { }
87 0 14 unless $params{$key}
14 0 $ref eq 'ARRAY' ? :
89 0 20 $ref eq 'HASH' ? :
91 2 23 defined $2 ? :
113 1 9 if (scalar @import % 2)
130 2 5 unless (ref $LOG{'LOG'})
134 7 0 if $_ =~ /Audit/
135 7 0 if ($att)
146 5 0 if ($options->{'caller'})
148 0 5 if $caller
153 0 5 !$options->{'guid'} ? :
155 5 0 $caller ? :
165 5 0 if $options->{'elapsed_call'}
167 5 0 if $options->{'elapsed_call'}
176 5 0 $caller ? :
0 5 $after == $now ? :
5 0 $options->{'elapsed_call'} ? :
179 1 4 wantarray ? :