| blib/lib/HTML/DWT/Simple.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 20 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 68 | 0 | 2 | unless ($params{'filename'}) |
| 72 | 1 | 1 | if (exists $params{'associate'}) { } |
| 73 | 1 | 0 | if (ref $params{'associate'} ne 'ARRAY') |
| 86 | 0 | 2 | unless (open TEMPLATE_FILE, $$self{'filename'}) |
| 102 | 2 | 0 | if (exists $$self{'associate'}) |
| 126 | 0 | 1 | if ($params{'print_to'}) { } |
| 146 | 1 | 21 | if (scalar @_ == 0) { } |
| 12 | 9 | elsif (scalar @_ == 1) { } | |
| 154 | 3 | 9 | if ($key eq 'doctitle' and not $params{$key} =~ m[ |
| 223 | 1 | 1 | if ($$self{'associate'}) |