Branch Coverage

blib/lib/Perl/Metrics/File.pm
Criterion Covered Total %
branch 7 10 70.0


line true false branch
72 2 1 if ($self->search('hex_id', $self->hex_id)->count == 1)
95 11 0 unless (ref $params[-1] eq 'HASH')
102 8 3 wantarray ? :
123 0 7 unless my $Document = 'PPI::Document'->new($path)
125 0 7 unless ($Document->hex_id eq $self->hex_id)