Condition Coverage

blib/lib/Google/ProtocolBuffers/Compiler.pm
Criterion Covered Total %
condition 10 27 37.0


and 3 conditions

line !l l&&!r l&&r condition
211 0 0 0 not $is_negative and $l > length $max_pos_str || $l == length $max_pos_str && uc $str ge uc $max_pos_str
0 0 0 $is_negative and $l > length $max_neg_str || $l == length $max_neg_str && uc $str ge uc $max_neg_str
517 1595 353 73 $default_value and not ref $default_value

or 3 conditions

line l !l&&r !l&&!r condition
211 0 0 0 $l > length $max_pos_str || $l == length $max_pos_str && uc $str ge uc $max_pos_str
0 0 0 $l > length $max_neg_str || $l == length $max_neg_str && uc $str ge uc $max_neg_str
0 0 0 not $is_negative and $l > length $max_pos_str || $l == length $max_pos_str && uc $str ge uc $max_pos_str or $is_negative and $l > length $max_neg_str || $l == length $max_neg_str && uc $str ge uc $max_neg_str
305 11 18 20 $text or @import_files
511 220 0 184 $kind eq 'message' or $kind eq 'group'
220 184 0 $kind eq 'message' or $kind eq 'group' or $kind eq 'enum'