Condition Coverage

blib/lib/IRC/Server/Tree.pm
Criterion Covered Total %
condition 15 28 53.5


and 2 conditions

line l !l condition
73 0 0 carp("Cannot add node to nonexistant parent $parent_name") and return
147 0 0 carp("Cannot del nonexistant node $name") and return

and 3 conditions

line !l l&&!r l&&r condition
29 3 0 1 blessed $opt and $opt->isa('IRC::Server::Tree')

or 2 conditions

line l !l condition
53 13 5 $arrayref ||= []
85 4 9 $arrayref || []
304 2 5 $indent == 1 or scalar @nodes

or 3 conditions

line l !l&&r !l&&!r condition
119 0 1 0 $parent_ref ||= $self
155 0 4 0 $parent_ref || $self
178 47 0 0 $ref_or_name || $self
220 4 8 0 $parent_ref || $self
259 7 24 0 $parent_ref || $self