Condition Coverage

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


and 2 conditions

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

and 3 conditions

line !l l&&!r l&&r condition
141 48 0 0 $r->[1] >= $default and $r->[0] ne 'year'
180 0 12 0 $sec >= 604800 && $weeks

or 2 conditions

line l !l condition
85 25 3 shift() || {}
90 25 3 $opt->{'lang'} || 'EN'
93 0 12 $opt->{'weeks'} || 0
146 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
191 28 0 0 shift() || croak('_get_lang(): Language ID is missing')
194 0 0 4 $lang =~ /[^a-z_A-Z_0-9]/msx or $lang =~ / \A [0-9] /msx