Condition Coverage

blib/lib/WebService/Amazon/DynamoDB/Server/Table.pm
Criterion Covered Total %
condition 2 10 20.0


or 2 conditions

line l !l condition
32 65 0 (shift())->{'TableName'} // die('invalid table - no name')
42 0 0 $self->key_for_id(@id) // (return 'Future'->fail('bad key'))

or 3 conditions

line l !l&&r !l&&!r condition
26 0 0 0 (shift())->{'bus'} //= 'Mixin::Event::Dispatch::Bus'->new
62 0 2 0 $$self{'bytes_used'} //= do { my $total = 0; repeat sub { (shift())->bytes_used->on_done(sub { $total += 100 + (shift()); } ); } , 'foreach', [@{$$self{'items'};}], 'otherwise', sub { 'Future'->done($total); } }