Branch Coverage

blib/lib/E2/Writeup.pm
Criterion Covered Total %
branch 0 104 0.0


line true false branch
60 0 0 unless my $self = shift()
62 0 0 if $DEBUG > 1
94 0 0 unless my $self = shift()
95 0 0 unless my $b = shift()
97 0 0 if $DEBUG > 1
121 0 0 if ($c)
126 0 0 if ($c)
136 0 0 if (my $cools = $b->first_child('cools'))
150 0 0 unless my $self = shift()
161 0 0 unless my $self = shift()
164 0 0 if $DEBUG > 1
166 0 0 unless ($self->logged_in)
167 0 0 if $DEBUG
170 0 0 unless ($node_id)
171 0 0 if $DEBUG
192 0 0 if ($vote != -1 and $vote != 1)
196 0 0 if $DEBUG > 1
198 0 0 unless ($self->logged_in)
199 0 0 if $DEBUG
203 0 0 if ($self->this_user_id == $self->author_id)
204 0 0 if $DEBUG
208 0 0 if ($self->rep->{'cast'})
209 0 0 if $DEBUG
235 0 0 unless $self->load_from_xml($r)
241 0 0 unless my $self = shift()
242 0 0 unless my $text = shift()
245 0 0 if $DEBUG > 1
247 0 0 unless ($self->logged_in)
248 0 0 if $DEBUG
252 0 0 unless ($self->exists)
253 0 0 if $DEBUG
264 0 0 if $cc
280 0 0 if ($r =~ /\(sent writeup message/s and $r =~ /you said "re/s)
290 0 0 unless my $self = shift()
291 0 0 unless my $text = shift()
295 0 0 if $DEBUG > 1
306 0 0 unless ($self->logged_in)
307 0 0 if $DEBUG
311 0 0 if (lc $self->this_username ne lc $self->author)
312 0 0 if $DEBUG
316 0 0 unless ($type_s)
321 0 0 unless ($type)
340 0 0 unless ($r =~ /
353 0 0 unless my $self = shift()
358 0 0 unless my $self = shift()
363 0 0 unless my $self = shift()
368 0 0 unless my $self = shift()
373 0 0 unless my $self = shift()
379 0 0 unless my $self = shift()
384 0 0 unless my $self = shift()
389 0 0 unless my $self = shift()
390 0 0 unless defined $$self{'cools'}