• DocumentCode
    1341098
  • Title

    Formal Specification-Based Inspection for Verification of Programs

  • Author

    Liu, Shaoying ; Chen, Yuting ; Nagoya, Fumiko ; McDermid, John A.

  • Author_Institution
    Dept. of Comput. Sci., Hosei Univ., Koganei, Japan
  • Volume
    38
  • Issue
    5
  • fYear
    2012
  • Firstpage
    1100
  • Lastpage
    1122
  • Abstract
    Software inspection is a static analysis technique that is widely used for defect detection, but which suffers from a lack of rigor. In this paper, we address this problem by taking advantage of formal specification and analysis to support a systematic and rigorous inspection method. The aim of the method is to use inspection to determine whether every functional scenario defined in the specification is implemented correctly by a set of program paths and whether every program path of the program contributes to the implementation of some functional scenario in the specification. The method is comprised of five steps: deriving functional scenarios from the specification, deriving paths from the program, linking scenarios to paths, analyzing paths against the corresponding scenarios, and producing an inspection report, and allows for a systematic and automatic generation of a checklist for inspection. We present an example to show how the method can be used, and describe an experiment to evaluate its performance by comparing it to perspective-based reading (PBR). The result shows that our method may be more effective in detecting function-related defects than PBR but slightly less effective in detecting implementation-related defects. We also describe a prototype tool to demonstrate the supportability of the method, and draw some conclusions about our work.
  • Keywords
    formal specification; formal verification; PBR; automatic generation; defect detection; formal specification based inspection; perspective based reading; program verification; prototype tool; software inspection; systematic generation; DH-HEMTs; High definition video; Three dimensional displays; Specification-based program inspection; formal specification; program verification; software inspection;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.2011.102
  • Filename
    6035726