Branch Coverage

blib/lib/Protocol/CassandraCQL/ColumnMeta.pm
Criterion Covered Total %
branch 21 32 65.6


line true false branch
53 4 10 unless defined $version
67 2 12 if ($has_paging)
71 2 12 if ($no_metadata) { }
75 12 0 $has_gts ? :
79 22 0 $has_gts ? :
152 28 0 if 1 == grep({"$$_[1].$$_[2]" eq $name;} @$columns)
155 28 0 if 1 == grep({$$_[2] eq $name;} @$columns)
192 0 7 unless $idx >= 0 and $idx < @{$$self{'columns'};}
195 5 2 if wantarray
212 0 28 unless $idx >= 0 and $idx < @{$$self{'columns'};}
228 0 52 unless $idx >= 0 and $idx < @{$$self{'columns'};}
264 0 4 if @data > $n
265 0 4 if @data < $n
268 7 2 unless my $e = $self->column_type($i)->validate($data[$i])
273 6 0 defined $data[$_] ? :
289 17 0 defined $bytes[$_] ? :