• Home
  • Search
  • Automatic Loop Summarization via Path Dependency Analysis
  • Open Access IconOpen Access
  • Cite Icon28
  • https://doi.org/10.1109/tse.2017.2788018Copy DOI Icon

Automatic Loop Summarization via Path Dependency Analysis

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Analyzing loops is very important for various software engineering tasks such as bug detection, test case generation and program optimization. However, loops are very challenging structures for program analysis, especially when (nested) loops contain multiple paths that have complex interleaving relationships. In this paper, we propose the path dependency automaton (PDA) to capture the dependencies among the multiple paths in a loop. Based on the PDA, we first propose a loop classification to understand the complexity of loop summarization. Then, we propose a loop analysis framework, named Proteus, which takes a loop program and a set of variables of interest as inputs and summarizes path-sensitive loop effects (i.e., disjunctive loop summary) on the variables of interest. An algorithm is proposed to traverse the PDA to summarize the effect for all possible executions in the loop. We have evaluated Proteus using loops from five open-source projects and two well-known benchmarks and applying the disjunctive loop summary to three applications: loop bound analysis, program verification and test case generation. The evaluation results have demonstrated that Proteus can compute a more precise bound than the existing loop bound analysis techniques; Proteus can significantly outperform the state-of-the-art tools for loop program verification; and Proteus can help generate test cases for deep loops within one second, while symbolic execution tools KLEE and Pex either need much more time or fail.

Similar Papers
  • Conference Article
  • Citations6

Modelling program verification tools for software engineers

  • Oct 23, 2022
  • Sophie Lathouwers +1
  • Book Chapter
  • Citations1

SMT Solvers: Foundations and Applications

  • Jan 01, 2016
  • BjØRner Nikolaj
  • Conference Article
  • Citations19

Automatic test case selection and generation for regression testing of composite service based on extensible BPEL flow graph

  • Sep 01, 2010
  • Bixin Li +3
  • Research Article
  • Citations1

Automated Test Case Generation for Effective Spectrum-based Fault Localization

  • Jun 01, 2020
  • Journal of Physics: Conference Series
  • Bo Yang +2
  • Research Article
  • Citations73

Killing strategies for model‐based mutation testing

  • Feb 03, 2014
  • Software Testing, Verification and Reliability
  • Bernhard K Aichernig +5
  • Conference Article
  • Citations1

Automated Test Case Generation from Activity Diagram using Depth-First Search

  • Aug 09, 2023
  • Ignasius Teguh Raharjo Rubiyo +2
  • Conference Article
  • Citations47

RTCM: a natural language based, automated, and practical test case generation framework

  • Jul 13, 2015
  • Tao Yue +2
  • Book Chapter
  • Citations1

Test Case Generation Based on Search-Based Testing

  • Oct 31, 2020
  • Rashmi Rekha Sahoo +2
  • Conference Article
  • Citations3

The Use of Ontology in Case Based Reasoning for Reusable Test Case Generation

  • Jan 01, 2015
  • R Li +1
  • Conference Article
  • Citations2

Is Deductive Program Verification Mature Enough to be Taught to Software Engineers?

  • Nov 18, 2019
  • Marc Schoolderman +2
  • Conference Article
  • Citations27

Constructing Test cases using Natural Language Processing

  • Feb 01, 2017
  • Ahlam Ansari +3
  • Conference Article
  • Citations2

On the correctness of GPU programs

  • Jul 10, 2019
  • Chao Peng
  • Research Article
  • Citations1

一种基于扩展有限状态机的自动化测试用例生成方法

  • May 01, 2014
  • SCIENTIA SINICA Informationis
  • Zhiyi Zhang +4
  • Conference Article
  • Citations10

Computational investigations of quasirandom sequences in generating test cases for specification-based tests

  • Dec 03, 2006
  • Hongmei Chi +1
  • Research Article

Extension to Support Types and Operation/Function Definitions in BWDM to Generate Test Case Tool from the VDM++ Specification

  • Feb 22, 2024
  • Proceedings of International Conference on Artificial Life and Robotics
  • Shota Takakura +5
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.