Branch Coverage

blib/lib/Data/Context/Instance.pm
Criterion Covered Total %
branch 18 32 56.2


line true false branch
62 0 4 unless $self->changed
67 1 3 if ($raw->{'PARENT'})
87 4 0 unless $self->raw
90 0 0 if $self->loader->changed
92 0 0 if ($self->raw->{'PARENT'})
117 0 0 if (&blessed($new) and $new->isa('AnyEvent::CondVar')) { }
135 39 20 if (not ref $data) { }
9 11 elsif (ref $data eq 'HASH' and $data->{'MODULE'} || $data->{'METHOD'}) { }
136 3 36 if (defined $data and $data =~ /^\# (.*) \#$/msx)
164 1 1 unless defined $hash->{$a}{'order'} or defined $hash->{$b}{'order'}
165 0 1 $hash->{$b}{'order'} >= 0 ? :
1 3 unless defined $hash->{$a}{'order'}
166 2 1 $hash->{$a}{'order'} >= 0 ? :
3 0 unless defined $hash->{$b}{'order'}
167 0 0 if $hash->{$a}{'order'} >= 0 and $hash->{$b}{'order'} < 0
168 0 0 if $hash->{$a}{'order'} < 0 and $hash->{$b}{'order'} >= 0