Blogs (1) >>
ICSE 2019
Sat 25 - Fri 31 May 2019 Montreal, QC, Canada
Wed 29 May 2019 15:00 - 15:20 at Mansfield / Sherbrooke - DevOps and Logging Chair(s): Diomidis Spinellis

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 Cassandra. We uncovered five patterns of duplicate logging code smells. For each instance of the code smell, we further manually identify the problematic (i.e., require fixes) and justifiable (i.e., do not require fixes) cases. Then, we contact developers in order to verify our manual study result. We integrated our manual study result and developers’ feedback into our automated static analysis tool, DLFinder, which automatically detects problematic duplicate logging code smells. We evaluated DLFinder on the four manually studied systems and two new systems: Camel and Wicket. In total, combining the results of DLFinder and our manual analysis, we reported 82 problematic code smell instances to developers and all of them have been fixed.

Wed 29 May
Times are displayed in time zone: (GMT-04:00) Eastern Time (US & Canada) change

14:00 - 15:30: Papers - DevOps and Logging at Mansfield / Sherbrooke
Chair(s): Diomidis SpinellisAthens University of Economics and Business
icse-2019-Software-Engineering-in-Practice14:00 - 14:20
Junjie ChenPeking University, Xiaoting HeMicrosoft, Qingwei LinMicrosoft Research, China, Yong XuMicrosoft, China, Hongyu ZhangThe University of Newcastle, Dan HaoPeking University, Feng GaoMicrosoft, Zhangwei XuMicrosoft, Yingnong DangMicrosoft Azure, Dongmei ZhangMicrosoft Research, China
icse-2019-Software-Engineering-in-Practice14:20 - 14:40
Jieming ZhuHuawei Noah's Ark Lab, Shilin HeChinese University of Hong Kong, Jinyang LiuSun Yat-Sen University, Pinjia HeComputer Science and Engineering, The Chinese University of Hong Kong, Qi XieSouthwest Minzu University, Zibin ZhengSchool of Data and Computer Science, Sun Yat-sen University, Michael Lyu
icse-2019-Technical-Papers14:40 - 15:00
Anunay AmarConcordia University, Peter RigbyConcordia University, Montreal, Canada
icse-2019-Technical-Papers15:00 - 15:20
Zhenhao LiConcordia University, Tse-Hsun (Peter) ChenConcordia University, Jinqiu Yang , Weiyi ShangConcordia University, Canada
icse-2019-Paper-Presentations15:20 - 15:30