• DocumentCode
    3478357
  • Title

    Achieving High Branch Coverage with Fewer Paths

  • Author

    Dong, Yu ; Lin, Mengxiang ; Yu, Kai ; Zhou, Yi ; Chen, Yinli

  • Author_Institution
    Sch. of Comput. Sci. & Eng., Beihang Univ., Beijing, China
  • fYear
    2011
  • fDate
    18-22 July 2011
  • Firstpage
    155
  • Lastpage
    160
  • Abstract
    Symbolic execution based test generation has made progress in recent years. However, in order to scale to larger programs there are some issues to be solved. Among them, generating a set of feasible paths to achieve high coverage gets more attention. In this paper, we focus on how to increase covering efficiency while maintaining high coverage. To achieve high branch coverage efficiently, we propose a path generation approach DYNASTY. A heuristic search strategy based on branch residual is used to guide branch selection. To avoid repetitive path exploration, a data structure named path trie is introduced to store paths generated. We have implemented our approach and conducted primary experiments. Our approach achieves high branch coverage quickly on the subjects.
  • Keywords
    data structures; program compilers; program testing; search problems; DYNASTY; branch residual; branch selection; data structure; heuristic search strategy; high branch coverage; path generation approach; path trie; repetitive path exploration; symbolic execution based test generation; Data structures; Educational institutions; Indexes; Instruments; Programming; Search problems; Software; automated test generation; branch coverage; branch residual; path generation; symbolic execution;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Software and Applications Conference Workshops (COMPSACW), 2011 IEEE 35th Annual
  • Conference_Location
    Munich
  • Print_ISBN
    978-1-4577-0980-7
  • Electronic_ISBN
    978-0-7695-4459-5
  • Type

    conf

  • DOI
    10.1109/COMPSACW.2011.35
  • Filename
    6032230