Branch Coverage

blib/lib/MooX/Role/DependsOn.pm
Criterion Covered Total %
branch 24 26 92.3


line true false branch
37 24 4 unless @nodes
55 6 21 if exists $skip->{$depitem}
56 3 18 if (exists $unresolved->{$depitem})
57 2 1 if (my $cb = $params->{'circular_dep_callback'})
66 1 1 if $self->$cb($state)
87 5 10 if (my $cb = $params->{'resolved_callback'})
105 0 7 if $params{'callback'}
108 3 4 if ($cb = $params{'resolved_callback'})
109 2 1 unless ref $cb and &reftype($cb) eq 'CODE'
114 2 3 if ($circ_cb = $params{'circular_dep_callback'})
115 0 2 unless ref $circ_cb and &reftype($circ_cb) eq 'CODE'
120 1 4 defined $cb ? :
2 3 defined $circ_cb ? :