Condition Coverage

blib/lib/Finance/Currency/Convert.pm
Criterion Covered Total %
condition 4 22 18.1


and 2 conditions

line l !l condition
86 0 0 warn "Can't read $self->{'RatesFile'}\n" and return
103 0 0 warn "Can't access $self->{'RatesFile'}" and return

and 3 conditions

line !l l&&!r l&&r condition
61 1 0 0 defined $ratesFile and -e $self->{'RatesFile'}
81 0 0 0 defined $self->{'RatesFile'} and -r $self->{'RatesFile'}
0 0 0 defined $self->{'RatesFile'} and -r $self->{'RatesFile'} and -s $self->{'RatesFile'} > 0
107 0 0 68 exists $self->{'CurrencyRates'}{$sourcerate}{$targetrate} and defined $self->{'CurrencyRates'}{$sourcerate}{$targetrate}
0 0 68 exists $self->{'CurrencyRates'}{$sourcerate}{$targetrate} and defined $self->{'CurrencyRates'}{$sourcerate}{$targetrate} and $self->{'CurrencyRates'}{$sourcerate}{$targetrate} ne ""

or 3 conditions

line l !l&&r !l&&!r condition
55 0 1 0 ref $proto || $proto