Branch Coverage

blib/lib/Ordeal/Model/Backend/Raw.pm
Criterion Covered Total %
branch 13 26 50.0


line true false branch
28 0 1 unless ref $data eq 'HASH'
31 0 1 unless ref $data->{'cards'} eq 'ARRAY'
33 0 1 unless ref $data->{'decks'} eq 'ARRAY'
38 0 6 unless ref $card eq 'HASH'
40 0 6 unless defined $id
41 0 6 if exists $card_for{$id}
50 0 1 unless ref $deck eq 'HASH'
52 0 1 unless defined $id
53 0 1 if exists $deck_for{$id}
57 0 1 unless ref $cards eq 'ARRAY'
60 0 6 unless my $card = $card_for{$_}
76 0 0 unless my $card = $self->_card_for->{$id}
81 1 1 unless my $deck = $self->_deck_for->{$id}