Characterizing logging practices in Java-based open source software projects – a replication study in Apache Software Foundation

被引:1
作者
Boyuan Chen
Zhen Ming (Jack) Jiang
机构
[1] Software Construction,
[2] AnaLytics and Evaluation (SCALE) Laboratory York University,undefined
来源
Empirical Software Engineering | 2017年 / 22卷
关键词
Empirical study; Replication; Log messages; Logging code; Mining software engineering data; MSR;
D O I
暂无
中图分类号
学科分类号
摘要
Log messages, which are generated by the debug statements that developers insert into the code at runtime, contain rich information about the runtime behavior of software systems. Log messages are used widely for system monitoring, problem diagnoses and legal compliances. Yuan et al. performed the first empirical study on the logging practices in open source software systems. They studied the development history of four C/C++ server-side projects and derived ten interesting findings. In this paper, we have performed a replication study in order to assess whether their findings would be applicable to Java projects in Apache Software Foundations. We examined 21 different Java-based open source projects from three different categories: server-side, client-side and supporting-component. Similar to the original study, our results show that all projects contain logging code, which is actively maintained. However, contrary to the original study, bug reports containing log messages take a longer time to resolve than bug reports without log messages. A significantly higher portion of log updates are for enhancing the quality of logs (e.g., formatting & style changes and spelling/grammar fixes) rather than co-changes with feature implementations (e.g., updating variable names).
引用
收藏
页码:330 / 374
页数:44
相关论文
共 24 条
[1]  
Basili VR(1999)Building knowledge through families of experiments IEEE Trans Softw Eng 25 456-473
[2]  
Shull F(2007)Change distilling:tree differencing for fine-grained source code change extraction IEEE Trans Softw Eng 33 725-743
[3]  
Lanubile F(2002)Two case studies of open source software development: Apache and mozilla ACM Trans Softw Eng Methodol 11 309-346
[4]  
Fluri B(2012)Advances and challenges in log analysis Commun ACM 55 55-61
[5]  
Wursch M(2014)An exploratory study of the evolution of communicated information about the execution of large software systems Journal of Software: Evolution and Process 26 3-26
[6]  
Pinzger M(2015)Replicating and re-evaluating the theory of relative defect-proneness IEEE Trans Softw Eng 41 176-197
[7]  
Gall H(undefined)undefined undefined undefined undefined-undefined
[8]  
Mockus A(undefined)undefined undefined undefined undefined-undefined
[9]  
Fielding RT(undefined)undefined undefined undefined undefined-undefined
[10]  
Herbsleb JD(undefined)undefined undefined undefined undefined-undefined