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

04/15/2021
by   Yiming Tang, et al.
0

Logging – used for system events and security breaches to 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 ∼3 million lines of code and ∼4K log statements. Our tool successfully analyzes 99.26 identifies logs manually modified with a recall of ∼80 level-direction match rate of ∼87 fix contexts ∼83 integrated into large and popular open-source projects. The results indicate that the approach is promising in assisting developers in evolving feature log levels.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/06/2021

A Tool for Rejuvenating Feature Logging Levels via Git Histories and Degree of Interest

Logging is a significant programming practice. Due to the highly transac...
research
12/11/2019

Using GGNN to recommend log statement level

In software engineering, log statement is an important part because prog...
research
03/22/2021

ConfInLog: Leveraging Software Logs to Infer Configuration Constraints

Misconfigurations have become the dominant causes of software failures i...
research
06/02/2023

EvLog: Evolving Log Analyzer for Anomalous Logs Identification

Software logs record system activities, aiding maintainers in identifyin...
research
12/10/2016

Detecting Plagiarism based on the Creation Process

All methodologies for detecting plagiarism to date have focused on the f...
research
07/16/2023

Mining Reviews in Open Source Code for Developers Trail: A Process Mining Approach

Audit trails are evidential indications of activities performers in any ...
research
07/30/2018

Automatic Clone Recommendation for Refactoring Based on the Present and the Past

When many clones are detected in software programs, not all clones are e...

Please sign up or login with your details

Forgot password? Click here to reset