Condition Coverage

blib/lib/Zydeco/Lite/App.pm
Criterion Covered Total %
condition 21 65 32.3


and 3 conditions

line !l l&&!r l&&r condition
152 0 0 0 $type->is_parameterized and $type->parent == &ArrayRef()
178 0 1 0 $type->is_parameterized and $type->parent == &ArrayRef()
251 0 0 0 $cr->blessed and $cr->isa('Ask::Question')
263 0 0 0 is_Int($builder) and $builder eq 1

or 2 conditions

line l !l condition
36 1 0 &Zydeco::Lite::_pop_type(scalar &CodeRef(), \@_) || sub {
46 0 1 $spec->{'with'} ||= []
47 0 1 $spec->{'can'}{'command_name'} ||= sub () {
50 1 0 delete $spec->{'-FLAGS'} || {}
51 1 0 delete $spec->{'-ARGS'} || []
52 0 1 $spec->{'symmethod'} ||= []
65 0 1 $spec->{'with'} ||= []
88 0 2 $flag_spec{'kingpin'} ||= sub {
116 0 1 $arg_spec{'kingpin'} ||= sub {
118 0 1 $Zydeco::Lite::THIS{'CLASS_SPEC'}{'-ARGS'} ||= []
128 0 3 $spec->{'documentation'} || 'No description available.'
272 1 0 &Zydeco::Lite::_pop_type(scalar &CodeRef(), \@_) || sub {
282 0 1 $THIS{'MY_SPEC'}{'-COMMANDS'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
49 1 0 0 $spec->{'-IS_COMMAND'} or $spec->{'-FLAGS'}
0 0 0 $spec->{'-IS_COMMAND'} or $spec->{'-FLAGS'} or $spec->{'-ARGS'}
69 1 0 0 &make_fake_call(scalar caller)->(\&Zydeco::Lite::app, @_, $wrapped) || $_[0]
128 0 3 0 $spec->{'init_arg'} || $name
143 3 0 0 $spec->{'type'} || $spec->{'isa'}
3 0 0 $spec->{'type'} || $spec->{'isa'}
253 0 0 0 $spec->{'documentation'} || $name
369 0 1 0 $check ||= 'MooX::Press'->_build_method_signature_check('Zydeco::Lite::App::Trait::Application', 'Zydeco::Lite::App::Trait::Application::read_single_config', 'positional', $signature, \@invocants)
468 0 1 0 $check ||= 'MooX::Press'->_build_method_signature_check('Zydeco::Lite::App::Trait::Application', 'Zydeco::Lite::App::Trait::Application::exit', 'positional', $signature, \@invocants)