Title :
A generic approach of static analysis for detecting runtime errors in Java programs
Author :
Jia, Xiaoping ; Skevoulis, Sotiris
Author_Institution :
Div. of Software Eng., DePaul Univ., Chicago, IL, USA
Abstract :
This paper presents a generic approach to statically analyze Java programs in order to detect potential errors (bugs). We discuss a framework that supports our approach and carries out the static analysis of Java code automatically. Our approach can detect potential bugs and report them before the program is executed. For a Java class, invariants related to the category of error under examination are automatically generated and used to assess the validity of variable usage in the implementation of this class. Our approach is distinctive in its emphasis to provide a practical generic mechanism for error detection that is capable of addressing error detection for a variety of error categories via a web of specialized components. A research prototype has been developed that demonstrates the feasibility and effectiveness of our approach
Keywords :
Java; object-oriented programming; program debugging; system monitoring; Java programs; generic approach; potential error detection; runtime error detection; specialized components; static analysis; Computer bugs; Computer errors; Computer science; Electronic mail; Information analysis; Information systems; Java; Prototypes; Runtime; Software engineering;
Conference_Titel :
Computer Software and Applications Conference, 1999. COMPSAC '99. Proceedings. The Twenty-Third Annual International
Conference_Location :
Phoenix, AZ
Print_ISBN :
0-7695-0368-3
DOI :
10.1109/CMPSAC.1999.812678