Branch Coverage

blib/lib/Farly/ASA/Annotator.pm
Criterion Covered Total %
branch 30 48 62.5


line true false branch
107 0 4308 if $seen{$node}++
110 1663 2645 if (exists $$node{'__VALUE__'})
117 12 2633 if ($node->isa('named_ip'))
124 408 7568 if $key eq 'EOL'
128 3978 3590 if (blessed $next)
140 0 12 unless my $name = $$node{'name'}{'NAME_ID'}{'__VALUE__'}
143 0 12 unless my $ip = $$node{'IPADDRESS'}{'__VALUE__'}
154 0 26 unless my $name = $$node{'__VALUE__'}
157 0 26 unless my $ip = $$self{'NAMES'}{$name}
166 0 6 unless my $named_net = $$node{'__VALUE__'}
171 0 6 unless my $ip = $$self{'NAMES'}{$name}
192 20 0 defined $self->icmp_formatter->as_integer($icmp_type) ? :
202 153 15 defined $self->protocol_formatter->as_integer($protocol) ? :
212 10 55 defined $self->port_formatter->as_integer($port) ? :
224 0 15 if (defined $self->port_formatter->as_integer($low))
228 0 15 if (defined $self->port_formatter->as_integer($high))
240 0 15 defined $self->port_formatter->as_integer($port) ? :
250 0 0 defined $self->port_formatter->as_integer($port) ? :
258 0 107 unless my $entry = $$Entry_Map{$token_class}
272 0 1271 unless my $type = ref $self
275 0 1271 unless defined $node
278 0 1271 unless defined $$node{'__VALUE__'}
283 0 1271 unless my $class = $$Token_Class_Map{$token_class}
290 107 1164 if ($class eq 'Farly::Object::Ref') { }