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

被引:0
|
作者
Boyuan Chen
Zhen Ming (Jack) Jiang
机构
[1] Software Construction,
[2] AnaLytics and Evaluation (SCALE) Laboratory York University,undefined
来源
关键词
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
相关论文
共 50 条
  • [1] Characterizing logging practices in Java']Java-based open source software projects - a replication study in Apache Software Foundation
    Chen, Boyuan
    Jiang, Zhen Ming
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2017, 22 (01) : 330 - 374
  • [2] Modularity Index Metrics for Java']Java-Based Open Source Software Projects
    Emanuel, Andi Wahju Rahardjo
    Wardoyo, Retantyo
    Istiyanto, Jazi Eko
    Mustofa, Khabib
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2011, 2 (11) : 52 - 58
  • [3] Characterizing Logging Practices in Open-Source Software
    Yuan, Ding
    Park, Soyeon
    Zhou, Yuanyuan
    [J]. 2012 34TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2012, : 102 - 112
  • [4] Logging Library Migrations: A Case Study for the Apache Software Foundation Projects
    Kabinna, Suhas
    Bezemer, Cor-Paul
    Shang, Weiyi
    Hassan, Ahmed E.
    [J]. 13TH WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2016), 2016, : 154 - 164
  • [5] Inequalities in Open Source Software Development: Analysis of Contributor's Commits in Apache Software Foundation Projects
    Chelkowski, Tadeusz
    Gloor, Peter
    Jemielniak, Dariusz
    [J]. PLOS ONE, 2016, 11 (04):
  • [6] Intensive Metrics for the Study of the Evolution of Open Source Projects: Case Studies from Apache Software Foundation Projects
    Gala-Perez, Santiago
    Robles, Gregorio
    Gonzalez-Barahona, Jesus M.
    Herraiz, Israel
    [J]. 2013 10TH IEEE WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR), 2013, : 159 - 168
  • [7] Studying the Practices of Logging Exception Stack Traces in Open-Source Software Projects
    Li, Heng
    Zhang, Haoxiang
    Wang, Shaowei
    Hassan, Ahmed E.
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (12) : 4907 - 4924
  • [8] Governance practices and software maintenance: A study of open source projects
    Midha, Vishal
    Bhattacherjee, Anol
    [J]. DECISION SUPPORT SYSTEMS, 2012, 54 (01) : 23 - 32
  • [9] State-of-the-practice in quality assurance in Java']Java-based open source software development
    Khatami, Ali
    Zaidman, Andy
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2024, 54 (08): : 1408 - 1446
  • [10] Extracting and studying the Logging-Code-Issue- Introducing changes in Java']Java-based large-scale open source software systems
    Chen, Boyuan
    Jiang, Zhen Ming
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2019, 24 (04) : 2285 - 2322