Branch Coverage

blib/lib/Mail/ListDetector/Detector/ListSTAR.pm
Criterion Covered Total %
branch 19 26 73.0


line true false branch
19 0 24 if DEBUG()
20 0 24 unless defined $message
27 2 22 if (defined $x_listserver and $x_listserver =~ /(ListSTAR v[\w\.]+)/) { }
1 21 elsif (defined $list_software and $list_software =~ /(ListSTAR v[\w\.]+)/) { }
1 20 elsif (defined $x_list_software and $x_list_software =~ /(ListSTAR v[\w\.]+)/) { }
39 2 2 if (defined $sender and $sender =~ /<(.*)\@.*>/)
45 2 2 unless ($list = $rfc2369->match($message))
48 0 2 unless defined $x_list_subscribe
50 0 2 unless $x_list_subscribe =~ /(<.*>)/
52 0 2 unless defined $list_uri
53 0 2 if ($list_uri->scheme ne 'mailto')
58 2 0 if ($posting_address =~ /^(.*)\@.*$/)
67 2 2 if (defined $listname)