首页> 外文期刊>Empirical Software Engineering >Extracting and studying the Logging-Code-Issue-Introducing changes in Java-based large-scale open source software systems
【24h】

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

机译:提取和研究基于Java的大规模开源软件系统中的伐木代码问题的更改

获取原文
获取原文并翻译 | 示例
           

摘要

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.
机译:执行日志,由日志记录代码生成,广泛用于现代软件项目,以获取监视,调试和远程问题解决方案的任务。伐木无效会导致困惑,问题诊断期间缺乏信息,甚至系统崩溃。但是,开发和维护日志记录代码有挑战性,因为它与特征代码相互混合。此外,与特征代码不同,验证日志记录代码的正确性非常具有挑战性。目前,开发人员通常在执行日志活动时依赖他们的直觉。在研究和实践中没有建立日志记录准则。在本文中,我们打算通过挖掘历史记录代码的变化来派生此类指导方针。特别是,我们已经提取并研究了六个流行的大型Java开源软件系统中的伐木代码问题(LCII)更改。对此数据集的初步研究显示:(1)共同改变和独立更改的日志记录代码更改可能包含对LCII更改的修复; (2)对LCII的修复程序的复杂性类似于常规日志记录代码更新; (3)开发人员需要更长的时间来修复日志代码问题而不是常规错误; (4)最先进的日志记录代码问题检测工具只能检测到LCII变化的小部分(3%)。这突出了对该研究领域的迫切需要和这种数据集的重要性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号