Branch Coverage

blib/lib/PDL/Core/Dev.pm
Criterion Covered Total %
branch 22 138 15.9


line true false branch
208 0 0 if $byteorder eq 4321
209 0 0 if $byteorder eq 87654321
210 0 0 if $byteorder eq 1234
211 0 0 if $byteorder eq 12345678
238 0 0 $multi_c && $flist_cache{File::Spec::Functions::rel2abs($src)} ? :
241 0 0 if ($internal) { }
287 0 0 if index($eumm->{'INC'}, $pdl_inc) == -1
290 0 0 unless grep(($_ eq $pdl_tm), @$tms)
306 0 0 if $EXTRAS{$f}{'OBJECT'}
307 0 0 if $EXTRAS{$f}{'DEFINE'}
308 0 0 if $EXTRAS{$f}{'INC'}
310 0 0 unless open my $fh, ">", $pmfile
316 0 0 if $EXTRAS{$f}{'OBJECT'}
317 0 0 if (ref $eumm->{'clean'}{'FILES'}) { }
330 0 0 unless ($flist_cache{$abs_src})
332 0 0 unless ($INC{'PDL/Types.pm'})
346 0 0 if $parts[0] eq "PDL"
352 0 0 unless $multi_c
353 0 0 $deep ? :
361 0 2 if ($multi_c) { }
375 0 2 if ($internal)
381 0 2 $internal ? :
0 2 $internal ? :
418 0 0 @_ > 0 ? :
419 0 0 unless defined $dir and -d $dir
421 0 0 unless -f $file
426 0 0 unless my($name) = $content =~ /=head1\s+NAME\s+(\S+)\s+/gs
441 0 0 $is_lib_path ? :
442 0 0 if $todir
443 0 0 $is_lib_path ? :
446 0 0 $is_lib_path ? :
448 0 0 unless $rv == 0 and -f $basefile
449 0 0 unless File::Copy::copy($basefile, $outfile)
452 0 0 unless chdir $old_cwd
455 0 0 if (scalar keys %added > 0)
567 0 0 ref $_[$#_] eq 'HASH' ? :
575 0 0 exists $opt->{'clean'} ? :
576 0 0 if ($mmprocess)
581 0 0 unless $hide
584 0 0 if $txt =~ /\S/
585 0 0 !$hide ? :
586 0 0 if ($^O =~ /mswin32/i)
589 0 0 unless open FILE, ">$tc"
602 0 0 unless open T, ">$te"
605 0 0 unless $hide
606 0 0 system($cmd) == 0 && -e $te ? :
607 0 0 if $clean
608 0 0 $success ? :
0 0 unless $txt =~ /^\s*$/
609 0 0 $success ? :
0 0 if $txt =~ /^\s*$/ and not $hide
615 0 0 if $^O =~ /MSWin/
616 0 0 if $^O =~ /cygwin/
617 0 0 unless $^O eq "solaris" or $^O eq "sunos"
623 0 0 if (-e "$d/libsunmath.so" or -e "$d/libsunmath.a")
629 0 0 if $ok
636 0 0 if (-e "$d/libsunmath.so")
641 0 0 if (-e "$d/libsunmath.a")
647 0 0 unless $ok
685 2 9 grep($ref->{$_}, ('set', 'postset')) ? :
686 3 8 $with_mode ? :
687 1 10 $ref->{'noret'} ? :
693 1 10 $ref->{'noret'} ? :
696 2 9 if $ref->{'set'} or $ref->{'noret'}
697 10 1 unless $ref->{'noret'}
698 1 10 if $ref->{'postset'}
699 10 1 unless $ref->{'noret'}
721 0 10 if defined $got_complex_cache{$name}
724 10 0 $PDL::Core::Dev::Config{'gccversion'} ? :