| lib/Petal/Mail.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 24 | 83.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 160 | 0 | 0 | 8 | ref $_ && $$_{'_tag'} eq 'Message' |
| 185 | 102 | 8 | 86 | ref $_ && !($$_{'_tag'} =~ /^body$/i) |
| 234 | 102 | 86 | 8 | ref $_ && $$_{'_tag'} =~ /^body$/i |
| line | l | !l | condition |
|---|---|---|---|
| 142 | 2 | 1 | $args{'AUTH_SENDER'} || $ENV{'SERVER_ADMIN'} || '' |
| 146 | 2 | 0 | $self->process(%args) || die('$self->process (\\@_) returned undef') |
| 149 | 2 | 0 | $mail || die("error writing to sendmail [$Sendmail]: $!") |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 256 | 51 | 28 | 180 | $self->__Body_P($node) or $self->__Body_DT($node) |
| 79 | 28 | 152 | $self->__Body_P($node) or $self->__Body_DT($node) or $self->__Body_DD($node) | |
| 56 | 8 | 144 | $self->__Body_P($node) or $self->__Body_DT($node) or $self->__Body_DD($node) or $self->__Body_PRE($node) |