Skip to main content

Slicing JavaTM Programs Using the JPDA and Dynamic Object Relationship Diagrams with XML

  • Conference paper
Software Engineering Research and Applications (SERA 2004)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 3647))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Java Platform Debugger Architecture (JDPA), http://java.sun.com/products/jpda

  2. 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)

    Google Scholar 

  3. Chen, Z., Xu, B.: Slicing Object-Oriented Java Programs. ACM SIGPLAN Notices 36(4), 33–40 (2001)

    Article  Google Scholar 

  4. Li, B.: Analyzing information-flow in Java program based on slicing technique. ACM SIGSOFT Software Engineering Notes 27(5) (September 2002)

    Google Scholar 

  5. Weiser, M.: Program slicing. IEEE Trans. on Software Engineering SE-10(4), 352–357 (1982)

    Google Scholar 

  6. Bandera, http://bandera.projects.cis.ksu.edu

  7. Soot: a Java Optimization Framework, http://www.sable.mcgill.ca/soot/

  8. Song, Y., Huynh, D.: Dynamic Slicing Object-Oriented Programs using Dynamic Object Relationship Diagrams. The Journal of Computer and Information Science 2(1)

    Google Scholar 

  9. Korel, B., Yalamanchili, S.: Forward Computation of Dynamic Program Slices. In: International Symposium on Software Testing and Analysis (ISSTA) (August 1994)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics