Branch Coverage

blib/lib/Dist/Zilla/Plugin/TravisCI.pm
Criterion Covered Total %
branch 25 44 56.8


line true false branch
50 5 0 unless grep {$_ eq 'build';} @{$self->write_to;}
65 0 5 unless grep {$_ eq 'root';} @{$self->write_to;}
88 20 25 $_ <= 5.2 ? :
99 0 5 if ($self->no_notify_email) { }
0 5 elsif (scalar @emails) { }
105 0 5 if (%notifications)
109 2 3 if (@{$self->apt_package;})
115 0 5 $self->verbose ? :
126 0 5 if ($self->coveralls)
132 0 5 if ($needs_cover)
138 5 0 unless (@{$phases_commands{'install'};})
139 0 5 $self->test_authordeps ? :
0 5 $self->test_deps ? :
144 0 5 if (@extra_deps)
145 0 0 $self->test_deps ? :
151 5 0 unless (@{$phases_commands{'script'};})
157 0 5 unless (@{$phases_commands{'install'};})
159 0 0 $self->test_deps ? :
163 0 5 if (@{$self->requires;})
173 5 35 unless defined $phases_commands{$_}
175 15 20 if (@commands)
176 10 5 $first ? :