Branch Coverage

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


line true false branch
75 0 2 if ($^O =~ /^(dos|os2)/i) { }
0 2 elsif ($^O =~ /^MacOS/i) { }
91 6 0 unless $relpath =~ /\.pm$/
93 6 0 $args->{'dirs'} ? :
97 0 6 unless defined $dir
101 0 6 if ref $dir
103 0 6 unless -d $dir and -x $dir
112 0 6 if $@ or not defined $abs_dir
115 6 0 if -f $fullpath
131 2 0 if (@loops)
144 2 20 if ($in_tree{$elem}) { }
167 0 2 unless @$inputs
169 2 0 if (-f $inp)
173 0 0 if (-d $inp)
181 2 8 if $depends{$module}
183 2 6 -f $module ? :
184 0 8 unless ($path)
192 0 8 if ($@)
198 16 16 if is_core($dep)
199 8 8 if $dep eq 'perl'
200 0 8 if $verbose
201 0 8 if $module eq $dep
218 0 32 @_ > 0 ? :
220 16 16 unless defined(my $first_release = Module::CoreList::first_release($module))
221 0 16 unless $version >= $first_release
222 16 0 unless defined(my $final_release = Module::CoreList::removed_from($module))