| line |
true |
false |
branch |
|
136
|
2641 |
1377 |
if (/^(-?\d\d)(-?\d\d)(\d\d)?\s+(.*)/u or /^(-?\d\d+)\.(-?\d\d+)(?:\.(\d\d+))?\s+(.*)/u) { } |
|
|
352 |
1025 |
elsif (/^(-?\d\d-?\d\d(?:\d\d)?(?:--?\d\d-?\d\d(?:\d\d)?)+)\s+(\S+)\s*(?:["\x{201c}](.+)["\x{201d}])?\s*(left|right)?\s*(\d+%)?/u or /^(-?\d\d+\.-?\d\d+(?:\.\d\d+)?(?:--?\d\d+\.-?\d\d+(?:\.\d\d+)?)+)\s+(\S+)\s*(?:["\x{201c}](.+)["\x{201d}])?\s*(left|right)?\s*(\d+%)?/u) { } |
|
|
141 |
884 |
elsif (/^(\S+)\s+attributes\s+(.*)/u) { } |
|
|
0 |
884 |
elsif (/^(\S+)\s+lib\s+(.*)/u) { } |
|
|
26 |
858 |
elsif (/^(\S+)\s+xml\s+(.*)/u) { } |
|
|
443 |
415 |
elsif (/^(<.*>)/u) { } |
|
|
36 |
379 |
elsif (/^(\S+)\s+path\s+attributes\s+(.*)/u) { } |
|
|
15 |
364 |
elsif (/^(\S+)\s+path\s+(.*)/u) { } |
|
|
8 |
356 |
elsif (/^text\s+(.*)/u) { } |
|
|
7 |
349 |
elsif (/^glow\s+(.*)/u) { } |
|
|
8 |
341 |
elsif (/^label\s+(.*)/u) { } |
|
|
5 |
336 |
elsif (/^license\s+(.*)/u) { } |
|
|
8 |
328 |
elsif (/^other\s+(.*)/u) { } |
|
|
1 |
327 |
elsif (/^url\s+(\S+)/u) { } |
|
|
8 |
319 |
elsif (/^include\s+(\S*)/u) { } |
|
141
|
42 |
42 |
if ($tag eq 'name') { } |
|
143
|
0 |
42 |
if $size |
|
151
|
0 |
6 |
if ($transform or $region->label) { } |
|
205
|
0 |
8 |
if (scalar keys %{$self->seen;} > 5) { } |
|
|
8 |
0 |
elsif (not $self->seen->{$1}) { } |
|
212
|
8 |
0 |
if (index($location, '/') == -1 and -f ($path = 'Mojo::File'->new($self->dist_dir, $location))) { } |
|
|
0 |
0 |
elsif ($self->local_files and -f ($path = 'Mojo::File'->new($location))) { } |
|
|
0 |
0 |
elsif ($location =~ /^https?:/u) { } |
|
|
0 |
0 |
elsif ($self->dist_dir =~ /^https?:/u) { } |
|
225
|
0 |
0 |
if ($response->is_success) { } |
|
232
|
0 |
0 |
unless $url =~ m[/$]u |
|
237
|
0 |
0 |
if ($response->is_success) { } |
|
248
|
0 |
319 |
if $_ and not /^\s*#/u |
|
258
|
42 |
8 |
if (ref $other eq 'CODE') { } |
|
275
|
0 |
0 |
if ($size and not $attributes =~ s/\bfont-size="\d+pt"/font-size="$size"/u) |
|
281
|
0 |
0 |
if $url |
|
293
|
42 |
0 |
if $self->label_attributes |
|
294
|
0 |
42 |
if ($size and not $attributes =~ s/\bfont-size="\d+pt"/font-size="$size"/u) |
|
311
|
61 |
614 |
if ($attr) |
|
327
|
0 |
10 |
unless @{$self->regions;} |
|
330
|
0 |
2641 |
if $region->z > $maxz |
|
346
|
0 |
2641 |
unless $region->z == $z |
|
347
|
10 |
2631 |
unless defined $minx and $minx <= $region->x |
|
348
|
209 |
2432 |
unless defined $maxx and $maxx >= $region->x |
|
349
|
10 |
2631 |
unless defined $miny and $miny <= $region->y |
|
350
|
101 |
2540 |
unless defined $maxy and $maxy >= $region->y |
|
352
|
10 |
0 |
unless defined $min_x_overall and $minx >= $min_x_overall |
|
353
|
10 |
0 |
unless defined $min_y_overall and $maxx <= $max_x_overall |
|
354
|
10 |
0 |
unless defined $min_y_overall |
|
355
|
10 |
0 |
unless defined $max_y_overall |
|
356
|
0 |
10 |
if $z > 0 |
|
370
|
7 |
3 |
if @{$self->defs;} |
|
388
|
45 |
180 |
if ($path or $attributes) { } |
|
391
|
3 |
42 |
if ($path and not $attributes) |
|
395
|
42 |
3 |
if ($attributes) |
|
399
|
8 |
37 |
if ($path) |