DocumentCode
2513678
Title
On the Effectiveness of Contracts as Test Oracles in the Detection and Diagnosis of Race Conditions and Deadlocks in Concurrent Object-Oriented Software
Author
Araujo, Wladimir ; Briand, Lionel C. ; Labiche, Yvan
Author_Institution
Juniper Networks & Carleton, Univ. Ottawa, Ottawa, ON, Canada
fYear
2011
fDate
22-23 Sept. 2011
Firstpage
10
Lastpage
19
Abstract
The idea behind Design by Contract (DbC) is that a method defines a contract stating the requirements a client needs to fulfill to use it, the precondition, and the properties it ensures after its execution, the post condition. Though there exists ample support for DbC for sequential programs, applying DbC to concurrent programs presents several challenges. We have proposed a solution to these challenges in the context of Java as programming language and the Java Modeling language as specification language. This paper presents our findings when applying our DbC technique on an industrial case study to evaluate the ability of contract-based, runtime assertion checking code at detecting and diagnosing race conditions and deadlocks during system testing. The case study is a highly concurrent industrial system from the telecommunications domain, with actual faults. It is the first work to systematically investigate the impact of contract assertions for the detection of race conditions and deadlocks, along with functional properties, in an industrial system.
Keywords
Java; object-oriented programming; program testing; specification languages; system recovery; Java modeling language; concurrent object oriented software; concurrent programs; contract based runtime assertion checking code; deadlocks; design by contract; race conditions; sequential programs; specification language; test oracles; Concurrent computing; Contracts; Head; Interference; Java; Observability; System recovery; Design by contract; Java; concurrency; object-oriented programming;
fLanguage
English
Publisher
ieee
Conference_Titel
Empirical Software Engineering and Measurement (ESEM), 2011 International Symposium on
Conference_Location
Banff, AB
ISSN
1938-6451
Print_ISBN
978-1-4577-2203-5
Type
conf
DOI
10.1109/ESEM.2011.9
Filename
6092549
Link To Document