2015 IEEE 22nd International Conference on Software Analysis, Evolution, and Reengineering (SANER) 2015
DOI: 10.1109/saner.2015.7081812
|View full text |Cite
|
Sign up to set email alerts
|

Mining Multi-level API Usage Patterns

Abstract: Software developers need to cope with complexity of Application Programming Interfaces (APIs) of external libraries or frameworks. However, typical APIs provide several thousands of methods to their client programs, and such large APIs are difficult to learn and use. An API method is generally used within client programs along with other methods of the API of interest. Despite this, co-usage relationships between API methods are often not documented. We propose a technique for mining Multi-Level API Usage Patt… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
28
0

Year Published

2015
2015
2021
2021

Publication Types

Select...
5
3
2

Relationship

0
10

Authors

Journals

citations
Cited by 39 publications
(28 citation statements)
references
References 23 publications
(38 reference statements)
0
28
0
Order By: Relevance
“…More recently, tools such as UP-Miner (Wang et al 2013) have been developed to mine high coverage usage patterns from open source repositories by using multiple clustering steps. In 2015, Saied et alproposed a tool called MLUP to improve upon the clustering of MAPO (Saied et al 2015). This tool also uses the Eclipse JDT compiler to extract API usage from client code; the largest improvement over MAPO is the usage of DBSCAN (Ester et al 1996) instead of the frequent itemset analysis approach to cluster usage patterns.…”
Section: Comparison To Existing Techniquesmentioning
confidence: 99%
“…More recently, tools such as UP-Miner (Wang et al 2013) have been developed to mine high coverage usage patterns from open source repositories by using multiple clustering steps. In 2015, Saied et alproposed a tool called MLUP to improve upon the clustering of MAPO (Saied et al 2015). This tool also uses the Eclipse JDT compiler to extract API usage from client code; the largest improvement over MAPO is the usage of DBSCAN (Ester et al 1996) instead of the frequent itemset analysis approach to cluster usage patterns.…”
Section: Comparison To Existing Techniquesmentioning
confidence: 99%
“…Another example is that JADET and TIKANGA learn that methods such as List.add() and Map.put() are usually invoked in loops and report five missing iterations for respective invocations outside a loop, which are perfectly fine according to the API. Approaches such as multi-level patterns [49] or ALATTIN's alternative patterns [18] may help to mitigate this problem. Also note that the four detectors in our experiments all use absolute frequency thresholds, while some of the detectors from our survey 2.…”
Section: False Positivesmentioning
confidence: 99%
“…Dekel and Herbsleb improve API documentation by highlighting specific directives that are present in the documentation so that the consumer is made explicitly aware of particular conditions that he has to be aware of [52]. Researchers have investigated ways to improve existing documentation by augmenting it with examples mined, for instance, from source code repositories [44], [53], [54], [55] and StackOverflow [45].…”
Section: Studies On Api Documentation Needs Robillard and Delinementioning
confidence: 99%