Branch Coverage

lib/Changes/Group.pm
Criterion Covered Total %
branch 19 42 45.2


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 3 8 exists $self->{'_reset'} ? :
72 0 3 unless (exists $self->{'_reset'} and defined $self->{'_reset'} and length $self->{'_reset'})
77 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'}") { }
93 10 0 if (defined $this)
107 3 0 $type eq 'bracket' ? :
3 0 $type eq 'bracket' ? :
113 3 0 if (defined $this)
139 0 0 if (scalar @_ != 1) { }
0 0 elsif ($self->_is_a($_[0], 'Changes::Change')) { }
147 0 0 unless (defined $pos)
159 0 0 defined $_[0] ? :
172 7 0 if ($self->_can($_, "freeze"))
188 0 3 unless $self->_load_class("Changes::Change")
190 3 0 if (defined $defaults)
194 6 9 if defined $defaults->{$opt}
205 0 0 unless $self->_load_class("Changes::NewLine")
220 9 8 if (not exists $self->{'_reset'} && defined $self->{'_reset'} && length $self->{'_reset'} and scalar @_)