Subroutine Coverage

blib/lib/JSON/PP.pm
Criterion Covered Total %
subroutine 131 166 78.9
pod 46 96 47.9


line count pod subroutine
5 64 n/a BEGIN
6 64 n/a BEGIN
8 64 n/a BEGIN
9 64 n/a BEGIN
11 64 n/a BEGIN
12 64 n/a BEGIN
14 64 n/a BEGIN
15 64 n/a BEGIN
25 64 n/a BEGIN
26 64 n/a BEGIN
27 64 n/a BEGIN
28 64 n/a BEGIN
29 64 n/a BEGIN
30 64 n/a BEGIN
31 64 n/a BEGIN
32 64 n/a BEGIN
33 64 n/a BEGIN
34 64 n/a BEGIN
35 64 n/a BEGIN
36 64 n/a BEGIN
38 64 n/a BEGIN
39 64 n/a BEGIN
40 64 n/a BEGIN
41 64 n/a BEGIN
42 64 n/a BEGIN
43 64 n/a BEGIN
45 64 n/a BEGIN
46 64 n/a BEGIN
48 64 n/a BEGIN
49 64 n/a BEGIN
54 64 n/a BEGIN
63 64 n/a BEGIN
69 64 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 4 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 18466 Yes utf8
111 186 Yes encode_json
116 6206 Yes decode_json
122 0 No to_json
127 0 No from_json
134 43174 Yes new
148 25141 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 64 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
344 25141 No PP_encode_json
359 586 n/a __ANON__
364 19 n/a __ANON__
379 25491 No object_to_json
442 346 No hash_to_json
466 25010 No array_to_json
486 26230 n/a _looks_like_number
493 64 n/a BEGIN
508 26314 No value_to_json
515 64 n/a BEGIN
568 26158 No string_to_json
593 0 No blessed_to_json
607 18 No encode_error
613 345 n/a _sort
618 9 n/a _up_indent
633 9 n/a _down_indent
638 0 No PP_encode_box
649 12297 n/a _encode_ascii
661 2 n/a _encode_latin1
671 1127975 n/a _encode_surrogates
677 3 n/a _is_bignum
689 64 n/a BEGIN
742 12410 n/a _detect_utf_encoding
754 25269 No PP_decode_json
790 64 n/a BEGIN
825 36720055 No next_chr
831 53833 No value
842 27152 Yes string
951 162105 No white
1001 26115 Yes array
1051 1 No tag
1081 1390 Yes object
1148 2 No bareKey
1158 93 No word
1189 812 Yes number
1285 64 n/a BEGIN
1297 3441000 No is_valid_utf8
1335 101 No decode_error
1370 9 n/a _json_object_hook
1401 0 No PP_decode_box
1415 1127976 n/a _decode_surrogates
1423 2891847 n/a _decode_unicode
1429 744 Yes incr_parse
1435 2 Yes incr_skip
1440 0 Yes incr_reset
1444 304 Yes incr_text
1463 5 Yes is_bool
1471 64 n/a BEGIN
1477 3 Yes true
1478 3 Yes false
1479 0 Yes null
1485 64 n/a BEGIN
1487 64 n/a BEGIN
1488 64 n/a BEGIN
1489 64 n/a BEGIN
1490 64 n/a BEGIN
1491 64 n/a BEGIN
1492 64 n/a BEGIN
1493 64 n/a BEGIN
1494 64 n/a BEGIN
1499 57 n/a new
1511 744 n/a incr_parse
1547 64 n/a BEGIN
1567 393 n/a _incr_parse
1696 0 n/a incr_text
1704 2 n/a incr_skip
1713 0 n/a incr_reset