Branch Coverage

blib/lib/Clustericious/Admin/Server.pm
Criterion Covered Total %
branch 35 44 79.5


line true false branch
39 16 1 if ($raw =~ /^---/) { }
0 1 elsif ($raw =~ /^#perl/) { }
45 0 16 if (my $yaml_error = $@)
53 1 15 if $payload->{'verbose'}
58 0 0 if (my $perl_error = $@)
68 0 0 if $payload->{'verbose'}
120 2 14 if (ref $payload->{'command'} ne 'ARRAY' or @{$payload->{'command'};} == 0)
126 1 13 if (defined $payload->{'env'} and ref $payload->{'env'} ne 'HASH')
132 1 12 unless ($payload->{'version'})
138 5 7 if ($payload->{'require'} and defined $VERSION)
140 1 4 if ($payload->{'require'} ne 'dev' and $payload->{'require'} > $VERSION)
147 2 9 if ($payload->{'files'})
154 4 0 if defined $file->{'mode'}
159 2 2 unless defined $env
164 1 10 if ($payload->{'dir'})
171 2 5 unless $dir->{'is_dir'}
174 2 3 if defined $dir->{'mode'}
180 5 2 if $file->{'is_dir'}
183 2 0 if defined $file->{'mode'}
192 0 11 if (defined $payload->{'stdin'})
203 1 10 if ($? == -1) { }
1 9 elsif ($? & 127) { }