Characterizing and Improving Logging Practices in Java-based Open Source Software Projects - A Large-scale Case Study in Apache Software Foundation
dc.contributor.advisor | Jiang, Zhen Ming | |
dc.creator | Chen, Boyuan | |
dc.date.accessioned | 2017-07-27T12:38:35Z | |
dc.date.available | 2017-07-27T12:38:35Z | |
dc.date.copyright | 2016-11-11 | |
dc.date.issued | 2017-07-27 | |
dc.date.updated | 2017-07-27T12:38:35Z | |
dc.degree.discipline | Computer Engineering | |
dc.degree.level | Master's | |
dc.degree.name | MASc - Master of Applied Science | |
dc.description.abstract | Log 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% . | |
dc.identifier.uri | http://hdl.handle.net/10315/33446 | |
dc.language.iso | en | |
dc.rights | Author owns copyright, except where explicitly noted. Please contact the author directly with licensing requests. | |
dc.subject | Computer engineering | |
dc.subject.keywords | Mining software repository | |
dc.subject.keywords | Log analysis | |
dc.subject.keywords | Logging code | |
dc.subject.keywords | Empirical study | |
dc.title | Characterizing and Improving Logging Practices in Java-based Open Source Software Projects - A Large-scale Case Study in Apache Software Foundation | |
dc.type | Electronic Thesis or Dissertation |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- Boyuan_Chen_2016_Masters.pdf
- Size:
- 1.99 MB
- Format:
- Adobe Portable Document Format