Branch Coverage

blib/lib/E2/E2Node.pm
Criterion Covered Total %
branch 3 102 2.9


line true false branch
65 0 3 unless my $self = shift()
67 0 3 if $DEBUG > 1
93 0 0 unless my $self = shift()
95 0 0 unless ($self->node_id)
97 0 0 if (defined $$self{'mine'})
105 0 0 unless my $self = shift()
107 0 0 unless ($self->node_id)
109 0 0 if ($$self{'locked'}) { }
114 0 0 unless my $self = shift()
116 0 0 unless $self->node_id
122 0 0 unless my $self = shift()
124 0 0 unless $self->node_id
130 0 0 unless my $self = shift()
132 0 0 unless $self->node_id
138 0 1 unless my $self = shift()
145 0 0 if ($$self{'locked'} eq '')
159 0 0 $uid ? :
0 0 if ($self->logged_in and $uid ? $uid == $wu->author_id : lc $name eq lc $wu->author)
198 0 0 unless my $self = shift()
200 0 0 unless $self->exists
205 0 0 unless my $self = shift()
208 0 0 if ($num)
216 0 0 unless my $self = shift()
218 0 0 unless my $author = shift()
221 0 0 unless ($self->node_id)
224 0 0 if (lc $author eq lc $$self{'writeups'}[$i]->author)
234 0 0 unless my $self = shift()
237 0 0 unless (defined $i)
243 0 0 unless my $self = shift()
245 0 0 unless ($self->node_id)
250 0 0 unless my $self = shift()
252 0 0 unless ($self->node_id)
258 0 0 unless my $self = shift()
259 0 0 unless my $title = shift()
261 0 0 if $DEBUG > 1
265 0 0 unless ($self->logged_in)
266 0 0 if $DEBUG
283 0 0 if (!$r =~ /
296 0 0 unless my $self = shift()
297 0 0 unless my(%list) = @_
299 0 0 if $DEBUG > 1
301 0 0 unless ($self->logged_in)
302 0 0 if $DEBUG
313 0 0 if ($v != 1 and $v != -1)
327 0 0 unless ($r =~ /
336 0 0 unless my $self = shift()
338 0 0 unless my $text = shift()
340 0 0 unless my $type = shift()
344 0 0 if $DEBUG > 1
346 0 0 unless ($self->logged_in)
347 0 0 if $DEBUG