York University
Characterizing and Improving Logging Practices in Java-based Open Source Software Projects - A Large-scale Case Study in Apache Software Foundation
Abstract
dc:description.abstractLog messages (generated by logging code) contain rich information about the runtime behavior of software systems. Although more logging code can provide more context of the system's behavior, it is undesirable to include too much logging code. Yuan et al. performed the first empirical study on characterizing the logging. In the first part of the thesis, we conduct a large-scale replication study on characterizing the logging practices on Java-based open source projects. A significantly higher portion of log updates are for enhancing the quality rather than co-changes with feature implementations. However, there are no well-defined coding guidelines for performing effective logging. In the second part, we studied the problem of characterizing and detecting the anti-patterns in the logging code. We have encoded these anti-patterns into a static code analysis tool, LCAnalyzer. Case studies show that LCAnalyzer has an average recall of 95% and precision of 60% .
Degree
thesis:*- Name thesis:degree_name
- MASc - Master of Applied Science
- Level thesis:degree_level
- Master's
- Discipline thesis:degree_discipline
- Computer Engineering
- Year dc:date.issued
- 2017
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Chen, Boyuan
- Advisor dc:contributor.advisor
-
- Jiang, Zhen Ming
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- Author owns copyright, except where explicitly noted. Please contact the author directly with licensing requests.
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- http://hdl.handle.net/10315/33446