Branch Coverage

blib/lib/Pb/Command/Context.pm
Criterion Covered Total %
branch 1 58 1.7


line true false branch
51 3 0 grep({&CORE::GLOBAL::caller() =~ /^$_\b/u;} @RAW_ACCESS) ? :
69 0 0 $ppf ? :
96 0 0 if $self->_opts->{'pretend'}
103 0 0 defined $line ? :
112 0 0 if ($open_mode eq '<') { }
124 0 0 if ($@)
126 0 0 unless $@ =~ /^Can't open '$file' for reading:/u
184 0 0 ref $inv ? :
191 0 0 if $self->error
199 0 0 unless ($self->_process_control_structure($control))
202 0 0 unless $self->error
217 0 0 if ($_ eq 'pidfile') { }
0 0 elsif ($_ eq 'statusfile') { }
0 0 elsif ($_ eq 'unless_clean_exit') { }
219 0 0 unless $self->prep_pidfile($value)
226 0 0 if ($self->update_statfile)
237 0 0 unless (defined $self->statfile)
243 0 0 if $self->error
244 0 0 if ($lastrun)
247 0 0 unless ($last_exit eq $CLEAN_EXIT)
257 0 0 if (%$control) { }
289 0 0 $command->can($optobj_method) ? :
309 0 0 unless $self->_validate_value('arg', $def->{'type'}, $def->{'name'}, $arg)
323 0 0 unless $self->_validate_value('opt', $def->{'type'}, $def->{'name'}, $opt)
325 0 0 if $def->{'access_as_var'}
335 0 0 if ($type->check($value)) { }
351 0 0 unless $self->has_var('LOGFILE')
363 0 0 if ($pidfile) { }
369 0 0 if ($@ =~ /already running: (\d+)/u) { }