Condition Coverage

blib/lib/Date/ManipX/Almanac/Date.pm
Criterion Covered Total %
condition 41 89 46.0


and 3 conditions

line !l l&&!r l&&r condition
32 6 0 1 @args and 'ARRAY' eq ref $args[-1]
87 0 0 0 &Scalar::Util::blessed($obj) and $obj->isa('Date::ManipX::Almanac::Date')
168 0 0 0 &Scalar::Util::blessed($args[0]) and $args[0]->isa('Date::ManipX::Almanac::Date')
265 1 8 0 exists $self->{'lang'} and $lang eq $self->{'lang'}
316 12 0 23 ref $val and &Scalar::Util::blessed($val)
12 0 23 ref $val and &Scalar::Util::blessed($val) and $val->isa('Astro::Coord::ECI')
364 0 0 3 defined $val and &Astro::Coord::ECI::Utils::looks_like_number($val)
376 0 0 3 defined $val and &Astro::Coord::ECI::Utils::looks_like_number($val)
0 0 3 defined $val and &Astro::Coord::ECI::Utils::looks_like_number($val) and $val >= -90
0 0 3 defined $val and &Astro::Coord::ECI::Utils::looks_like_number($val) and $val >= -90 and $val <= 90
407 2 2 2 defined $self->{'config'}{'_twilight'} and defined $loc
423 0 0 3 defined $val and &Astro::Coord::ECI::Utils::looks_like_number($val)
0 0 3 defined $val and &Astro::Coord::ECI::Utils::looks_like_number($val) and $val >= -180
0 0 3 defined $val and &Astro::Coord::ECI::Utils::looks_like_number($val) and $val >= -180 and $val <= 180
451 0 1 6 defined $values and $values ne ''
486 14 0 3 defined $cfg->{'latitude'} and defined $cfg->{'longitude'}
523 3 0 4 &Scalar::Util::blessed($from) and $from->isa('Date::ManipX::Almanac::Date')
546 3 0 0 not $force and exists $self->{'lang'}
576 0 0 11 defined $body and defined $event

or 2 conditions

line l !l condition
151 8 39 $self->can("_get_config_$name") || sub { $_[0]{'config'}{$name}; }
327 6 0 $_ ||= 0
351 2 10 $factory->{$class} || sub { $class->new; }
495 3 0 $cfg->{'elevation'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
37 1 0 0 $method_map->{$new_method} // $new_method
53 4 3 0 ref $class || $class
138 0 0 0 $self->{'err'} // $self->dmd->err
177 0 0 11 $self->dmd->parse($idate) || $self->__parse_post(@event)
183 0 0 0 $self->dmd->parse_time($idate) || $self->__parse_post(@event)
229 0 0 1 $self->dmd->config($name, $val) || $self->_update_language || $self->_config_almanac_default_sky || $self->_config_almanac_var_twilight('twilight', 'civil')
570 13 1 0 $self->{'lang'}{'obj'} ||= $self->{'lang'}{'mod'}->__new('sky', $self->{'config'}{'sky'})
646 1 2 0 $self->_get_twilight_qual($qual) // $station->get('twilight')