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 条
  • [31] An Analysis of Morphological Features of Code-switching in Chinese Netspeak
    Zhang, Chunqin
    INTERNATIONAL JOURNAL OF ENGLISH LINGUISTICS, 2014, 4 (04) : 88 - 92
  • [32] An approach for mapping features to code based on static and dynamic analysis
    Rohatgi, Abhishek
    Hamou-Lhadj, Abdelwahab
    Rilling, Juergen
    PROCEEDINGS OF THE 16TH IEEE INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, 2008, : 234 - 239
  • [33] Using Code Quality Features to Predict Bugs in Procedural Software Systems
    Araujo, Cristiano Werner
    Zapalowski, Vanius
    Nunes, Ingrid
    SBES'18: PROCEEDINGS OF THE XXXII BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING, 2018, : 122 - 131
  • [34] On Code Analysis Opportunities and Challenges for Enterprise Systems and Microservices
    Cerny, Tomas
    Svacina, Jan
    Das, Dipta
    Bushong, Vincent
    Bures, Miroslav
    Tisnovsky, Pavel
    Frajtak, Karel
    Shin, Dongwan
    Huang, Jun
    IEEE ACCESS, 2020, 8 : 159449 - 159470
  • [35] Analysis of two code compression algorithms for embedded systems
    Xie, Y
    2003 5TH INTERNATIONAL CONFERENCE ON ASIC, VOLS 1 AND 2, PROCEEDINGS, 2003, : 773 - 776
  • [36] Code Based Analysis for Object-Oriented Systems
    Swapan Bhattacharya
    Ananya Kanjilal
    Journal of Computer Science and Technology, 2006, 21 : 965 - 972
  • [37] Performance analysis of single code spread ALOHA systems
    Hellany, A.
    Achi, H.
    2007 14TH IEEE INTERNATIONAL CONFERENCE ON ELECTRONICS, CIRCUITS AND SYSTEMS, VOLS 1-4, 2007, : 617 - 620
  • [38] Code based analysis for object-oriented systems
    Hattacharya, Swapan
    Kanjilal, Ananya
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2006, 21 (06) : 965 - 972
  • [39] ANALYSIS OF DISTORTION IN PULSE-CODE MODULATION SYSTEMS
    SCHOUTEN, JP
    TGROENEWOUT, HWFV
    APPLIED SCIENTIFIC RESEARCH SECTION B-ELECTROPHYSICS ACOUSTICS OPTICS MATHEMATICAL METHODS, 1952, 2 (04): : 277 - 290
  • [40] Design and analysis of code distribution systems with active networks
    Wu, ZD
    Wang, XG
    15TH INTERNATIONAL CONFERENCE ON INFORMATION NETWORKING, PROCEEDINGS, 2001, : 313 - 318