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 11 50 defined $main_mtime and $main_mtime > $mtime
476 1995 0 97 defined $fi->{'cache_mtime'} and $self->{'cache'} >= 1
1995 13 84 defined $fi->{'cache_mtime'} and $self->{'cache'} >= 1 and $threshold >= $fi->{'orig_mtime'}

or 2 conditions

line l !l condition
369 149 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 2021 2 $self->_load_compiled($fi, $mtime) || $self->_load_source($fi, $mtime)
473 5 88 1992 $threshold ||= $fi->{'cache_mtime'}
576 49 0 54 ref $self->{'compiler'} || $self->{'compiler'}
68 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'};})]])