inc/Module/Build/Functions.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 77 | 19.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
79 | 0 | 0 | 2 | $0 ne 'Build.PL' and $0 ne 'Makefile.PL' |
150 | 0 | 0 | 0 | /^=cut\s*\z/ and $in_pod |
574 | 0 | 0 | 0 | -d 'script' and -f "script/$script" |
765 | 0 | 0 | 0 | defined $ARGV and $ARGV eq '-' |
768 | 0 | 0 | 0 | @ARGV > 0 && $ARGV[0] eq '-' && -t *STDIN |
852 | 0 | 0 | 0 | defined $type and $type eq 'module' || $type eq 'dist' |
857 | 0 | 0 | 0 | defined $dir and -d $dir |
1047 | 0 | 0 | 0 | defined $Module::Build::Functions::ARGS{'meta_merge'}{$key} and ref $value ne ref $Module::Build::Functions::ARGS{'meta_merge'}{$key} |
line | l | !l | condition |
---|---|---|---|
62 | 0 | 2 | $config{'prefix'} ||= 'inc' |
284 | 1 | 0 | shift() || 1 |
1 | 0 | shift() || 1 | |
343 | 2 | 2 | shift() || 0 |
1 | 0 | shift() || 0 | |
2 | 1 | shift() || 0 | |
641 | 0 | 0 | $ver || 0 |
738 | 0 | 0 | reftype($fh) || '' |
1001 | 0 | 0 | shift() || 'directory' |
1014 | 0 | 0 | shift() || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
63 | 0 | 2 | 0 | $config{'author'} ||= $^O eq 'VMS' ? '_author' : '.author' |
64 | 0 | 2 | 0 | $config{'base'} ||= Cwd::abs_path($FindBin::Bin) |
70 | 0 | 2 | 0 | $config{'name'} ||= $class |
71 | 0 | 2 | 0 | $config{'version'} ||= $class->VERSION |
77 | 0 | 2 | 0 | $config{'file'} ||= "$config{'base'}/$config{'prefix'}/$config{'path'}.pm" |
79 | 0 | 0 | 2 | -f $config{'file'} or $0 ne 'Build.PL' and $0 ne 'Makefile.PL' |
654 | 0 | 0 | 0 | -x $_cmd or $_cmd = 'MM'->maybe_command($_cmd) |
660 | 0 | 0 | 0 | -x $abs or $abs = 'MM'->maybe_command($abs) |
747 | 0 | 0 | 0 | tied *{$fh;} || defined fileno $fh |
790 | 0 | 0 | 0 | $^O eq 'MSWin32' || $^O eq 'cygwin' |
852 | 0 | 0 | 0 | $type eq 'module' || $type eq 'dist' |