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
460 0 1 3 $tail >= 2 && $tail < 5
467 6 0 0 $tail >= 10 && $tail < 21
482 0 1 3 $tail >= 2 && $tail < 5
489 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)
288 0 0 108 not $dt or $@
294 50 58 0 $conf->{'tz_force'} || $self->stash('-human-force-tz') || $self->stash('-human-cookie-tz') || $conf->{'tz'}
0 108 0 $tz ||= $conf->{'tz_force'} || $self->stash('-human-force-tz') || $self->stash('-human-cookie-tz') || $conf->{'tz'}
369 2 6 0 shift() // $conf->{'money_format'}
404 9 22 0 $country //= $conf->{'phone_country'}
420 4 20 0 $add //= $conf->{'phone_add'}
455 6 0 0 $one //= $str . $conf->{'suffix_one'}
456 6 0 0 $two //= $str . $conf->{'suffix_two'}
457 6 0 0 $many //= $str . $conf->{'suffix_many'}
501 0 2 0 $length //= $conf->{'cut_length'}