blib/lib/Spp/Tools.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 29 | 72 | 40.2 |
line | true | false | branch |
---|---|---|---|
25 | 0 | 0 | if (is_estr($atoms)) |
27 | 0 | 0 | unless (is_atom($atom)) |
36 | 0 | 3 | if (is_estr($json)) |
40 | 3930 | 5394 | if ($mode == 0) { } |
5370 | 24 | elsif ($mode == 1) { } | |
0 | 24 | elsif ($mode == 2) { } | |
46 | 0 | 1110 | if (is_digit($ch)) |
62 | 0 | 0 | if ($ch eq ',') |
63 | 0 | 0 | if ($ch eq ']') |
64 | 0 | 0 | if (is_digit($ch)) |
81 | 0 | 0 | if (is_str($estr)) |
85 | 0 | 0 | if ($mode == 0) { } |
0 | 0 | elsif ($mode == 1) { } | |
0 | 0 | elsif ($mode == 2) { } | |
142 | 1254 | 57032 | if ($depth == 0) { } |
10087 | 46945 | elsif ($depth == 1) { } | |
143 | 1254 | 0 | if ($ch eq "\cA") |
149 | 1141 | 262 | if ($mode) |
157 | 497 | 992 | if ($mode) |
164 | 0 | 0 | if ($mode) |
171 | 1254 | 0 | if ($mode) |
174 | 5941 | 0 | if ($mode) |
179 | 4087 | 42858 | if ($ch eq "\cA") |
180 | 5490 | 41455 | if ($ch eq "\cB") |
189 | 0 | 966 | if (is_str($estr)) |
193 | 0 | 966 | if (len($atoms) < 2) |
203 | 0 | 3 | if (len($atoms) == 0) |
204 | 0 | 3 | if (len($atoms) == 1) |
254 | 14 | 0 | if (is_atom($atom)) |
275 | 7 | 0 | if (is_atom($atom)) |
304 | 0 | 96 | if (exists $table->{$name}) |
323 | 0 | 0 | if (is_atom($ast)) |
334 | 0 | 0 | if (is_str($value)) |
335 | 0 | 0 | if (is_blank($value)) |
336 | 0 | 0 | if (is_atom($value)) |
339 | 0 | 0 | if (is_atoms($value)) |