Condition Coverage

blib/lib/Thrift/Parser/Type/Container.pm
Criterion Covered Total %
condition 16 33 48.4


and 3 conditions

line !l l&&!r l&&r condition
101 5 2 0 ref $value ne 'HASH' and ref $value ne 'ARRAY'
164 35 0 8 $type->can('val_type') and defined $args[0]
35 0 8 $type->can('val_type') and defined $args[0] and ref $args[0]
0 0 8 $type->can('val_type') and defined $args[0] and ref $args[0] and ref $args[0] eq 'ARRAY'
179 1 0 0 blessed $value and $value->isa($class)
196 1 0 0 $type->isa('Thrift::IDL::Type::Custom') and $class->can('idl')
1 0 0 $type->isa('Thrift::IDL::Type::Custom') and $class->can('idl') and $class->idl->isa('Thrift::IDL::TypeDef')
333 0 0 7 defined $idx and not ref $idx
0 0 7 defined $idx and not ref $idx and $idx =~ /^\d+$/

or 3 conditions

line l !l&&r !l&&!r condition
101 1 0 7 not ref $value or ref $value ne 'HASH' and ref $value ne 'ARRAY'
117 0 1 19 not ref $value or ref $value ne 'ARRAY'