Branch Coverage

blib/lib/Net/Bonjour/Entry.pm
Criterion Covered Total %
branch 19 32 59.3


line true false branch
152 0 2 if (ref $_[0] eq 'HASH') { }
0 2 elsif ($#_ == 0) { }
157 0 0 if ref $$attrs{'attr'} eq 'HASH'
185 0 0 if ($srv->additional) { }
192 0 0 if ($arr->type eq 'A')
200 0 0 if ($txt)
223 0 2 if (@_)
240 2 2 if (@_)
248 0 0 if (@_)
259 2 2 if (@_)
293 2 4 if ($type eq 'SRV') { }
2 2 elsif ($type eq 'TXT') { }
334 6 6 if $$self{'_' . $type}
343 2 2 if ($_[0])
356 2 6 if (ref $_[0] eq 'ARRAY')
368 6 102 if (@_)