Condition Coverage

blib/lib/IRC/Server/Tree/Network.pm
Criterion Covered Total %
condition 12 31 38.7


and 2 conditions

line l !l condition
219 1 5 ref $index_route eq 'ARRAY' and scalar @$index_route
222 0 5 ref $named_hops eq 'ARRAY' and scalar @$named_hops

and 3 conditions

line !l l&&!r l&&r condition
22 0 0 2 blessed $item and $item->isa('IRC::Server::Tree')
103 0 0 0 blessed $arrayref and $arrayref->isa('IRC::Server::Tree')
132 0 0 6 defined $parent_name and defined $new_name
136 0 0 1 blessed $arrayref and $arrayref->isa('IRC::Server::Tree')
181 0 0 1 $names and @$names

or 2 conditions

line l !l condition
34 0 2 $opts{'memoize'} || 1
175 1 0 $self->tree->del_node_by_name($peer) || (return)
194 1 0 $self->tree->del_node_by_name($peer) || (return)

or 3 conditions

line l !l&&r !l&&!r condition
103 0 0 0 ref $arrayref eq 'ARRAY' or blessed $arrayref and $arrayref->isa('IRC::Server::Tree')
136 1 0 1 ref $arrayref eq 'ARRAY' or blessed $arrayref and $arrayref->isa('IRC::Server::Tree')