Categories of Source Code in Industrial Systems

被引:3
|
作者
Alves, Tiago L. [1 ,2 ]
机构
[1] Software Improvement Grp, Amsterdam, Netherlands
[2] Univ Minho, Braga, Portugal
关键词
Categorization; source code; software metrics; product measurement; industrial systems; analysis scope;
D O I
10.1109/ESEM.2011.42
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The categorization of source code artifacts affects how the overall product is measured and consequently how these measurements are interpreted. When measuring complexity, for instance, failing to distinguish test and generated code will affect complexity measurements possibly leading to an erroneous interpretation of the overall product complexity. Although categorization problems are known, there seems to be little attention given to this subject in the literature. In this paper, we introduce a categorization for source code artifacts and present an empirical study providing evidence of each category. Artifacts are divided into production and test code, and then these categories are sub-divided into manually-maintained, generated, library, and example code. By analyzing 80 Java and C# industrial systems, we have found evidence of the majority of categories. We show that in average production code only accounts for 60% of a product volume. Also, we have found that for some systems the overall percentage of test and generated code, each can account to over 70% and of library code to over 40%. Finally we discuss the difficulties of distinguishing source code artifacts and conclude with directions for further research.
引用
收藏
页码:335 / 342
页数:8
相关论文
共 50 条
  • [21] Optimization of an industrial heat exchanger using an open-source CFD code
    Selma, Brahim
    Desilets, Martin
    Proulx, Pierre
    APPLIED THERMAL ENGINEERING, 2014, 69 (1-2) : 241 - 250
  • [22] Is Bytecode Instrumentation as Good as Source Code Instrumentation: An Empirical Study with Industrial Tools
    Li, Nan
    Meng, Xin
    Offutt, Jeff
    Deng, Lin
    2013 IEEE 24TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE), 2013, : 380 - 389
  • [23] Manually Locating Features in Industrial Source Code: The Search Actions of Software Nomads
    Jordan, Howell
    Rosik, Jacek
    Herold, Sebastian
    Botterweck, Goetz
    Buckley, Jim
    2015 IEEE 23RD INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION ICPC 2015, 2015, : 174 - 177
  • [24] SEMANTIC CATEGORIES - NATURE OF INTERNAL CODE
    SALA, LS
    BULLETIN OF THE PSYCHONOMIC SOCIETY, 1977, 10 (04) : 244 - 244
  • [25] NATURE OF MENTAL CODE FOR NATURAL CATEGORIES
    HEIDER, ER
    PSYCHONOMIC SCIENCE, 1972, 29 (4B): : 261 - &
  • [26] Empirically Examining the Quality of Source Code in Engineering Software Systems
    Carter, Jens K.
    Alnaeli, Saleh M.
    Vaz, Warren S.
    2018 IEEE INTERNATIONAL CONFERENCE ON ELECTRO/INFORMATION TECHNOLOGY (EIT), 2018, : 641 - 644
  • [27] Impact of Source Code Optimizations on Power Consumption of Embedded Systems
    Ortiz, David A.
    Santiago, Nayda G.
    2008 JOINT IEEE NORTH-EAST WORKSHOP ON CIRCUITS AND SYSTEMS AND TAISA CONFERENCE, 2008, : 133 - 136
  • [28] Matlab®/Simulink® generated source code for safety related systems
    Schwarz, M. H.
    Sheng, H.
    Sheleh, A.
    Boercsoek, J.
    2008 IEEE/ACS INTERNATIONAL CONFERENCE ON COMPUTER SYSTEMS AND APPLICATIONS, VOLS 1-3, 2008, : 1058 - 1063
  • [29] Lost in Source Code: Physically Separating Features in Legacy Systems
    Krueger, Jacob
    PROCEEDINGS OF THE 2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C 2017), 2017, : 461 - 462
  • [30] UNIX CLONE WITH SOURCE CODE FOR OPERATING SYSTEMS COURSES.
    Tanenbaum, Andrew S.
    Operating Systems Review (ACM), 1987, 21 (01): : 20 - 29