Subroutine Coverage

blib/lib/JSON/PP.pm
Criterion Covered Total %
subroutine 133 168 79.1
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
24 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
37 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
44 64 n/a BEGIN
45 64 n/a BEGIN
47 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
90 2 Yes allow_barekey
90 1 Yes allow_bignum
90 2 Yes allow_blessed
90 24653 Yes allow_nonref
90 1 Yes allow_singlequote
90 1 Yes allow_tags
90 3 Yes allow_unknown
90 0 No as_nonblessed
90 12292 Yes ascii
90 10 Yes canonical
90 4 Yes convert_blessed
90 1 Yes escape_slash
90 0 No get_allow_barekey
90 0 No get_allow_bignum
90 0 No get_allow_blessed
90 0 No get_allow_nonref
90 0 No get_allow_singlequote
90 0 No get_allow_tags
90 0 No get_allow_unknown
90 0 No get_as_nonblessed
90 0 No get_ascii
90 0 No get_canonical
90 0 No get_convert_blessed
90 0 No get_escape_slash
90 0 No get_indent
90 0 No get_latin1
90 0 No get_loose
90 0 No get_relaxed
90 0 No get_shrink
90 0 No get_space_after
90 0 No get_space_before
90 309 No get_utf8
90 6 Yes indent
90 2 Yes latin1
90 0 Yes loose
90 14 Yes relaxed
90 21504 Yes shrink
90 7 Yes space_after
90 6 Yes space_before
90 18466 Yes utf8
119 186 Yes encode_json
124 6206 Yes decode_json
130 0 No to_json
135 0 No from_json
142 43174 Yes new
156 25141 Yes encode
161 24952 Yes decode
166 8 Yes decode_prefix
176 5 Yes pretty
192 5 Yes max_depth
198 383 No get_max_depth
202 3 Yes max_size
208 383 No get_max_size
211 6 Yes boolean_values
217 64 n/a BEGIN
234 1 Yes core_bools
250 3 No get_core_bools
255 0 No unblessed_bool
260 0 No get_unblessed_bool
265 5 No get_boolean_values
273 3 Yes filter_json_object
283 4 Yes filter_json_single_key_object
297 0 Yes indent_length
307 0 No get_indent_length
311 3 Yes sort_by
316 0 No allow_bigint
352 25141 No PP_encode_json
367 588 n/a __ANON__
372 20 n/a __ANON__
387 25491 No object_to_json
450 346 No hash_to_json
475 25010 No array_to_json
495 26230 n/a _looks_like_number
502 64 n/a BEGIN
517 26314 No value_to_json
524 64 n/a BEGIN
577 26158 No string_to_json
602 0 No blessed_to_json
616 18 No encode_error
622 345 n/a _sort
627 9 n/a _up_indent
642 9 n/a _down_indent
647 0 No PP_encode_box
658 12297 n/a _encode_ascii
670 2 n/a _encode_latin1
680 1127975 n/a _encode_surrogates
686 3 n/a _is_bignum
698 64 n/a BEGIN
751 12410 n/a _detect_utf_encoding
763 25269 No PP_decode_json
799 64 n/a BEGIN
834 36720055 No next_chr
840 53833 No value
851 27152 Yes string
960 162105 No white
1010 26115 Yes array
1060 1 No tag
1090 1390 Yes object
1157 2 No bareKey
1167 93 No word
1198 812 Yes number
1294 64 n/a BEGIN
1306 3441000 No is_valid_utf8
1344 101 No decode_error
1386 9 n/a _json_object_hook
1417 0 No PP_decode_box
1431 1127976 n/a _decode_surrogates
1439 2891847 n/a _decode_unicode
1450 64 n/a BEGIN
1479 744 Yes incr_parse
1485 2 Yes incr_skip
1490 0 Yes incr_reset
1493 304 Yes incr_text
1512 64 n/a BEGIN
1574 5 Yes is_bool
1582 64 n/a BEGIN
1588 3 Yes true
1589 3 Yes false
1590 0 Yes null
1596 64 n/a BEGIN
1598 64 n/a BEGIN
1599 64 n/a BEGIN
1600 64 n/a BEGIN
1601 64 n/a BEGIN
1602 64 n/a BEGIN
1603 64 n/a BEGIN
1604 64 n/a BEGIN
1605 64 n/a BEGIN
1610 57 n/a new
1622 744 n/a incr_parse
1658 64 n/a BEGIN
1678 393 n/a _incr_parse
1807 0 n/a incr_text
1815 2 n/a incr_skip
1824 0 n/a incr_reset