Condition Coverage

lib/Mojolicious/Plugin/Human.pm
Criterion Covered Total %
condition 40 79 50.6


and 3 conditions

line !l l&&!r l&&r condition
462 0 1 3 $tail >= 2 && $tail < 5
469 6 0 0 $tail >= 10 && $tail < 21
484 0 1 3 $tail >= 2 && $tail < 5
491 6 0 0 $tail >= 10 && $tail < 21

or 2 conditions

line l !l condition
237 26 0 $conf ||= {}
239 0 26 $conf->{'money_format'} //= '%.2f'
240 0 26 $conf->{'money_delim'} //= '.'
241 0 26 $conf->{'money_digit'} //= ','
243 0 26 $conf->{'datefull'} //= '%F %T'
244 0 26 $conf->{'datetime'} //= '%F %H:%M'
245 0 26 $conf->{'time'} //= '%H:%M:%S'
246 0 26 $conf->{'date'} //= '%F'
248 0 26 $conf->{'tz_force'} //= undef
249 0 26 $conf->{'tz_cookie'} //= 'tz'
250 0 26 $conf->{'interval_format'} //= '%0.2d:%0.2d:%0.2d'
252 0 26 $conf->{'phone_country'} //= 7
253 1 25 $conf->{'phone_add'} //= '.'
255 0 26 $conf->{'suffix_one'} //= ''
256 0 26 $conf->{'suffix_two'} //= 'a'
257 0 26 $conf->{'suffix_many'} //= "\x{43e}\x{432}"
259 0 26 $conf->{'cut_length'} //= 8

or 3 conditions

line l !l&&r !l&&!r condition
247 18 8 0 $conf->{'tz'} //= strftime('%z', localtime)
290 0 0 118 not $dt or $@
296 55 63 0 $conf->{'tz_force'} || $self->stash('-human-force-tz') || $self->stash('-human-cookie-tz') || $conf->{'tz'}
0 118 0 $tz ||= $conf->{'tz_force'} || $self->stash('-human-force-tz') || $self->stash('-human-cookie-tz') || $conf->{'tz'}
371 2 6 0 shift() // $conf->{'money_format'}
406 9 22 0 $country //= $conf->{'phone_country'}
422 4 20 0 $add //= $conf->{'phone_add'}
457 6 0 0 $one //= $str . $conf->{'suffix_one'}
458 6 0 0 $two //= $str . $conf->{'suffix_two'}
459 6 0 0 $many //= $str . $conf->{'suffix_many'}
503 0 2 0 $length //= $conf->{'cut_length'}