Skip to main navigation Skip to search Skip to main content

Integrating specification-based review and testing for detecting errors in programs

  • Hosei University

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

Review and testing are the most practical verification techniques that complement each other, and their effectiveness can be enhanced by utilizing formal specifications. In this paper, we describe a verification method that integrates specification-based review and testing for detecting errors of programs in three phases. First, inspection is used to check whether all the relevant conditions defined in a specification are implemented in the corresponding program and whether there are any errors that may prevent the program from normal termination. Second, testing is carried out to detect errors through dynamic executions of the program and to build a useful relation between the specification and the program. Finally, walkthrough analysis is performed to check whether every functional scenario defined in the specification is correctly implemented by the traversed execution paths in the program and whether any untraversed paths exist and are desired. We present an example to show how our method is applied in practice.

Original languageEnglish
Title of host publicationFormal Methods and Software Engineering - 9th International Conference on Formal Engineenng Methods, ICFEM 2007, Proceedings
PublisherSpringer Verlag
Pages136-150
Number of pages15
ISBN (Print)9783540766483
DOIs
StatePublished - 2007
Externally publishedYes
Event9th International Conference on Formal Engineering Methods, ICFEM 2007 - Boca Raton, FL, United States
Duration: 14 Nov 2007 → 15 Nov 2007

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume4789 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference9th International Conference on Formal Engineering Methods, ICFEM 2007
Country/TerritoryUnited States
CityBoca Raton, FL
Period14/11/07 → 15/11/07

Fingerprint

Dive into the research topics of 'Integrating specification-based review and testing for detecting errors in programs'. Together they form a unique fingerprint.

Cite this