Branch Coverage

blib/lib/Email/Extractor/Utils.pm
Criterion Covered Total %
branch 30 40 75.0


line true false branch
67 0 5 if defined $resp->header($h)
71 0 1 if $Verbose
72 0 0 if $resp->is_error and $Verbose
82 1 4 if (looks_like_url($addr)) { }
84 0 1 if $Verbose
90 0 4 if $Verbose
93 4 0 if (looks_like_file($file_uri)) { }
123 13 9 if ($string =~ /$regexp/) { }
136 4 4 if looks_like_url($link)
143 5 9 if ($string =~ qr/$Email::Extractor::Utils::RE{'URI'}{'file'}/) { }
155 1 2 unless defined $dname and length $dname
161 3 3 if (looks_like_rel_link($l))
174 1 2 unless defined $only_dname and length $only_dname
178 6 4 unless $_ =~ /^$only_dname/
195 8 3 if $suffix eq ''
216 0 22 if ($uri->query) { }
243 4 6 unless defined $upper_lower_case_flag
254 6 0 if ($upper_lower_case_flag)
268 0 3 unless $array_ref and defined $val
270 1 2 if $v eq $val