Condition Coverage

lib/Changes/Change.pm
Criterion Covered Total %
condition 37 97 38.1


and 2 conditions

line l !l condition
86 0 0 not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
89 0 0 not defined $Nice::Try::WANTARRAY and scalar @Nice::Try::LAST_VAL
176 269 97 not exists $self->{'_reset'} && defined $self->{'_reset'} && length $self->{'_reset'} and scalar @_

and 3 conditions

line !l l&&!r l&&r condition
52 43 0 6 exists $self->{'_reset'} and defined $self->{'_reset'}
0 0 6 exists $self->{'_reset'} and defined $self->{'_reset'} and length $self->{'_reset'}
57 39 0 4 exists $self->{'_cache_value'} and defined $self->{'_cache_value'}
39 0 4 exists $self->{'_cache_value'} and defined $self->{'_cache_value'} and length $self->{'_cache_value'}
0 0 39 defined $self->{'raw'} and length "$self->{'raw'}"
74 4 1 1 $max > 0 and $self->normalise->length + $str->length > $max
82 0 0 0 $INC{'threads.pm'} and not exists $INC{'forks.pm'}
86 0 0 0 defined $Nice::Try::WANT and length $Nice::Try::WANT
89 0 0 0 defined $Nice::Try::WANT and length $Nice::Try::WANT
0 0 0 defined $Nice::Try::WANTARRAY || defined $Nice::Try::BREAK && $Nice::Try::BREAK eq 'return' and !&Scalar::Util::blessed($Nice::Try::RETVAL[0]) || &Scalar::Util::blessed($Nice::Try::RETVAL[0]) && !$Nice::Try::RETVAL[0]->isa('Nice::Try::SENTINEL')
0 0 0 defined $Nice::Try::WANT and length $Nice::Try::WANT
0 0 0 defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq "__NEXT__"
0 0 0 defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq "__LAST__"
0 0 0 defined $Nice::Try::RETVAL[0] and $Nice::Try::RETVAL[0] eq "__REDO__"
0 0 0 defined $Nice::Try::BREAK and $Nice::Try::BREAK eq "return"
109 0 0 1 defined $text and length "$text"
144 0 0 6 exists $self->{'_reset_normalise'} && defined $self->{'_reset_normalise'} && length $self->{'_reset_normalise'}
6 2 8 not exists $self->{'_reset_normalise'} && defined $self->{'_reset_normalise'} && length $self->{'_reset_normalise'} and exists $self->{'_normalised'}
2 0 8 not exists $self->{'_reset_normalise'} && defined $self->{'_reset_normalise'} && length $self->{'_reset_normalise'} and exists $self->{'_normalised'} and $self->_is_a($self->{'_normalised'}, "Module::Generic::Scalar")
176 0 0 269 exists $self->{'_reset'} && defined $self->{'_reset'} && length $self->{'_reset'}

or 2 conditions

line l !l condition
51 4 45 $self->{'_cache_value'} // ""
39 10 $self->{'raw'} // ""
56 4 39 $self->{'_cache_value'} // ""
39 4 $self->{'raw'} // ""
70 6 0 $self->spacer1 // ""
1 5 $self->marker // "-"
6 0 $self->spacer2 // ""
128 41 0 $self->{'_reset'} // ""
167 4 0 $self->spacer1 // ""
4 0 $self->marker // ""
4 0 $self->spacer2 // ""

or 3 conditions

line l !l&&r !l&&!r condition
89 0 0 0 defined $Nice::Try::WANTARRAY || defined $Nice::Try::BREAK && $Nice::Try::BREAK eq 'return'
0 0 0 !&Scalar::Util::blessed($Nice::Try::RETVAL[0]) || &Scalar::Util::blessed($Nice::Try::RETVAL[0]) && !$Nice::Try::RETVAL[0]->isa('Nice::Try::SENTINEL')
0 0 0 not defined $Nice::Try::BREAK or $Nice::Try::BREAK eq "return"