2021
DOI: 10.1007/s10515-021-00294-x
|View full text |Cite
|
Sign up to set email alerts
|

Guided pattern mining for API misuse detection by change-based code analysis

Abstract: Lack of experience, inadequate documentation, and sub-optimal API design frequently cause developers to make mistakes when re-using third-party implementations. Such API misuses can result in unintended behavior, performance losses, or software crashes. Therefore, current research aims to automatically detect such misuses by comparing the way a developer used an API to previously inferred patterns of the correct API usage. While research has made significant progress, these techniques have not yet been adopted… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1

Citation Types

0
3
0

Year Published

2021
2021
2024
2024

Publication Types

Select...
4
2

Relationship

1
5

Authors

Journals

citations
Cited by 12 publications
(3 citation statements)
references
References 90 publications
0
3
0
Order By: Relevance
“…However, we derived our validation data from that analysis. In this context, we denote an API misuse as a deviant use of an API from the one that was intended by the developers, and that eventually leads to negative behavior of the software (e.g., a software crash or a performance issue) [2], [13], [14].…”
Section: A Dataset Constructionmentioning
confidence: 99%
See 2 more Smart Citations
“…However, we derived our validation data from that analysis. In this context, we denote an API misuse as a deviant use of an API from the one that was intended by the developers, and that eventually leads to negative behavior of the software (e.g., a software crash or a performance issue) [2], [13], [14].…”
Section: A Dataset Constructionmentioning
confidence: 99%
“…Particularly, we ignored repositories that excessively used these keywords in their messages (i.e., >6 % of all messages for repositories with >1,000 commits, or >10 % otherwise). Then, we extracted for each commit all lines with third-party API changes using our previous extraction mechanism [13]. Also, we considered only small commits that changed at most ten methods and that changed imports prefixed with android.…”
Section: A Dataset Constructionmentioning
confidence: 99%
See 1 more Smart Citation