Passer à la navigation principale Passer à la recherche Passer au contenu principal

Mining framework usage graphs from app corpora

  • Sergio Mover
  • , Sriram Sankaranarayanan
  • , Rhys Braginton Pettee Olsen
  • , Bor Yuh Evan Chang
  • University of Colorado Boulder

Résultats de recherche: Le chapitre dans un livre, un rapport, une anthologie ou une collectionContribution à une conférenceRevue par des pairs

Résumé

We investigate the problem of mining graph-based usage patterns for large, object-oriented frameworks like Android - revisiting previous approaches based on graph-based object usage models (groums). Groums are a promising approach to represent usage patterns for object-oriented libraries because they simultaneously describe control flow and data dependencies between methods of multiple interacting object types. However, this expressivity comes at a cost: Mining groums requires solving a subgraph isomorphism problem that is well known to be expensive. This cost limits the applicability of groum mining to large API frameworks. In this paper, we employ groum mining to learn usage patterns for object-oriented frameworks from program corpora. The central challenge is to scale groum mining so that it is sensitive to usages horizontally across programs from arbitrarily many developers (as opposed to simply usages vertically within the program of a single developer). To address this challenge, we develop a novel groum mining algorithm that scales on a large corpus of programs. We first use frequent itemset mining to restrict the search for groums to smaller subsets of methods in the given corpus. Then, we pose the subgraph isomorphism as a SAT problem and apply efficient pre-processing algorithms to rule out fruitless comparisons ahead of time. Finally, we identify containment relationships between clusters of groums to characterize popular usage patterns in the corpus (as well as classify less popular patterns as possible anomalies). We find that our approach scales on a corpus of over five hundred open source Android applications, effectively mining obligatory and best-practice usage patterns.

langue originaleAnglais
titre25th IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2018 - Proceedings
EditeurInstitute of Electrical and Electronics Engineers Inc.
Pages277-287
Nombre de pages11
ISBN (Electronique)9781538649695
Les DOIs
étatPublié - 2 avr. 2018
Modification externeOui
Evénement25th IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2018 - Campobasso, Italie
Durée: 20 mars 201823 mars 2018

Série de publications

Nom25th IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2018 - Proceedings
Volume2018-March

Une conférence

Une conférence25th IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2018
Pays/TerritoireItalie
La villeCampobasso
période20/03/1823/03/18

Empreinte digitale

Examiner les sujets de recherche de « Mining framework usage graphs from app corpora ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation