Record:   Prev Next
Author Cataño Collazos, Néstor , 1975- author
Title Java software development with event B : a practical guide / Néstor Cataño Collazos and Luciano Baresi
Imprint [San Rafael, California] : Morgan & Claypool, [2020]
2020
book jacket
Descript 1 online resource (x, 89 pages) : illustrations (some color)
text txt rdacontent
computer c rdamedia
online resource cr rdacarrier
Series Synthesis lectures on software engineering, 2328-3327 ; #5
Synthesis lectures on software engineering ; #5
Note Includes bibliographical references (pages 83-84) and index
1. Introduction -- 2. An overview of EVENT B -- 2.1. Relations and functions -- 2.2. EVENT B mathematical notation -- 2.3. Software development with EVENT B -- 2.4. A methodology for early validation of software requirements -- 2.5. Correctness-by-construction -- 2.6. RODIN -- 2.7. JML -- 2.8. EVENTB2JAVA -- 2.9. A Chat application
3. Software development of a chat system with EVENT B -- 3.1. MachineZero -- 3.2. MachineOne -- 3.3. MachineTwo -- 3.4. MachineZero in EVENT B -- 3.5. MachineOne in EVENT B -- 3.6. MachineTwo in EVENT B -- 3.7. The implementation of the chat system -- 3.8. Testing and code animation of the chat system -- 3.9. Fixing the software requirements -- 3.10. Lessons learned
4. The Poporo social network -- 4.1. Poporo's general structure -- 4.2. Poporo's formalization in EVENT B -- 4.3. Invariant POs -- 4.4. Discharging POs in Rodin -- 4.5. POs for quantified expressions -- 4.6. Strengthening the specification -- 4.7. Further strengthening -- 4.8. Refinement proof obligations -- 5. Conclusion
The cost of fixing software design flaws after the completion of a software product is so high that it is vital to come up with ways to detect software design flaws in the early stages of software development, for instance, during the software requirements, the analysis activity, or during software design, before coding starts. It is not uncommon that software requirements are ambiguous or contradict each other. Ambiguity is exacerbated by the fact that software requirements are typically written in a natural language, which is not tied to any formal semantics. A palliative to the ambiguity of software requirements is to restrict their syntax to boilerplates, textual templates with placeholders. However, as informal requirements do not enjoy any particular semantics, no essential properties about them (or about the system they attempt to describe) can be proven easily. Formal methods are an alternative to address this problem. They offer a range of mathematical techniques and mathematical tools to validate software requirements in the early stages of software development. This book is a living proof of the use of formal methods to develop software. The particular formalisms that we use are EVENT B and refinement calculus. In short: (i) software requirements as written as User Stories; (ii) they are ported to formal specifications; (iii) they are refined as desired; (iv) they are implemented in the form of a prototype; and finally (v) they are tested for inconsistencies. If some unit-test fails, then informal as well as formal specifications of the software system are revisited and evolved. This book presents a case study of software development of a chat system with EVENT B and a case study of formal proof of properties of a social network
Title from PDF title page (viewed on January 28, 2020)
Link Print version: 9781681736877
Subject Java (Computer program language)
Formal methods (Computer science)
B method (Computer science)
Computer software -- Development
B method (Computer science) fast (OCoLC)fst00824798
Computer software -- Development. fast (OCoLC)fst00872537
Formal methods (Computer science) fast (OCoLC)fst00932926
Java (Computer program language) fast (OCoLC)fst00982065
correct-by-construction
discrete mathematics
Event B
Java
programming
refinement
software engineering
verification
Electronic books
Record:   Prev Next