Branch Coverage

blib/lib/Net/AS2/MDN.pm
Criterion Covered Total %
branch 4 68 5.8


line true false branch
127 0 0 unless blessed $error_message and $error_message->isa('Net::AS2::Message')
129 0 0 if $error_message->is_success
137 0 0 if ($error_message->is_error) { }
149 0 1 unless blessed $message and $message->isa('Net::AS2::Message')
152 0 1 unless defined $status_text and $status_text =~ /^[\x20-\x7E^]+$/
155 1 0 defined $message->mic ? :
210 0 0 unless ($entity->mime_type =~ m[^multipart/report])
222 0 0 unless $bh
223 0 0 if ($p->effective_type =~ m[^text/]i) { }
0 0 elsif ($p->effective_type =~ m[^message/disposition-notification$]i) { }
236 0 0 if (defined $disposition{'final-recipient'})
239 0 0 if ($recipient =~ /^.*? *; *(.+)$/)
244 0 0 if defined $disposition{'original-message-id'}
247 0 0 if (defined $disposition{'received-content-mic'})
249 0 0 if ($disposition{'received-content-mic'} =~ m[^ *([A-Za-z0-9/=+]+) *, * (.+?) *$])
257 0 0 if (defined $disposition{'disposition'}) { }
258 0 0 if ($disposition{'disposition'} =~ /; *(.*?) *$/) { }
261 0 0 if ($op =~ /: *(.*?) *$/)
264 0 0 if ($op =~ /^processed$/i) { }
0 0 elsif ($op =~ m[^processed/warning]i) { }
0 0 elsif ($op =~ m[^failed/failure]i) { }
312 0 0 unless $self->is_success
313 0 0 unless (defined $$self{'mic_hash'} and defined $hash and defined $alg and $$self{'mic_hash'} eq $hash and $$self{'mic_alg'} eq $alg)
399 1 0 if @_ >= 2
420 0 0 $$self{'error'} ? :
0 0 $$self{'failure'} ? :
0 0 $$self{'success'} ? :
0 0 $$self{'warning'} ? :
441 0 0 $$self{'original_message_id'} ? :
0 0 $$self{'failure'} ? :
0 0 $$self{'success'} ? :
0 0 $$self{'warning'} ? :
0 0 defined $$self{'mic_hash'} ? :
460 0 0 $$self{'success'} ? :