| Discovering faults in idiom-based exception handling |
| Full text |
Pdf
(118 KB)
|
| Source
|
International Conference on Software Engineering
archive
Proceedings of the 28th international conference on Software engineering
table of contents
Shanghai, China
SESSION: Research papers: test & analysis III
table of contents
Pages: 242 - 251
Year of Publication: 2006
ISBN:1-59593-375-1
|
|
Authors
|
|
Magiel Bruntink
|
Centrum voor Wiskunde en Informatica, Amsterdam, The Netherlands
|
|
Arie van Deursen
|
Delft University, Delft, The Netherlands
|
|
Tom Tourwé
|
Centrum voor Wiskunde en Informatica, Amsterdam, The Netherlands
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 8, Downloads (12 Months): 58, Citation Count: 6
|
|
|
ABSTRACT
In this paper, we analyse the exception handling mechanism of a state-of-the-art industrial embedded software system. Like many systems implemented in classic programming languages, our subject system uses the popular return-code idiom for dealing with exceptions. Our goal is to evaluate the fault-proneness of this idiom, and we therefore present a characterisation of the idiom, a fault model accompanied by an analysis tool, and empirical data. Our findings show that the idiom is indeed fault prone, but that a simple solution can lead to significant improvements.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
E. N. Adams. Optimizing preventive service of software products. IBM Journal of Research and Development, 28(1):2--14, 1984.
|
 |
2
|
|
| |
3
|
|
| |
4
|
|
| |
5
|
|
| |
6
|
|
| |
7
|
|
 |
8
|
|
| |
9
|
F. Christian. Exception handling and tolerance of software faults, chapter 4, pages 81--107. John Wiley & Sons, 1995.
|
 |
10
|
|
| |
11
|
M. Dyer. The cleanroom approach to quality software development. In Proceedings of the 18th International Computer Measurement Group Conference, pages 1201--1212. Computer Measurement Group, 1992.
|
| |
12
|
D. R. Engler, B. Chelf, A. Chou, and S. Hallem. Checking system rules using system-specific, programmer-written compiler extensions. In 4th Symposium on Operating System Design and Implementation, pages 1--16. USENIX Association, 2000.
|
| |
13
|
|
 |
14
|
Cormac Flanagan , K. Rustan M. Leino , Mark Lillibridge , Greg Nelson , James B. Saxe , Raymie Stata, Extended static checking for Java, Proceedings of the ACM SIGPLAN 2002 Conference on Programming language design and implementation, June 17-19, 2002, Berlin, Germany
|
| |
15
|
|
| |
16
|
|
| |
17
|
S. Johnson. Lint, a C Program Checker. Technical Report 65, Bell Laboratories, Dec. 1977.
|
 |
18
|
|
| |
19
|
P. A. Lee. Exception handling in C programs. Software Practice and Experience, 13(5):389--405, 1983.
|
| |
20
|
J.-L. Lions. Ariane 5 flight 501 failure. Technical report, ESA/CNES, 1996.
|
 |
21
|
|
 |
22
|
|
 |
23
|
Madanlal Musuvathi , David Y. W. Park , Andy Chou , Dawson R. Engler , David L. Dill, CMC: a pragmatic approach to model checking real code, Proceedings of the 5th symposium on Operating systems design and implementation Due to copyright restrictions we are not able to make the PDFs for this conference available for downloading, December 09-11, 2002, Boston, Massachusetts
[doi> 10.1145/1060289.1060297]
|
| |
24
|
|
| |
25
|
E. S. Roberts. Implementing exceptions in C. Technical Report 40, Digital Systems Research Center, 1989.
|
| |
26
|
|
 |
27
|
|
| |
28
|
|
| |
29
|
|
| |
30
|
W. N. Toy. Fault-tolerant design of local ess processors. In Proceedings of IEEE, pages 1126--1145. IEEE Computer Society, 1982.
|
| |
31
|
|
| |
32
|
H. Winroth. Exception handling in ANSI C. Technical Report ISRN KTH NA/P-93/15-SE, Department of Numerical Analysis and Computing Science, Royal Institute of Technology, Stockholm, Sweden, 1993.
|
CITED BY 6
|
|
|
|
|
Magiel Bruntink , Arie van Deursen , Maja D'Hondt , Tom Tourwé, Simple crosscutting concerns are not so simple: analysing variability in large-scale idioms-based implementations, Proceedings of the 6th international conference on Aspect-oriented software development, March 12-16, 2007, Vancouver, British Columbia, Canada
|
|
|
|
|
|
Bram Adams , Kris De Schutter, An aspect for idiom-based exception handling: (using local continuation join points, join point properties, annotations and type parameters), Proceedings of the 5th workshop on Engineering properties of languages and aspect technologies, p.1-es, March 12-16, 2007, Vancouver, British Columbia, Canada
|
|
|
|
|
|
Bram Adams , Kris De Schutter , Andy Zaidman , Serge Demeyer , Herman Tromp , Wolfgang De Meuter, Using aspect orientation in legacy environments for reverse engineering using dynamic analysis-An industrial experience report, Journal of Systems and Software, v.82 n.4, p.668-684, April, 2009
|
|