adopted data mining as a solution. In this paper, a
theoretical evaluation and comparison was conducted
comparing the most popular and current tools avail-
able. The comparison considered three main dimen-
sions. Namely the source of the data set used the type
of API-usage patterns discovered, and the algorithmic
approach followed by these tools.
Concurrently, the paper has distinguished three is-
sues to further the API-usage mining research. In par-
ticular, the issues of data sources, scalability, and al-
gorithms and the need for tools and intelligent IDEs
are still open for research and contributions. To this
end, the paper has given possible suggestions. c.
Acknowledgements: This research was supported by
the MSIP(Ministry of Science, ICT and Future Plan-
ning), Korea, under the ITRC(Information Technol-
ogy Research Center) support program (IITP-2015-
H8501-15-1013) supervised by the IITP(Institute
for Information & communication Technology Pro-
motion), and by Basic Science Research Program
through the National Research Foundation of Korea
(NRF) funded by the Ministry of Science, ICT & Fu-
ture Planning (No.2013R1A2A2A01068923).
References:
[1] A. Hassan, and T. Xie, Mining software
engineering data, in Proceedings of the 32nd
ACM/IEEE International Conference on Soft-
ware Engineering-Volume 2, 2010, pp. 503-504.
[2] A. Michail, Data mining library reuse patterns
using generalized association rules, in Proceed-
ings of 22nd International Conference on Soft-
ware Engineering (ICSE’00), Limerick, Ireland,
2000, pp 167-176.
[3] R. Holmes, and G. C. Murphy, Using structural
context to recommend source code examples, in
Proceedings of the 27th international conference
on Software engineering, 2005, pp. 117-125. .
[4] D. Mandelin, L. Xu, R. Bodk et al., Jun-
gloid mining: helping to navigate the API jun-
gle, ACM SIGPLAN Notices, vol. 40, no. 6, pp.
48-61, 2005.
[5] N. Sahavechaphan, and K. Claypool, XSnip-
pet: mining for sample code, ACM SIGPLAN
Notices.
[6] T. Xie, and J. Pei, MAPO: Mining API usages
from open source repositories, in Proceedings of
the 2006.
[7] S. Thummalapenta, and T. Xie, Parseweb: a
programmer assistant for reusing open source
code on the web, in Proceedings of the twenty-
second IEEE/ACM international conference on
Automated software engineering, 2007, pp. 204-
213. international workshop on Mining software
repositories, 2006, pp. 54-57. vol. 41, no. 10, pp.
413-430, 200.
[8] Kagdi, Huzefa, Michael L. Collard, and
Jonathan I. Maletic. Comparing approaches
to mining source code for call-usage patterns,
Mining Software Repositories, 2007. ICSE
Workshops MSR’07. Fourth International Work-
shop on. IEEE, 2007.
[9] Khatoon, Shaheen, Azhar Mahmood, and
Guohui Li. An evaluation of source code mining
techniques, Fuzzy Systems and Knowledge Dis-
covery (FSKD), 2011 Eighth International Con-
ference on. Vol. 3. IEEE, 2011.
[10] Zhu, Zixiao, et al. Mining api usage examples
from test code, Software Maintenance and Evo-
lution (ICSME), 2014 IEEE International Con-
ference on. IEEE, 2014.
[11] Kim, J., Lee, S., Hwang, S. W., and Kim, S.
Adding examples into java documents, In Proc.
of ASE09. pp. 540-544.
[12] Kim, J., Lee, S., Hwang, S. W., and Kim, S.
Enriching Documents with Examples: A Corpus
Mining Approach, ACM Transactions on Infor-
mation Systems (TOIS), 31(1) (2013), pp.
[13] Linares-Vsquez, Mario, et al. Mining energy-
greedy API usage patterns in Android apps: an
empirical study, Proceedings of the 11th Work-
ing Conference on Mining Software Reposito-
ries. ACM, 2014.
[14] Aafer, Yousra, Wenliang Du, and Heng
Yin, DroidAPIMiner: Mining API-level features
for robust malware detection in android, Secu-
rity and Privacy in Communication Networks.
Springer International Publishing, 2013. 86-103.
[15] Mendez, Diego, Benoit Baudry, and Martin
Monperrus, Analysis and Exploitation of Natu-
ral Software Diversity: The Case of API Usages,
Diss. Inria, 2014.
[16] Han, Jiawei, Micheline Kamber, and Jian Pei.
Data mining, southeast asia edition: Concepts
and techniques. Morgan kaufmann, 2006.
[17] Search Code, https://searchcode.com/
[18] Black Duck Open Hub,
http://code.openhub.net/
[19] Codase Site, http://www.codase.com/
[20] Google Code, https://code.google.com
[21] Krugle, http://www.krugle.com/
[22] F1 Source Code,
http://www.f1sourcecode.com/
WSEAS TRANSACTIONS on COMPUTER RESEARCH
DOI: 10.37394/232018.2022.10.4
Musa Ibrahim M. Ishag,
Hyun Woo Park, Dingkun Li, Keun Ho Ryu