Please use this identifier to cite or link to this item: http://hdl.handle.net/1843/ESBF-9HXNRG
Type: Dissertação de Mestrado
Title: Extracting examples for API usage patterns
Authors: Hudson Silva Borges
First Advisor: Marco Tulio de Oliveira Valente
First Referee: Eduardo Magno Lages Figueiredo
Second Referee: Heitor Augustus Xavier Costa
Third Referee: Humberto Torres Marques Neto
Abstract: Estudos empíricos recentes apontam que a ausência de exemplos de uso constitui um dos principais obstáculos para o uso de APIs. Esta dissertação apresenta então uma extensão da plataforma APIMiner--chamada APIMiner 2.0--que permite a instrumentação de documentações tradicionais de APIs com exemplos de código referentes a métodos que são frequentes chamados em conjunto. Os exemplos providos são sumarizados usando um algoritmo de slicing que considera diversas estratégias para incremento de legibilidade propostas recentemente na literatura. Uma instância da plataforma APIMiner 2.0 foi criada para a API de desenvolvimento do sistema operacional Android. Além disso, a dissertação também reporta uma análise sobre o uso da API Android por centenas de sistemas clientes, um experimento de campo envolvendo o uso de APIMiner por desenvolvedores profissionais e um estudo controlado com 29 participantes.
Abstract: Recent empirical studies show that the lack of usage examples is a major obstacle for using modern APIs. This master dissertation presents an extension of the APIMiner platform--called APIMiner 2.0--that supports the instrumentation of traditional API documents with source code examples on methods that are frequently called together. The provided examples are summarized using a slicing algorithm that considers several strategies recently proposed in the literature to increase readability. An instance of the APIMiner 2.0 platform was implemented for the Android API. Furthermore, the dissertation presents an in-depth analysis on the use of the Android API by hundreds of client systems, a field study involving the use of APIMiner 2.0 by professional developers, and a controlled study with 29 subjects.
Subject: Engenharia de sofware
Software Reutilização
Computação
language: Português
Publisher: Universidade Federal de Minas Gerais
Publisher Initials: UFMG
Rights: Acesso Aberto
URI: http://hdl.handle.net/1843/ESBF-9HXNRG
Issue Date: 20-Mar-2014
Appears in Collections:Dissertações de Mestrado

Files in This Item:
File Description SizeFormat 
hudson_silva_borges.pdf2.01 MBAdobe PDFView/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.