Condition Coverage

blib/lib/OptArgs2/CmdBase_CI.pm
Criterion Covered Total %
condition 15 33 45.4


and 3 conditions

line !l l&&!r l&&r condition
7 6 0 5 exists $_[0]{'parent'} and defined $_[0]{'parent'}

or 3 conditions

line l !l&&r !l&&!r condition
7 0 0 0 $_[0]{'_args'} //= $OptArgs2::CmdBase::_HAS->{'_args'}{'default'}->($_[0])
0 0 0 $_[0]{'_opts'} //= $OptArgs2::CmdBase::_HAS->{'_opts'}{'default'}->($_[0])
16 5 0 $_[0]{'_subcmds'} //= $OptArgs2::CmdBase::_HAS->{'_subcmds'}{'default'}->($_[0])
18 11 0 $_[0]{'args'} //= $OptArgs2::CmdBase::_HAS->{'args'}{'default'}->($_[0])
0 0 6 $_[0]{'no_help'} //= $OptArgs2::CmdBase::_HAS->{'no_help'}{'default'}
19 0 0 $_[0]{'optargs'} //= $OptArgs2::CmdBase::_HAS->{'optargs'}{'default'}->($_[0])
24 11 0 $_[0]{'opts'} //= $OptArgs2::CmdBase::_HAS->{'opts'}{'default'}->($_[0])
0 0 8 $_[0]{'show_color'} //= $OptArgs2::CmdBase::_HAS->{'show_color'}{'default'}->($_[0])
13 0 6 $_[0]{'show_default'} //= $OptArgs2::CmdBase::_HAS->{'show_default'}{'default'}
11 6 0 $_[0]{'subcmds'} //= $OptArgs2::CmdBase::_HAS->{'subcmds'}{'default'}->($_[0])