Branch Coverage

blib/lib/Module/ExtractUse.pm
Criterion Covered Total %
branch 40 56 71.4


line true false branch
85 383 0 if $pod_parser->can("parse_characters")
86 379 4 if (ref $code_to_parse eq 'SCALAR') { }
119 69 1017 if ($statement =~ /require_module|use_module|use_package_optimistically/) { }
289 728 elsif ($statement =~ /\buse/) { }
54 674 elsif ($statement =~ /\brequire/) { }
41 633 elsif ($statement =~ /\bno/) { }
73 560 elsif ($statement =~ /load_class|try_load_class|load_first_existing_class|load_optional_class/) { }
121 0 69 if $1 and $1 =~ /->\s*$/
126 17 52 $statement =~ /require/ ? :
130 3 286 if $1 and $1 =~ /->\s*$/
139 3 51 if $1 and $1 =~ /->\s*$/
148 0 41 if $1 and $1 =~ /->\s*$/
157 0 73 if $1 and $1 =~ /->\s*$/
165 735 345 unless $result
168 402 3 if $_
183 17 1 if $key
191 17 1 if $key
199 17 1 if $key
207 0 0 if $key
215 0 0 if $key
223 0 0 if $key
231 0 0 if $key
239 0 0 if $key
247 0 0 if $key
290 82 28 if @a
297 3 107 if @a
304 80 30 if @a
321 29 373 if ($eval) { }