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 条
  • [41] Guided pattern mining for API misuse detection by change-based code analysis
    Sebastian Nielebock
    Robert Heumüller
    Kevin Michael Schott
    Frank Ortmeier
    Automated Software Engineering, 2021, 28
  • [42] A GAs based approach for mining breast cancer pattern
    Chen, TC
    Hsu, TC
    EXPERT SYSTEMS WITH APPLICATIONS, 2006, 30 (04) : 674 - 681
  • [43] Hybrid ASP-Based Approach to Pattern Mining
    Paramonov, Sergey
    Stepanova, Daria
    Miettinen, Pauli
    RULES AND REASONING, 2017, 10364 : 199 - 214
  • [44] Pattern-based inference approach for data mining
    Sy, Bon K.
    1999,
  • [45] Hybrid ASP-based Approach to Pattern Mining
    Paramonov, Sergey
    Stepanova, Daria
    Miettinen, Pauli
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2019, 19 (04) : 505 - 535
  • [46] Pattern-based inference approach for data mining
    Sy, BK
    18TH INTERNATIONAL CONFERENCE OF THE NORTH AMERICAN FUZZY INFORMATION PROCESSING SOCIETY - NAFIPS, 1999, : 727 - 731
  • [47] A Pattern-Based Approach to Parametric Specification Mining
    Reger, Giles
    Barringer, Howard
    Rydeheard, David
    2013 28TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2013, : 658 - 663
  • [48] Determination of peptide substrate specificity for μ-calpain by a peptide library-based approach -: The importance of promed side interactions
    Cuerrier, D
    Moldoveanu, T
    Davies, PL
    JOURNAL OF BIOLOGICAL CHEMISTRY, 2005, 280 (49) : 40632 - 40641
  • [49] A new approach for web usage mining using case based reasoning
    Asadianfam, Shiva
    Kolivand, Hoshang
    Asadianfam, Sima
    SN APPLIED SCIENCES, 2020, 2 (07):
  • [50] A new approach for web usage mining using case based reasoning
    Shiva Asadianfam
    Hoshang Kolivand
    Sima Asadianfam
    SN Applied Sciences, 2020, 2