Condition Coverage

blib/lib/Redis/AOF/Tail/File.pm
Criterion Covered Total %
condition 6 6 100.0


and 3 conditions

line !l l&&!r l&&r condition
42 8 61 8 defined ${$$self{'ARRAY_REDIS_AOF'};}[0] and not ${$$self{'ARRAY_REDIS_AOF'};}[0] =~ /^\*\d/

or 3 conditions

line l !l&&r !l&&!r condition
52 8 52 9 not $cmd_num or scalar @{$$self{'ARRAY_REDIS_AOF'};} < $cmd_num * 2 + 1