Branch Coverage

blib/lib/Test/CircularDependencies.pm
Criterion Covered Total %
branch 31 52 59.6


line true false branch
74 0 2 if ($^O =~ /^(dos|os2)/i) { }
0 2 elsif ($^O =~ /^MacOS/i) { }
90 6 0 unless $relpath =~ /\.pm$/
92 6 0 $args->{'dirs'} ? :
96 0 6 unless defined $dir
100 0 6 if ref $dir
102 0 6 unless -d $dir and -x $dir
111 0 6 if $@ or not defined $abs_dir
114 6 0 if -f $fullpath
130 2 0 if (@loops)
144 2 20 if ($in_tree{$elem}) { }
168 0 2 unless @$inputs
170 2 0 if (-f $inp)
174 0 0 if (-d $inp)
182 2 8 if $depends{$module}
184 2 6 -f $module ? :
185 0 8 unless ($path)
193 0 8 if ($@)
199 16 16 if is_core($dep)
200 8 8 if $dep eq 'perl'
201 0 8 if $verbose
202 0 8 if $module eq $dep
219 0 32 @_ > 0 ? :
221 16 16 unless defined(my $first_release = Module::CoreList::first_release($module))
222 0 16 unless $version >= $first_release
223 16 0 unless defined(my $final_release = Module::CoreList::removed_from($module))