Dissecting Code Features: An Evolutionary Analysis of Kernel Versus Nonkernel Code in Operating Systems

被引:0
|
作者
Zhao, Yangyang [1 ,2 ]
Li, Chenglin [1 ]
Chen, Zhifei [3 ]
Ding, Zuohua [1 ]
机构
[1] Zhejiang Sci Tech Univ, Sch Comp Sci & Technol, Hangzhou, Peoples R China
[2] Nanjing Univ, State Key Lab Novel Software Technol, Nanjing, Peoples R China
[3] Nanjing Univ Sci & Technol, Sch Comp Sci & Engn, Nanjing, Peoples R China
关键词
code features; kernel code; nonkernel code; software evolution; CONTEXT;
D O I
10.1002/smr.2752
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Understanding the evolution of software systems is crucial for advancing software engineering practices. Many studies have been devoted to exploring software evolution. However, they primarily treat software as an entire entity and overlook the inherent differences between subsystems, which may lead to biased conclusions. In this study, we attempt to explore variations between subsystems by investigating the code feature differences between kernel and nonkernel components from an evolutionary perspective. Based on three operating systems as case studies, we examine multiple dimensions, including the code churn characteristics and code inherent characteristics. The main findings are as follows: (1) The proportion of kernel code remains relatively small, and exhibits consistent stability across the majority of versions as systems evolve. (2) Kernel code exhibits higher stability in contrast to nonkernel code, characterized by a lower modification rate and finer modification granularity. The patterns of modification activities are similar in both kernel and nonkernel code, with a preference of changing code and a tendency to avoid the combination of adding and deleting code. (3) The cumulative code size and complexity of kernel files show an upward trajectory as the system evolves. (4) Kernel files exhibit a significantly higher code density and complexity than nonkernel files, featuring a greater number of code line, comments, and statements, along with a larger program length, vocabulary, and volume. Conversely, kernel functions prioritize modularity and maintainability, with a significantly smaller size and lower complexity than nonkernel functions. These insights contribute to a deeper understanding of the dynamics within operating system codebases and highlight the necessity of targeted maintenance strategies for different subsystems.
引用
收藏
页数:21
相关论文
共 50 条
  • [41] Code Analysis and Improvement of Onion Routing Anonymous Systems
    Lu, Tianbo
    Wang, Youwen
    Zhao, Lingling
    Lin, Yang
    Zhang, Xiaoyan
    INTERNATIONAL JOURNAL OF FUTURE GENERATION COMMUNICATION AND NETWORKING, 2016, 9 (08): : 345 - 362
  • [42] Performance Analysis of Orthogonal Code Hopping Multiplexing Systems
    Jung, Bang Chul
    Jin, Hu
    Sung, Dan Keun
    Chung, Sae-Young
    2006 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS, VOLS 1-12, 2006, : 2078 - 2082
  • [43] Multidisciplinary Code Coupling for Analysis and Optimization of Aeroelastic Systems
    Nikbay, Melike
    Oncu, Levent
    Aysan, Ahmet
    JOURNAL OF AIRCRAFT, 2009, 46 (06): : 1938 - 1944
  • [44] Adaptive Multilevel Code Update Protocol for Real-Time Sensor Operating Systems
    Yi, Sangho
    Min, Hong
    Cho, Yookun
    Hong, Jiman
    IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2008, 4 (04) : 250 - 260
  • [45] Property-based Code Slicing for Efficient Verification of OSEK/VDX Operating Systems
    Park, Mingyu
    Byun, Taejoon
    Choi, Yunja
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2012, (105): : 69 - 84
  • [46] Using Concepts Analysis For Mining Functional Features From Legacy Code
    Elkharraz, Amal
    Valtchev, Petko
    Mili, Hafedh
    ICTAI: 2009 21ST INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE, 2009, : 625 - 629
  • [47] Concept Analysis as a Framework for Mining Functional Features from Legacy Code
    El Kharraz, Amal
    Valtchev, Petko
    Mili, Hafedh
    FORMAL CONCEPTS ANALYSIS, PROCEEDINGS, 2010, 5986 : 267 - 282
  • [48] Simulation of Built-in PHP Features for Precise Static Code Analysis
    Dahse, Johannes
    Holz, Thorsten
    21ST ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2014), 2014,
  • [49] IFAttn: Binary code similarity analysis based on interpretable features with attention
    Jiang, Shuai
    Fu, Cai
    Qian, Yekui
    He, Shuai
    Lv, Jianqiang
    Han, Lansheng
    COMPUTERS & SECURITY, 2022, 120
  • [50] Kernel performance improvement for the FEM-based fluid analysis code on the K computer
    Kumahata, Kiyoshi
    Inoue, Shunsuke
    Minami, Kazuo
    2013 INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE, 2013, 18 : 2496 - 2499