Modern software relies on existing application programming interfaces (APIs) from libraries. Formal specifications for the APIs enable many software engineering tasks as well as help developers correctly use them. In this work, we mine large-scale repositories of existing open-source software to derive potential preconditions for API methods. Our key idea is that APIs’ preconditions would appear frequently in an ultra-large code corpus with a large number of API usages, while project-specific conditions will occur less frequently. First, we find all client methods invoking APIs. We then compute a control dependence relation from each call site and mine the potential conditions used to reach those call sites. We use these guard conditions as...
APIs have intricate relations that can be described in text and represented as knowledge graphs to a...
The learning and usage of an API is supported by documentation. Like source code, API documentation ...
API libraries are becoming increasingly popular in mod-ern software industries because these librari...
Formal specifications for APIs help developers correctly use them and enable checker tools automatic...
Modern software relies on libraries and uses them via application programming interfaces (APIs). Cor...
Many software libraries, especially those commercial ones, provide API documentation in natural lang...
Many software libraries, especially those commercial ones, provide API documentation in natural lang...
Typically, software libraries provide API documentation, through which developers can learn how to u...
API libraries are becoming increasingly popular in modern software industries because these librarie...
Software repositories contain a vast wealth of information about software development. Mining these ...
Developers extensively use and reuse the Application Programming Interfaces (APIs) to faster the dev...
Many libraries have been used in the software project. With the increasing number of libraries used ...
Programmers often consult an online Q&A forum such as Stack Overflow to learn new APIs. This paper p...
Establishing API mappings between third-party libraries is a prerequisite step for library migration...
Software application programming interfaces (APIs) are a ubiquitous part of Software Engineering. Th...
APIs have intricate relations that can be described in text and represented as knowledge graphs to a...
The learning and usage of an API is supported by documentation. Like source code, API documentation ...
API libraries are becoming increasingly popular in mod-ern software industries because these librari...
Formal specifications for APIs help developers correctly use them and enable checker tools automatic...
Modern software relies on libraries and uses them via application programming interfaces (APIs). Cor...
Many software libraries, especially those commercial ones, provide API documentation in natural lang...
Many software libraries, especially those commercial ones, provide API documentation in natural lang...
Typically, software libraries provide API documentation, through which developers can learn how to u...
API libraries are becoming increasingly popular in modern software industries because these librarie...
Software repositories contain a vast wealth of information about software development. Mining these ...
Developers extensively use and reuse the Application Programming Interfaces (APIs) to faster the dev...
Many libraries have been used in the software project. With the increasing number of libraries used ...
Programmers often consult an online Q&A forum such as Stack Overflow to learn new APIs. This paper p...
Establishing API mappings between third-party libraries is a prerequisite step for library migration...
Software application programming interfaces (APIs) are a ubiquitous part of Software Engineering. Th...
APIs have intricate relations that can be described in text and represented as knowledge graphs to a...
The learning and usage of an API is supported by documentation. Like source code, API documentation ...
API libraries are becoming increasingly popular in mod-ern software industries because these librari...