LCOV - code coverage report
Current view: top level - libbpfilter - matcher.c (source / functions) Coverage Total Hit
Test: coverage.lcov Lines: 94.1 % 511 481
Test Date: 2026-11-05 13:56:16 Functions: 97.3 % 75 73
Branches: 72.1 % 433 312

Function Name Sort by function name Hit count Sort by function hit count
_bf_matcher_new 10498
_bf_matcher_new_for_anon_set 1898
_bf_parse_dscp 87
_bf_parse_icmp_code 166
_bf_parse_icmp_type 88
_bf_parse_icmpv6_type 96
_bf_parse_iface 42
_bf_parse_ipv4_addr 320
_bf_parse_ipv4_net 116
_bf_parse_ipv6_addr 224
_bf_parse_ipv6_net 306
_bf_parse_l3_proto 90
_bf_parse_l4_port 760
_bf_parse_l4_port_range 251
_bf_parse_l4_proto 390
_bf_parse_mark 38
_bf_parse_pid 74
_bf_parse_probability 97
_bf_parse_tcp_flags 147
_bf_parse_u32 46
_bf_parse_u32_range 24
_bf_print_dscp 1
_bf_print_icmp_code 1
_bf_print_icmp_type 2
_bf_print_icmpv6_type 2
_bf_print_iface 2
_bf_print_ipv4_addr 41
_bf_print_ipv4_net 1
_bf_print_ipv6_addr 1
_bf_print_ipv6_net 1
_bf_print_l3_proto 2
_bf_print_l4_port 5
_bf_print_l4_port_range 1
_bf_print_l4_proto 5
_bf_print_mark 1
_bf_print_pid 1
_bf_print_probability 4
_bf_print_tcp_flags 1
_bf_print_u32 0
_bf_print_u32_range 0
_bf_strtoul 578
bf_dscp_class_from_str 95
bf_dscp_class_to_str 5
bf_ethertype_from_str 93
bf_ethertype_to_str 4
bf_icmp_type_from_str 91
bf_icmp_type_to_str 4
bf_icmpv6_type_from_str 99
bf_icmpv6_type_to_str 4
bf_ipproto_from_str 394
bf_ipproto_to_str 9
bf_matcher_dump 97
bf_matcher_free 46028
bf_matcher_get_meta 40918
bf_matcher_get_negate 3169
bf_matcher_get_op 5615
bf_matcher_get_ops 6907
bf_matcher_get_type 104833
bf_matcher_len 1
bf_matcher_new 5751
bf_matcher_new_for_anon_set 235
bf_matcher_new_for_anon_set_from_raw 183
bf_matcher_new_for_named_set 281
bf_matcher_new_from_copy 2989
bf_matcher_new_from_pack 5847
bf_matcher_new_from_raw 2706
bf_matcher_op_from_str 2027
bf_matcher_op_to_str 1103
bf_matcher_pack 3029
bf_matcher_payload 11888
bf_matcher_payload_len 122
bf_matcher_type_from_str 3147
bf_matcher_type_to_str 1320
bf_tcp_flag_from_str 326
bf_tcp_flag_to_str 10

Generated by: LCOV version 2.0-1