line |
true |
false |
branch |
118
|
535 |
2 |
if ($paper) { } |
120
|
156 |
379 |
if ($aliases{$paper}) { } |
|
372 |
7 |
elsif ($paper =~ /\A$tex_measure:$tex_measure\z/) { } |
147
|
1 |
540 |
unless $_[0] =~ /[0-9]+(\.[0-9]+)?(cm|mm|in|pt)/ |
152
|
8 |
4 |
if $_[0] |
156
|
4 |
256 |
unless &is_Int($_[0]) and $_[0] > -1 and $_[0] < 10001 |
309
|
1253 |
223 |
unless $filename |
313
|
32 |
191 |
if ($filename =~ m[/]) { } |
|
185 |
6 |
elsif ($filename =~ /\A
(
[a-zA-Z0-9]
[a-zA-Z0-9-]*
[a-zA-Z0-9]
(\.(pdf|jpe?g|png))?
)
\z/x) { } |
314
|
24 |
8 |
if (-f $filename and $filename =~ /[a-zA-Z0-9]+\.(pdf|jpe?g|png)\z/ and 'File::Spec'->file_name_is_absolute($filename)) { } |
489
|
0 |
286 |
unless $width |
490
|
274 |
12 |
if ($width =~ /\A[01](\.[0-9][0-9]?)?\z/) { } |
491
|
1 |
273 |
unless $width <= 1 and $width > 0 |
770
|
4 |
253 |
if ($self->twoside and $self->oneside) |
773
|
35 |
218 |
if ($self->twoside) { } |
812
|
1 |
252 |
if ($self->areaset_height and $self->areaset_width and $self->geometry_outer_margin and $self->geometry_top_margin) { } |
831
|
253 |
10373 |
if (my $alias = $replace{$method}) { } |
|
253 |
10120 |
elsif ($method eq 'headings') { } |
|
253 |
9867 |
elsif ($method eq 'format_id') { } |
836
|
34 |
219 |
if (my $value = $self->headings) |
837
|
5 |
29 |
if ($value eq 1) |