Condition Coverage

blib/lib/App/FromUnixtime.pm
Criterion Covered Total %
condition 19 28 67.8


and 3 conditions

line !l l&&!r l&&r condition
62 17 6 3 $$config{'_re'} and $line =~ /(?:$$config{'_re'}).*[^\d](\d+)/
87 15 0 1 $$config{'min-time'} and $maybe_unixtime < $$config{'min-time'}

or 2 conditions

line l !l condition
147 0 18 RC()->{'start-bracket'} || '('
148 0 18 RC()->{'end-bracket'} || ')'

or 3 conditions

line l !l&&r !l&&!r condition
62 13 0 26 $line =~ /(?:$MAYBE_UNIXTIME).*[^\d](\d+)/ or $$config{'_re'} and $line =~ /(?:$$config{'_re'}).*[^\d](\d+)/
3 2 21 $line =~ /(?:$MAYBE_UNIXTIME).*[^\d](\d+)/ or $$config{'_re'} and $line =~ /(?:$$config{'_re'}).*[^\d](\d+)/ or $line =~ /^[\s\t\r\n]*(\d+)[\s\t\r\n]*$/
146 0 0 18 RC()->{'format'} || $DEFAULT_DATE_FORMAT
2 18 0 $$config{'format'} ||= RC()->{'format'} || $DEFAULT_DATE_FORMAT
147 2 18 0 $$config{'start-bracket'} ||= RC()->{'start-bracket'} || '('
148 2 18 0 $$config{'end-bracket'} ||= RC()->{'end-bracket'} || ')'