Compositional Mining of Multiple Object API Protocols through State Abstraction

المؤلفون المشاركون

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

المصدر

The Scientific World Journal

العدد

المجلد 2013، العدد 2013 (31 ديسمبر/كانون الأول 2013)، ص ص. 1-13، 13ص.

الناشر

Hindawi Publishing Corporation

تاريخ النشر

2013-06-03

دولة النشر

مصر

عدد الصفحات

13

التخصصات الرئيسية

الطب البشري
تكنولوجيا المعلومات وعلم الحاسوب

الملخص 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.

نمط استشهاد جمعية علماء النفس الأمريكية (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

نمط استشهاد الجمعية الأمريكية للغات الحديثة (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

نمط استشهاد الجمعية الطبية الأمريكية (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

نوع البيانات

مقالات

لغة النص

الإنجليزية

الملاحظات

Includes bibliographical references

رقم السجل

BIM-1032612