Branch Coverage

blib/lib/SQLite/More.pm
Criterion Covered Total %
branch 35 62 56.4


line true false branch
59 0 1 if defined $_[0] and length $_[0] or @_ == 1
60 1 0 if @_ == 2
61 0 0 if @_ > 2
66 0 24 if @_ < 2
68 22 2 if (defined $uttrykk) { }
75 0 1200 if (ref $from eq 'ARRAY')
78 0 1200 if @_ == 1
79 0 1200 if $from > $to
85 4 51 if defined $_ and !defined($min) || $_ < $min
91 4 1 if defined $_ and !defined($max) || $_ > $max
105 0 0 if @_ > 0
121 0 1 $n % 2 ? :
128 0 2 if (ref $_[0] eq 'ARRAY') { }
2 0 elsif (not ref $_[0]) { }
132 0 2 unless @p
133 0 2 unless @t
135 0 2 if @t == 1
137 0 2 if $_ < 0 or $_ > 100
139 0 2 $i == int $i ? :
0 2 $i > $#t ? :
0 2 $i < 0 ? :
145 2 0 @p == 1 ? :
153 0 1 if $sqrt_a > 1
154 0 1 if $sqrt_1ma > 1
163 6 4 unless $hashname =~ /::/
164 0 10 unless $hashname =~ /^(\w+::)*\w+$/
167 2 8 if @_ >= 3
178 0 1 if not defined $n or $n < 2
200 0 3 if not defined $n or $n < 2
214 2 22 unless @$self
215 0 24 if $$self[0] != $percentile