Branch Coverage

blib/lib/Paws/Kinesis/MemoryCaller.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
141 0 64 unless my $method = {'Paws::Kinesis::CreateStream', '_create_stream', 'Paws::Kinesis::DescribeStream', '_describe_stream', 'Paws::Kinesis::GetRecords', '_get_records', 'Paws::Kinesis::GetShardIterator', '_get_shard_iterator', 'Paws::Kinesis::PutRecord', '_put_record', 'Paws::Kinesis::PutRecords', '_put_records'}->{$action_class}
151 2 7 unless $last_shard >= 0
175 1 11 unless my $method = {'LATEST', '_get_shard_iterator_latest', 'TRIM_HORIZON', '_get_shard_iterator_trim_horizon', 'AT_SEQUENCE_NUMBER', '_get_shard_iterator_at_sequence_number', 'AFTER_SEQUENCE_NUMBER', '_get_shard_iterator_after_sequence_number'}->{$shard_iterator_type}
222 0 3 unless my $sequence_number = $args{'sequence_number'}
240 3 0 @$records ? :
249 4 143 unless my $shard_id__records = $self->store->{$stream_name}
265 1 99 unless my $records = $shard_id__records->{$shard_id}
350 1 17 unless my $address = $self->shard_iterator__address->{$shard_iterator}
360 3 14 defined $limit ? :
383 3 40 unless &decode_base64($data) and length($data) % 4 == 0
448 0 38 unless scalar @$shard_ids