Branch Coverage

blib/lib/Test/PONAPI/Repository/MockDB/Table.pm
Criterion Covered Total %
branch 11 14 78.5


line true false branch
64 201 7 unless $args{'page'}
69 8 0 $desc ? :
77 8 200 %order_by ? :
99 0 8 unless (my $stmt = eval { do { 'SQL::Composer::Update'->new('table', $table, 'values', [%$values], 'where', ['id', $id], 'driver', 'sqlite') } })
117 132 76 if $ref eq 'ARRAY'
119 66 10 unless $ref eq 'HASH' and exists $fields->{$type}
132 0 208 if $self->TABLE ne $type