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-26 17:15:32 Functions: 97.3 % 75 73
Branches: 72.7 % 433 315

Function Name Sort by function name Hit count Sort by function hit count
_bf_matcher_new 7644
_bf_matcher_new_for_anon_set 1569
_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 322
_bf_parse_ipv4_net 116
_bf_parse_ipv6_addr 224
_bf_parse_ipv6_net 306
_bf_parse_l3_proto 92
_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 95
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 37546
bf_matcher_get_meta 43311
bf_matcher_get_negate 3201
bf_matcher_get_op 5642
bf_matcher_get_ops 9037
bf_matcher_get_type 102385
bf_matcher_len 1
bf_matcher_new 5817
bf_matcher_new_for_anon_set 236
bf_matcher_new_for_anon_set_from_raw 183
bf_matcher_new_for_named_set 254
bf_matcher_new_from_copy 51
bf_matcher_new_from_pack 5920
bf_matcher_new_from_raw 2710
bf_matcher_op_from_str 2031
bf_matcher_op_to_str 1103
bf_matcher_pack 3047
bf_matcher_payload 11647
bf_matcher_payload_len 122
bf_matcher_type_from_str 3151
bf_matcher_type_to_str 1323
bf_tcp_flag_from_str 326
bf_tcp_flag_to_str 10

Generated by: LCOV version 2.0-1