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
211 27 8 32 exists $conf->{'config'}{'version_patchlevel_string'} and not exists $conf->{'config'}{'api_version'}
255 0 0 32 defined $vers and defined $subvers
0 0 32 defined $vers and defined $subvers and defined $rel
322 0 1 47 ref $conf eq "HASH" and exists $conf->{'config'}
1 1 46 ref $conf eq "HASH" and exists $conf->{'config'} and exists $conf->{'build'}
1 1 45 ref $conf eq "HASH" and exists $conf->{'config'} and exists $conf->{'build'} and ref $conf->{'config'} eq "HASH"
2 1 44 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
230 0 67 $conf->{'config'}{'perl_patchlevel'} ||= ""
237 364 507 $conf->{'config'}{$_} ||= "undef"

or 3 conditions

line l !l&&r !l&&!r condition
206 63 16 122 $conf->{'config'}{$derived} ||= $conf->{'config'}{$official}
207 16 63 122 $conf->{'config'}{$official} ||= $conf->{'config'}{$derived}
215 0 0 0 $conf->{'config'}{'revision'} ||= $1
218 0 32 0 $conf->{'config'}{'api_version'} ||= $1
220 0 21 11 $conf->{'config'}{'subversion'} ||= $1
222 0 0 0 $conf->{'config'}{'perl_patchlevel'} ||= $1
227 40 0 27 $conf->{'config'}{'version_patchlevel_string'} ||= join(" ", map({$_, $conf->{'config'}{$_};} grep({$conf->{'config'}{$_};} "api_version", "subversion", "perl_patchlevel")))
233 0 0 0 $conf->{'config'}{'git_branch'} ||= $1
234 0 0 0 $conf->{'config'}{'git_describe'} ||= $conf->{'config'}{'perl_patchlevel'}
305 32 0 27 $config{'osname'} ||= $build->{'osname'}
317 45 3 0 shift() || myconfig()