Branch Coverage

lib/Changes/Group.pm
Criterion Covered Total %
branch 17 40 42.5


line true false branch
40 0 9 unless $self->SUPER::init(@_)
50 0 3 if (scalar @_ == 1 and $self->_is_a($_[0], 'Changes::Change')) { }
53 0 0 if ($elements->exists($change))
71 0 3 unless (exists $self->{'_reset'} and defined $self->{'_reset'} and length $self->{'_reset'})
76 2 6 if (exists $self->{'_cache_value'} and defined $self->{'_cache_value'} and length $self->{'_cache_value'}) { }
6 0 elsif (defined $self->{'raw'} and length "$self->{'raw'}") { }
91 10 0 if (defined $this)
104 3 0 $type eq 'bracket' ? :
3 0 $type eq 'bracket' ? :
109 3 0 if (defined $this)
134 0 0 if (scalar @_ != 1) { }
0 0 elsif ($self->_is_a($_[0], 'Changes::Change')) { }
142 0 0 unless (defined $pos)
153 0 0 defined $_[0] ? :
165 7 0 if ($self->_can($_, "freeze"))
181 0 3 unless $self->_load_class("Changes::Change")
183 3 0 if (defined $defaults)
187 6 9 if defined $defaults->{$opt}
198 0 0 unless $self->_load_class("Changes::NewLine")
213 9 8 if (not exists $self->{'_reset'} && defined $self->{'_reset'} && length $self->{'_reset'} and scalar @_)