A Cooperative Approach for Combining Client-based and Library-based API Usage Pattern Mining

被引:0
|
作者
Saied, Mohamed Aymen [1 ]
Sahraoui, Houari [1 ]
机构
[1] Univ Montreal, DIRO, Montreal, PQ, Canada
关键词
API Documentation; API Usage; Usage Pattern; Software Clustering;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Software developers need to cope with the complexity of Application Programming Interfaces (APIs) of external libraries or frameworks. Typical APIs provide thousands of methods to their client programs, and these methods are not used independently of each other. Much existing work has provided different techniques to mine API usage patterns based on client programs in order to help developers understanding and using existing libraries. Other techniques propose to overcome the strong constraint of clients' dependency and infer API usage patterns only using the library source code. In this paper, we propose a cooperative usage pattern mining technique (COUPminer) that combines client-based and library-based usage pattern mining. We evaluated our technique through four APIs and the obtained results show that the cooperative approach allows taking advantage at the same time from the precision of client-based technique and from the generalizability of library-based techniques.
引用
收藏
页数:10
相关论文
共 50 条
  • [21] Combining oligonucleotide library-based RNA fluorescence in situhybridization and fluorescent immunohistochemistry on the same tissue section
    Ach, Robert A.
    Tom-Moy, May
    Tsang, Peter
    Kroeger, Kelly
    CANCER RESEARCH, 2019, 79 (13)
  • [22] Students as Producers: An "X' Disciplinary Client-Based Approach to Collaborative Art, Design and Media Pedagogy
    Cocchiarella, Fabrizio
    Booth, Paul
    INTERNATIONAL JOURNAL OF ART & DESIGN EDUCATION, 2015, 34 (03) : 326 - 335
  • [23] Clone-based code method usage pattern mining
    Xue, Zhipeng
    Zhang, Yuanhang
    Xu, Rulin
    30TH IEEE/ACM INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2022), 2022, : 543 - 547
  • [24] Categorizing and Recommending API Usage Patterns based on Degree Centralities and Pattern Distances
    Lee, Shin-Jie
    Su, Wu-Chen
    Huang, Chi-En
    You, Jie-Lin
    2016 INTERNATIONAL COMPUTER SYMPOSIUM (ICS), 2016, : 583 - 588
  • [25] Client behavior pattern recognition system based on Web log mining
    Gao, WH
    PROCEEDINGS OF 2003 INTERNATIONAL CONFERENCE ON MANAGEMENT SCIENCE & ENGINEERING, VOLS I AND II, 2003, : 372 - 376
  • [26] Client behavior pattern recognition system based on Web Log Mining
    Gao, WH
    Cao, LJ
    THIRD INTERNATIONAL CONFERENCE ON ELECTRONIC COMMERCE ENGINEERING: DIGITAL ENTERPRISES AND NONTRADITIONAL INDUSTRIALIZATION, 2003, : 496 - 499
  • [27] Mining for Graph-Based Library Usage Patterns in COBOL Systems
    Opdebeeck, Ruben
    Fabry, Johan
    Molderez, Tim
    De Bleser, Jonas
    De Roover, Coen
    2021 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2021), 2021, : 595 - 599
  • [28] CodeKernel: A Graph Kernel based Approach to the Selection of API Usage Examples
    Gu, Xiaodong
    Zhang, Hongyu
    Kim, Sunghun
    34TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2019), 2019, : 602 - 613
  • [29] A unified approach to web usage mining based on frequent sequence mining
    Inuzuka, Nobuhiro
    Hayakawa, Jun-ichi
    KNOWLEDGE-BASED INTELLIGENT INFORMATION AND ENGINEERING SYSTEMS: KES 2007 - WIRN 2007, PT II, PROCEEDINGS, 2007, 4693 : 987 - 994
  • [30] Combining CSP and Constraint-Based Mining for Pattern Discovery
    Khiari, Mehdi
    Boizumault, Patrice
    Cremilleux, Bruno
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2010, PT 2, PROCEEDINGS, 2010, 6017 : 432 - 447