作者
Zhenhao Li, Tse-Hsun Chen, Jinqiu Yang, Weiyi Shang
发表日期
2019/5/25
研讨会论文
2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE)
页码范围
152-163
出版商
IEEE
简介
Developers rely on software logs for a wide variety of tasks, such as debugging, testing, program comprehension, verification, and performance analysis. Despite the importance of logs, prior studies show that there is no industrial standard on how to write logging statements. Recent research on logs often only considers the appropriateness of a log as an individual item (e.g., one single logging statement); while logs are typically analyzed in tandem. In this paper, we focus on studying duplicate logging statements, which are logging statements that have the same static text message. Such duplications in the text message are potential indications of logging code smells, which may affect developers' understanding of the dynamic view of the system. We manually studied over 3K duplicate logging statements and their surrounding code in four large-scale open source systems: Hadoop, CloudStack, ElasticSearch, and …
引用总数
2019202020212022202320243101711144
学术搜索中的文章
Z Li, TH Chen, J Yang, W Shang - 2019 IEEE/ACM 41st International Conference on …, 2019