• DocumentCode
    2538915
  • Title

    Forward slices are smaller than backward slices

  • Author

    Binkley, David ; Harman, Mark

  • Author_Institution
    Loyola Coll., Baltimore, MD, USA
  • fYear
    2005
  • fDate
    30 Sept.-1 Oct. 2005
  • Firstpage
    15
  • Lastpage
    24
  • Abstract
    This paper presents evidence from two empirical studies which show that forward slices will tend to be smaller than backward slices and discusses the importance of this result for work on source code analysis and manipulation. The difference in forward and backward slice size distributions stems from the way in which control dependence and data dependence affect slice size. The paper explains this claim in detail and supports it with empirical evidence. The empirical evidence comes from a further study which uses a restricted form of slicing that isolates the effects due to control and data dependence. This study shows that it is the inherent difference between forward and backward control dependence that leads to the difference in slice size distributions for forward and backward slicing. The results from all three empirical studies are shown to be strongly statistically significant.
  • Keywords
    program control structures; program slicing; backward slicing; forward slicing; source code analysis; source code manipulation; Computer languages; Conferences; Educational institutions; Heart; Size control; Upper bound;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Source Code Analysis and Manipulation, 2005. Fifth IEEE International Workshop on
  • Print_ISBN
    0-7695-2292-0
  • Type

    conf

  • DOI
    10.1109/SCAM.2005.28
  • Filename
    1541154