arrow
Return

Extracting and studying the Logging-Code-Issue- Introducing changes in Java-based large-scale open source software systems

delete2019-03-07
delete26
PRE
AI
B
Boyuan Chen *
Zhen Ming Jiang cover
Zhen Ming Jiang (Zhen Ming Jiang)
DOI:10.1007/s10664-019-09690-0delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Execution logs, which are generated by logging code, are widely used in modern software projects for tasks like monitoring, debugging, and remote issue resolution. Ineffective logging would cause confusion, lack of information during problem diagnosis, or even system crash. However, it is challenging to develop and maintain logging code, as it inter-mixes with the feature code. Furthermore, unlike feature code, it is very challenging to verify the correctness of logging code. Currently developers usually rely on their intuition when performing their logging activities. There are no well established logging guidelines in research and practice. In this paper, we intend to derive such guidelines through mining the historical logging code changes. In particular, we have extracted and studied the Logging-Code-Issue-Introducing (LCII) changes in six popular large-scale Java-based open source software systems. Preliminary studies on this dataset show that: (1) both co-changed and independently changed logging code changes can contain fixes to the LCII changes; (2) the complexity of fixes to LCII changes are similar to regular logging code updates; (3) it takes longer for developers to fix logging code issues than regular bugs; and (4) the state-of-the-art logging code issue detection tools can only detect a small fraction (3%) of the LCII changes. This highlights the urgent need for this area of research and the importance of such a dataset.
Keywords:
Empirical studies
Logging code
Software analytics
Code Coverage and Postrelease Defects: A Large-Scale Study on Open Source Projects
err2017-12-01
err27
errOAAI
errKochhar, Pavneet Singh; Lo, David; Lawall, Julia; Nagappan, Nachiappan
errShare
errSave
Studying and detecting log-related issues
err2018-03-15
err38
errOAAI
errHassani, Mehran; Shang, Weiyi; Shihab, Emad; Tsantalis, Nikolaos
errShare
errSave
Enhancing Log Sentiments: An Exploratory Study of Sentiments and Emotions with Software Logs
err2026-01-01
err0
PREAI
errWang, Xiaoh Ui; Tan, Yoush Uai; Ding, Zish Uo; Chen, Jinf; Xuan, Jifeng; Shang, Weiyi
errShare
errSave
errShare
errSave
Studying logging practice in test code
err2022-04-07
err5
PREAI
errZhang, Haonan; Tang, Yiming; Lamothe, Maxime; Li, Heng; Shang, Weiyi
errShare
errSave
A long-term exploratory study of source code quality issues in open-source Python projects
err2026-03-05
err0
PREAI
errBerciu, Liviu-Marian; Motogna, Simona Claudia; Molnar, Arthur-Jozsef
errShare
errSave

Journal

Empirical Software Engineering cover
Empirical Software Engineering
IF:
3.6
Papers:
2.0K
Citations:
6.4K

Organization

Y
york university - canada
Scholars:
0
Papers: 287
Citations: 5.4K
Cited Papers

Cited Papers

Coherent-Radiation Spectroscopy of Few-Femtosecond Electron Bunches Using a Middle-Infrared Prism Spectrometer
err2013-10-28
err0
errOAAI
errT. J. Maxwell; C. Behrens; Y. Ding; A. S. Fisher; J. Frisch; Z. Huang; H. Loos
errShare
errSave
Diacetylene copolymers for fingermark development
err2012-03-01
err0
PREAI
errAdrian De Grazia; Meena Mikhael; Natasha Stojanovska; Brian Reedy; Ronald Shimmon; Mark Tahtouh
errShare
errSave
A Framework for Evaluating the Results of the SZZ Approach for Identifying Bug-Introducing Changes
err2017-07-01
err139
PREAI
errda Costa, Daniel Alencar; McIntosh, Shane; Shang, Weiyi; Kulesza, Uira; Coelho, Roberta; Hassan, Ahmed E.
errShare
errSave
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
Lck regulates IL‐10 expression in memory‐like Th1 cells
err2010-10-27
err0
errOAAI
errKyeorda L. Kemp; Steven D. Levin; Paul L. Stein
errShare
errSave
researcher View more