Condition Coverage

blib/lib/CLDR/Number/Format/Currency.pm
Criterion Covered Total %
condition 14 21 66.6


and 3 conditions

line !l l&&!r l&&r condition
81 18 151 0 exists $data->{$locale} and exists $data->{$locale}{$self->currency_code}
95 0 70 16 $self->currency_code && exists $$currencies{$self->currency_code}
97 86 0 0 $self->cash and exists $currency_data->{'cash_digits'}
106 86 0 0 $self->cash and exists $currency_data->{'cash_rounding'}
127 64 41 4 $sign =~ / ^ \PS /x and $format =~ / \d $CLDR::Number::Format::Currency::C /x
132 76 19 14 $sign =~ / \PS $ /x and $format =~ / $CLDR::Number::Format::Currency::C \d /x

or 3 conditions

line l !l&&r !l&&!r condition
86 80 86 0 $currency_sign || $self->currency_code