| blib/lib/Siesta.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 18 | 66.6 |
| line | true | false | branch |
|---|---|---|---|
| 80 | 0 | 14 | unless $sender |
| 93 | 0 | 18 | unless $class |
| 96 | 0 | 18 | unless $class->require |
| 116 | 0 | 33 | unless my $message = shift() |
| 121 | 6 | 27 | unless ($logger) |
| 122 | 0 | 6 | unless $logger = 'IO::File'->new(">>$Siesta::Config::LOG_PATH") |
| 127 | 15 | 18 | if $level >= $Siesta::Config::LOG_LEVEL |
| 143 | 2 | 9 | if -e $dir and -d $dir |
| 177 | 0 | 14 | unless $Siesta::tt->process($template, \%opts, \$body) |