Condition Coverage

blib/lib/Time/Elapsed.pm
Criterion Covered Total %
condition 9 22 40.9


and 2 conditions

line l !l condition
74 0 0 _compile_all() and next

and 3 conditions

line !l l&&!r l&&r condition
139 56 0 0 $r->[1] >= $default and $r->[0] ne 'year'
178 0 14 0 $sec >= 604800 && $weeks

or 2 conditions

line l !l condition
83 31 3 shift() || {}
88 31 3 $opt->{'lang'} || 'EN'
91 0 14 $opt->{'weeks'} || 0
144 0 0 $$n[$id + 1] || die("Can not happen: unable to locate top-level\n")

or 3 conditions

line l !l&&r !l&&!r condition
189 34 0 0 shift() || croak('_get_lang(): Language ID is missing')
192 0 0 5 $lang =~ /[^a-z_A-Z_0-9]/msx or $lang =~ / \A [0-9] /msx