Condition Coverage

blib/lib/DNS/Oterica/Hub.pm
Criterion Covered Total %
condition 3 18 16.6


and 3 conditions

line !l l&&!r l&&r condition
114 1 0 0 $domreg->{$name} and $arg
211 0 0 0 $domain->{$name} and $arg

or 3 conditions

line l !l&&r !l&&!r condition
121 0 1 0 $domreg->{$name} ||= 'DNS::Oterica::Node::Domain'->new({'domain', $name, %{{} unless $arg;}, 'hub', $self})
137 0 0 0 $self->_net_registry->{$name} || confess("no such network '${name}'")
213 0 0 0 $domain->{'nodes'}{$name} ||= 'DNS::Oterica::Node::Host'->new({'domain', $domain_name, 'hostname', $name, %$arg, 'hub', $self})
253 0 0 1 $self->_node_family_registry->{$name} || confess("unknown family $name")