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 33072 1525 if ($level < length $path) { }
70 13809 19263 if (substr $path, $level, 1) { }
71 5215 8594 unless $self->one
74 7374 11889 unless $self->zero
89 0 49 if not $callback or ref $callback ne 'CODE'
97 0 36711 if &$callback($self, $path, $level, @extra)
99 1533 35178 if $level >= length $path
101 14026 21152 if (substr $path, $level, 1) { }
102 14017 9 if $self->one
105 21120 32 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