line |
true |
false |
branch |
105
|
0 |
0 |
if ($self->has_exclude) |
139
|
0 |
0 |
if (not defined $opponent) { } |
205
|
0 |
0 |
if (-e $default_reference) |
224
|
0 |
0 |
unless $opponent |
230
|
0 |
0 |
unless ($self->cmp_image_dims($self->png, $opponent)) |
236
|
0 |
0 |
if $self->has_exclude |
248
|
2 |
1 |
if ($self->has_metadata or %overrides) { } |
308
|
0 |
0 |
unless (exists $loc->{'x'} and exists $loc->{'y'} and exists $size->{'width'} and exists $size->{'height'}) |
367
|
0 |
0 |
unless (exists $loc->{'x'} and exists $loc->{'y'} and exists $size->{'width'} and exists $size->{'height'}) |
388
|
0 |
0 |
unless defined $file_or_image |
390
|
0 |
0 |
if (&blessed($file_or_image)) { } |
391
|
0 |
0 |
if ($file_or_image->isa('Selenium::Screenshot')) { } |
|
0 |
0 |
elsif ($file_or_image->isa('Imager')) { } |
402
|
0 |
0 |
if (not $file_or_image =~ /\n/ and -e $file_or_image) { } |