首页> 外文会议>International Conference on Contemporary Computing >Logger4u: Predicting debugging statements in the source code
【24h】

Logger4u: Predicting debugging statements in the source code

机译:Logger4u:在源代码中预测调试语句

获取原文

摘要

Software logging is an essential programming practice that saves important runtime information that can be used later by software developers for troubleshooting, debugging and monitoring the software. Even though software logging has numerous benefits this practice is underutilized because of lack of any formal guiding principles to developers for making strategic and efficient logging decisions. Logging should be optimized because too much logging can cause performance overheads; sparse logging can leave out vital information that might give clues to developers about the real issues. In absence of any formal guidelines developers rely solely on their domain knowledge and experience while making logging decisions. In order to lessen this effort of making decisions we have proposed a machine learning based framework, Logger4u for if-block logging prediction. We extract and use 28 distinctive static features from the source code helpful in making well informed logging decisions. We use Support Vector Machine (two variants, 1 linear and 1 RBF kernel based) models, Multilayer Perceptron with back propagation model and Random forest model in our work. Our approach gives encouraging results for if-block logging task. The accuracy achieved by the Linear SVM, MLP, Random Forest and kernel SVM are 73.05%, 74.62%, 79.84% and 81.22% respectively
机译:软件日志记录是一种重要的编程实践,可以保存重要的运行时信息,软件开发人员以后可以使用这些信息来进行故障排除,调试和监视软件。尽管软件日志记录有许多好处,但由于缺乏对开发人员制定战略和有效日志记录决策的正式指导原则,因此该实践并未得到充分利用。应该优化日志记录,因为过多的日志记录可能会导致性能开销;稀疏日志记录可能会遗漏重要信息,这些重要信息可能会为开发人员提供有关实际问题的线索。在没有任何正式指导方针的情况下,开发人员在做出记录决策时仅依赖于他们的领域知识和经验。为了减轻决策的工作量,我们提出了一种基于机器学习的框架Logger4u,用于if块日志记录预测。我们从源代码中提取并使用28个独特的静态功能,这些功能有助于做出明智的日志记录决策。在我们的工作中,我们使用支持向量机(两个变体,基于1个线性和1个RBF核)模型,带有反向传播模型的多层感知器和随机森林模型。我们的方法为if块日志记录任务提供了令人鼓舞的结果。线性SVM,MLP,Random Forest和内核SVM所达到的精度分别为73.05%,74.62%,79.84%和81.22%

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号