Condition Coverage

blib/lib/WebService/Rakuten.pm
Criterion Covered Total %
condition 4 19 21.0


and 3 conditions

line !l l&&!r l&&r condition
42 0 1 0 defined $params{'developer_id'} and $params{'developer_id'}
790 1 0 0 @_ == 1 and ref $_[0] eq 'HASH'

or 2 conditions

line l !l condition
847 0 0 $from_encoding ||= 'utf8'
848 0 0 $to_encoding ||= 'euc'

or 3 conditions

line l !l&&r !l&&!r condition
45 0 0 1 $params{'affiliate_id'} ||= $MT_STR
47 1 0 0 $params{'output_type'} ||= $DEFAULT_OUTPUT_TYPE
851 0 0 0 not $value or $value =~ /\A \d+ \z/msx