Int J Performability Eng ›› 2018, Vol. 14 ›› Issue (8): 1887-1895.doi: 10.23940/ijpe.18.08.p27.18871895

• Original articles • Previous Articles     Next Articles

Understanding the Similarity of Log Revision Behaviors in Open Source Software

Xu Niu, Shanshan Li, Zhouyang Jia, Shulin Zhou, Wang Li, and Xiangke Liao   

  1. National University of Defense Technology, Changsha, 410073, China

Abstract:

As logging code evolves with bug fixes and feature updates, developers may miss some log revisions due to a lack of general specifications and attention from developers. This makes it more troublesome to achieve good logging practices. In this paper, we try to study log revision behaviors from evolutionary history. Motivated by similar edits of clone codes, we assume there also exist similar log revisions that implicated log revision behaviors. Based on this assumption, we study the similarity of log revision behaviors and answer six research questions. Specifically, we find that 54.14% of log revisions belong to groups of similar log revisions and 64.4% of groups contain log revisions that are missed by developers. We stress the importance of branch statements on learning from similar log revisions since 53.51% of sampled similar log revisions are related to the semantics of branch statements.


Submitted on May 13, 2018; Revised on June 20, 2018; Accepted on July 27, 2018
References: 27