Condition Coverage

blib/lib/CTK/Configuration.pm
Criterion Covered Total %
condition 13 30 43.3


and 3 conditions

line !l l&&!r l&&r condition
238 0 0 2 $cfg and $cfg->can('getall')
239 0 0 2 $cfg and $cfg->can('files')
244 0 0 12 $k and not $lkeys{$k}
262 0 0 1 defined $key and length $key
269 0 0 6 defined $key and length $key

or 2 conditions

line l !l condition
224 0 2 $args{'options'} || {}
227 0 2 $options{'-ConfigPath'} ||= [@dirs]
253 3 0 $self->{'error'} // ''

or 3 conditions

line l !l&&r !l&&!r condition
193 2 0 2 $args{'confdir'} // $args{'dir'}
210 3 0 1 $args{'config'} // $args{'file'}
0 0 1 ($args{'config'} // $args{'file'}) // $args{'fileconf'}