Branch Coverage

blib/lib/Test/Nightly/Report.pm
Criterion Covered Total %
branch 16 28 57.1


line true false branch
98 3 1 unless $self->test_report
102 1 3 unless $self->tests
104 1 2 if not $self->_passed_tests and $self->test_report eq 'passed'
106 0 2 if not $self->_failed_tests and $self->test_report eq 'failed'
111 0 2 if ($self->test_report eq 'failed') { }
0 2 elsif ($self->test_report eq 'passed') { }
121 0 2 if (defined $self->report_template) { }
123 0 0 unless open DATA, $self->report_template
132 2 0 if ($template)
139 0 2 if $tt->error
142 0 2 if (defined $self->email_report)
152 2 0 if (defined $self->report_output)
154 0 2 unless open FH, '>' . $self->report_output
170 6 0 if (defined $self->test) { }