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 48 defined $main_mtime and $main_mtime > $mtime
476 1997 0 97 defined $fi->{'cache_mtime'} and $self->{'cache'} >= 1
1997 9 88 defined $fi->{'cache_mtime'} and $self->{'cache'} >= 1 and $threshold >= $fi->{'orig_mtime'}

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
246 2146 4057 872 ref $f or &Scalar::Util::looks_like_number($f)
252 872 0 0 ref $v or &Scalar::Util::looks_like_number($v)
362 72 2020 2 $self->_load_compiled($fi, $mtime) || $self->_load_source($fi, $mtime)
473 5 88 1994 $threshold ||= $fi->{'cache_mtime'}
576 46 0 58 ref $self->{'compiler'} || $self->{'compiler'}
70 104 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'};})]])