line |
true |
false |
branch |
94
|
6 |
0 |
ref $log_item eq 'CODE' ? :
|
97
|
2 |
4 |
if ($log and not $tmp_disable_logging)
|
99
|
0 |
2 |
if ($self->timestamps)
|
118
|
24 |
8 |
if ($screen_dirs[0] eq $logs_dirs[0]) { }
|
143
|
8 |
7 |
if $snippet
|
156
|
0 |
8 |
unless $engine->process($self->index_template, $vars, "index.html", {"binmode", ":utf8"})
|
167
|
0 |
8 |
unless $log and $log->{'feature'}
|
177
|
0 |
8 |
unless $log->{'template'}->process($self->feature_template, {%{$log;}}, $f, {"binmode", ":utf8"})
|
187
|
0 |
1 |
if ($self->screenshots_dir and not $self->logging_dir)
|
190
|
1 |
0 |
if ($self->logging_dir)
|
191
|
0 |
1 |
unless -d $self->logging_dir
|
254
|
1 |
0 |
if ($log)
|
278
|
0 |
0 |
if ($log)
|
293
|
2 |
0 |
if (grep {$_ =~ /^\@?weasel$/;} @{$scenario->tags;})
|
294
|
0 |
2 |
if (&any(sub {
|
302
|
0 |
2 |
if (&any(sub {
|
307
|
2 |
0 |
if ($log)
|
324
|
0 |
1 |
unless defined $stash->{'ext_wsl'}
|
328
|
1 |
0 |
if ($log)
|
330
|
0 |
1 |
if ($log->{'scenario'}{'failing'}) { }
|
341
|
1 |
0 |
unless &any(sub {
|
347
|
0 |
1 |
unless defined $context->stash->{'scenario'}{'ext_wsl'}
|
352
|
1 |
0 |
if ($log)
|
368
|
0 |
1 |
unless defined $context->stash->{'scenario'}{'ext_wsl'}
|
371
|
1 |
0 |
if ($log)
|
372
|
0 |
1 |
if (ref $result) { }
|
374
|
0 |
0 |
if $result->result eq "failing"
|
457
|
0 |
5 |
unless $self->screenshots_dir
|
458
|
3 |
2 |
unless $self->screenshot_event_on("$phase-$event")
|
459
|
0 |
2 |
if $self->_weasel->session->state ne "started"
|
462
|
2 |
0 |
if (open my $fh, '>', $self->screenshots_dir . '/' . $img_name) { }
|
467
|
0 |
2 |
unless close $fh
|
475
|
2 |
0 |
if ($log)
|