Condition Coverage

blib/lib/RPC/XML.pm
Criterion Covered Total %
condition 70 98 71.4


and 3 conditions

line !l l&&!r l&&r condition
178 38 15 34 blessed($values[0]) and $values[0]->isa('RPC::XML::refmap')
191 8 36 53 not $RPC::XML::FORCE_STRING_ENCODING and /^[-+]?\d+$/
44 0 53 not $RPC::XML::FORCE_STRING_ENCODING and /^[-+]?\d+$/ and $_ >= $MIN_BIG_INT
36 0 53 not $RPC::XML::FORCE_STRING_ENCODING and /^[-+]?\d+$/ and $_ >= $MIN_BIG_INT and $_ <= $MAX_BIG_INT
8 30 6 not $RPC::XML::FORCE_STRING_ENCODING and /^[+-]?(?=\d|[.]\d)\d*(?:[.]\d*)?(?:[Ee](?:[+-]?\d+))?$/x
38 1 5 not $RPC::XML::FORCE_STRING_ENCODING and /^[+-]?(?=\d|[.]\d)\d*(?:[.]\d*)?(?:[Ee](?:[+-]?\d+))?$/x and $_ > $MIN_DOUBLE
31 1 4 not $RPC::XML::FORCE_STRING_ENCODING and /^[+-]?(?=\d|[.]\d)\d*(?:[.]\d*)?(?:[Ee](?:[+-]?\d+))?$/x and $_ > $MIN_DOUBLE and $_ < $MAX_DOUBLE
201 19 30 0 blessed $_ and $_->isa('RPC::XML::datatype') || $_->isa('DateTime')
591 68 1 1 ref $value and reftype $value eq 'SCALAR'
705 2 0 8 2 == @args and $args[0] eq 'from'
2 0 8 2 == @args and $args[0] eq 'from' and reftype($args[1]) eq 'ARRAY'
799 6 0 14 ref $args[0] && reftype($args[0]) eq 'HASH'
805 14 0 32 blessed $_ && $_->isa('RPC::XML::datatype')
924 5 1 8 ref $value and reftype $value eq 'GLOB'
955 8 0 18 defined $flag && $flag
1232 6 0 0 blessed($args[0]) and $args[0]->isa('RPC::XML::struct')
2 1 3 @args == 2 and $args[0] =~ /^-?\d+$/
3 0 3 @args == 2 and $args[0] =~ /^-?\d+$/ and CORE::length $args[1]
1248 0 1 5 $args{'faultCode'} and $args{'faultString'}

or 2 conditions

line l !l condition
547 7 1 shift() || 0
720 2 8 shift() || 0
817 4 8 shift() || 0
938 4 1 $value || ''

or 3 conditions

line l !l&&r !l&&!r condition
150 1 1 0 shift() || time
201 26 1 3 $_->isa('RPC::XML::datatype') || $_->isa('DateTime')
275 3 2 48 $_ > $MAX_INT or $_ < $MIN_INT
316 130 0 0 ref $self || $self
346 0 126 0 ref $class || $class
560 0 1 0 ref $class || $class
657 5 0 1 $RPC::XML::ALLOW_NIL or $flag
1250 0 1 0 ref $class || $class
1256 0 1 0 ref $class || $class
1345 0 8 0 ref $class || $class
1490 0 8 0 ref $class || $class