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 40 0 0 $$r[1] >= $default and $$r[0] ne 'year'
180 0 10 0 $sec >= 604800 && $weeks

or 2 conditions

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