| line |
true |
false |
branch |
|
120
|
0 |
0 |
if ($self->has_target) |
|
125
|
0 |
0 |
if ($self->has_exclude) |
|
146
|
0 |
0 |
if (not defined $opponent) { } |
|
212
|
0 |
0 |
if (-e $default_reference) |
|
231
|
0 |
0 |
unless $opponent |
|
237
|
0 |
0 |
unless ($self->cmp_image_dims($self->png, $opponent)) |
|
243
|
0 |
0 |
if $self->has_target |
|
244
|
0 |
0 |
if $self->has_exclude |
|
256
|
2 |
1 |
if ($self->has_metadata or %overrides) { } |
|
316
|
0 |
0 |
unless (exists $loc->{'x'} and exists $loc->{'y'} and exists $size->{'width'} and exists $size->{'height'}) |
|
352
|
0 |
0 |
unless (exists $loc->{'x'} and exists $loc->{'y'} and exists $size->{'width'} and exists $size->{'height'}) |
|
384
|
0 |
0 |
unless defined $file_or_image |
|
386
|
0 |
0 |
if (&blessed($file_or_image)) { } |
|
387
|
0 |
0 |
if ($file_or_image->isa('Selenium::Screenshot')) { } |
|
|
0 |
0 |
elsif ($file_or_image->isa('Imager')) { } |