Branch Coverage

blib/lib/Pb.pm
Criterion Covered Total %
branch 0 76 0.0


line true false branch
52 0 0 $_[0]->$Pb::_can('_osprey_config') ? :
98 0 0 unless ($def->{'type'}->is_a_type_of('Bool'))
112 0 0 unless $pkg =~ /\A[a-zA-Z_][a-zA-Z0-9_]*\z/u
191 0 0 if ($$PASSTHRU_ARGS{$_[0]}) { }
0 0 elsif ($_[0] eq 'arg') { }
0 0 elsif ($_[0] eq 'opt') { }
0 0 elsif ($_[0] eq 'control') { }
199 0 0 if $name eq ':DEFAULT'
204 0 0 unless $arg->{'type'}->$Pb::_isa('Type::Tiny')
212 0 0 $_[0]->$Pb::_isa('Type::Tiny') ? :
213 0 0 if ($_[0] eq 'properties')
225 0 0 unless ref $control eq 'HASH'
239 0 0 if $FLOW->error
252 0 0 if exists $args{$arg}
259 0 0 if ($context->error) { }
272 0 0 $name eq ':DEFAULT' ? :
290 0 0 unless defined $t
301 0 0 s/^-//u ? :
326 0 0 unless (&$check())
342 0 0 if ($FLOW->runmode eq 'NOACTION') { }
0 0 elsif ($FLOW->runmode eq 'ASKACTION') { }
345 0 0 $dtype eq 'shell command' ? :
346 0 0 if $action
353 0 0 if $action
368 0 0 unless _should_doit('shell command', join($", @cmd))
372 0 0 if exists $Pb::FLOW->{'LOGFILE'} and not $OPT{'pretend'}
375 0 0 if (defined wantarray) { }
381 0 0 unless $exitval == 0
392 0 0 $name ? :
0 0 unless _should_doit('code block', $name ? "[$name]" : '')
397 0 0 if (my $logfile = $FLOW->logfile)
407 0 0 if $log
408 0 0 if $log
411 0 0 if (not $retval or $@)
413 0 0 $name ? :
414 0 0 $@ ? :
476 0 0 if $BASE_CMD
481 0 0 if @ARGV and $ARGV[0] =~ /^DEBUG=(\d+)$/u