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")
266 3 6 0 exists $self->{'lang'} and $lang eq $self->{'lang'}
317 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")
365 0 0 3 defined $val and &Astro::Coord::ECI::Utils::looks_like_number($val)
377 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
408 2 2 2 defined $self->{'config'}{'_twilight'} and defined $loc
424 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
452 0 1 6 defined $values and $values ne ""
487 12 0 3 defined $cfg->{'latitude'} and defined $cfg->{'longitude'}
524 3 0 4 &Scalar::Util::blessed($from) and $from->isa("Date::ManipX::Almanac::Date")
547 3 0 0 not $force and exists $self->{'lang'}
577 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}; }
328 6 0 $_ ||= 0
352 2 10 $factory->{$class} || sub { $class->new; }
496 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)
230 0 0 1 $self->dmd->config($name, $val) || $self->_update_language || $self->_config_almanac_default_sky || $self->_config_almanac_var_twilight('twilight', 'civil')
571 13 1 0 $self->{'lang'}{'obj'} ||= $self->{'lang'}{'mod'}->__new("sky", $self->{'config'}{'sky'})
647 1 2 0 $self->_get_twilight_qual($qual) // $station->get("twilight")