Title :
Modeling interaction constraints of component interfaces based on dynamic analysis
Author :
Jing, Gao ; Yuqing, Lan ; Maozhong, Jin ; Shuhang, Guo ; Hongjuan, Li ; Tong, Zhao
Author_Institution :
Sch. of Comput. Sci. & Technol., Beihang Univ., Beijing
Abstract :
The interface specification of components usually lacks behavioral semantics information. Behavioral semantics information specify component interaction constraints on the usage of interface methods, including the order in which these methods should be called and the constraints on the method arguments and returns of methods. Based on dynamic analysis technique, a method which abstracts interaction constraints of component interfaces from the execution traces of component-based software system test is presented in this paper. These interaction constraints are incrementally modeled as finite state machines with parameters. Compared with the existing techniques which synthesize either information on the values of the variables or information on sequences of method invocations, our method generates models that represent the sequence constraints of method invocations, constraints of variable value, and the relations that exist between data values and method invocations.
Keywords :
finite state machines; formal specification; object-oriented programming; system monitoring; behavioral semantics information; component interfaces; component-based software system; dynamic analysis; finite state machines; interaction constraints; Abstracts; Agricultural engineering; Algorithm design and analysis; Automata; Computer interfaces; Computer science; Pattern analysis; Software systems; Software testing; System testing; Component interfaces; Dynamic analysis; Interaction behavior patterns; Interface interaction constraints;
Conference_Titel :
Control Conference, 2008. CCC 2008. 27th Chinese
Conference_Location :
Kunming
Print_ISBN :
978-7-900719-70-6
Electronic_ISBN :
978-7-900719-70-6
DOI :
10.1109/CHICC.2008.4605433