| line |
true |
false |
branch |
|
49
|
0 |
26 |
unless my $clues = $puzzle{'clues'} |
|
51
|
0 |
26 |
unless ($str_len == 81) |
|
58
|
8 |
18 |
if ($puzzle{'jigsaw'}) |
|
60
|
0 |
8 |
unless ($str_len == 81) |
|
73
|
24 |
2 |
if ($pos) { } |
|
82
|
0 |
2 |
if ($PDF_API2_IS_OLD) { } |
|
90
|
0 |
2 |
unless $self->{'quiet'} |
|
96
|
0 |
2 |
if ($PDF_TABLE_IS_OLD) { } |
|
103
|
0 |
26 |
unless $self->{'quiet'} |
|
107
|
1 |
25 |
if ($x_region eq "n" and $jigsaw) |
|
126
|
0 |
26 |
$PDF_TABLE_IS_OLD ? : |
|
136
|
0 |
26 |
if ($pages_spanned > 1) |
|
141
|
0 |
26 |
if ($PDF_API2_IS_OLD) { } |
|
146
|
0 |
26 |
if ($PDF_TABLE_IS_OLD) { } |
|
152
|
8 |
18 |
if ($jigsaw) { } |
|
158
|
16 |
10 |
if ($puzzle{'bottomLine'}) |
|
164
|
1 |
25 |
if ($self->{'nextPosOnPage'} == $self->{'puzzlesPerPage'}) |
|
172
|
0 |
0 |
unless my $file = shift() |
|
177
|
0 |
0 |
if ($puzzle_numbers) |
|
201
|
0 |
0 |
if (ref $file eq 'GLOB') { } |
|
204
|
0 |
0 |
unless open $hdl, "<", $file |
|
212
|
0 |
0 |
unless my $puzzle = &$line_handler($_) |
|
215
|
0 |
0 |
if ($puzzle_numbers) |
|
216
|
0 |
0 |
unless $next_puzzle_number = shift @puzzle_numbers |
|
219
|
0 |
0 |
if (ref $file eq 'GLOB') { } |
|
221
|
0 |
0 |
unless $self->{'quiet'} |
|
225
|
0 |
0 |
unless $self->{'quiet'} |
|
237
|
0 |
0 |
unless $self->{'quiet'} |
|
239
|
0 |
0 |
unless my $file = shift() || $self->{'appendFile'} |
|
241
|
0 |
0 |
if ($PDF_API2_IS_OLD) { } |
|
252
|
0 |
0 |
unless $self->{'quiet'} |
|
263
|
0 |
1 |
if ($params->{'appendFile'}) { } |
|
269
|
0 |
1 |
if ($PDF_API2_IS_OLD) { } |
|
273
|
0 |
0 |
if $params->{$kw} |
|
281
|
1 |
0 |
if $params->{'creator'} |
|
282
|
0 |
1 |
if $params->{'title'} |
|
283
|
1 |
0 |
if $params->{'author'} |
|
284
|
1 |
0 |
if $params->{'subject'} |
|
285
|
1 |
0 |
if $params->{'keywords'} |
|
290
|
0 |
1 |
unless $media_size->[2] and $media_size->[3] |
|
292
|
0 |
1 |
if ($params->{'pageOrientation'}) |
|
293
|
0 |
0 |
if ($params->{'pageOrientation'} eq "landscape" and $media_size->[2] < $media_size->[3] or $params->{'pageOrientation'} eq "portrait" and $media_size->[2] > $media_size->[3]) |
|
310
|
1 |
0 |
if ($puzzles_per_page =~ /^(\d+)x(\d+)$/i) { } |
|
|
0 |
0 |
elsif ($puzzles_per_page eq '1') { } |
|
|
0 |
0 |
elsif ($puzzles_per_page eq '2') { } |
|
|
0 |
0 |
elsif ($puzzles_per_page eq '3') { } |
|
|
0 |
0 |
elsif ($puzzles_per_page eq '4') { } |
|
349
|
0 |
1 |
$PDF_API2_IS_OLD ? : |
|
351
|
0 |
1 |
$PDF_TABLE_IS_OLD ? : |
|
406
|
0 |
1 |
if ($h_size < $v_size) { } |
|
414
|
1 |
0 |
$h_puzzles_per_page > 1 ? : |
|
417
|
1 |
0 |
$v_puzzles_per_page > 1 ? : |
|
443
|
0 |
1 |
if $factor == 1 |
|
445
|
0 |
1 |
if ($PDF_TABLE_IS_OLD) { } |
|
451
|
0 |
0 |
if $settings->{'padding_top'} |
|
452
|
0 |
0 |
if $settings->{'padding_bottom'} |
|
463
|
1 |
0 |
if $settings->{'padding_top'} |
|
525
|
0 |
34 |
unless my $line = shift() |
|
541
|
972 |
1134 |
if ($v eq 'n') { } |
|
|
162 |
972 |
elsif ($v eq 'x') { } |
|
|
162 |
810 |
elsif ($v eq 'h') { } |
|
|
162 |
648 |
elsif ($v eq 'p') { } |
|
|
162 |
486 |
elsif ($v eq 'd') { } |
|
|
162 |
324 |
elsif ($v eq 'a') { } |
|
|
162 |
162 |
elsif ($v eq 'g') { } |
|
|
162 |
0 |
elsif ($v eq 'c') { } |
|
546
|
34 |
128 |
$r == $c || $r == 8 - $c ? : |
|
549
|
72 |
90 |
$r =~ /^[123567]$/ && $c =~ /^[123567]$/ ? : |
|
552
|
54 |
108 |
$r == 8 - $c || $r =~ /^[123]$/ && $c =~ /^[123]$/ || $r =~ /^[567]$/ && $c =~ /^[567]$/ ? : |
|
555
|
18 |
144 |
$r =~ /^[147]$/ && $c =~ /^[147]$/ ? : |
|
559
|
18 |
144 |
$cmp =~ /^(14|22|26|41|44|47|62|66|74)$/ ? : |
|
563
|
18 |
144 |
$cmp =~ /^(00|08|14|41|44|47|74|80|88)$/ ? : |
|
583
|
376 |
1730 |
if (my $prop = $self->_is_pattern_area($i, $j, $variant)) { } |
|
|
1270 |
460 |
elsif (not $grid) { } |
|
|
81 |
379 |
elsif ($variant eq 'n') { } |
|
587
|
576 |
694 |
_is_grey_block($i, $j) ? : |
|
602
|
0 |
1 |
unless my $areas = shift() |
|
611
|
72 |
9 |
if ($j < $size - 1) |
|
613
|
32 |
40 |
if ($r != $a) |
|
619
|
72 |
9 |
if ($i < $size - 1) |
|
621
|
26 |
46 |
if ($d != $a) |
|
636
|
0 |
6 |
unless scalar keys %{$$adjoins_with{$b};} <=> scalar keys %{$$adjoins_with{$a};} |
|
645
|
8 |
37 |
if (defined $c and $c == $color) |
|
650
|
9 |
8 |
unless ($conflict) |
|
652
|
2 |
7 |
if ($color > $max_color) |
|
660
|
0 |
1 |
if ($colors_used == 2) { } |
|
|
0 |
2 |
elsif ($colors_used != 3 and $colors_used != 4) { } |
|
679
|
0 |
18 |
if ($PDF_API2_IS_OLD) { } |
|
713
|
0 |
8 |
if ($PDF_API2_IS_OLD) { } |
|
734
|
0 |
8 |
if ($PDF_API2_IS_OLD) { } |
|
746
|
576 |
72 |
if ($i < 8) |
|
747
|
220 |
356 |
if ($$grid[$i + 1][$j] != $this_area) |
|
753
|
576 |
72 |
if ($j < 8) |
|
754
|
236 |
340 |
if ($grid->[$i][$j + 1] != $this_area) |
|
769
|
0 |
1 |
$offset_sec > 0 ? : |
|
|
0 |
1 |
$offset_sec =~ s/^-// ? : |
|
772
|
0 |
1 |
if ($offset_sec > 0) |
|
781
|
0 |
0 |
if ($PDF::API2::VERSION < "2.042" or $PDF::API2::VERSION > "2.044") |
|
795
|
0 |
4 |
if ($v =~ s/^v//) |