Exploring the Link Between Test Suite Quality and Automatic Specification Inference

08/24/2017
by   Luke Chircop, et al.
0

While no one doubts the importance of correct and complete specifications, many industrial systems still do not have formal specifications written out -- and even when they do, it is hard to check their correctness and completeness. This work explores the possibility of using an invariant extraction tool such as Daikon to automatically infer specifications from available test suites with the idea of aiding software engineers to improve the specifications by having another version to compare to. Given that our initial experiments did not produce satisfactory results, in this paper we explore which test suite attributes influence the quality of the inferred specification. Following further study, we found that instruction, branch and method coverage are correlated to high recall values, reaching up to 97.93

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/29/2021

Adversarial Specification Mining

There have been numerous studies on mining temporal specifications from ...
research
09/05/2023

Improving students' code correctness and test completeness by informal specifications

The quality of software produced by students is often poor. How to teach...
research
04/26/2014

SPEEDY: An Eclipse-based IDE for invariant inference

SPEEDY is an Eclipse-based IDE for exploring techniques that assist user...
research
09/24/2019

Using human-in-the-loop synthesis to author functional reactive programs

Programs that respond to asynchronous events are challenging to write; t...
research
11/01/2021

Towards Reformulating Essence Specifications for Robustness

The Essence language allows a user to specify a constraint problem at a ...
research
01/29/2023

Specification Inference for Evolving Systems

In this paper, we propose an assertion-based approach to capture softwar...
research
01/09/2022

A Benchmark of JSON-compatible Binary Serialization Specifications

We present a comprehensive benchmark of JSON-compatible binary serializa...

Please sign up or login with your details

Forgot password? Click here to reset