Condition Coverage

blib/lib/ExtUtils/MY_Metafile.pm
Criterion Covered Total %
condition 31 84 36.9


and 2 conditions

line l !l condition
176 2 0 $meta_spec &&= {%$meta_spec}
211 0 2 @dirs && {'directory', \@dirs}

and 3 conditions

line !l l&&!r l&&r condition
87 3 0 0 @_ >= 2 && shift()
172 2 0 0 $$param{'meta_spec'} and $$param{'meta-spec'}
178 2 0 0 exists $$param{'meta_spec_version'} and exists $$meta_spec{'version'}
205 2 0 0 $no_index and $$no_index{'directory'}
215 2 0 0 $$param{'no_index'} and not $ENV{'NO_NO_INDEX_CHECK'}
221 0 0 0 $key eq 'dir' and $$meta_spec{'version'} >= 1.3
236 0 0 0 $$this{'ABSTRACT_FROM'} and open my $fh, "< $$this{'ABSTRACT_FROM'}"
310 0 0 7 $$yaml{$key} && $$yaml{$key} =~ /\w/
315 2 0 0 exists $$param{'license'} and exists $$this{'LICENSE'}
2 0 0 exists $$param{'license'} and exists $$this{'LICENSE'} and $$param{'license'} ne $$this{'LICENSE'}
326 2 0 0 $$yaml{'extras'} &&= "\n# extras.\n$$yaml{'extras'}"

or 2 conditions

line l !l condition
90 0 3 $distname ||= ''
177 0 2 $meta_spec ||= {}
320 2 0 $$yaml{'license'} ||= 'license: unknown'
363 8 4 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
43 7 1 2 !@_ || grep({/^:all$/;} @_)
157 0 1 1 $ExtUtils::MY_Metafile::META_PARAMS{$$this{'DISTNAME'}} || $ExtUtils::MY_Metafile::META_PARAMS{''}
171 0 0 2 $$param{'meta_spec'} || $$param{'meta-spec'}
182 0 0 2 $$param{'meta_spec_version'} || $ExtUtils::MY_Metafile::DEFAULT_META_SPEC_VERSION
0 2 0 $$meta_spec{'version'} ||= $$param{'meta_spec_version'} || $ExtUtils::MY_Metafile::DEFAULT_META_SPEC_VERSION
183 0 2 0 $$meta_spec{'url'} ||= "http://module-build.sourceforge.net/META-spec-v$$meta_spec{'version'}.html"
200 0 0 2 $$param{'requires'} || $$this{'PREREQ_PM'}
223 0 0 0 $warned ||= print(STDERR "\n")
228 0 0 0 $warned ||= print(STDERR "\n")
311 7 0 0 $ok ||= $$extras{$key}
324 18 8 0 $$yaml{$key} ||= "#${key}:"
377 2 0 0 $out ||= ' ' x $depth . '[]'
385 6 0 0 $out ||= ' ' x $depth . '{}'