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
212 28 8 33 exists $conf->{'config'}{'version_patchlevel_string'} and not exists $conf->{'config'}{'api_version'}
256 0 0 33 defined $vers and defined $subvers
0 0 33 defined $vers and defined $subvers and defined $rel
336 0 1 49 ref $conf eq "HASH" and exists $conf->{'config'}
1 1 48 ref $conf eq "HASH" and exists $conf->{'config'} and exists $conf->{'build'}
1 1 47 ref $conf eq "HASH" and exists $conf->{'config'} and exists $conf->{'build'} and ref $conf->{'config'} eq "HASH"
2 1 46 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
231 0 69 $conf->{'config'}{'perl_patchlevel'} ||= ""
238 373 524 $conf->{'config'}{$_} ||= "undef"

or 3 conditions

line l !l&&r !l&&!r condition
207 65 16 126 $conf->{'config'}{$derived} ||= $conf->{'config'}{$official}
208 16 65 126 $conf->{'config'}{$official} ||= $conf->{'config'}{$derived}
216 0 0 0 $conf->{'config'}{'revision'} ||= $1
219 0 33 0 $conf->{'config'}{'api_version'} ||= $1
221 0 22 11 $conf->{'config'}{'subversion'} ||= $1
223 0 0 0 $conf->{'config'}{'perl_patchlevel'} ||= $1
228 41 0 28 $conf->{'config'}{'version_patchlevel_string'} ||= join(" ", map({$_, $conf->{'config'}{$_};} grep({$conf->{'config'}{$_};} "api_version", "subversion", "perl_patchlevel")))
234 0 0 0 $conf->{'config'}{'git_branch'} ||= $1
235 0 0 0 $conf->{'config'}{'git_describe'} ||= $conf->{'config'}{'perl_patchlevel'}
319 33 0 28 $config{'osname'} ||= $build->{'osname'}
331 47 3 0 shift() || myconfig()