LCOV - code coverage report
Current view: top level - libpkg - pkgdb.c (source / functions) Hit Total Coverage
Test: plop Lines: 810 1290 62.8 %
Date: 2024-12-30 07:09:03 Functions: 65 79 82.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 438 838 52.3 %

Function Name Sort by function name Hit count Sort by hit count
_dbdir_access 0
_dbdir_getcwd 309
_dbdir_lstat 1307
_dbdir_mkdir 0
_dbdir_open 8786
_dbdir_stat 25740
_dbdir_trim_path 38568
_dbdir_unlink 2735
get_pragma 904
pkgdb_access 216
pkgdb_access2 531
pkgdb_add_annotation 4
pkgdb_begin_solver 178
pkgdb_case_sensitive 160
pkgdb_check_access 1149
pkgdb_check_lock_pid 0
pkgdb_close 312
pkgdb_cmd 0
pkgdb_compact 25
pkgdb_debug 7966
pkgdb_delete_annotation 5
pkgdb_downgrade_lock 0
pkgdb_end_solver 178
pkgdb_file_set_cksum 0
pkgdb_free_repo 105
pkgdb_init 144
pkgdb_init_proc 0
pkgdb_insert_annotations 245
pkgdb_insert_lua_scripts 245
pkgdb_insert_scripts 245
pkgdb_is_dir_used 9
pkgdb_is_insecure_mode 1149
pkgdb_modify_annotation 4
pkgdb_nfs_corruption 0
pkgdb_now 246
pkgdb_obtain_lock 354
pkgdb_open 225
pkgdb_open_all 225
pkgdb_open_all2 380
pkgdb_open_repos 94
pkgdb_profile_callback 0
pkgdb_regex 25
pkgdb_regex_delete 15
pkgdb_register_finale 245
pkgdb_register_pkg 246
pkgdb_release_lock 505
pkgdb_remove_lock_pid 407
pkgdb_reset_lock 0
pkgdb_set2 17
pkgdb_set_case_sensitivity 15
pkgdb_set_pkg_digest 63
pkgdb_sqlcmd_init 557
pkgdb_stats 0
pkgdb_syscall_overload 763
pkgdb_transaction_begin 6
pkgdb_transaction_begin_sqlite 333
pkgdb_transaction_commit 6
pkgdb_transaction_commit_sqlite 331
pkgdb_transaction_rollback 0
pkgdb_transaction_rollback_sqlite 2
pkgdb_try_lock 409
pkgdb_unregister_pkg 44
pkgdb_update_config_file_content 168
pkgdb_update_provides 245
pkgdb_update_requires 245
pkgdb_update_shlibs_provided 245
pkgdb_update_shlibs_required 245
pkgdb_upgrade 380
pkgdb_upgrade_lock 143
pkgdb_vercmp 0
pkgdb_vset 17
pkgdb_write_lock_pid 266
pkgshell_opendb 0
prepare_sql 15792
prstmt_finalize 304
prstmt_initialize 380
run_prstmt 3025
run_transaction 666
sql_exec 3121

Generated by: LCOV version 1.15