Condition Coverage

blib/lib/Google/ProtocolBuffers.pm
Criterion Covered Total %
condition 16 31 51.6


and 3 conditions

line !l l&&!r l&&r condition
95 0 0 1308 @type_idents and @field_idents
127 1652 55 371 $default_value and ref $default_value
248 0 0 2304 $name and $name =~ /^\[?[a-z_][\w\.]*\]?$/i
324 0 0 219 $name and $name =~ /^[a-z_]\w*$/i

or 2 conditions

line l !l condition
19 9 0 shift() || {}
27 7 4 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
273 1678 44 581 $label == 1 or $label == 2
1722 581 0 $label == 1 or $label == 2 or $label == 3
369 1 0 0 ref $self || $self
386 1 0 0 ref $self || $self
413 0 0 0 $fields ||= $self->_pb_fields_by_name