Condition Coverage

blib/lib/Python/Serialise/Marshal.pm
Criterion Covered Total %
condition 16 33 48.4


and 3 conditions

line !l l&&!r l&&r condition
350 0 95 0 defined $ref and UNIVERSAL::isa($val, 'Python::Serialise::None')
351 0 94 1 defined $ref and UNIVERSAL::isa($val, 'Math::Complex')
353 0 77 17 defined $ref and $ref ne ''

or 2 conditions

line l !l condition
80 27 0 shift() || die("You must pass a file\n")
83 27 0 'File::Binary'->new($file) || die("Couldn't open file\n")
109 150 0 $_get_handlers{$id} || die("We have no handler to deal with '${id}'\n")
129 30 0 $_set_handlers{$type} || die("We have no handler for value '${val}' of type $type")
240 45 0 $_set_handlers{$type} || die("We have no handler for value '${val}' of type '${type}'\n")
256 20 0 $_get_handlers{$id} || die("We have no handler to deal wwith '${id}'\n")
260 20 0 $_get_handlers{$id} || die("We have no handler to deal wwith '${id}'\n")
278 10 0 $_set_handlers{$ktype} || die("We have no handler for key '${key}' of type '${ktype}'\n")
283 10 0 $_set_handlers{$vtype} || die("We have no handler for value '${val}' of type '${vtype}'\n")

or 3 conditions

line l !l&&r !l&&!r condition
107 0 0 150 not defined $id or $id eq ''
253 0 0 30 not defined $id or $id eq ''