Branch Coverage

blib/lib/Avro/BinaryDecoder.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
67 1 1331 unless my $type = "Avro::Schema"->match("writer", $writer_schema, "reader", $reader_schema)
79 2 0 ref $schema ? :
173 2 22 unless ($r_field_schema)
189 1 1 unless (exists $extra_fields{$name}{'default'})
212 2 3 unless $reader_schema->is_data_valid($w_data)
222 0 0 if ($block_count < 0) { }
256 0 318 if ($block_count < 0)
301 0 112 if ($block_count < 0)
308 0 333 unless (defined $key and length $key)
326 0 0 unless my $union_schema = $schema->schemas->[$idx]
367 0 2084 if (1 & $int) { }