首页> 外文期刊>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)最新的日志记录代码问题检测工具只能检测到一小部分(3%)的LCII变化。这凸显了这一研究领域的迫切需求以及此类数据集的重要性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号