Branch Coverage

blib/lib/Google/ProtocolBuffers/CodeGen.pm
Criterion Covered Total %
branch 16 18 88.8


line true false branch
38 55 24 if ($v =~ /^-?\d+$/) { }
4 20 elsif ($v =~ /[-+]?\d*\.\d+([Ee][\+-]?\d+)?|[-+]?\d+[Ee][\+-]?\d+/i) { }
40 3 52 if ($v > 2147483647 or $v < -2147483648) { }
85 6 0 $self->_pb_complex_type_kind == 2 ? :
28 6 $self->_pb_complex_type_kind == 1 ? :
95 0 226 unless $labels{$label}
98 176 50 if ($primitive_types{$type}) { }
104 58 168 defined $default_value ? :
117 34 34 if ($$opts{$opt_name})