• DocumentCode
    175536
  • Title

    Seeing Is Slicing: Observation Based Slicing of Picture Description Languages

  • Author

    Shin Yoo ; Binkley, David ; Eastman, Roger

  • Author_Institution
    Dept. of Comput. Sci., Univ. Coll. London, London, UK
  • fYear
    2014
  • fDate
    28-29 Sept. 2014
  • Firstpage
    175
  • Lastpage
    184
  • Abstract
    Program slicing has seen a plethora of applications and variations since its introduction over thirty years ago. The dominant method for computing slices involves significant complex source-code analysis to model the dependences in the code. A recently introduced alternative, Observation-Based Slicing (ORBS), sidesteps this complexity by observing the behavior of candidate slices. ORBS has several other strengths, including the ability to slice multi-language systems. However, ORBS remains rooted in tradition as it captures semantics by comparing sequences of values. This raises the question of whether it is possible to extend slicing beyond its traditional semantic roots. A few existing projects have attempted this, but the extension requires considerable effort. If it is possible to build on the ORBS platform to more easily generalize slicing to languages with non-traditional semantics, then there is the potential to vastly increase the range of programming languages to which slicing can be applied. ORBS supports this by reducing the problem to that of generalizing how semantics are captured. Taking Picture Description Languages as a case study, the challenges and effectiveness of such a generalization are considered. The results show that not only is it possible to generalize the ORBS algorithm, but the resulting slicer is quite effective removing from 27% to 98% of the original source code with an average of 85%. Finally a qualitative look at the slices finds the technique very effective, at times producing minimal slices.
  • Keywords
    high level languages; program slicing; source code (software); ORBS algorithm; ORBS platform; complex source-code analysis; multilanguage systems; nontraditional semantics; observation-based slicing; picture description languages; programming languages; Computer science; Educational institutions; Heuristic algorithms; Image registration; Semantics; Trajectory; Visualization; observation based slicing; picture description language;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Source Code Analysis and Manipulation (SCAM), 2014 IEEE 14th International Working Conference on
  • Conference_Location
    Victoria, BC
  • Type

    conf

  • DOI
    10.1109/SCAM.2014.26
  • Filename
    6975651