When | What |
---|---|
October 30th, 2015 | Donated by Andrian Marcus |
Studies who have been using the data (in any form) are required to include the following reference:
@inproceedings{Moreno:2015:IUT:2818754.2818860,
author = {Moreno, Laura and Bavota, Gabriele and Di Penta, Massimiliano and Oliveto, Rocco and Marcus, Andrian},
title = {How Can I Use This Method?},
booktitle = {Proceedings of the 37th International Conference on Software Engineering - Volume 1},
series = {ICSE '15},
year = {2015},
isbn = {978-1-4799-1934-5},
location = {Florence, Italy},
pages = {880--890},
numpages = {11},
url = {https://dl.acm.org/citation.cfm?id=2818754.2818860},
acmid = {2818860},
publisher = {IEEE Press},
address = {Piscataway, NJ, USA},
}
OpenFlights is a tool that lets you map your flights around the world, search and filter them in many ways. It’s also the name of the open-source project to build the tool. As of January 2012, the OpenFlights/Airline Route Mapper Route Database contains 59036 routes between 3209 airports on 531 airlines spanning the globe.
Airline, Airline ID, Source airport, Source airport ID, Destination airport, Destination airport ID, Codeshare, Stops, Equipment
Code examples are small source code fragments whose purpose is to illustrate how a programming language construct, an API, or a specific function/method works. Since code examples are not always available in the software documentation, researchers have proposed techniques to automatically extract them from existing software or to mine them from developer discussions. In this paper we propose muse (Method USage Examples), an approach for mining and ranking actual code examples that show how to use a specific method. muse combines static slicing (to simplify examples) with clone detection (to group similar examples), and uses heuristics to select and rank the best examples in terms of reusability, understandability, and popularity. muse has been empirically evaluated using examples mined from six libraries, by performing three studies involving a total of 140 developers to: (i) evaluate the selection and ranking heuristics, (ii) provide their perception on the usefulness of the selected examples, and (iii) perform specific programming tasks using the muse examples. The results indicate that muse selects and ranks examples close to how humans do, most of the code examples (82%) are perceived as useful, and they actually help when performing programming tasks.