Condition Coverage

lib/Changes/Change.pm
Criterion Covered Total %
condition 28 93 30.1


and 2 conditions

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

and 3 conditions

line !l l&&!r l&&r condition
51 43 0 6 exists $self->{'_reset'} and defined $self->{'_reset'}
0 0 6 exists $self->{'_reset'} and defined $self->{'_reset'} and length $self->{'_reset'}
55 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'}"
69 4 1 1 $max > 0 and $self->normalise->length + $str->length > $max
77 0 0 0 $INC{'threads.pm'} and not exists $INC{'forks.pm'}
81 0 0 0 defined $Nice::Try::WANT and length $Nice::Try::WANT
84 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"
0 0 0 scalar @Nice::Try::VOID and !&Scalar::Util::blessed($Nice::Try::VOID[0]) || &Scalar::Util::blessed($Nice::Try::VOID[0]) && !$Nice::Try::VOID[0]->isa('Nice::Try::SENTINEL')
104 0 0 1 defined $text and length "$text"
137 0 0 6 exists $self->{'_reset_normalise'} && defined $self->{'_reset_normalise'} && length $self->{'_reset_normalise'}
6 2 2 not exists $self->{'_reset_normalise'} && defined $self->{'_reset_normalise'} && length $self->{'_reset_normalise'} and exists $self->{'_normalised'}
2 0 2 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")
169 0 0 269 exists $self->{'_reset'} && defined $self->{'_reset'} && length $self->{'_reset'}

or 2 conditions

line l !l condition
67 6 0 $self->spacer1 // ""
1 5 $self->marker // "-"
6 0 $self->spacer2 // ""
160 4 0 $self->spacer1 // ""
4 0 $self->marker // ""
4 0 $self->spacer2 // ""

or 3 conditions

line l !l&&r !l&&!r condition
84 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"
0 0 0 !&Scalar::Util::blessed($Nice::Try::VOID[0]) || &Scalar::Util::blessed($Nice::Try::VOID[0]) && !$Nice::Try::VOID[0]->isa('Nice::Try::SENTINEL')