IET Software (Jun 2023)

Requirements‐related fault prevention during the transformation from formal specifications to programs

  • Jiandong Li,
  • Shaoying Liu

DOI
https://doi.org/10.1049/sfw2.12126
Journal volume & issue
Vol. 17, no. 3
pp. 316 – 332

Abstract

Read online

Abstract Software faults are costly to find and remove from programs. It is better to avoid inserting the faults in the first place. The authors identify requirements‐related faults that can arise during the transformation of formal specifications into programs, analyse each to discover its causes, and propose corresponding fault prevention methods. The approach works by analysing a specification, decomposing it into specification fragments with different levels like components, determining the correct implementation order among the components, and enabling automated code generation for the components and other low‐level specification fragments. The approach seeks to reduce the faults in programs significantly by guiding programmers to work effectively and productively. The authors evaluate the approach's performance experimentally and compare it to the performance of a fault‐prevention method with industry applications.

Keywords