Branch Coverage

blib/lib/DateTime/TimeZone/HPUX.pm
Criterion Covered Total %
branch 13 38 34.2


line true false branch
18 1 1 if defined $_java_bin
20 0 1 exists $ENV{'JAVA_HOME'} ? :
27 9 0 unless -x "$_"
42 1 0 if (@_ and $_[0])
47 1 1 unless (defined $_classes_dir)
55 0 2 unless (-r "$_classes_dir/TZ.class")
59 2 0 unless ($java_bin)
68 0 0 if defined $name
72 0 0 unless $olson =~ m[/]
85 0 1 if $@
87 0 1 if (exists $DateTime::TimeZone::HPUX::Map::tz_map{$tz}) { }
93 0 1 if ($tz =~ /^([A-Z]{3,})(-?)([1-9]?\d(?::(\d{2}))?)(#\w+)?$/) { }
96 0 0 if length $offset < 2
97 0 0 if length $offset == 2
100 0 0 $sign eq '-' ? :
105 0 1 if (defined $tz_name) { }
124 0 0 unless exists $options{'name'}
126 0 0 if ($name eq 'local') { }
130 0 0 unless defined $tz