| blib/lib/Net/AS2/MDN.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 5 | 49 | 10.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 127 | 0 | 0 | 0 | blessed $error_message and $error_message->isa('Net::AS2::Message') |
| 149 | 0 | 0 | 1 | blessed $message and $message->isa('Net::AS2::Message') |
| 152 | 0 | 0 | 1 | defined $status_text and $status_text =~ /^[\x20-\x7E^]+$/ |
| 313 | 0 | 0 | 0 | defined $$self{'mic_hash'} and defined $hash |
| 0 | 0 | 0 | defined $$self{'mic_hash'} and defined $hash and defined $alg | |
| 0 | 0 | 0 | defined $$self{'mic_hash'} and defined $hash and defined $alg and $$self{'mic_hash'} eq $hash | |
| 0 | 0 | 0 | defined $$self{'mic_hash'} and defined $hash and defined $alg and $$self{'mic_hash'} eq $hash and $$self{'mic_alg'} eq $alg |
| line | l | !l | condition |
|---|---|---|---|
| 420 | 0 | 0 | $$self{'plain_text'} // '' |
| 441 | 0 | 0 | $$self{'status_text'} // 'unknown-error' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 48 | 0 | 1 | 0 | ref $class || $class |
| 155 | 1 | 0 | 0 | $plain_text // $status_text |
| 164 | 0 | 1 | 0 | ref $class || $class |
| 171 | 0 | 0 | 0 | ref $class || $class |
| 183 | 0 | 0 | 0 | ref $class || $class |
| 194 | 0 | 0 | 0 | ref $class || $class |
| 460 | 0 | 0 | 0 | $$self{'plain_text'} // $$self{'status_text'} |
| 0 | 0 | 0 | ($$self{'plain_text'} // $$self{'status_text'}) // ($$self{'success'} ? 'Message is received successfully.' : 'Message could not be processed.') |