LCOV - code coverage report
Current view:
top level
-
Modules
- posixmodule.c
(
source
/ functions)
Hit
Total
Coverage
Test:
CPython 3.12 LCOV report [commit acb105a7c1f]
Lines:
2597
3303
78.6 %
Date:
2022-07-20 13:12:14
Functions:
259
276
93.8 %
Branches:
1379
2262
61.0 %
Function Name
Hit count
DirEntry_dealloc
129650
DirEntry_fetch_stat
31735
DirEntry_from_posix_info
129650
DirEntry_get_lstat
28300
DirEntry_repr
1
DirEntry_test_mode
122509
PyInit_posix
3135
PyLong_FromPy_off_t
8362
PyOS_AfterFork
0
PyOS_AfterFork_Child
8
PyOS_AfterFork_Parent
1510
PyOS_BeforeFork
1518
PyOS_FSPath
5965682
Py_off_t_converter
49893
ScandirIterator_close
5
ScandirIterator_closedir
95432
ScandirIterator_dealloc
49814
ScandirIterator_enter
46076
ScandirIterator_exit
46076
ScandirIterator_finalize
49814
ScandirIterator_is_closed
49814
ScandirIterator_iternext
179001
_PyLong_FromGid
1221241
_PyLong_FromUid
1220264
_Py_Dev_Converter
11
_Py_Gid_Converter
769
_Py_Sigset_Converter
267
_Py_Uid_Converter
754
_fd_converter
80183
_posix_clear
6162
_posix_free
3081
_posix_listdir
36661
_posix_traverse
53458
_pystat_fromstructstat
1214277
_pystatvfs_fromstructstatvfs
124
all_ins
3135
argument_unavailable_error
0
build_times_result
2
check_null_or_callable
9285
cmp_constdefs
1806217
conv_confname
2723
conv_confstr_confname
1225
conv_path_confname
2
conv_sysconf_confname
1496
convert_sched_param
13
convertenviron
3135
dir_fd_and_fd_invalid
1409735
dir_fd_and_follow_symlinks_invalid
3135
dir_fd_converter
80675
dir_fd_unavailable
3135
fd_and_follow_symlinks_invalid
1476344
fd_specified
3135
fill_time
3642831
follow_symlinks_specified
3135
free_string_array
199
fsconvert_strdup
10317
get_posix_state
5145036
internal_rename
8411
iov_cleanup
9
iov_setup
9
join_path_filename
73040
os_DirEntry___fspath___impl
87597
os_DirEntry_inode_impl
8
os_DirEntry_is_dir_impl
122496
os_DirEntry_is_file_impl
13
os_DirEntry_is_symlink_impl
60370
os_DirEntry_stat_impl
72843
os_WCOREDUMP_impl
0
os_WEXITSTATUS_impl
0
os_WIFCONTINUED_impl
0
os_WIFEXITED_impl
0
os_WIFSIGNALED_impl
0
os_WIFSTOPPED_impl
4875
os_WSTOPSIG_impl
1
os_WTERMSIG_impl
0
os__exit_impl
0
os__path_normpath_impl
152511
os_abort_impl
0
os_access_impl
162
os_chdir_impl
3021
os_chmod_impl
25088
os_chown_impl
28
os_chroot_impl
5
os_close_impl
62409
os_closerange_impl
2
os_confstr_impl
1224
os_copy_file_range_impl
3
os_cpu_count_impl
104
os_ctermid_impl
1
os_device_encoding_impl
2
os_dup2_impl
535
os_dup_impl
1489
os_eventfd_impl
3
os_eventfd_read_impl
8
os_eventfd_write_impl
5
os_execv_impl
13
os_execve_impl
5
os_fchdir_impl
1
os_fchmod_impl
1
os_fchown_impl
7
os_fdatasync_impl
1
os_fork_impl
1505
os_forkpty_impl
3
os_fpathconf_impl
1
os_fspath_impl
3492585
os_fstat_impl
57989
os_fstatvfs_impl
2
os_fsync_impl
559
os_ftruncate_impl
286
os_get_blocking_impl
6
os_get_inheritable_impl
130
os_get_terminal_size_impl
10822
os_getcwd_impl
34916
os_getcwdb_impl
67
os_getegid_impl
2303
os_geteuid_impl
2534
os_getgid_impl
2308
os_getgrouplist_impl
1
os_getgroups_impl
6
os_getloadavg_impl
588
os_getlogin_impl
0
os_getpgid_impl
2
os_getpgrp_impl
3
os_getpid_impl
414604
os_getppid_impl
7
os_getpriority_impl
2
os_getrandom_impl
6
os_getresgid_impl
3
os_getresuid_impl
3
os_getsid_impl
6
os_getuid_impl
2349
os_getxattr_impl
21998
os_initgroups_impl
1
os_isatty_impl
3604
os_kill_impl
15928
os_killpg_impl
1
os_lchown_impl
11
os_link_impl
322
os_listdir_impl
36661
os_listxattr_impl
21992
os_lockf_impl
2
os_login_tty_impl
0
os_lseek_impl
8399
os_lstat_impl
152038
os_major_impl
2
os_makedev_impl
1
os_memfd_create_impl
2
os_minor_impl
2
os_mkdir_impl
18463
os_mkfifo_impl
10
os_mknod_impl
3
os_nice_impl
0
os_open_impl
32935
os_openpty_impl
17
os_pathconf_impl
1
os_pidfd_open_impl
26
os_pipe2_impl
2
os_pipe_impl
20972
os_posix_fadvise_impl
2
os_posix_fallocate_impl
2
os_posix_spawn_impl
58
os_posix_spawnp_impl
33
os_pread_impl
1
os_preadv_impl
2
os_putenv_impl
13153
os_pwrite_impl
1
os_pwritev_impl
1
os_read_impl
180343
os_readlink_impl
885
os_readv_impl
3
os_register_at_fork_impl
3098
os_remove_impl
1453
os_removexattr_impl
17
os_rename_impl
941
os_replace_impl
7470
os_rmdir_impl
11337
os_scandir_impl
49813
os_sched_get_priority_max_impl
2
os_sched_get_priority_min_impl
6
os_sched_getaffinity_impl
4
os_sched_getparam_impl
6
os_sched_getscheduler_impl
12
os_sched_param_impl
7
os_sched_rr_get_interval_impl
1
os_sched_setaffinity_impl
6
os_sched_setparam_impl
6
os_sched_setscheduler_impl
3
os_sched_yield_impl
1
os_sendfile_impl
41183
os_set_blocking_impl
323
os_set_inheritable_impl
61
os_setegid_impl
1
os_seteuid_impl
1
os_setgid_impl
1
os_setgroups
0
os_setpgid_impl
0
os_setpgrp_impl
0
os_setpriority_impl
2
os_setregid_impl
2
os_setresgid_impl
3
os_setresuid_impl
3
os_setreuid_impl
2
os_setsid_impl
0
os_setuid_impl
1
os_setxattr_impl
22602
os_splice_impl
4
os_stat_impl
1235299
os_statvfs_impl
123
os_strerror_impl
2091
os_symlink_impl
1308
os_sync_impl
1
os_sysconf_impl
1496
os_system_impl
4
os_tcgetpgrp_impl
1
os_tcsetpgrp_impl
1
os_times_impl
2
os_truncate_impl
7
os_ttyname_impl
1
os_umask_impl
502
os_uname_impl
254
os_unlink_impl
58992
os_unsetenv_impl
12663
os_urandom_impl
168900
os_utime_impl
22397
os_wait3_impl
13
os_wait4_impl
10
os_wait_impl
4
os_waitid_impl
1
os_waitpid_impl
44251
os_waitstatus_to_exitcode_impl
7056
os_write_impl
82911
os_writev_impl
3
parse_arglist
105
parse_envlist
94
parse_file_actions
51
parse_posix_spawn_flags
75
path_and_dir_fd_invalid
1409707
path_cleanup
1828677
path_converter
1776787
path_error
260945
path_error2
127
path_object_error
263118
path_object_error2
127
posix_do_stat
1387337
posix_error
20428
posix_fildes_fd
561
posix_getcwd
34983
posix_path_error
5
posix_path_object_error
263123
posixmodule_exec
3135
probe_faccessat
3135
probe_fchmodat
3135
probe_fchownat
3135
probe_fdopendir
3135
probe_fstatat
3135
probe_futimens
3135
probe_linkat
3135
probe_mkdirat
3135
probe_openat
3135
probe_readlinkat
3135
probe_renameat
3135
probe_symlinkat
3135
probe_unlinkat
3135
probe_utimensat
3135
py_posix_spawn
91
register_at_forker
9270
run_at_forkers
3036
setup_confname_table
9405
setup_confname_tables
3135
split_py_long_to_s_and_ns
43929
statresult_new
72
utime_default
22345
utime_dir_fd
8
utime_fd
7
utime_nofollow_symlinks
10
wait_helper
23
Generated by:
LCOV version 1.14