Using GGNN to recommend log statement level

12/11/2019
by   Mingzhe Li, et al.
0

In software engineering, log statement is an important part because programmers can't access to users' program and they can only rely on log message to find the root of bugs. The mechanism of "log level" allows developers and users to specify the appropriate amount of logs to print during the execution of the software. And 26% of the log statement modification is to modify the level. We tried to use ML method to predict the suitable level of log statement. The specific model is GGNN(gated graph neural network) and we have drawn lessons from Microsoft's research. In this work, we apply Graph Neural Networks to predict the usage of log statement level of some open source java projects from github. Given the good performance of GGNN in this task, we are confident that GGNN is an excellent choice for processing source code. We envision this model can play an important role in applying AI/ML technique for Software Development Life Cycle more broadly.

READ FULL TEXT
research
04/15/2021

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

Logging – used for system events and security breaches to more informati...
research
09/08/2021

Leveraging Code Clones and Natural Language Processing for Log Statement Prediction

Software developers embed logging statements inside the source code as a...
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
01/13/2022

Using Deep Learning to Generate Complete Log Statements

Logging is a practice widely adopted in several phases of the software l...
research
02/07/2021

Graph Neural Network to Dilute Outliers for Refactoring Monolith Application

Microservices are becoming the defacto design choice for software archit...
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
12/02/2021

Borrowing from Similar Code: A Deep Learning NLP-Based Approach for Log Statement Automation

Software developers embed logging statements inside the source code as a...

Please sign up or login with your details

Forgot password? Click here to reset