API usage pattern mining
US9104525B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Jan 22, 2013 |
| Grant date | Aug 11, 2015 |
| Priority date | — |
| Expiry date | Aug 2, 2033 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F8/751
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
Techniques for mining API method usage patterns from source code are described. These techniques include parsing the source code to generate API method call sequences that include an API method. These call sequences are clustered to obtain clusters. Based on the clusters, frequent closed sequences are determined and then clustered to obtain an API usage pattern. In addition, optimal clustering parameters may also be determined. In some instances, a graphical representation is generated based on the API usage pattern in response to a query associated with the API method.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.