DocumentCode :
1624049
Title :
Static Detection Unsafe Use of variables In Java
Author :
Wu, Xiaoquan ; Wei, Jun
Author_Institution :
Technol. Center of Software Eng., Chinese Acad. of Sci., Beijing, China
fYear :
2010
Firstpage :
439
Lastpage :
443
Abstract :
Exception handling has been introduced into object oriented programming languages to help developing robust software. At the same time, it makes programming more difficult and it is not easy to write high quality exception handling codes. Careless exception handling code will introduce bugs and it usually forms certain kind of bug pattern. In this paper we propose a new bug pattern unsafe use of variables due to exception occurrences. It may cause the dependency safety property violation in a program. We also develop a static approach to automatically detect unsafe use of variables that may introduce potential bugs in Java program. This approach can be integrated into current bug finding tools to help developer improve the quality of Java program.
Keywords :
Java; exception handling; program debugging; software engineering; Java program; bug pattern; exception handling; object oriented programming language; safety property violation; software development; static detection; Algorithm design and analysis; Computer bugs; Flow graphs; Java; Safety; Software; Software engineering; bug pattern; static analysis; unsafe use;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Ubiquitous Intelligence & Computing and 7th International Conference on Autonomic & Trusted Computing (UIC/ATC), 2010 7th International Conference on
Conference_Location :
Xian, Shaanxi
Print_ISBN :
978-1-4244-9043-1
Electronic_ISBN :
978-0-7695-4272-0
Type :
conf
DOI :
10.1109/UIC-ATC.2010.112
Filename :
5667112
Link To Document :
بازگشت