Branch Coverage

blib/lib/Interchange6/Currency.pm
Criterion Covered Total %
branch 24 26 96.1


line true false branch
76 0 78 unless $self->$Interchange6::Currency::_isa('Interchange6::Currency')
78 19 59 if ($arg->$Interchange6::Currency::_isa('Interchange6::Currency'))
79 7 12 if $self->currency_code ne $arg->currency_code
183 2 9 if ($self->currency_code eq $new_code) { }
186 1 1 if (defined wantarray) { }
207 0 9 if ($self->converter_class eq 'Finance::Currency::Convert::XE') { }
223 1 7 unless defined $new_value
225 5 2 if (defined wantarray) { }
303 2 6 $swap ? :
339 1 4 if ($swap) { }
358 1 5 if ($swap) { }
376 3 34 if ($swap) { }
397 3 26 if ($swap) { }