Subroutine Coverage

blib/lib/Mail/Milter/Authentication/Handler.pm
Criterion Covered Total %
subroutine 136 148 91.8
pod 109 110 99.0


line count pod subroutine
2 127 n/a BEGIN
3 127 n/a BEGIN
4 127 n/a BEGIN
5 127 n/a BEGIN
8 127 n/a BEGIN
9 127 n/a BEGIN
10 127 n/a BEGIN
11 127 n/a BEGIN
12 127 n/a BEGIN
13 127 n/a BEGIN
14 127 n/a BEGIN
15 127 n/a BEGIN
16 127 n/a BEGIN
17 127 n/a BEGIN
18 127 n/a BEGIN
19 127 n/a BEGIN
20 127 n/a BEGIN
21 127 n/a BEGIN
28 1039 Yes new
38 234 Yes get_version
40 127 n/a BEGIN
47 6 Yes get_json
62 0 Yes metric_register
68 12785 Yes metric_count
85 29 Yes metric_set
102 0 Yes metric_send
109 4 Yes rbl_check_ip
129 6 Yes rbl_check_domain
146 39321 Yes get_microseconds
153 11380 Yes get_microseconds_since
165 43 Yes register_metrics
173 3 Yes top_dequeue_callback
180 0 n/a __ANON__
209 91 Yes top_setup_callback
226 12317 Yes is_exception_type
236 12293 Yes handle_exception
246 242 Yes get_time_remaining
257 7846 Yes set_alarm
273 126 Yes set_handler_alarm
289 116 Yes reset_alarm
301 40 Yes clear_overall_timeout
309 82 Yes set_overall_timeout
317 4139 Yes get_type_timeout
364 11754 Yes check_timeout
374 548 n/a _remap_ip_and_helo
418 277 Yes remap_connect_callback
435 11 Yes top_metrics_callback
451 277 Yes top_connect_callback
461 1 n/a __ANON__
501 271 Yes remap_helo_callback
525 271 Yes top_helo_callback
532 1 n/a __ANON__
582 270 Yes top_envfrom_callback
589 1 n/a __ANON__
636 269 Yes top_envrcpt_callback
643 1 n/a __ANON__
683 1637 Yes top_header_callback
695 15 n/a __ANON__
738 267 Yes top_eoh_callback
744 1 n/a __ANON__
785 265 Yes top_body_callback
791 1 n/a __ANON__
832 267 Yes top_eom_callback
838 1 n/a __ANON__
878 0 Yes apply_policy
900 33 Yes top_abort_callback
906 1 n/a __ANON__
946 130 Yes top_close_callback
955 1 n/a __ANON__
1010 450 Yes top_addheader_callback
1014 0 n/a __ANON__
1046 7560 Yes status
1063 72209 Yes config
1069 3432 Yes handler_config
1089 3432 Yes handler_type
1105 3801 Yes set_return
1112 3686 Yes get_return
1128 4577 Yes get_reject_mail
1135 409 Yes clear_reject_mail
1142 4572 Yes get_defer_mail
1149 407 Yes clear_defer_mail
1157 4871 Yes get_quarantine_mail
1164 407 Yes clear_quarantine_mail
1171 130067 Yes get_top_handler
1179 12580 Yes is_handler_loaded
1189 18647 Yes get_handler
1197 4241 Yes get_callbacks
1204 145 Yes set_object_maker
1212 1928 Yes get_object
1254 892 Yes set_object
1265 1126 Yes destroy_object
1287 25 Yes destroy_all_objects
1297 24 Yes exit_on_close
1308 3 Yes reject_mail
1320 12 Yes quarantine_mail
1327 9 Yes defer_mail
1339 130 Yes clear_all_symbols
1346 0 Yes clear_symbols
1367 461 Yes set_symbol
1381 64636 Yes get_symbol
1396 24 Yes tempfail_on_error
1428 147 n/a _dequeue_dir
1438 62 Yes add_dequeue
1450 3 Yes get_dequeue_list
1519 41 Yes get_dequeue
1530 41 Yes delete_dequeue
1539 0 Yes error_dequeue
1549 2 Yes add_header_to_sanitize_list
1556 2850 Yes is_local_ip_address
1563 3419 Yes is_trusted_ip_address
1570 4 Yes is_encrypted
1577 2414 Yes is_authenticated
1584 376 Yes ip_address
1597 768 Yes format_ctext
1610 768 Yes format_ctext_no_space
1619 0 Yes format_header_comment
1626 384 Yes format_header_entry
1635 472 Yes get_domain_from
1650 229 Yes get_domains_from
1668 127 n/a BEGIN
1669 127 n/a BEGIN
1670 127 n/a BEGIN
1671 127 n/a BEGIN
1675 893 Yes get_address_from
1682 1211 Yes get_addresses_from
1839 350 Yes get_my_hostname
1852 263 Yes get_my_authserv_id
1866 43459 Yes dbgout
1919 96 Yes log_error
1925 1217 Yes dbgoutwrite
1961 42 Yes can_sort_header
1967 971 Yes header_sort
2009 0 n/a _stringify_header
2018 267 Yes add_headers
2061 247 No add_auth_headers_of_type
2139 383 Yes prepend_header
2152 625 Yes add_auth_header
2162 139 Yes add_c_auth_header
2174 18 Yes append_header
2192 3777 Yes smfis_continue
2197 33 Yes smfis_tempfail
2202 3 Yes smfis_reject
2207 0 Yes smfis_discard
2212 0 Yes smfis_accept
2219 0 Yes write_packet
2226 18 Yes add_header
2235 383 Yes insert_header
2244 26 Yes change_header