line |
true |
false |
branch |
216
|
0 |
2617 |
unless ($has_64bit) |
218
|
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) |
228
|
0 |
0 |
$is_negative ? : |
233
|
73 |
2544 |
$is_negative ? : |
295
|
0 |
22 |
unless my $parser = 'Parse::RecDescent'->new($grammar) |
302
|
12 |
10 |
if ($source->{'text'}) { } |
|
10 |
0 |
elsif ($source->{'file'}) { } |
315
|
12 |
19 |
if ($text) { } |
324
|
0 |
19 |
if $already_included_files{$filename}++ |
327
|
0 |
19 |
unless open $fh, $filename |
335
|
0 |
31 |
unless defined $res |
340
|
9 |
302 |
if ($decl->[0] eq 'import') { } |
389
|
0 |
19 |
if -e $filename |
391
|
19 |
0 |
if (my $inc_dirs = $self->{'opts'}{'include_dir'}) |
392
|
19 |
0 |
unless ref $inc_dirs eq 'ARRAY' |
395
|
19 |
0 |
if -e $filename |
410
|
57 |
2604 |
if ($kind eq 'package') { } |
|
237 |
2367 |
elsif ($kind eq 'message') { } |
|
49 |
2318 |
elsif ($kind eq 'enum') { } |
|
57 |
2261 |
elsif ($kind eq 'group') { } |
|
1 |
2260 |
elsif ($kind eq 'oneof') { } |
|
37 |
2223 |
elsif ($kind eq 'extend') { } |
|
2022 |
201 |
elsif ($kind eq 'field') { } |
|
201 |
0 |
elsif ($kind eq 'enumField') { } |
466
|
57 |
2606 |
if ($kind eq 'package') { } |
|
237 |
2369 |
elsif ($kind eq 'message') { } |
|
49 |
2320 |
elsif ($kind eq 'enum') { } |
|
57 |
2263 |
elsif ($kind eq 'group') { } |
|
1 |
2262 |
elsif ($kind eq 'oneof') { } |
|
37 |
2225 |
elsif ($kind eq 'extend') { } |
|
2024 |
201 |
elsif ($kind eq 'field') { } |
|
201 |
0 |
elsif ($kind eq 'enumField') { } |
469
|
231 |
6 |
$context ? : |
472
|
49 |
0 |
$context ? : |
478
|
57 |
0 |
$context ? : |
481
|
0 |
57 |
unless $destination_type_name |
484
|
18 |
39 |
if ($is_extension) { } |
494
|
57 |
0 |
exists $labels{$decl->[1]} ? : |
496
|
0 |
57 |
unless $kind eq 'group' |
500
|
1 |
0 |
$context ? : |
508
|
0 |
2024 |
unless $destination_type_name |
512
|
640 |
1384 |
if ($is_extension) { } |
523
|
2024 |
0 |
exists $labels{$decl->[1]} ? : |
526
|
1619 |
405 |
if (exists $primitive_types{$decl->[2]}) { } |
530
|
0 |
185 |
unless $kind eq 'message' or $kind eq 'group' or $kind eq 'enum' |
536
|
74 |
1950 |
if ($default_value and not ref $default_value) |
537
|
18 |
56 |
if ($default_value eq 'true') { } |
|
0 |
56 |
elsif ($default_value eq 'false') { } |
544
|
0 |
56 |
unless $kind eq 'enum' |
550
|
0 |
201 |
unless $destination_type_name |
578
|
31 |
26 |
unless $package |
583
|
0 |
34 |
if (exists $self->{$name}) { } |
584
|
0 |
0 |
unless $self->{$name}{'kind'} eq 'package' |
588
|
26 |
8 |
unless @idents |
601
|
0 |
2772 |
if $name =~ /\./ |
603
|
2765 |
7 |
if ($context) { } |
604
|
0 |
2765 |
unless $self->{$context} |
610
|
0 |
2772 |
if (exists $self->{$fqn}) { } |
626
|
201 |
2370 |
if ($kind eq 'enum_field') { } |
627
|
0 |
201 |
unless $self->{$context}{'kind'} eq 'enum' |
646
|
0 |
1213 |
if ($name =~ s/^\.//) { } |
648
|
0 |
0 |
if (exists $self->{$name}) |
654
|
1441 |
92 |
$context ? : |
655
|
1213 |
320 |
if (exists $self->{$fqn}) |
659
|
0 |
320 |
unless $context |
676
|
0 |
751 |
unless ($kind eq $k) |