Abstract
Recent advances in object-oriented technology and computer networking have changed the way we maintain and develop software systems, i.e., you may need to maintain the system that is running in remote area. In this paper, we introduce a dynamic program slicing method applied to JavaTM programs using the JPDA [1] (Java Platform Debugger Architecture) facilities. Our approach produces DORDs (dynamic object relationship diagrams) with respect to given slicing criterion in XML format, for export and graphical representations. The resulting slice is collectively called DORD-XML. The slicing algorithm keeps track of dynamic dependencies of objects so that it can compute a minimum set of objects with respect to given slicing criterion. By using DORD-XML and a graph-drawing tool, we attempt to reduce the complexity of Java programs and to make distributed, remote, and local systems more maintainable and understandable.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Java Platform Debugger Architecture (JDPA), http://java.sun.com/products/jpda
Dwyer, M., Corbett, J., Hatcliff, J., Sokolowski, S., Zheng, H.: Slicing multithreaded java programs: A case study. Technical Report 99-7, Kansas State University, Department of Computing and Information Sciences (March 1999)
Chen, Z., Xu, B.: Slicing Object-Oriented Java Programs. ACM SIGPLAN Notices 36(4), 33–40 (2001)
Li, B.: Analyzing information-flow in Java program based on slicing technique. ACM SIGSOFT Software Engineering Notes 27(5) (September 2002)
Weiser, M.: Program slicing. IEEE Trans. on Software Engineering SE-10(4), 352–357 (1982)
Bandera, http://bandera.projects.cis.ksu.edu
Soot: a Java Optimization Framework, http://www.sable.mcgill.ca/soot/
Song, Y., Huynh, D.: Dynamic Slicing Object-Oriented Programs using Dynamic Object Relationship Diagrams. The Journal of Computer and Information Science 2(1)
Korel, B., Yalamanchili, S.: Forward Computation of Dynamic Program Slices. In: International Symposium on Software Testing and Analysis (ISSTA) (August 1994)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Conover, A.J., Song, YT. (2006). Slicing JavaTM Programs Using the JPDA and Dynamic Object Relationship Diagrams with XML. In: Dosch, W., Lee, R.Y., Wu, C. (eds) Software Engineering Research and Applications. SERA 2004. Lecture Notes in Computer Science, vol 3647. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11668855_15
Download citation
DOI: https://doi.org/10.1007/11668855_15
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-32133-0
Online ISBN: 978-3-540-32134-7
eBook Packages: Computer ScienceComputer Science (R0)