Code Ownership

Ownership is measured by how many commits each author made to each file in the current tree. It highlights bus-factor risk (files only one person has ever touched) and where knowledge is concentrated. The bus factor is the smallest number of people who are, between them, primary owner of more than half of the files.

Files Tracked
3,021
in the current tree
Bus Factor
3
3 authors are primary owner of 1,679 of 3,021 files
Single-Owner Files
1,446
47.9% of tracked files
Contributors
94
authors who changed files

Bus factor risk — single-owner files

Files only one author has ever changed. The more a file has changed, the more knowledge is at risk if that person leaves.

FileSole ownerCommits
testsuites/unittest/container/It_container_test.cppzhushengle12
testsuites/unittest/container/It_container_test.hzhushengle12
kernel/base/include/los_container_pri.hzhushengle12
kernel/base/include/los_pid_container_pri.hzhushengle6
kernel/base/include/los_uts_container_pri.hzhushengle6
testsuites/unittest/process/fs/process_fs_test.cppzhushengle5
kernel/base/include/los_ipc_container_pri.hzhushengle5
kernel/base/include/los_mnt_container_pri.hzhushengle5
kernel/base/include/los_time_container_pri.hzhushengle5
kernel/user/BUILD.gnCaoruihong5
Table: the 100 most-changed of 1,446 single-owner files
FileSole ownerCommits
testsuites/unittest/container/It_container_test.cppzhushengle12
testsuites/unittest/container/It_container_test.hzhushengle12
kernel/base/include/los_container_pri.hzhushengle12
kernel/base/include/los_pid_container_pri.hzhushengle6
kernel/base/include/los_uts_container_pri.hzhushengle6
testsuites/unittest/process/fs/process_fs_test.cppzhushengle5
kernel/base/include/los_ipc_container_pri.hzhushengle5
kernel/base/include/los_mnt_container_pri.hzhushengle5
kernel/base/include/los_time_container_pri.hzhushengle5
kernel/user/BUILD.gnCaoruihong5
drivers/char/quickstart/include/los_dev_quickstart.hboxi5
testsuites/unittest/container/full/It_pid_container_003.cppzhushengle4
testsuites/unittest/container/full/It_pid_container_009.cppzhushengle3
testsuites/unittest/container/full/It_pid_container_024.cppzhushengle3
fs/proc/os_adapt/plimits_proc.czhushengle3
kernel/extended/plimit/los_ipclimit.hzhushengle3
kernel/extended/plimit/los_schedlimit.hzhushengle3
testsuites/unittest/container/smoke/It_pid_container_028.cppzhushengle3
testsuites/unittest/container/full/It_pid_container_002.cppzhushengle3
testsuites/unittest/process/fs/It_process_fs_test.hzhushengle3
apps/toybox/liteos_a_custom.configzhangyan3
apps/app.mkCaoruihong3
kernel/extended/vdso/BUILD.gnCaoruihong3
testsuites/unittest/process/basic/pthread/smoke/pthread_test_020.cppzhangdengyu2
testsuites/unittest/process/basic/pthread/smoke/pthread_test_021.cppzhangdengyu2
testsuites/unittest/process/basic/pthread/smoke/pthread_test_022.cppzhangdengyu2
testsuites/unittest/process/basic/pthread/smoke/pthread_test_023.cppzhangdengyu2
testsuites/unittest/process/basic/pthread/smoke/pthread_test_024.cppzhangdengyu2
testsuites/unittest/process/basic/pthread/smoke/pthread_test_025.cppzhangdengyu2
testsuites/unittest/process/basic/pthread/smoke/pthread_test_026.cppzhangdengyu2
testsuites/unittest/process/basic/pthread/smoke/pthread_test_027.cppzhangdengyu2
testsuites/unittest/process/fs/smoke/It_process_fs_013.cppzhushengle2
testsuites/unittest/container/full/It_pid_container_020.cppzhushengle2
testsuites/unittest/container/full/It_user_container_005.cppzhushengle2
testsuites/unittest/container/full/It_uts_container_003.cppzhushengle2
testsuites/unittest/container/smoke/It_net_container_001.cppzhushengle2
testsuites/unittest/container/smoke/It_net_container_002.cppzhushengle2
testsuites/unittest/container/smoke/It_net_container_005.cppzhushengle2
testsuites/unittest/container/smoke/It_net_container_009.cppzhushengle2
testsuites/unittest/container/smoke/It_pid_container_032.cppzhushengle2
testsuites/unittest/container/smoke/It_pid_container_033.cppzhushengle2
testsuites/unittest/process/plimits/smoke/It_process_plimits_ipc_009.cppzhushengle2
testsuites/unittest/process/plimits/smoke/It_process_plimits_ipc_010.cppzhushengle2
kernel/base/include/los_user_container_pri.hzhushengle2
testsuites/unittest/container/smoke/It_time_container_006.cppzhushengle2
testsuites/unittest/container/smoke/It_uts_container_005.cppzhushengle2
testsuites/unittest/container/smoke/It_uts_container_006.cppzhushengle2
testsuites/unittest/process/fs/smoke/It_process_fs_002.cppzhushengle2
kernel/extended/plimit/los_devicelimit.hzhushengle2
kernel/extended/plimit/los_memlimit.hzhushengle2
kernel/extended/plimit/los_plimits.hzhushengle2
kernel/extended/plimit/los_processlimit.hzhushengle2
testsuites/unittest/container/full/It_pid_container_010.cppzhushengle2
testsuites/unittest/container/smoke/It_ipc_container_002.cppzhushengle2
testsuites/unittest/container/smoke/It_pid_container_029.cppzhushengle2
testsuites/unittest/container/smoke/It_pid_container_030.cppzhushengle2
testsuites/unittest/fuzz/main.cppzhushengle2
fs/proc/os_adapt/mem_info.czhushengle2
testsuites/unittest/container/full/It_pid_container_004.cppzhushengle2
testsuites/unittest/container/smoke/It_pid_container_027.cppzhushengle2
testsuites/unittest/container/smoke/It_time_container_001.cppzhushengle2
testsuites/unittest/container/smoke/It_ipc_container_003.cppzhushengle2
testsuites/unittest/container/smoke/It_mnt_container_005.cppzhushengle2
testsuites/unittest/container/smoke/It_time_container_002.cppzhushengle2
testsuites/unittest/container/smoke/It_time_container_003.cppzhushengle2
testsuites/unittest/container/smoke/It_time_container_004.cppzhushengle2
testsuites/unittest/container/smoke/It_time_container_005.cppzhushengle2
testsuites/unittest/container/smoke/It_time_container_008.cppzhushengle2
testsuites/unittest/container/smoke/It_mnt_container_004.cppzhushengle2
kernel/base/sched/los_sortlink.czhushengle2
kernel/include/los_pm.hzhushengle2
testsuites/unittest/process/basic/process/full/process_test_067.cpparvinzzz2
lib/libscrew/include/los_cir_buf.harvinzzz2
lib/libscrew/src/los_cir_buf.carvinzzz2
kernel/extended/blackbox/Makefilearvinzzz2
kernel/extended/hidumper/Makefilearvinzzz2
kernel/extended/hilog/Makefilearvinzzz2
kernel/common/los_init_pri.harvinzzz2
testsuites/kernel/sample/kernel_extend/cpup/BUILD.gnlnlan2
testsuites/kernel/sample/posix/BUILD.gnlnlan2
testsuites/Kconfiglnlan2
testsuites/kernel/Kconfiglnlan2
arch/arm/BUILD.gnCaoruihong2
apps/init/BUILD.gnCaoruihong2
apps/shell/BUILD.gnCaoruihong2
apps/tftp/BUILD.gnCaoruihong2
compat/posix/BUILD.gnCaoruihong2
lib/zlib/BUILD.gnCaoruihong2
net/lwip-2.1/BUILD.gnCaoruihong2
kernel/extended/trace/trace_online.cLiteOS20212
fs/include/fs/driver.hmucor2
.gitcode/developeryang-pangyuan1
kernel/base/sched/los_deadline.czhangdengyu1
testsuites/unittest/tools/BUILD.gnzhushengle1
testsuites/unittest/tools/README.mdzhushengle1
testsuites/unittest/tools/unittest_tools.cppzhushengle1
testsuites/unittest/container/full/It_net_container_010.cppzhushengle1
kernel/base/include/los_net_container_pri.hzhushengle1
net/lwip-2.1/porting/include/lwip/ip.hzhushengle1
testsuites/unittest/container/smoke/It_net_container_003.cppzhushengle1

Ownership by author

Primary owner = the author with the most commits to a file. Solely owned = files only that author has touched.

AuthorFiles ownedSolely ownedFiles touched
lnlan8365521,165
zhushengle497234598
arvinzzz346323908
yinjiaming2310294
Caoruihong22838490
文峻_HW207197565
xuxinyu1780232
马明帅11610408
x_xiny1100199
LiteOS20215344115
zhangdengyu489122
mucor21979
wangchen19075
zhumingxian13013
zwx1232718111122
Guangyao Ma10554
Haryslee10544
yang-pangyuan10143
SimonLi9038
”景涛“909
kenneth60174
LeonChan4137
chenjing4020
mr-yx408
boxi32264

Showing top 25 of 94 contributors.

Most shared files

Files touched by the most people — shared code where changes are most likely to need coordination.

FileContributorsPrimary ownerOwner share
kernel/common/console.c25yang-pangyuan11.1%
tools/build/mk/los_config.mk22Caoruihong32.7%
syscall/fs_syscall.c22zhushengle8.9%
kernel/extended/liteipc/hm_liteipc.c22zhushengle20.0%
kernel/base/core/los_process.c19zhushengle51.0%
fs/fat/os_adapt/fatfs.c19Far25.0%
Kconfig19Caoruihong25.8%
kernel/base/core/los_task.c18zhushengle39.5%
syscall/los_syscall.h18zhushengle17.6%
arch/arm/arm/src/los_exc.c17zhushengle19.5%
kernel/base/vm/los_vm_filemap.c16mucor21.7%
kernel/base/ipc/los_signal.c15zhushengle25.9%
fs/vfs/vnode.c14LeonChan21.6%
compat/posix/src/time.c14zhushengle18.8%
kernel/base/vm/los_vm_map.c14Haryslee18.2%
apps/shell/src/shmsg.c14x_xiny11.8%
BUILD.gn13Caoruihong52.5%
kernel/base/include/los_process_pri.h13zhushengle53.6%
syscall/syscall_lookup.h13zhushengle24.0%
net/lwip-2.1/enhancement/src/api_shell.c13yinjiaming14.3%