Compositional Mining of Multiple Object API Protocols through State Abstraction

Joint Authors

Mao, Xiaoguang
Dai, Ziying
Lei, Yan
Qi, Yuhua
Wang, Rui
Gu, Bin

Source

The Scientific World Journal

Issue

Vol. 2013, Issue 2013 (31 Dec. 2013), pp.1-13, 13 p.

Publisher

Hindawi Publishing Corporation

Publication Date

2013-06-03

Country of Publication

Egypt

No. of Pages

13

Main Subjects

Medicine
Information Technology and Computer Science

Abstract EN

API protocols specify correct sequences of method invocations.

Despite their usefulness, API protocols are often unavailable in practice because writing them is cumbersome and error prone.

Multiple object API protocols are more expressive than single object API protocols.

However, the huge number of objects of typical object-oriented programs poses a major challenge to the automatic mining of multiple object API protocols: besides maintaining scalability, it is important to capture various object interactions.

Current approaches utilize various heuristics to focus on small sets of methods.

In this paper, we present a general, scalable, multiple object API protocols mining approach that can capture all object interactions.

Our approach uses abstract field values to label object states during the mining process.

We first mine single object typestates as finite state automata whose transitions are annotated with states of interacting objects before and after the execution of the corresponding method and then construct multiple object API protocols by composing these annotated single object typestates.

We implement our approach for Java and evaluate it through a series of experiments.

American Psychological Association (APA)

Dai, Ziying& Mao, Xiaoguang& Lei, Yan& Qi, Yuhua& Wang, Rui& Gu, Bin. 2013. Compositional Mining of Multiple Object API Protocols through State Abstraction. The Scientific World Journal،Vol. 2013, no. 2013, pp.1-13.
https://search.emarefa.net/detail/BIM-1032612

Modern Language Association (MLA)

Dai, Ziying…[et al.]. Compositional Mining of Multiple Object API Protocols through State Abstraction. The Scientific World Journal No. 2013 (2013), pp.1-13.
https://search.emarefa.net/detail/BIM-1032612

American Medical Association (AMA)

Dai, Ziying& Mao, Xiaoguang& Lei, Yan& Qi, Yuhua& Wang, Rui& Gu, Bin. Compositional Mining of Multiple Object API Protocols through State Abstraction. The Scientific World Journal. 2013. Vol. 2013, no. 2013, pp.1-13.
https://search.emarefa.net/detail/BIM-1032612

Data Type

Journal Articles

Language

English

Notes

Includes bibliographical references

Record ID

BIM-1032612