Branch Coverage

blib/lib/JSAN/Index/Release/Dependency.pm
Criterion Covered Total %
branch 7 10 70.0


line true false branch
14 0 4 ref $_[0] ? :
21 0 4 unless my $self = $class->SUPER::new(%params)
40 1 3 if (defined $item and not ref $item and $item =~ /^(?:\w+)(?:\.\w+)*$/)
43 1 3 if (_INSTANCE $item, 'JSAN::Index::Library')
46 4 0 if (_INSTANCE $item, 'JSAN::Index::Release')