Branch Coverage

blib/lib/Fennec/Runner.pm
Criterion Covered Total %
branch 32 60 53.3


line true false branch
12 278 0 unless $ltime[$_] > 9
30 48 89 $SINGLETON ? :
36 0 2 unless @_
55 0 245 if $class->can('listener_class')
58 0 245 if $SINGLETON and @_
61 106 139 if $SINGLETON
86 0 2 if (ref $item and ref $item eq 'CODE')
91 0 2 if $item =~ /\.(pm|t|pl|ft)$/i or $item =~ m[/]
95 2 0 if $item =~ /::/ or $item =~ /^\w[\w\d_]+$/
106 0 46 unless eval { do { require $file; 1 } }
113 0 2 unless eval { do { require_module($module) } }
118 341 0 unless $self->pid != $$
126 0 0 if ($exception =~ /^FENNEC_SKIP: (.*)\n/) { }
147 0 546 if $status
164 0 89 unless $class
169 1 19 if ($follow)
183 0 134 unless $class
186 0 134 unless $class->can('TEST_WORKFLOW')
188 4 130 $class->can('new') ? :
190 129 5 $class->FENNEC->parallel ? :
213 5 26 if (my $post = $class->FENNEC->post)
216 0 5 unless eval { do { &$post(); 1 } }
222 0 0 unless $self->pid == $$
223 0 0 if $self->_ran
224 0 0 if $self->_skip_all
225 0 0 if $^C
250 0 139 if $?
251 0 139 unless $SINGLETON
252 117 22 unless $PID == $$
254 22 0 unless $failed