Condition Coverage

blib/lib/App/olson.pm
Criterion Covered Total %
condition 7 17 41.1


and 3 conditions

line !l l&&!r l&&r condition
64 0 0 0 rand $_[0] && $_[0] =~ /\A[!?~]\z/

or 2 conditions

line l !l condition
363 0 0 $$type{'t_present'} ||= sub { my($value) = @_; my $txt = _is_exception $value ? $value x $pew : $$type{'present'}($value); $txt .= ' ' x ($pfw - length($txt)) if $pfw > length $txt; return $txt; }
384 0 0 $$type{'t_cmp'} ||= sub { my($x, $y) = @_; if (_is_exception $x) { if (_is_exception $y) { return _cmp_exception($x, $y); } else { return -1; } ; } else { if (_is_exception $y) { return 1; } else { return &$cmp_normal($x, $y); } ; } ; }
578 8 13 $$ac{'check_value'} || sub { }
741 1 0 $command{$cmd} || sub { die "unrecognised subcommand\n"; }

or 3 conditions

line l !l&&r !l&&!r condition
161 1 1 0 $areas ||= do { my %areas; foreach my $country (values %{olson_country_selection;}) { foreach my $region (values %{$$country{'regions'};}) { $areas{$1} = undef if $$region{'timezone_name'} =~ m[\A([^/]+)/]; } ; } ; \%areas }
254 9 1 0 $now_absolute_time ||= do { my $nowu = time; [int($nowu / 86400) + $unix_epoch_rdn, $nowu % 86400] }