No Java Without Caffeine – A Tool for Dynamic Analysis of Java Programs. Guéhéneuc, Y., Douence, R., & Jussien, N. In Emmerich, W. & Wile, D., editors, Proceedings of the 17<sup>th</sup> Conference on Automated Software Engineering (ASE), pages 117–126, September, 2002. IEEE CS Press. 10 pages.
No Java Without Caffeine – A Tool for Dynamic Analysis of Java Programs [pdf]Paper  abstract   bibtex   
To understand the behavior of a program, a maintainer reads some code, asks a question about this code, conjectures an answer, and searches the code and the documentation for confirmation of her conjecture. However, the confirmation of the conjecture can be error-prone and time-consuming because the maintainer has only static information at her disposal. She would benefit from dynamic information. In this paper, we present Caffeine, an assistant that helps the maintainer in checking her conjecture about the behavior of a Java program. Our assistant is a dynamic analysis tool that uses the Java platform debug architecture to generate a trace, ıe an execution history, and a ¶rolog engine to perform queries over the trace. We present a usage scenario based on the n-queens problem, and two real-life examples based on the Singleton design pattern and on the composition relationship.

Downloads: 0