• DocumentCode
    2234728
  • Title

    Verifying the Concept of Union Slices on Java Programs

  • Author

    Szegedi, Attila ; Gergely, Tamás ; Beszédes, Árpád ; Gyimóthy, Tibor ; Tóth, Gabriella

  • Author_Institution
    Dept. of Software Eng., Szeged Univ.
  • fYear
    2007
  • fDate
    21-23 March 2007
  • Firstpage
    233
  • Lastpage
    242
  • Abstract
    Static program slicing is often proposed for software maintenance-related tasks. Due to different causes static slices are in many cases overly conservative and hence too large to reduce the program-part of interest meaningfully. In this paper we further investigate the concept of union slices, which are defined as the unions of dynamic slices computed for the same (static) slicing criteria, but for different executions of the program. We verify on real-world Java programs their usefulness as a replacement to static slices. For this we investigate the sizes of a number of backward and forward dynamic and union slices, also by comparing them to the corresponding static slices. Our results show that the union slices are precise enough (backward slices are 5-20% of the program and forward slices are 5-10%, the corresponding static slices being 25-45%), and that with the saturation of the overall coverage given many different executions, union slices also reach a steady level and typically do not grow further by adding new test cases
  • Keywords
    Java; program slicing; software maintenance; Java programs; program analysis; software maintenance; static program slicing; union slices; Concrete; Debugging; Java; Software engineering; Software maintenance; Testing; Upper bound;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance and Reengineering, 2007. CSMR '07. 11th European Conference on
  • Conference_Location
    Amsterdam
  • ISSN
    1534-5351
  • Print_ISBN
    0-7695-2802-3
  • Type

    conf

  • DOI
    10.1109/CSMR.2007.53
  • Filename
    4145041