ICPC 2018
Sun 27 - Mon 28 May 2018 Gothenburg, Sweden
co-located with * ICSE 2018 *
Sun 27 May 2018 14:34 - 14:51 at R2 - Logs and Dynamic Analysis Chair(s): Giuliano Antoniol

Log statements are widely used for postmortem debugging. Despite the importance of log messages, it is difficult for developers to establish good logging practices. There are two main reasons for this. First, there are no rigorous specifications or systematic processes to guide the practices of software logging. Second, logging code co-evolves with bug fixes or feature updates. While previous works on log enhancement have successfully focused on the first problem, they are hard to solve the latter. For taking the first step towards solving the second problem, this paper is inspired by code clones and assumes that logging code with similar context is pervasive in software and deserves similar modifications. To verify our assumptions, we conduct an empirical study on eight open-source projects. Based on the observation, we design and implement LogTracker, an automatic tool that can predict log revisions by mining the correlation between logging context and modifications. With an enhanced modeling of logging context, LogTracker is able to guide more intricate log revisions that cannot be covered by existing tools. We evaluate the effectiveness of LogTracker by applying it to the latest version of subject projects. The results of our experiments show that LogTracker can detect 199 instances of log revisions. So far, we have reported 25 of them, and 6 have been accepted.

slide for LogTracker (icpc报告-4.8.pptx)7.25MiB

Sun 27 May

Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

14:00 - 15:30
Logs and Dynamic AnalysisTechnical Research at R2
Chair(s): Giuliano Antoniol Polytechnique Montréal
14:00
17m
Full-paper
Analysis of Test Log Information through Interactive VisualizationsTechnical Research
Technical Research
Diego Castro Rio de Janeiro State University, Marcelo Schots Rio de Janeiro State University
Pre-print
14:17
17m
Full-paper
A Search-based Approach for Accurate Identification of Log Message FormatsTechnical Research
Technical Research
Salma Messaoudi University of Luxembourg, Annibale Panichella Deflt University of Technology, Domenico Bianculli University of Luxembourg, Lionel Briand SnT Centre/University of Luxembourg, Raimondas Sasnauskas SES
Pre-print
14:34
17m
Full-paper
LogTracker: Learning Log Revision Behaviors Proactively from Software Evolution HistoryTechnical Research
Technical Research
Shanshan Li , Xu Niu , Zhouyang Jia National University of Defense Technology, Ji Wang , Haochen He National University of Defense Technology, Teng Wang National University of Defense Technology
DOI Pre-print File Attached
14:51
17m
Full-paper
Identifying Software Components from Object-Oriented APIs Based on Dynamic AnalysisTechnical Research
Technical Research
Anas Shatnawi University of Milano-Bicocca, Hudhaifa Shatnawi Maharishi University of Management, Mohamed Aymen Saied Concordia University, Zakarea Al Shara LIRMM, CNRS and University of Montpellier, Houari Sahraoui University of Montreal, Abdelhak Seriai LIRMM, CNRS and University of Montpellier
Pre-print