Condition Coverage

blib/lib/Text/Xslate.pm
Criterion Covered Total %
condition 23 29 79.3


and 3 conditions

line !l l&&!r l&&r condition
436 0 10 52 defined $main_mtime and $main_mtime > $mtime
476 1995 0 98 defined $fi->{'cache_mtime'} and $self->{'cache'} >= 1
1995 14 84 defined $fi->{'cache_mtime'} and $self->{'cache'} >= 1 and $threshold >= $fi->{'orig_mtime'}

or 2 conditions

line l !l condition
369 150 1931 $fi->{'cache_mtime'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
246 2125 4015 863 ref $f or &Scalar::Util::looks_like_number($f)
252 863 0 0 ref $v or &Scalar::Util::looks_like_number($v)
362 69 2022 2 $self->_load_compiled($fi, $mtime) || $self->_load_source($fi, $mtime)
473 6 88 1992 $threshold ||= $fi->{'cache_mtime'}
576 49 0 54 ref $self->{'compiler'} || $self->{'compiler'}
69 103 0 $self->{'serial_opt'} ||= 'Data::MessagePack'->pack([ref $self->{'compiler'} || $self->{'compiler'}, $self->_filter_options_for_magic_token($self->_extract_options($self->parser_option)), $self->_filter_options_for_magic_token($self->_extract_options($self->compiler_option)), $self->input_layer, [sort(keys %{$$self{'function'};})]])