Branch Coverage

blib/lib/Evo/Di.pm
Criterion Covered Total %
branch 38 50 76.0


line true false branch
10 0 2 unless @_ <= 2
0 2 unless @_ >= 2
15 0 5 unless @_ >= 2
0 5 if @_ & 1
22 10 7 unless (@pending)
26 1 6 if $in_stack{$cur}++
32 0 12 unless @_ <= 2
0 12 unless @_ >= 2
33 9 3 if exists $self->{'di_stash'}{$key}
37 0 5 unless @_ >= 1
0 5 unless @_ & 1
39 1 5 if exists $self->{'di_stash'}{$k}
44 0 30 unless @_ <= 2
0 30 unless @_ >= 2
45 5 25 unless $req_key->can('META')
48 4 41 unless my $k = $slot->{'inject'}
50 15 26 if exists $self->{'di_stash'}{$k}
52 19 7 if ($loaded)
53 2 5 if $slot->{'type'} == 3
60 0 13 unless @_ <= 2
0 13 unless @_ >= 2
61 2 11 unless $key->can('META')
65 4 21 unless my $k = $slot->{'inject'}
66 18 3 if exists $self->{'di_stash'}{$k}
68 2 9 $self->{'di_stash'}{"$key\@defaults"} ? :