Branch Coverage

File:blib/lib/OpenSRF/Utils.pm
Coverage:0.0%

line%coveragebranch
480TFunless my $type = ref $self
530TFif (defined $_[0])
640TFunless ($class->can($part))
690TFif ($new_val)
1030TFunless open SM, '|/usr/sbin/sendmail -U -t'
1050TFunless close SM
1140TFif lc $$self{'keep_space'} ne 'true'
1180TFif ($line =~ /^$/o and lc $$self{'keep_space'} ne 'true')
1220TFif (/^([^<]+)\s*<<\s*(\w+)\s*$/o)
1270TFif /^$breaker/
1320TFif ($line =~ /^#/ and not $line =~ /^#\s*include\s+/o)
1360TFif ($line =~ /\\$/o)
1710TFif exists $$self{$es_part} and defined $$self{$es_part} and $$self{$es_part}
1720TFif (not $$self{$part} or not $$self{$part} =~ /\d+/)
1770TFif ($tm[5] > 0)
1960TFif ($tm[5] > 0)
2630TFif $sign
2640TFif $type eq 's'
2650TFif $type =~ /^m(?!o)/io
2660TFif $type =~ /^h/
2670TFif $type =~ /^d/io
2680TFif $2 =~ /^w/io
2690TFif $type =~ /^mo/io
2700TFif $type =~ /^y/io
2860TFif ($y = int $interval / 31536000) { }
2870TF$y > 1 ? :
2920TFif $limit eq 'y'
2940TFif ($M = int $ym / 2628000) { }
2950TF$string ? :
0TF$M > 1 ? :
3000TFif $limit eq 'M'
3020TFif ($w = int $Mm / 604800) { }
3030TF$string ? :
0TF$w > 1 ? :
3080TFif $limit eq 'w'
3100TFif ($d = int $wm / 86400) { }
3110TF$string ? :
0TF$d > 1 ? :
3160TFif $limit eq 'd'
3180TFif ($h = int $dm / 3600) { }
3190TF$string ? :
0TF$h > 1 ? :
3240TFif $limit eq 'h'
3260TFif ($m = int $hm / 60) { }
3270TF$string ? :
0TF$m > 1 ? :
3320TFif $limit eq 'm'
3340TFif ($s = int $mm) { }
3350TF$string ? :
0TF$s > 1 ? :
3370TFunless $string
3570TFif $PS_NAME
3770TFif ($date =~ /^\s*(\d{4})-?(\d{2})-?(\d{2})/o)
3800TFif ($date =~ /(\d{2}):(\d{2}):(\d{2})/o) { }
3840TFif ($date =~ /([-+]{1})([0-9]{1,2})(?::?([0-9]{1,2}))*\s*$/o) { }
3960TFif (length $z > 3 and index($z, ':') == -1)
3980TFif length $z > 6
4230TFif ($pid = safe_fork($self)) { }
0TFelsif (defined $pid) { }
4470TFif (defined($pid = fork)) { }
0TFelsif ($! == 11) { }
4480TFunless $pid
4510TFif ref $self
4550TFif $! and ref $self