Branch Coverage

blib/lib/Cassandra/Client/Protocol.pm
Criterion Covered Total %
branch 18 66 27.2


line true false branch
170 0 943 if (utf8::is_utf8($_[0]))
181 0 0 if ($length > 0) { }
192 0 0 if (utf8::is_utf8($_[0]))
213 0 0 if (utf8::is_utf8($_[0]))
217 0 0 defined $_[0] ? :
222 0 0 if ($len > 0) { }
0 0 elsif ($len < 0) { }
235 0 0 if (utf8::is_utf8($_[0]))
239 0 0 defined $_[0] ? :
244 0 0 if ($len > 0) { }
0 0 elsif ($len < 0) { }
261 0 0 if ($length == 4) { }
277 4 346 if ($id == 0) { }
319 27 elsif ($id < 32) { }
13 14 elsif ($id == 32 or $id == 34) { }
9 5 elsif ($id == 33) { }
2 3 elsif ($id == 48) { }
3 0 elsif ($id == 49) { }
338 0 96 unless $protoversion == 4 and $is_result
342 96 0 $columns ? :
0 96 defined $paging_state ? :
345 96 0 $columns ? :
346 0 96 if $flags & 2
347 96 0 unless ($flags & 4)
372 0 0 $page_size ? :
0 0 $paging_state ? :
0 0 $timestamp ? :
388 0 0 if ($code == 4096) { }
0 0 elsif ($code == 4352) { }
0 0 elsif ($code == 4608) { }
416 0 0 unless ($_[0] =~ /^-?[0-9\.E]+$/i)
420 0 0 if ($negative)
428 0 0 if ($negative)