Branch Coverage

blib/lib/Math/DifferenceSet/Planar/Data.pm
Criterion Covered Total %
branch 43 50 86.0


line true false branch
31 6 18 $query ? :
34 4 10 if (defined $min and defined $max and $min > $max)
37 14 10 if defined $min
38 13 11 if defined $max
39 17 7 if @osel
40 20 4 @sel ? :
7 17 @columns ? :
60 0 2 unless defined $version
62 0 2 unless defined $rec
69 0 8 unless opendir my $dh, $DATABASE_DIR
72 10 2 /^pds[_\W]/i ? :
74 12 0 -f $path ? :
81 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]
89 8 6 @_ ? :
0 14 unless my($filename) = @_ ? @_ : $class->list_databases
92 2 12 unless -e $path
100 1 11 unless defined $count
102 2 9 unless eval { do { $spaces->search->count } }
104 0 11 unless eval { do { $version->search->count } }
112 12 61 @columns ? :
121 1 10 unless defined $spaces
136 1 2 if $col eq "order"
139 5 2 unless @columns
153 1 5 unless defined $spaces
177 1 2 unless defined $spaces