Branch Coverage

blib/lib/E2/Node.pm
Criterion Covered Total %
branch 11 84 13.1


line true false branch
52 0 15 unless my $self = shift()
54 0 15 if $DEBUG > 1
71 0 0 unless my $self = shift()
73 0 0 if $DEBUG > 1
80 0 0 unless my $self = shift()
81 0 0 unless my $title = shift()
85 0 0 if $DEBUG > 1
87 0 0 if $DEBUG > 2
89 0 0 if $softlink == -1
91 0 0 if $DEBUG > 2 and $softlink
97 0 0 if $type
98 0 0 if $softlink
109 0 0 unless my $self = shift()
110 0 0 unless my $id = shift()
113 0 0 if $DEBUG > 1
115 0 0 if $DEBUG > 2
117 0 0 if $softlink == -1
123 0 0 if $softlink
134 0 5 unless my $self = shift()
135 0 5 unless my $xml = shift()
137 0 5 if $DEBUG > 1
154 0 5 unless ($verified_type)
161 0 5 unless ($xml =~ /]*node_id="(.*?)"/s)
165 0 5 if ($1 == 1140332)
168 0 0 if $DEBUG
180 0 5 if (ref $self eq 'E2::Node') { }
185 0 0 unless ($class)
199 0 0 if $DEBUG > 2
205 0 5 if (lc $self->type_as_string ne lc $verified_type)
237 5 0 if (%h2)
249 0 0 unless my $self = shift()
252 0 0 if $DEBUG > 1
254 0 0 unless ($self->logged_in)
258 0 0 unless ($node_id)
278 0 0 unless my $self = shift()
280 0 0 if (not $self->node_id) { }
285 0 0 unless my $self = shift()
291 0 0 unless my $self = shift()
297 0 0 unless my $self = shift()
303 0 0 unless my $self = shift()
309 0 0 unless my $self = shift()
315 0 0 unless my $self = shift()