Condition Coverage

blib/lib/Number/Phone/Formatter.pm
Criterion Covered Total %
condition 11 12 91.6


and 3 conditions

line !l l&&!r l&&r condition
38 97 31 24 !$leading_digits || $number =~ /^($leading_digits)/x and $number =~ /^$pattern$/x
40 8 4 12 $national and $formatter->{'national_rule'}

or 3 conditions

line l !l&&r !l&&!r condition
38 2 53 97 !$leading_digits || $number =~ /^($leading_digits)/x
43 5 7 0 $formatter->{'intl_format'} || $formatter->{'format'}