Subroutine Coverage

blib/lib/JSON/backportPP.pm
Criterion Covered Total %
subroutine 140 168 83.3
pod 45 96 46.8


line count pod subroutine
6 57 n/a BEGIN
7 57 n/a BEGIN
9 57 n/a BEGIN
10 57 n/a BEGIN
12 57 n/a BEGIN
13 57 n/a BEGIN
15 57 n/a BEGIN
25 57 n/a BEGIN
26 57 n/a BEGIN
27 57 n/a BEGIN
28 57 n/a BEGIN
29 57 n/a BEGIN
30 57 n/a BEGIN
31 57 n/a BEGIN
32 57 n/a BEGIN
33 57 n/a BEGIN
34 57 n/a BEGIN
35 57 n/a BEGIN
36 57 n/a BEGIN
38 57 n/a BEGIN
39 57 n/a BEGIN
40 57 n/a BEGIN
41 57 n/a BEGIN
42 57 n/a BEGIN
43 57 n/a BEGIN
45 57 n/a BEGIN
46 57 n/a BEGIN
48 57 n/a BEGIN
49 57 n/a BEGIN
50 57 n/a BEGIN
55 57 n/a BEGIN
64 57 n/a BEGIN
70 57 n/a BEGIN
91 2 Yes allow_barekey
91 1 Yes allow_bignum
91 10 Yes allow_blessed
91 24704 Yes allow_nonref
91 1 Yes allow_singlequote
91 2 No allow_tags
91 3 Yes allow_unknown
91 0 No as_nonblessed
91 12298 Yes ascii
91 16 Yes canonical
91 13 Yes convert_blessed
91 1 Yes escape_slash
91 0 No get_allow_barekey
91 0 No get_allow_bignum
91 7 No get_allow_blessed
91 7 No get_allow_nonref
91 0 No get_allow_singlequote
91 0 No get_allow_tags
91 0 No get_allow_unknown
91 0 No get_as_nonblessed
91 7 No get_ascii
91 7 No get_canonical
91 7 No get_convert_blessed
91 0 No get_escape_slash
91 7 No get_indent
91 7 No get_latin1
91 0 No get_loose
91 7 No get_relaxed
91 7 No get_shrink
91 7 No get_space_after
91 7 No get_space_before
91 316 No get_utf8
91 12 Yes indent
91 8 Yes latin1
91 0 Yes loose
91 20 Yes relaxed
91 21510 Yes shrink
91 13 Yes space_after
91 12 Yes space_before
91 18457 Yes utf8
120 186 Yes encode_json
125 6206 Yes decode_json
131 0 No to_json
136 0 No from_json
143 43174 Yes new
157 25163 Yes encode
162 24967 Yes decode
167 8 Yes decode_prefix
177 5 Yes pretty
193 7 Yes max_depth
199 386 No get_max_depth
203 5 Yes max_size
209 386 No get_max_size
212 10 No boolean_values
218 57 n/a BEGIN
235 0 No core_bools
251 0 No get_core_bools
256 0 No unblessed_bool
261 0 No get_unblessed_bool
266 10 No get_boolean_values
274 3 Yes filter_json_object
284 4 Yes filter_json_single_key_object
298 0 Yes indent_length
308 0 No get_indent_length
312 3 Yes sort_by
317 0 No allow_bigint
353 25163 No PP_encode_json
368 596 n/a __ANON__
373 21 n/a __ANON__
388 25523 No object_to_json
451 348 No hash_to_json
476 25021 No array_to_json
496 26248 n/a _looks_like_number
503 57 n/a BEGIN
518 26341 No value_to_json
525 57 n/a BEGIN
578 26169 No string_to_json
603 0 No blessed_to_json
617 18 No encode_error
623 347 n/a _sort
628 9 n/a _up_indent
643 9 n/a _down_indent
648 0 Yes PP_encode_box
659 12297 n/a _encode_ascii
671 2 n/a _encode_latin1
681 1127735 n/a _encode_surrogates
687 3 n/a _is_bignum
699 57 n/a BEGIN
752 12410 n/a _detect_utf_encoding
764 25284 No PP_decode_json
800 57 n/a BEGIN
835 36724965 No next_chr
841 53854 No value
852 27153 Yes string
961 162168 No white
1011 26119 Yes array
1061 1 No tag
1091 1390 Yes object
1158 2 No bareKey
1168 109 No word
1199 812 Yes number
1295 57 n/a BEGIN
1307 3440100 No is_valid_utf8
1345 101 No decode_error
1387 9 n/a _json_object_hook
1418 0 Yes PP_decode_box
1432 1127736 n/a _decode_surrogates
1440 2893171 n/a _decode_unicode
1451 57 n/a BEGIN
1481 744 Yes incr_parse
1487 2 Yes incr_skip
1492 0 Yes incr_reset
1495 304 Yes incr_text
1514 57 n/a BEGIN
1576 5 Yes is_bool
1584 57 n/a BEGIN
1590 0 Yes true
1591 0 Yes false
1592 0 Yes null
1599 57 n/a BEGIN
1601 57 n/a BEGIN
1602 57 n/a BEGIN
1603 57 n/a BEGIN
1604 57 n/a BEGIN
1605 57 n/a BEGIN
1606 57 n/a BEGIN
1607 57 n/a BEGIN
1608 57 n/a BEGIN
1613 57 n/a new
1625 744 n/a incr_parse
1661 57 n/a BEGIN
1681 393 n/a _incr_parse
1810 0 n/a incr_text
1818 2 n/a incr_skip
1827 0 n/a incr_reset