Branch Coverage

blib/lib/Test/Nightly/Test.pm
Criterion Covered Total %
branch 40 68 58.8


line true false branch
79 0 7 unless $self->modules
81 4 3 unless $self->test_directory_format
82 4 3 unless $self->test_file_format
83 6 1 unless $self->build_type
84 7 0 unless $self->test_order
104 0 6 unless (ref $self->test_directory_format eq 'ARRAY')
107 0 6 unless (ref $self->test_file_format eq 'ARRAY')
110 0 6 unless ($self->build_type =~ /^(build|make)$/)
114 1 5 if ($self->build_type eq 'build')
122 5 1 if (scalar @{$self->modules;})
128 0 5 unless ($chdir_result)
144 5 0 unless (defined $self->skip_tests)
156 5 0 if (-d $test_path)
167 0 5 if ($self->test_order eq 'random') { }
179 0 12 if ($test =~ /$$module{'build_script'}$/i)
200 0 12 if ($results{'passing'}) { }
224 0 5 if (defined $self->install_module)
226 0 0 if ($self->install_module eq 'all') { }
0 0 elsif ($self->install_module eq 'passed' and $all_tests_passed) { }
254 3 0 if (defined $self->tests)
262 0 6 if ($$test{'status'} eq 'passed')
272 0 3 if (scalar keys %passed_tests) { }
287 2 0 if (defined $self->tests)
295 4 0 if ($$test{'status'} eq 'failed')
303 2 0 if (scalar keys %failed_tests) { }
319 1 4 if ($self->build_type eq 'build') { }
320 0 1 if $$self{'_is_win32'}
324 0 4 if $$self{'_is_win32'}
336 1 4 if ($self->build_type eq 'build') { }
337 0 1 if $$self{'_is_win32'}
341 0 4 if $$self{'_is_win32'}
352 1 4 if ($self->build_type eq 'build') { }
353 0 1 if $$self{'_is_win32'}
357 0 4 if $$self{'_is_win32'}