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 126 n/a BEGIN
3 126 n/a BEGIN
4 126 n/a BEGIN
5 126 n/a BEGIN
8 126 n/a BEGIN
9 126 n/a BEGIN
10 126 n/a BEGIN
11 126 n/a BEGIN
12 126 n/a BEGIN
13 126 n/a BEGIN
14 126 n/a BEGIN
15 126 n/a BEGIN
16 126 n/a BEGIN
17 126 n/a BEGIN
18 126 n/a BEGIN
19 126 n/a BEGIN
20 126 n/a BEGIN
21 126 n/a BEGIN
28 1018 Yes new
38 234 Yes get_version
40 126 n/a BEGIN
47 6 Yes get_json
62 0 Yes metric_register
68 11322 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 34929 Yes get_microseconds
153 9953 Yes get_microseconds_since
165 43 Yes register_metrics
173 3 Yes top_dequeue_callback
180 0 n/a __ANON__
209 88 Yes top_setup_callback
226 11029 Yes is_exception_type
236 11005 Yes handle_exception
246 242 Yes get_time_remaining
257 7582 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 3998 Yes get_type_timeout
364 10321 Yes check_timeout
374 530 n/a _remap_ip_and_helo
418 268 Yes remap_connect_callback
435 11 Yes top_metrics_callback
451 268 Yes top_connect_callback
461 1 n/a __ANON__
501 262 Yes remap_helo_callback
525 262 Yes top_helo_callback
532 1 n/a __ANON__
582 261 Yes top_envfrom_callback
589 1 n/a __ANON__
636 260 Yes top_envrcpt_callback
643 1 n/a __ANON__
683 1577 Yes top_header_callback
695 15 n/a __ANON__
738 258 Yes top_eoh_callback
744 1 n/a __ANON__
785 256 Yes top_body_callback
791 1 n/a __ANON__
832 258 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 432 Yes top_addheader_callback
1014 0 n/a __ANON__
1046 7308 Yes status
1063 68102 Yes config
1069 3317 Yes handler_config
1089 3317 Yes handler_type
1105 3675 Yes set_return
1112 3563 Yes get_return
1128 4454 Yes get_reject_mail
1135 400 Yes clear_reject_mail
1142 4449 Yes get_defer_mail
1149 398 Yes clear_defer_mail
1157 4739 Yes get_quarantine_mail
1164 398 Yes clear_quarantine_mail
1171 121732 Yes get_top_handler
1179 12139 Yes is_handler_loaded
1189 17082 Yes get_handler
1197 4097 Yes get_callbacks
1204 142 Yes set_object_maker
1212 1827 Yes get_object
1254 826 Yes set_object
1265 1108 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 60118 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 2754 Yes is_local_ip_address
1563 3323 Yes is_trusted_ip_address
1570 4 Yes is_encrypted
1577 2318 Yes is_authenticated
1584 352 Yes ip_address
1597 702 Yes format_ctext
1610 702 Yes format_ctext_no_space
1619 0 Yes format_header_comment
1626 351 Yes format_header_entry
1635 437 Yes get_domain_from
1650 211 Yes get_domains_from
1668 126 n/a BEGIN
1669 126 n/a BEGIN
1670 126 n/a BEGIN
1671 126 n/a BEGIN
1675 819 Yes get_address_from
1682 1119 Yes get_addresses_from
1839 332 Yes get_my_hostname
1852 254 Yes get_my_authserv_id
1866 40350 Yes dbgout
1919 92 Yes log_error
1925 1190 Yes dbgoutwrite
1961 56 Yes can_sort_header
1967 949 Yes header_sort
2009 0 n/a _stringify_header
2018 258 Yes add_headers
2061 238 No add_auth_headers_of_type
2139 365 Yes prepend_header
2152 598 Yes add_auth_header
2162 139 Yes add_c_auth_header
2174 18 Yes append_header
2192 3651 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 365 Yes insert_header
2244 26 Yes change_header