Condition Coverage

blib/lib/RPC/XML.pm
Criterion Covered Total %
condition 69 98 70.4


and 3 conditions

line !l l&&!r l&&r condition
187 38 15 34 &blessed($values[0]) and $values[0]->isa('RPC::XML::refmap')
200 8 36 53 not $RPC::XML::FORCE_STRING_ENCODING and $value =~ /^[-+]?[0-9]+$/
44 0 53 not $RPC::XML::FORCE_STRING_ENCODING and $value =~ /^[-+]?[0-9]+$/ and $value >= $MIN_BIG_INT
36 0 53 not $RPC::XML::FORCE_STRING_ENCODING and $value =~ /^[-+]?[0-9]+$/ and $value >= $MIN_BIG_INT and $value <= $MAX_BIG_INT
8 30 6 not $RPC::XML::FORCE_STRING_ENCODING and $value =~ / ^ [+-]? (?=[0-9]|[.][0-9]) [0-9]* (?:[.][0-9]*)? (?:[Ee](?:[+-]?[0-9]+))? $ /x
38 1 5 not $RPC::XML::FORCE_STRING_ENCODING and $value =~ / ^ [+-]? (?=[0-9]|[.][0-9]) [0-9]* (?:[.][0-9]*)? (?:[Ee](?:[+-]?[0-9]+))? $ /x and $value > $MIN_DOUBLE
31 1 4 not $RPC::XML::FORCE_STRING_ENCODING and $value =~ / ^ [+-]? (?=[0-9]|[.][0-9]) [0-9]* (?:[.][0-9]*)? (?:[Ee](?:[+-]?[0-9]+))? $ /x and $value > $MIN_DOUBLE and $value < $MAX_DOUBLE
210 19 30 0 &blessed($value) and $value->isa('RPC::XML::datatype') || $value->isa('DateTime')
608 68 1 1 ref $value and &reftype($value) eq 'SCALAR'
722 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'
816 6 0 14 ref $args[0] && &reftype($args[0]) eq 'HASH'
823 14 0 32 &blessed($_) && $_->isa('RPC::XML::datatype')
941 5 1 8 ref $value and &reftype($value) eq 'GLOB'
972 8 0 18 defined $flag && $flag
1249 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]
1265 0 6 0 $args{'faultCode'} and $args{'faultString'}

or 2 conditions

line l !l condition
564 7 1 shift() || 0
737 2 8 shift() || 0
834 4 8 shift() || 0
955 4 1 $value || ''

or 3 conditions

line l !l&&r !l&&!r condition
152 1 1 0 shift() || time
210 26 1 3 $value->isa('RPC::XML::datatype') || $value->isa('DateTime')
284 3 2 48 $value > $MAX_INT or $value < $MIN_INT
333 130 0 0 ref $self || $self
363 0 126 0 ref $class || $class
577 0 1 0 ref $class || $class
674 5 0 1 $RPC::XML::ALLOW_NIL or $flag
1267 0 1 0 ref $class || $class
1273 0 1 0 ref $class || $class
1362 0 8 0 ref $class || $class
1507 0 8 0 ref $class || $class