blib/lib/Math/NumOnly.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 53 | 78 | 67.9 |
line | true | false | branch |
---|---|---|---|
29 | 36 | 0 | if not ref $_[0] and $_[0] eq "Math::NumOnly" |
32 | 3 | 33 | unless $ok |
34 | 0 | 33 | if ($ok == 1) |
46 | 0 | 10 | if @_ > 3 |
50 | 3 | 7 | unless $ok |
52 | 2 | 5 | if ($ok == 1) |
60 | 0 | 5 | if @_ > 3 |
64 | 1 | 4 | unless $ok |
66 | 1 | 3 | if ($ok == 1) |
74 | 0 | 6 | if @_ > 3 |
78 | 2 | 4 | unless $ok |
82 | 1 | 3 | if ($ok == 1) |
83 | 0 | 1 | if ($third_arg) |
89 | 1 | 2 | if ($third_arg) |
96 | 0 | 5 | if @_ > 3 |
100 | 1 | 4 | unless $ok |
104 | 1 | 3 | if ($ok == 1) |
105 | 0 | 1 | if ($third_arg) |
111 | 1 | 2 | if ($third_arg) |
118 | 0 | 5 | if @_ > 3 |
122 | 1 | 4 | unless $ok |
126 | 1 | 3 | if ($ok == 1) |
127 | 0 | 1 | if ($third_arg) |
133 | 1 | 2 | if ($third_arg) |
153 | 0 | 4 | if @_ > 3 |
158 | 4 | 0 | if $cmp >= 0 |
163 | 0 | 4 | if @_ > 3 |
173 | 4 | 0 | if $cmp <= 0 |
178 | 0 | 28 | if @_ > 3 |
181 | 28 | 0 | if oload_spaceship($_[0], $_[1], $_[2]) == 0 |
186 | 0 | 2 | if @_ > 3 |
191 | 2 | 0 | if $cmp > 0 |
196 | 0 | 2 | if @_ > 3 |
201 | 2 | 0 | if $cmp < 0 |
206 | 0 | 46 | if @_ > 3 |
210 | 0 | 46 | unless $ok |
214 | 0 | 46 | if ($ok == 1) |
215 | 0 | 0 | if ($third_arg) |
220 | 10 | 36 | if ($third_arg) |