loading
Papers Papers/2020

Research.Publish.Connect.

Paper

Paper Unlock

Authors: Ervina Çergani 1 ; Sebastian Proksch 2 ; Sarah Nadi 3 and Mira Mezini 1

Affiliations: 1 Software Technology Group, Technische Universität Darmstadt, Darmstadt and Germany ; 2 Software Evolution and Architecture Lab, University of Zürich, Zürich and Switzerland ; 3 Department of Computing Science, University of Alberta, Alberta and Canada

ISBN: 978-989-758-320-9

ISSN: 2184-2833

Keyword(s): API Usage Pattern Types, Code Repositories, Events Mining, Empirical Evaluation, Benchmark.

Abstract: Many approaches have been proposed for learning Application Programming Interface (API) usage patterns from code repositories. Depending on the underlying technique, the mined patterns may (1) be strictly sequential, (2) consider partial order between method calls, or (3) not consider order information. Understanding the trade-offs between these pattern types with respect to real code is important in many applications (e.g. code recommendation or misuse detection). In this work, we present a benchmark consisting of an episode mining algorithm that can be configured to learn all three types of patterns mentioned above. Running our benchmark on an existing dataset of 360 C# code repositories, we empirically study the resulting API usage patterns per pattern type. Our results show practical evidence that not only do partial-order patterns represent a generalized super set of sequential-order patterns, partial-order mining also finds additional patterns missed by sequence mining, which ar e used by a larger number of developers across code repositories. Additionally, our study empirically quantifies the importance of the order information encoded in sequential and partial-order patterns for representing correct co-occurrences of code elements in real code. Furthermore, our benchmark can be used by other researchers to explore additional properties of API patterns. (More)

CC BY-NC-ND 4.0

Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address 3.237.20.246

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Çergani, E.; Proksch, S.; Nadi, S. and Mezini, M. (2018). Investigating Order Information in API-Usage Patterns: A Benchmark and Empirical Study. In Proceedings of the 13th International Conference on Software Technologies - Volume 1: ICSOFT, ISBN 978-989-758-320-9 ISSN 2184-2833, pages 57-68. DOI: 10.5220/0006839000910102

@conference{icsoft18,
author={Ervina \c{C}ergani. and Sebastian Proksch. and Sarah Nadi. and Mira Mezini.},
title={Investigating Order Information in API-Usage Patterns: A Benchmark and Empirical Study},
booktitle={Proceedings of the 13th International Conference on Software Technologies - Volume 1: ICSOFT,},
year={2018},
pages={57-68},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0006839000910102},
isbn={978-989-758-320-9},
issn={2184-2833},
}

TY - CONF

JO - Proceedings of the 13th International Conference on Software Technologies - Volume 1: ICSOFT,
TI - Investigating Order Information in API-Usage Patterns: A Benchmark and Empirical Study
SN - 978-989-758-320-9
IS - 2184-2833
AU - Çergani, E.
AU - Proksch, S.
AU - Nadi, S.
AU - Mezini, M.
PY - 2018
SP - 57
EP - 68
DO - 10.5220/0006839000910102

Login or register to post comments.

Comments on this Paper: Be the first to review this paper.