Branch Coverage

blib/lib/Hailo.pm
Criterion Covered Total %
branch 42 50 84.0


line true false branch
76 39 240 unless defined $brain
153 307 47 $k =~ /^(?:engine|storage)$/s ? :
46 308 $k eq 'engine' ? :
239 115 $k eq 'storage' && defined $self->brain ? :
261 93 $k eq 'storage' ? :
190 0 354 if ($class =~ /^\+(?<custom_plugin>.+)$/) { }
199 3 351 unless ($pkg)
207 0 351 unless $success
223 1 22 if (not ref $input and defined $input and $input eq '-') { }
1 21 elsif (ref $input eq 'GLOB') { }
13 8 elsif (not ref $input) { }
7 1 elsif (ref $input eq 'ARRAY') { }
225 1 0 if $self->_is_interactive(*STDIN)
238 936 0 unless $fast
240 0 7 if $fast
257 990 0 unless $fast
259 0 12 if $fast
268 2 1637 if (not defined $input) { }
1618 19 elsif (not ref $input) { }
17 2 elsif (ref $input eq 'ARRAY') { }
291 0 3560 $fast ? :
310 211 1206 unless $storage->_engaged
316 1207 9 if (defined $input) { }
324 3 1213 unless defined $reply
336 259 22 if &blessed($self->{'_storage'}) and $self->save_on_exit