blib/lib/Business/cXML/Amount.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 12 | 100.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
154 | 40 | 1 | 1 | $self->{'_nodeName'} eq "AvailablePrice" and not defined $self->{'type'} |
155 | 39 | 1 | 2 | defined $self->{'type'} and $self->{'_nodeName'} =~ /^(AvailablePrice|Fee|OriginalPrice)$/u |
172 | 11 | 30 | 1 | not defined $self->{'description'} and $self->{'_nodeName'} =~ /^(Penalty|Shipping|Tax)$/u |
175 | 30 | 1 | 11 | defined $self->{'description'} and $self->{'_nodeName'} =~ /^(AvailablePrice|Penalty|Shipping|SpecialHandlingAmount|Tax)$/u |