Title :
Event interactions graph for test-case generations of concurrent programs
Author :
Katayama, Testuro ; Furukawa, Zengo ; Ushijima, Kazuo
Author_Institution :
Dept. of Comput. Sci. & Commun. Eng., Kyushu Univ., Fukuoka, Japan
Abstract :
Test cases play an important role for high-quality software testing. Inadequate test-cases may cause bugs to remain after testing. Overlapped test cases may increase costs. This paper proposes an event interactions graph (EIAG), representing the behavior of concurrent programs and the cooperated paths (copaths) on the EIAG as test cases. The EIAG consists of event graphs and interactions. An event graph is a control flow graph of a program unit in a concurrent program. The interactions are synchronizations, communications and waits between the program units. Copaths can be generated automatically by the algorithms which are presented in this paper. The generated copaths can detect dead (unreachable) statements and can find some communication errors in testing. However, it is necessary to validate the feasibility of the generated copaths
Keywords :
flow graphs; multiprocessing programs; parallel programming; program testing; programming theory; reachability analysis; synchronisation; automatic copath generation; bugs; communication errors; concurrent programs; control flow graph; cooperated paths; costs; dead statement detection; event interactions graph; feasibility validation; high-quality software testing; overlapped test cases; program units; synchronizations; test-case generation; unreachable statements; waits; Automatic control; Computer bugs; Computer languages; Computer science; Costs; Flow graphs; Information processing; Sequential analysis; Software systems; Software testing;
Conference_Titel :
Software Engineering Conference, 1995. Proceedings., 1995 Asia Pacific
Conference_Location :
Brisbane, Qld.
Print_ISBN :
0-8186-7171-8
DOI :
10.1109/APSEC.1995.496951