LCOV - code coverage report
Current view: top level - libsystemd/sd-device - sd-device.c (source / functions) Hit Total Coverage
Test: systemd_full.info Lines: 797 1091 73.1 %
Date: 2019-08-23 13:36:53 Functions: 56 63 88.9 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 613 1255 48.8 %

Function Name Sort by function name Hit count Sort by hit count
device_add_devlink 3648
device_add_property_aux 219540
device_add_property_internal 121052
device_add_property_internal_from_string 49244
device_add_sysattr_value 4428
device_add_tag 6216
device_free 31328
device_get_id_filename 34756
device_get_sysattr_value 4448
device_new_aux 31328
device_new_from_child 4
device_properties_prepare 57424
device_read_db_internal 98292
device_read_db_internal_filename 34756
device_read_uevent_file 125004
device_remove_sysattr_value 0
device_set_devmode 252
device_set_devname 8240
device_set_devnum 8240
device_set_devtype 2828
device_set_driver 348
device_set_drivers_subsystem 1648
device_set_ifindex 500
device_set_subsystem 30940
device_set_sysname 6892
device_set_syspath 31328
device_set_usec_initialized 9676
device_sysattrs_read_all 0
handle_db_line 69712
handle_uevent_line 44556
is_valid_tag 6216
sd_device_get_devlink_first 2464
sd_device_get_devlink_next 4316
sd_device_get_devname 7072
sd_device_get_devnum 33056
sd_device_get_devpath 316992
sd_device_get_devtype 4440
sd_device_get_driver 4432
sd_device_get_ifindex 23012
sd_device_get_is_initialized 25060
sd_device_get_parent 4
sd_device_get_parent_with_subsystem_devtype 0
sd_device_get_property_first 2932
sd_device_get_property_next 17720
sd_device_get_property_value 36772
sd_device_get_subsystem 40692
sd_device_get_sysattr_first 0
sd_device_get_sysattr_next 0
sd_device_get_sysattr_value 4448
sd_device_get_sysname 6896
sd_device_get_sysnum 4432
sd_device_get_syspath 109224
sd_device_get_tag_first 3628
sd_device_get_tag_next 3948
sd_device_get_usec_since_initialized 1452
sd_device_has_tag 0
sd_device_new_from_device_id 2520
sd_device_new_from_devnum 2424
sd_device_new_from_subsystem_sysname 652
sd_device_new_from_syspath 31328
sd_device_ref 30676
sd_device_set_sysattr_value 0
sd_device_unref 93332

Generated by: LCOV version 1.14