Condition Coverage

blib/lib/CTK/Configuration.pm
Criterion Covered Total %
condition 14 34 41.1


and 3 conditions

line !l l&&!r l&&r condition
278 0 0 2 $cfg and $cfg->can("getall")
279 0 0 2 $cfg and $cfg->can("files")
284 0 0 12 $k and not $lkeys{$k}
314 0 0 1 defined $key and length $key
321 0 0 9 defined $key and length $key

or 2 conditions

line l !l condition
251 0 2 $args{'options'} || {}
254 0 2 $options{'-ConfigPath'} ||= [@dirs]
265 2 0 $self->{'orig'} || {}
273 0 0 $_ // ""
305 3 0 $self->{'error'} // ""

or 3 conditions

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