Branch Coverage

blib/lib/Test/Inspector.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
73 39 39 unless $what =~ /$module/
75 10 29 unless $module->can($meth)
76 4 25 if $meth =~ /^_/ and $private
87 10 6 if $_ =~ /\.(pl|pm|t)$/
95 0 2 unless ref $info eq 'HASH'
98 1 1 $$info{'private'} ? :
116 0 20 unless open FILE, '<', $file
118 12 372 if $line =~ /(use|use_ok|require|require_ok).*$mod/
121 2354 46 unless $line =~ /$meth/
133 0 2 if exists $$self{'results'}
164 1 1 unless $$self{'ignore'}
171 12 69 unless (exists $results{$module}{$test_script}{'__is_used__'})
175 14 55 if $ignore and $method =~ /$ignore/
176 20 35 if ($results{$module}{$test_script}{$method}) { }