Branch Coverage

blib/lib/Algorithm/Dependency/Source/File.pm
Criterion Covered Total %
branch 8 16 50.0


line true false branch
82 0 9 unless my $filename = shift @_
83 0 9 unless -r $filename
86 0 9 unless my $self = $class->SUPER::new
106 0 9 unless open FILE, $$self{'filename'}
107 0 9 unless defined(my $source = <FILE>)
108 0 9 unless close FILE
119 0 94 unless scalar @sections
122 0 94 unless my $Item = 'Algorithm::Dependency::Item'->new(@sections)