Branch Coverage

blib/lib/App/hopen/Phases.pm
Criterion Covered Total %
branch 13 24 54.1


line true false branch
69 0 30 unless my $test_phase = shift()
71 0 30 if $test_phase eq 'first' or $test_phase eq 'start'
73 0 30 if $test_phase eq 'last' or $test_phase eq 'end'
85 0 0 unless my $test_phase = shift()
109 0 18 unless my $test_phase = shift()
112 0 18 $curr_idx < 0 ? :
131 0 4 unless my $test_phase = shift()
134 0 4 unless defined $curr_idx
135 2 2 if $curr_idx == $#PHASES
178 2 2 if $which_idx != curr_phase_idx()
183 0 2 if (ref $val eq 'CODE') { }
2 0 elsif (ref $val eq 'HASH') { }