Condition Coverage

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


and 2 conditions

line l !l condition
213 42 17 not exists $self->{'_reset'} && defined $self->{'_reset'} && length $self->{'_reset'} and scalar @_

and 3 conditions

line !l l&&!r l&&r condition
50 3 0 0 scalar @_ == 1 and $self->_is_a($_[0], "Changes::Change")
71 8 0 3 exists $self->{'_reset'} and defined $self->{'_reset'}
0 0 3 exists $self->{'_reset'} and defined $self->{'_reset'} and length $self->{'_reset'}
76 6 0 2 exists $self->{'_cache_value'} and defined $self->{'_cache_value'}
6 0 2 exists $self->{'_cache_value'} and defined $self->{'_cache_value'} and length $self->{'_cache_value'}
0 0 6 defined $self->{'raw'} and length "$self->{'raw'}"
213 0 0 42 exists $self->{'_reset'} && defined $self->{'_reset'} && length $self->{'_reset'}

or 2 conditions

line l !l condition
62 3 0 $self->new_change(%$opts) || (return $self->pass_error)
103 3 0 $self->type // "bracket"
104 3 0 $self->spacer // ""
3 0 $self->name // ""
3 0 $nl // ""
153 0 0 $_[0] // ""
190 3 0 'Changes::Change'->new($opts) || (return $self->pass_error('Changes::Change'->error))
199 0 0 'Changes::NewLine'->new(@_) || (return $self->pass_error('Changes::NewLine'->error))

or 3 conditions

line l !l&&r !l&&!r condition
187 0 6 0 $opts->{$opt} //= $defaults->{$opt}