Condition Coverage

blib/lib/Config/Perl/V.pm
Criterion Covered Total %
condition 34 58 58.6


and 3 conditions

line !l l&&!r l&&r condition
213 33 8 38 exists $conf->{'config'}{'version_patchlevel_string'} and not exists $conf->{'config'}{'api_version'}
257 0 0 38 defined $vers and defined $subvers
0 0 38 defined $vers and defined $subvers and defined $rel
337 0 1 59 ref $conf eq "HASH" and exists $conf->{'config'}
1 1 58 ref $conf eq "HASH" and exists $conf->{'config'} and exists $conf->{'build'}
1 1 57 ref $conf eq "HASH" and exists $conf->{'config'} and exists $conf->{'build'} and ref $conf->{'config'} eq "HASH"
2 1 56 ref $conf eq "HASH" and exists $conf->{'config'} and exists $conf->{'build'} and ref $conf->{'config'} eq "HASH" and ref $conf->{'build'} eq "HASH"

or 2 conditions

line l !l condition
232 0 79 $conf->{'config'}{'perl_patchlevel'} ||= ""
239 418 609 $conf->{'config'}{$_} ||= "undef"

or 3 conditions

line l !l&&r !l&&!r condition
208 75 16 146 $conf->{'config'}{$derived} ||= $conf->{'config'}{$official}
209 16 75 146 $conf->{'config'}{$official} ||= $conf->{'config'}{$derived}
217 0 0 0 $conf->{'config'}{'revision'} ||= $1
220 0 38 0 $conf->{'config'}{'api_version'} ||= $1
222 0 19 19 $conf->{'config'}{'subversion'} ||= $1
224 0 0 0 $conf->{'config'}{'perl_patchlevel'} ||= $1
229 46 0 33 $conf->{'config'}{'version_patchlevel_string'} ||= join(" ", map({$_, $conf->{'config'}{$_};} grep({$conf->{'config'}{$_};} "api_version", "subversion", "perl_patchlevel")))
235 0 0 0 $conf->{'config'}{'git_branch'} ||= $1
236 0 0 0 $conf->{'config'}{'git_describe'} ||= $conf->{'config'}{'perl_patchlevel'}
320 38 0 33 $config{'osname'} ||= $build->{'osname'}
332 57 3 0 shift() || myconfig()