blib/lib/WebService/Amazon/DynamoDB/Server/Item.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 1 | 3 | 33.3 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
65 | 0 | 14 | 0 | $$self{'bytes_used'} //= do { my $total = 0; foreach my $attr (@{$$self{'attributes'};}) { $total += length &Encode::encode('UTF-8', $$attr{'key'}); $total += $self->bytes_for($$attr{'type'}, $$attr{'value'}); }; 'Future'->done($total) } |