Branch Coverage

blib/lib/Math/DifferenceSet/Planar/Data.pm
Criterion Covered Total %
branch 36 40 90.0


line true false branch
30 3 7 if (defined $min and defined $max and $min > $max)
33 10 6 if defined $min
34 10 6 if defined $max
35 13 3 @sel ? :
5 11 @columns ? :
54 0 7 unless opendir my $dh, $DATABASE_DIR
57 9 2 /^pds[_\W]/i ? :
59 11 0 -f $path ? :
66 0 6 unless $Math::DifferenceSet::Planar::Data::b->[1] <=> $Math::DifferenceSet::Planar::Data::a->[1] or $Math::DifferenceSet::Planar::Data::b->[2] <=> $Math::DifferenceSet::Planar::Data::a->[2]
74 6 5 @_ ? :
0 11 unless my($filename) = @_ ? @_ : $class->list_databases
77 2 9 unless -e $path
85 1 8 unless defined $count
87 1 7 unless eval { do { $spaces->search->count } }
95 6 39 @columns ? :
104 1 15 unless defined $spaces
122 1 5 unless defined $spaces
134 1 2 unless defined $spaces
141 1 8 unless defined $spaces
148 1 2 unless defined $spaces