blib/lib/JSON/PP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
subroutine | 131 | 164 | 79.8 |
pod | 42 | 82 | 51.2 |
line | count | pod | subroutine |
---|---|---|---|
5 | 65 | n/a | BEGIN |
6 | 65 | n/a | BEGIN |
8 | 65 | n/a | BEGIN |
9 | 65 | n/a | BEGIN |
11 | 65 | n/a | BEGIN |
12 | 65 | n/a | BEGIN |
14 | 65 | n/a | BEGIN |
15 | 65 | n/a | BEGIN |
25 | 65 | n/a | BEGIN |
26 | 65 | n/a | BEGIN |
27 | 65 | n/a | BEGIN |
28 | 65 | n/a | BEGIN |
29 | 65 | n/a | BEGIN |
30 | 65 | n/a | BEGIN |
31 | 65 | n/a | BEGIN |
32 | 65 | n/a | BEGIN |
33 | 65 | n/a | BEGIN |
34 | 65 | n/a | BEGIN |
35 | 65 | n/a | BEGIN |
36 | 65 | n/a | BEGIN |
38 | 65 | n/a | BEGIN |
39 | 65 | n/a | BEGIN |
40 | 65 | n/a | BEGIN |
41 | 65 | n/a | BEGIN |
42 | 65 | n/a | BEGIN |
43 | 65 | n/a | BEGIN |
45 | 65 | n/a | BEGIN |
46 | 65 | n/a | BEGIN |
48 | 65 | n/a | BEGIN |
49 | 65 | n/a | BEGIN |
54 | 65 | n/a | BEGIN |
63 | 65 | n/a | BEGIN |
69 | 65 | n/a | BEGIN |
82 | 2 | Yes | allow_barekey |
82 | 1 | Yes | allow_bignum |
82 | 2 | Yes | allow_blessed |
82 | 24653 | Yes | allow_nonref |
82 | 1 | Yes | allow_singlequote |
82 | 1 | Yes | allow_tags |
82 | 3 | Yes | allow_unknown |
82 | 0 | No | as_nonblessed |
82 | 12292 | Yes | ascii |
82 | 10 | Yes | canonical |
82 | 5 | Yes | convert_blessed |
82 | 1 | Yes | escape_slash |
82 | 0 | No | get_allow_barekey |
82 | 0 | No | get_allow_bignum |
82 | 0 | No | get_allow_blessed |
82 | 0 | No | get_allow_nonref |
82 | 0 | No | get_allow_singlequote |
82 | 0 | No | get_allow_tags |
82 | 0 | No | get_allow_unknown |
82 | 0 | No | get_as_nonblessed |
82 | 0 | No | get_ascii |
82 | 0 | No | get_canonical |
82 | 0 | No | get_convert_blessed |
82 | 0 | No | get_escape_slash |
82 | 0 | No | get_indent |
82 | 0 | No | get_latin1 |
82 | 0 | No | get_loose |
82 | 0 | No | get_relaxed |
82 | 0 | No | get_shrink |
82 | 0 | No | get_space_after |
82 | 0 | No | get_space_before |
82 | 309 | No | get_utf8 |
82 | 6 | Yes | indent |
82 | 2 | Yes | latin1 |
82 | 0 | Yes | loose |
82 | 14 | Yes | relaxed |
82 | 21504 | Yes | shrink |
82 | 7 | Yes | space_after |
82 | 6 | Yes | space_before |
82 | 18467 | Yes | utf8 |
111 | 189 | Yes | encode_json |
116 | 6206 | Yes | decode_json |
122 | 0 | No | to_json |
127 | 0 | No | from_json |
134 | 43176 | Yes | new |
148 | 25146 | Yes | encode |
153 | 24952 | Yes | decode |
158 | 8 | Yes | decode_prefix |
168 | 5 | Yes | pretty |
184 | 5 | Yes | max_depth |
190 | 383 | No | get_max_depth |
194 | 3 | Yes | max_size |
200 | 383 | No | get_max_size |
203 | 6 | Yes | boolean_values |
209 | 65 | n/a | BEGIN |
226 | 1 | Yes | core_bools |
242 | 3 | No | get_core_bools |
247 | 0 | No | unblessed_bool |
252 | 0 | No | get_unblessed_bool |
257 | 5 | No | get_boolean_values |
265 | 3 | Yes | filter_json_object |
275 | 4 | Yes | filter_json_single_key_object |
289 | 0 | Yes | indent_length |
299 | 0 | No | get_indent_length |
303 | 3 | Yes | sort_by |
308 | 0 | No | allow_bigint |
322 | 25146 | No | PP_encode_json |
330 | 595 | n/a | __ANON__ |
335 | 22 | n/a | __ANON__ |
350 | 25502 | No | object_to_json |
413 | 346 | No | hash_to_json |
437 | 25015 | No | array_to_json |
457 | 26233 | n/a | _looks_like_number |
464 | 65 | n/a | BEGIN |
479 | 26317 | No | value_to_json |
486 | 65 | n/a | BEGIN |
539 | 26161 | No | string_to_json |
564 | 0 | No | blessed_to_json |
578 | 18 | No | encode_error |
584 | 345 | n/a | __sort |
591 | 9 | n/a | _up_indent |
606 | 9 | n/a | _down_indent |
614 | 12297 | n/a | _encode_ascii |
626 | 2 | n/a | _encode_latin1 |
636 | 1127975 | n/a | _encode_surrogates |
642 | 3 | n/a | _is_bignum |
654 | 65 | n/a | BEGIN |
679 | 12410 | n/a | _detect_utf_encoding |
691 | 25269 | No | PP_decode_json |
718 | 65 | n/a | BEGIN |
753 | 36720055 | n/a | _next_chr |
760 | 53833 | n/a | _value |
773 | 27152 | n/a | _string |
884 | 162105 | n/a | _white |
936 | 26115 | n/a | _array |
990 | 1 | n/a | _tag |
1022 | 1390 | n/a | _object |
1094 | 2 | n/a | _bareKey |
1106 | 93 | n/a | _word |
1138 | 812 | n/a | _number |
1236 | 65 | n/a | BEGIN |
1243 | 3441000 | n/a | _is_valid_utf8 |
1287 | 101 | n/a | _decode_error |
1323 | 9 | n/a | __json_object_hook |
1356 | 1127976 | n/a | _decode_surrogates |
1364 | 2891847 | n/a | _decode_unicode |
1370 | 744 | Yes | incr_parse |
1376 | 2 | Yes | incr_skip |
1381 | 0 | Yes | incr_reset |
1385 | 304 | Yes | incr_text |
1404 | 5 | Yes | is_bool |
1412 | 65 | n/a | BEGIN |
1418 | 3 | Yes | true |
1419 | 3 | Yes | false |
1420 | 0 | Yes | null |
1426 | 65 | n/a | BEGIN |
1428 | 65 | n/a | BEGIN |
1429 | 65 | n/a | BEGIN |
1430 | 65 | n/a | BEGIN |
1431 | 65 | n/a | BEGIN |
1432 | 65 | n/a | BEGIN |
1433 | 65 | n/a | BEGIN |
1434 | 65 | n/a | BEGIN |
1435 | 65 | n/a | BEGIN |
1440 | 57 | n/a | new |
1452 | 744 | n/a | incr_parse |
1488 | 65 | n/a | BEGIN |
1508 | 393 | n/a | _incr_parse |
1637 | 0 | n/a | incr_text |
1645 | 2 | n/a | incr_skip |
1654 | 0 | n/a | incr_reset |