Mathematics

An Automated Functional Scenario-Based Verification Approach to Support Program Maintenance

Yu Du, Shaoying Liu

Key points

From the paper's conclusion
  • These findings support specification-based verification and subsequent maintenance-oriented review in the evaluated settings.

Abstract

Formal specifications provide a rigorous basis for verifying whether modified programs continue to satisfy specified requirements during software maintenance. However, verification requires relating formally specified behavior to relevant implementation elements and supporting automated conformance checking. This paper proposes an automated functional scenario-based verification approach. Based on the Functional Scenario Form (FSF) in the Structured Object-Oriented Formal Language (SOFL), the approach derives scenario-linked test cases from test conditions and test oracles from defining conditions. Explicit specification–program bindings connect these verification assets to corresponding program methods and parameters for execution-based conformance checking. A supporting tool automates verification asset construction, binding assistance, program execution, conformance checking, and scenario-level traceable reporting. The approach is evaluated through an operational study, mutation analysis, and a controlled user study. The tool completed verification for all 20 evaluated processes. The mutation study detected 57 of 59 approved seeded mutants (96.6%), correctly associating all detected mutants with their expected functional scenarios and observable fields. For structured maintenance-oriented review tasks, traceability-assisted reporting achieved an adjusted 40.9% reduction in completion time compared with basic expected–actual reporting, with improved accuracy on selected tasks. These findings support specification-based verification and subsequent maintenance-oriented review in the evaluated settings.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers