ECLogger: Cross-Project Catch-Block Logging Prediction Using Ensemble of Classifiers

Journal Title: e-Informatica Software Engineering Journal - Year 2017, Vol 11, Issue 1

Abstract

Background: Software developers insert log statements in the source code to record program execution information. However, optimizing the number of log statements in the source code is challenging. Machine learning based within-project logging prediction tools, proposed in previous studies, may not be suitable for new or small software projects. For such software projects, we can use cross-project logging prediction. Aim: The aim of the study presented here is to investigate cross-project logging prediction methods and techniques. Method: The proposed method is ECLogger, which is a novel, ensemble-based, cross-project, catch-block logging prediction model. In the research We use 9 base classifiers were used and combined using ensemble techniques. The performance of ECLogger was evaluated on on three open-source Java projects: Tomcat, CloudStack and Hadoop. Results: ECLogger Bagging, ECLogger AverageVote, and ECLogger MajorityVote show a considerable improvement in the average Logged F-measure ($LF$) on 3, 5, and 4 source$rightarrow $target project pairs, respectively, compared to the baseline classifiers. ECLogger AverageVote performs best and shows improvements of 3.12% (average $LF$) and 6.08% (average $ACC$ -- Accuracy). Conclusion: The classifier based on ensemble techniques, such as bagging, average vote, and majority vote outperforms the baseline classifier. Overall, the ECLogger AverageVote model performs best. The results show that the CloudStack project is more generalizable than the other projects.

Authors and Affiliations

Sangeeta Lal, Neetu Sardana, Ashish Sureka

Keywords

Related Articles

Applying Machine Learning to Software Fault Prediction

Introduction: Software engineering continuously suffers from inadequate software testing. The automated prediction of possibly faulty fragments of source code allows developers to focus development efforts on fault-prone...

A Graphical Modelling Editor for STARSoC Design Flow Tool Based on Model Driven Engineering Approach

Background : Due to the increasing complexity of embedded systems, system designers use higher levels of abstraction in order to model and analyse system performances. STARSoC (Synthesis Tool for Adaptive and Reconfigura...

Tool Features to Support Systematic Reviews in Software Engineering – A Cross Domain Study

Context: Previously, the authors had developed and evaluated a framework to evaluate systematic review (SR) lifecycle tools. Goal: The goal of this study was to use the experiences of researchers in other domains to furt...

On Visual Assessment of Software Quality

Development and maintenance of understandable and modifiable software is very challenging. Good system design and implementation requires strict discipline. The architecture of a project can sometimes be exceptionally di...

A literature review on the effectiveness and efficiency of business modeling

Background: Achieving and maintaining a strategic competitive advantage through business and technology innovation via continually improving effectiveness and efficiency of the operations are the critical survival factor...

Download PDF file
  • EP ID EP200430
  • DOI 10.5277/e-Inf170101
  • Views 128
  • Downloads 0

How To Cite

Sangeeta Lal, Neetu Sardana, Ashish Sureka (2017). ECLogger: Cross-Project Catch-Block Logging Prediction Using Ensemble of Classifiers. e-Informatica Software Engineering Journal, 11(1), 7-38. https://europub.co.uk/articles/-A-200430