Condition Coverage

blib/lib/Plack/Middleware/AutoRefresh.pm
Criterion Covered Total %
condition 4 12 33.3


and 3 conditions

line !l l&&!r l&&r condition
75 0 0 0 defined $timestamp and $timestamp < $$self{'last_change'}

or 2 conditions

line l !l condition
29 0 1 $$self{'filter'} ||= sub { not $_[0] =~ qr/\.(swp|bak)$/; }
35 0 1 $$self{'wait'} ||= 5
37 0 1 $$self{'dirs'} ||= ['.']

or 3 conditions

line l !l&&r !l&&!r condition
38 1 0 0 -d $_ or carp("AutoRefresh: can't find directory $_")