Residential Collegefalse
Status已發表Published
Automated Prototype Generation from Formal Requirements Model
Yang, Yilong1; Li, Xiaoshan1; Ke, Wei2; Liu, Zhiming3
2020-06-01
Source PublicationIEEE Transactions on Reliability
ISSN0018-9529
Volume69Issue:2Pages:632-656
Abstract

Prototyping is an effective and efficient way of requirements validation to avoid introducing errors in the early stage of software development. However, manually developing a prototype of a software system requires additional efforts, which would increase the overall cost of software development. In this article, we present an approach with a developed tool RM2PT to automated prototype generation from formal requirements models for requirements validation. A requirements model consists of a use case diagram, a conceptual class diagram, use case definitions specified by system sequence diagrams, and the contracts of their system operations. A system operation contract is formally specified by a pair of pre and postconditions in object constraint language. We propose a method with a set of transformation rules to decompose a contract into executable parts and nonexecutable parts. An executable part can be automatically transformed into a sequence of primitive operations by applying their corresponding rules, and a nonexecutable part is not transformable with the rules. The tool RM2PT provides a mechanism for developers to develop a piece of program for each nonexecutable part manually, which can be plugged into the generated prototype source code automatically. We have conducted four case studies with over 50 use cases. The experimental result shows that the 93.65% system operations are executable, and only 6.35% are nonexecutable, which can be implemented by developers manually or invoking the third-party application programming interface (APIs). Overall, the result is satisfactory. Each 1 s generated prototype of four case studies requires approximate one day's manual implementation by a skilled programmer. The proposed approach with the developed computer-aided software engineering tool can be applied to the software industry for requirements engineering.

KeywordFormal Requirements Model Object Constraint Language (Ocl) Prototype Requirements Requirements Model Requirements Validation Unified Modeling Language (Uml)
DOI10.1109/TR.2019.2934348
URLView the original
Indexed BySCIE
Language英語English
WOS Research AreaComputer Science ; Engineering
WOS SubjectComputer Science, Hardware & Architecture ; Computer Science, Software Engineering ; Engineering, Electrical & Electronic
WOS IDWOS:000543025000017
Scopus ID2-s2.0-85086574206
Fulltext Access
Citation statistics
Document TypeJournal article
CollectionDEPARTMENT OF COMPUTER AND INFORMATION SCIENCE
Corresponding AuthorLi, Xiaoshan; Liu, Zhiming
Affiliation1.Faculty of Science and Technology, University of Macau, Macao
2.Macao Polytechnic Institute, Macao
3.School of Computer and Information Science, Southwest University, Chongqing, 400715, China
First Author AffilicationFaculty of Science and Technology
Corresponding Author AffilicationFaculty of Science and Technology
Recommended Citation
GB/T 7714
Yang, Yilong,Li, Xiaoshan,Ke, Wei,et al. Automated Prototype Generation from Formal Requirements Model[J]. IEEE Transactions on Reliability, 2020, 69(2), 632-656.
APA Yang, Yilong., Li, Xiaoshan., Ke, Wei., & Liu, Zhiming (2020). Automated Prototype Generation from Formal Requirements Model. IEEE Transactions on Reliability, 69(2), 632-656.
MLA Yang, Yilong,et al."Automated Prototype Generation from Formal Requirements Model".IEEE Transactions on Reliability 69.2(2020):632-656.
Files in This Item:
There are no files associated with this item.
Related Services
Recommend this item
Bookmark
Usage statistics
Export to Endnote
Google Scholar
Similar articles in Google Scholar
[Yang, Yilong]'s Articles
[Li, Xiaoshan]'s Articles
[Ke, Wei]'s Articles
Baidu academic
Similar articles in Baidu academic
[Yang, Yilong]'s Articles
[Li, Xiaoshan]'s Articles
[Ke, Wei]'s Articles
Bing Scholar
Similar articles in Bing Scholar
[Yang, Yilong]'s Articles
[Li, Xiaoshan]'s Articles
[Ke, Wei]'s Articles
Terms of Use
No data!
Social Bookmark/Share
All comments (0)
No comment.
 

Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.