Branch Coverage

blib/lib/Net/DAAP/DMAP.pm
Criterion Covered Total %
branch 19 56 33.9


line true false branch
213 0 0 if (not defined $len or length $buf < 8 + $len)
219 0 0 $data2 ? :
240 0 0 if (ref $data eq 'ARRAY') { }
259 0 0 if (ref $data eq 'ARRAY') { }
279 1 486 unless ($type)
280 0 1 if $NOISY
284 113 373 if ($type == 12) { }
9 364 elsif ($type == 7) { }
295 207 279 if ($type == 9 and eval { do { require Encode; 1 } })
313 0 0 if ($type == 12) { }
330 0 0 if (not defined $len or length $buf < 8 + $len)
336 0 0 $data2 ? :
351 0 0 if ($$elt[0] eq $top)
366 0 0 unless defined $mccr
369 0 0 unless $$mdcl_rec[0] eq 'dmap.dictionary'
373 0 0 if ($$f[0] eq 'dmap.contentcodesnumber')
374 0 0 if ($$f[0] eq 'dmap.contentcodesname')
375 0 0 if ($$f[0] eq 'dmap.contentcodestype')
377 0 0 if ($id eq 'mcnm')
378 0 0 if ($id eq 'pfdt')
390 10680 4 %{$_;} ? :
396 0 486 unless ($name)
397 0 0 if $NOISY
401 0 486 unless ($by_name{$name})
402 0 0 if $NOISY
410 207 279 if ($type == 9 and eval { do { require Encode; 1 } })
413 113 373 if ($type == 12) { }
9 364 elsif ($type == 7) { }