Condition Coverage

lib/Log/Unrotate/Cursor/File.pm
Criterion Covered Total %
condition 14 20 70.0


and 2 conditions

line l !l condition
126 0 43 $pos and scalar keys %$pos

and 3 conditions

line !l l&&!r l&&r condition
70 8 99 0 $rollback and not $rollback =~ /^\d+$/
192 41 2 5 $$poss[0]{'Position'} == $$pos{'Position'} and $$poss[0]{'LastLine'} eq $$pos{'LastLine'}
43 0 5 $$poss[0]{'Position'} == $$pos{'Position'} and $$poss[0]{'LastLine'} eq $$pos{'LastLine'} and $$poss[0]{'Inode'} == $$pos{'Inode'}

or 3 conditions

line l !l&&r !l&&!r condition
160 107 34 0 $$pos{'CommitTime'} ||= &CORE::GLOBAL::time()
196 75 0 0 $$_{'CommitTime'} || $time
198 7 14 22 $times[0] > $$self{'rollback'} or scalar @times == 1