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
41 9 61 9 defined ${$$self{'ARRAY_REDIS_AOF'};}[0] and not ${$$self{'ARRAY_REDIS_AOF'};}[0] =~ /^\*\d/

or 3 conditions

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