Title :
Aligning Qualitative, Real-Time, and Probabilistic Property Specification Patterns Using a Structured English Grammar
Author :
Autili, Marco ; Grunske, Lars ; Lumpe, Markus ; Pelliccione, Patrizio ; Tang, Antony
Author_Institution :
Dipt. di Ing. e Sci. dell´Inf. e Mat., Univ. dell´Aquila, Aquila, Italy
Abstract :
Formal methods offer an effective means to assert the correctness of software systems through mathematical reasoning. However, the need to formulate system properties in a purely mathematical fashion can create pragmatic barriers to the application of these techniques. For this reason, Dwyer et al. invented property specification patterns which is a system of recurring solutions to deal with the temporal intricacies that would make the construction of reactive systems very hard otherwise. Today, property specification patterns provide general rules that help practitioners to qualify order and occurrence, to quantify time bounds, and to express probabilities of events. Nevertheless, a comprehensive framework combining qualitative, real-time, and probabilistic property specification patterns has remained elusive. The benefits of such a framework are twofold. First, it would remove the distinction between qualitative and quantitative aspects of events; and second, it would provide a structure to systematically discover new property specification patterns. In this paper, we report on such a framework and present a unified catalogue that combines all known plus 40 newly identified or extended patterns. We also offer a natural language front-end to map patterns to a temporal logic of choice. To demonstrate the virtue of this new framework, we applied it to a variety of industrial requirements, and use PSPWizard, a tool specifically developed to work with our unified pattern catalogue, to automatically render concrete instances of property specification patterns to formulae of an underlying temporal logic of choice.
Keywords :
formal specification; natural language processing; probability; temporal logic; PSPWizard; event probability; event qualitative aspect; event quantitative aspect; formal methods; mathematical reasoning; natural language front-end; occurrence qualification; order qualification; pattern mapping; probabilistic property specification pattern; qualitative property specification pattern; real-time property specification pattern; software system correctness; structured English grammar; temporal intricacies; temporal logic; time bound quantification; unified pattern catalogue; Educational institutions; Electronic mail; Grammar; Natural languages; Probabilistic logic; Real-time systems; Software; Probabilistic Properties; Real-time Properties; Specification Patterns; Specification patterns; probabilistic properties; real-time properties;
Journal_Title :
Software Engineering, IEEE Transactions on
DOI :
10.1109/TSE.2015.2398877