Branch Coverage

blib/lib/Net/IP/Identifier/Binode.pm
Criterion Covered Total %
branch 26 44 59.0


line true false branch
38 0 12589 if defined $_[0] and ref $_[0] ne 'Net::IP::Identifier::Binode'
47 0 0 if ($ii % 8 == 0)
48 0 0 if $ii >= $max
51 0 0 $ii < $max ? :
69 32979 1519 if ($level < length $path) { }
70 13766 19213 if (substr $path, $level, 1) { }
71 5215 8551 unless $self->one
74 7374 11839 unless $self->zero
89 0 50 if not $callback or ref $callback ne 'CODE'
97 0 36645 if &$callback($self, $path, $level, @extra)
99 1527 35118 if $level >= length $path
101 13989 21129 if (substr $path, $level, 1) { }
102 13980 9 if $self->one
105 21096 33 if $self->zero
113 0 21 if not $callback or ref $callback ne 'CODE'
121 10 1307 if &$callback($self, $level, @extra)
124 1049 258 if $self->zero
126 247 1060 if $self->one
133 0 0 if not $callback or ref $callback ne 'CODE'
144 0 0 if $self->zero
146 0 0 if not $stop and $self->one
149 0 0 if not $stop