Branch Coverage

blib/lib/Treex/Core/Bundle.pm
Criterion Covered Total %
branch 22 32 68.7


line true false branch
45 52 22 if (defined $self->{'zones'})
48 37 48 if ($value->{'language'} eq $language || $language eq 'mul' and ($value->{'selector'} || '') eq $selector)
68 3 32 if ($self->get_zone($language, $selector))
69 2 1 if (defined $params_rf and $params_rf->{'overwrite'}) { }
93 13 21 if (defined $self->{'zones'}) { }
111 1 3 unless (defined $zone)
119 133 21 if ($self->{'zones'}) { }
131 0 6 unless ($zone)
140 0 6 unless $self->{'zones'}->delete_value($zone)
159 3 3 if ($bundle eq $self) { }
177 0 0 if ($Treex::Core::Config::params_validate)
181 0 0 unless $self->{'zones'}
188 0 0 if (exists $structure->{'trees'}{"${layer}_tree"})
221 0 5 unless $zone
245 2 1 if ($fsfile->tree($position) eq $self)
251 0 2 unless (defined $position_of_reference)