| lib/Test/Tdd/Generator.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 24 | 79.1 |
| line | true | false | branch |
|---|---|---|---|
| 30 | 0 | 13 | unless (-w $test_path) |
| 40 | 0 | 13 | if (-e $test_file and _test_exists($test_file, $test_description)) |
| 48 | 9 | 4 | if defined $opts->{'globals'} |
| 53 | 9 | 4 | if defined $opts->{'globals'} |
| 79 | 4 | 9 | if (-e $test_file) |
| 95 | 0 | 13 | if ($actual_test_path) |
| 112 | 14 | 28 | if -d $test_folder |
| 159 | 13 | 12 | if ($global_var) { } |
| 175 | 4 | 3 | if ($key =~ /::$/) { } |
| 186 | 0 | 5 | unless eval read_file(@_) |
| 194 | 0 | 2 | unless defined $pid |
| 195 | 1 | 1 | if $pid |