Condition Coverage

blib/lib/CLI/Startup.pm
Criterion Covered Total %
condition 51 69 73.9


and 3 conditions

line !l l&&!r l&&r condition
74 1 1 3 defined $settings and ref $settings eq 'HASH'
159 3 2 1 $writer and ref $writer ne 'CODE'
279 94 0 14 $option eq 'verbose' && $optspec->{$V_OPTSPEC}
456 273 534 696 $attrs{'type'} eq '' && $attrs{'argument'} eq ''
561 4 0 2 $alias eq 'verbose' and $default_optspecs->{$V_OPTSPEC} eq $V_FOR_VERBOSE
812 4 19 26 $rcfile and -r $rcfile

or 2 conditions

line l !l condition
155 3 4 shift() || 0
474 104 0 $optspec->{$option} ||= 0
534 5 5 $user_optspecs->{$user_optspec} or 0
573 154 5 $user_options->{$optspec}{'desc'} or 0
656 59 0 $self->get_optspec or 0
674 0 49 $options->{'verbose'} //= 0
798 45 4 $self->get_rcfile || ''
832 26 0 shift @{$files;} || {}
833 26 0 $files->{$rcfile} || {}
901 77 46 $types->{$option} || 'NONE'
912 35 0 $value // 0
964 65 2 $argref->{'options'} || {}
1022 1 1 $main::VERSION || 'UNKNOWN'
1171 2 0 $types->{$setting} || ''
1182 2 0 $types->{$setting} || ''

or 3 conditions

line l !l&&r !l&&!r condition
172 1 5 0 $optspec->{$alias} ||= $$options{$aliases->{$alias}}
235 14 0 0 $optspec->{$V_OPTSPEC} // '' eq $V_FOR_VERBOSE
279 108 0 0 $option eq 'verbose' && $optspec->{$V_OPTSPEC} // '' eq $V_FOR_VERBOSE
902 32 46 45 ref $value eq $type or $type eq 'NONE'
910 11 24 10 $type eq 'BOOLEAN' or $type eq 'FLAG'
1046 0 9 3 shift() || $self->get_rcfile
1127 6 0 0 $options->{'rcfile-format'} || $default