skip to main content
10.1145/1363686.1363861acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

Scenario oriented program slicing

Authors Info & Claims
Published:16 March 2008Publication History

ABSTRACT

Slicing is an important decomposition technique for program understanding. However, traditional slicing methods tend to produce too large slices for human inspection as modern programs are often huge and static program analyses are hard to be precise enough. One possible solution to such problem could be combining other program decomposition techniques together with program slicing. With such inspiration, this paper proposes a scenario oriented program slicing method to slice programs under specified execution scenarios. The scenarios provide a clear and easy understanding functional decomposition for the system, while the new slicing method can help figure out how a computation is implemented in a given scenario by effectively reducing the amount of code that a user needs to inspect.

References

  1. G. Booch, J. Rumbaugh, and I. Jacobson. The unified modeling language user guide, Addison Wesley, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Z. Chen, B. Xu, W. Chu, H. Yang and J. Zhao. Slicing larger programs partially. In Proceedings of the International Conference on Software Engineering Research and Practice, 2003.Google ScholarGoogle Scholar
  3. G. Canfora, A. Cimitile, and A. De Lucia. Conditioned program slicing. Information and Software Technology Special Issue on Program Slicing, vol. 40, pp. 595--607, 1998.Google ScholarGoogle ScholarCross RefCross Ref
  4. J. M. Carroll. Scenario-based design: Envisioning work and technology in system development. Wiley, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. A. Dunsmore, M. Roper, and M. Wood. The development and evaluation of three diverse techniques for object oriented code inspections. IEEE Transactions on Software Engineering, 29(8): 677--686, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. J. Field, G. Ramalingam, and F. Tip. Parametric program slicing. In Proceedings of the ACM Symposium on Principles of Programming Languages, pp. 379--392, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. R. Gupta, M. L. Soffa, and J. Howard. Hybrid slicing: integrating dynamic information with static analysis. ACM Transactions on Software Engineering and Methodology, 6(4): 370--397, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. S. Horwitz, T. Reps, and D. Binkley. Interprocedural slicing using dependency graphs. ACM Transaction on Programming Languages and Systems, 22(1): 26--60, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. I. Jacobson. Object oriented software engineering: A use case driven approach. Addison Wesley, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. B. Korel and J. Laski. Dynamic slicing of computer programs. The Journal of Systems and Software 13(3): 187--195, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. J. Krinke. Barrier slicing and chopping. In Proceedings of 3rd IEEE International Workshop on Source Code Analysis and Manipulation, 2003.Google ScholarGoogle ScholarCross RefCross Ref
  12. A. Nishimatsu, M. Jihira, S. Kusumoto, and K. Inoue. Call-mark slicing: an efficient and economical way of reducing slice. In Proceedings of International Conference of Software Engineering, pp. 422--431, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. T. Reps, S. Horwitz, and M. Sagiv. Precise interprocedural dataflow analysis via graph reachability. In Proceedings of ACM Symposium on Principles of Programming Languages, pp. 49--61, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. F. Tip. A survey of program slicing techniques. Journal of Programming Languages, 3(3):121--189, 1995.Google ScholarGoogle Scholar
  15. B. Xu, Z. Chen and H. Yang. Dynamic slicing object-oriented programs for debugging. In 2nd IEEE International Workshop on Source Code Analysis and Manipulation, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. B. Xu, J. Qian, X. Zhang, Z. Wu, and L. Chen. A brief survey of program slicing. ACM SIGSOFT Software Engineering Notes, 30(2):10--45, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Soot. http://www.sable.mcgill.ca/soot/Google ScholarGoogle Scholar
  18. AmaterasUML. http://amateras.sourceforge.jpGoogle ScholarGoogle Scholar
  19. Eclipse JDT. http://www.eclipse.org/jdt/Google ScholarGoogle Scholar

Index Terms

  1. Scenario oriented program slicing

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        SAC '08: Proceedings of the 2008 ACM symposium on Applied computing
        March 2008
        2586 pages
        ISBN:9781595937537
        DOI:10.1145/1363686

        Copyright © 2008 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 16 March 2008

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Acceptance Rates

        Overall Acceptance Rate1,650of6,669submissions,25%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader