We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:


Current browse context:


Change to browse by:


References & Citations

DBLP - CS Bibliography


(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Computer Science > Software Engineering

Title: Automated Evolution of Feature Logging Statement Levels Using Git Histories and Degree of Interest

Abstract: Logging -- used for system events and security breaches to describe more informational yet essential aspects of software features -- is pervasive. Given the high transactionality of today's software, logging effectiveness can be reduced by information overload. Log levels help alleviate this problem by correlating a priority to logs that can be later filtered. As software evolves, however, levels of logs documenting surrounding feature implementations may also require modification as features once deemed important may have decreased in urgency and vice-versa. We present an automated approach that assists developers in evolving levels of such (feature) logs. The approach, based on mining Git histories and manipulating a degree of interest (DOI) model, transforms source code to revitalize feature log levels based on the "interestingness" of the surrounding code. Built upon JGit and Mylyn, the approach is implemented as an Eclipse IDE plug-in and evaluated on 18 Java projects with $\sim$3 million lines of code and $\sim$4K log statements. Our tool successfully analyzes 99.22% of logging statements, increases log level distributions by $\sim$20%, and increases the focus of logs in bug fix contexts $\sim$83% of the time. Moreover, pull (patch) requests were integrated into large and popular open-source projects. The results indicate that the approach is promising in assisting developers in evolving feature log levels.
Comments: 37 pages, 1 figure
Subjects: Software Engineering (cs.SE)
Journal reference: Science of Computer Programming, 2022-02, Vol. 214, p.102724
DOI: 10.1016/j.scico.2021.102724
Cite as: arXiv:2104.07736 [cs.SE]
  (or arXiv:2104.07736v4 [cs.SE] for this version)

Submission history

From: Yiming Tang [view email]
[v1] Thu, 15 Apr 2021 19:30:11 GMT (702kb,D)
[v2] Mon, 26 Jul 2021 13:25:15 GMT (1111kb,D)
[v3] Tue, 7 Sep 2021 18:09:35 GMT (1119kb,D)
[v4] Mon, 13 Sep 2021 02:27:41 GMT (1119kb,D)

Link back to: arXiv, form interface, contact.