Condition Coverage

blib/lib/Lingua/ENG/Numbers.pm
Criterion Covered Total %
condition 21 43 48.8


and 3 conditions

line !l l&&!r l&&r condition
284 2 0 0 $decimal and $decimal =~ /\D/
364 0 4 0 defined $class and $class
384 0 2 0 defined $self and $self
388 0 2 0 defined $block and $block
417 1 3 0 $numberString and $numberString =~ /\A\d+\.?\d*?e\+\d+\z/msx
421 1 0 3 defined $numberString && $numberString =~ /\A\d+\z/msx
427 0 2 0 defined $self and $self
437 0 0 2 defined $number and length $number > 0
442 0 2 0 defined $decimal and $decimal
455 0 2 0 defined $self and $self

or 2 conditions

line l !l condition
216 1 1 shift() // 'American'
257 2 0 shift() // (return '')

or 3 conditions

line l !l&&r !l&&!r condition
217 2 0 0 $tag eq 'American' or $tag eq 'British'
421 1 0 3 not defined $numberString && $numberString =~ /\A\d+\z/msx or $numberString < 0
1 1 2 not defined $numberString && $numberString =~ /\A\d+\z/msx or $numberString < 0 or $numberString >= 5345529420184392 * 2**167