line |
true |
false |
branch |
209
|
0 |
2611 |
unless ($has_64bit) |
211
|
0 |
0 |
if (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) |
221
|
0 |
0 |
$is_negative ? : |
226
|
73 |
2538 |
$is_negative ? : |
288
|
0 |
20 |
unless my $parser = 'Parse::RecDescent'->new($grammar) |
295
|
11 |
9 |
if ($$source{'text'}) { } |
|
9 |
0 |
elsif ($$source{'file'}) { } |
308
|
11 |
18 |
if ($text) { } |
317
|
0 |
18 |
if $already_included_files{$filename}++ |
320
|
0 |
18 |
unless open $fh, $filename |
328
|
0 |
29 |
unless defined $res |
333
|
9 |
299 |
if ($$decl[0] eq 'import') { } |
382
|
0 |
18 |
if -e $filename |
384
|
18 |
0 |
if (my $inc_dirs = $$self{'opts'}{'include_dir'}) |
385
|
18 |
0 |
unless ref $inc_dirs eq 'ARRAY' |
388
|
18 |
0 |
if -e $filename |
403
|
54 |
2596 |
if ($kind eq 'package') { } |
|
235 |
2361 |
elsif ($kind eq 'message') { } |
|
48 |
2313 |
elsif ($kind eq 'enum') { } |
|
57 |
2256 |
elsif ($kind eq 'group') { } |
|
37 |
2219 |
elsif ($kind eq 'extend') { } |
|
2021 |
198 |
elsif ($kind eq 'field') { } |
|
198 |
0 |
elsif ($kind eq 'enumField') { } |
451
|
54 |
2596 |
if ($kind eq 'package') { } |
|
235 |
2361 |
elsif ($kind eq 'message') { } |
|
48 |
2313 |
elsif ($kind eq 'enum') { } |
|
57 |
2256 |
elsif ($kind eq 'group') { } |
|
37 |
2219 |
elsif ($kind eq 'extend') { } |
|
2021 |
198 |
elsif ($kind eq 'field') { } |
|
198 |
0 |
elsif ($kind eq 'enumField') { } |
454
|
230 |
5 |
$context ? : |
457
|
48 |
0 |
$context ? : |
463
|
57 |
0 |
$context ? : |
466
|
0 |
57 |
unless $destination_type_name |
469
|
18 |
39 |
if ($is_extension) { } |
479
|
57 |
0 |
exists $labels{$$decl[1]} ? : |
481
|
0 |
57 |
unless $kind eq 'group' |
489
|
0 |
2021 |
unless $destination_type_name |
493
|
640 |
1381 |
if ($is_extension) { } |
504
|
2021 |
0 |
exists $labels{$$decl[1]} ? : |
507
|
1617 |
404 |
if (exists $primitive_types{$$decl[2]}) { } |
511
|
0 |
184 |
unless $kind eq 'message' or $kind eq 'group' or $kind eq 'enum' |
517
|
73 |
1948 |
if ($default_value and not ref $default_value) |
518
|
18 |
55 |
if ($default_value eq 'true') { } |
|
0 |
55 |
elsif ($default_value eq 'false') { } |
525
|
0 |
55 |
unless $kind eq 'enum' |
531
|
0 |
198 |
unless $destination_type_name |
559
|
29 |
25 |
unless $package |
564
|
0 |
32 |
if (exists $$self{$name}) { } |
565
|
0 |
0 |
unless $$self{$name}{'kind'} eq 'package' |
569
|
25 |
7 |
unless @idents |
582
|
0 |
2757 |
if $name =~ /\./ |
584
|
2751 |
6 |
if ($context) { } |
585
|
0 |
2751 |
unless $$self{$context} |
591
|
0 |
2757 |
if (exists $$self{$fqn}) { } |
607
|
198 |
2361 |
if ($kind eq 'enum_field') { } |
608
|
0 |
198 |
unless $$self{$context}{'kind'} eq 'enum' |
627
|
0 |
1211 |
if ($name =~ s/^\.//) { } |
629
|
0 |
0 |
if (exists $$self{$name}) |
635
|
1439 |
92 |
$context ? : |
636
|
1211 |
320 |
if (exists $$self{$fqn}) |
640
|
0 |
320 |
unless $context |
657
|
0 |
750 |
unless ($kind eq $k) |