Branch Coverage

blib/lib/Net/IP/Identifier/Binode.pm
Criterion Covered Total %
branch 16 44 36.3


line true false branch
38 0 6 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 9 3 if ($level < length $path) { }
70 3 6 if (substr $path, $level, 1) { }
71 3 0 unless $self->one
74 3 3 unless $self->zero
89 0 3 if not $callback or ref $callback ne 'CODE'
97 0 24 if &$callback($self, $path, $level, @extra)
99 6 18 if $level >= length $path
101 6 12 if (substr $path, $level, 1) { }
102 6 0 if $self->one
105 12 0 if $self->zero
113 0 0 if not $callback or ref $callback ne 'CODE'
121 0 0 if &$callback($self, $level, @extra)
124 0 0 if $self->zero
126 0 0 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