Branch Coverage

blib/lib/Module/Overview.pm
Criterion Covered Total %
branch 25 48 52.0


line true false branch
49 0 2 unless $self->module_name
64 0 2 if $@
79 0 2 unless @{$overview{'parents'};}
88 0 2 unless @{$overview{'classes'};}
92 2 0 if (exists $INC{$module_name_path} and -r $INC{$module_name_path})
97 0 6 unless not $recursion_filter
105 1 1 unless @{$overview{'uses'};}
111 48 14 $class ne $module_name ? :
121 22 40 if ($imported)
129 1 1 if @methods and not $self->{'hide_methods'}
131 1 1 if @methods_imported and not $self->{'hide_methods'}
144 2 0 if ($module_overview->{'parents'} or $module_overview->{'classes'})
147 2 0 if ($module_overview->{'parents'})
150 2 0 if ($module_overview->{'classes'})
153 1 1 if ($module_overview->{'uses'})
157 1 1 if ($module_overview->{'methods'})
161 1 1 if ($module_overview->{'methods_imported'})
174 0 0 if $recursion_filter and not $module_name =~ /$recursion_filter/
180 0 0 if ($module_overview->{'parents'})
197 0 0 if $e and $self->{'recursive'}
200 0 0 if ($module_overview->{'uses'})
217 0 0 if $e and $self->{'recursive'}
220 0 0 if ($module_overview->{'methods'})
230 0 0 if ($module_overview->{'methods_imported'})