Condition Coverage

blib/lib/Parse/Syslog/Line.pm
Criterion Covered Total %
condition 17 30 56.6


and 3 conditions

line !l l&&!r l&&r condition
191 0 0 83 exists $msg{'datetime_raw'} and length $msg{'datetime_raw'}
196 63 0 20 $FmtDate and ref $FmtDate eq 'CODE'
227 1 0 5 $DateTimeTried and &is_loaded('DateTime')
253 59 0 21 defined $ip and length $ip
285 0 0 57 defined $progStr and length $progStr
301 6 0 0 not exists $msg{'priority'} and exists $LOG_PRIORITY{$level}
321 5 9 108 defined $msg{$_} && length $msg{$_}
327 0 83 0 exists $msg{'epoch'} and not $EpochCreate
366 0 1 7 defined $tz_name and !exists $ENV{'TZ'} || $tz_name ne $ENV{'TZ'}

or 3 conditions

line l !l&&r !l&&!r condition
366 2 6 0 !exists $ENV{'TZ'} || $tz_name ne $ENV{'TZ'}