Research Article

Analysis of function-call graphs of open-source software systems using complex network analysis

Volume: 26 Number: 2 April 7, 2020
TR EN

Analysis of function-call graphs of open-source software systems using complex network analysis

Abstract

Software systems are usually designed in a modular and hierarchical fashion, where functional responsibility of a system is decomposed into multiple functional software elements optimally such as subsystems, modules, packages, classes, methods, and functions. These elements are coupled with each other with some kind of dependency relationships to some degree, and their interactions naturally form a graph or network structure. In this study, we generated the static function-call graphs of several open-source software systems, where functions were the most basic type of interacting elements calling each other. Then, we analyzed the call graphs both visually and topologically using the techniques of complex network analysis. We found the call graphs to reveal scale-free and small-world network properties similar to the findings of the previous studies. In addition, we identified the most central and important functions in each call-graph using several centrality measures. We also performed community analysis and found that the call graphs exhibited a tendency to form communities. Finally, we showed that analysis of static function-call graphs of software systems through complex network analysis has the potential to reveal useful information about them.

Keywords

References

  1. McConnell S. Code Complete: A Practical Handbook of Software Construction. 2nd ed. USA, Microsoft Press, 2004.
  2. Barabási AL, Pósfai M. Network Science. Cambridge, Cambridge University Press, 2016.
  3. Myers CR. "Software systems as complex networks: Structure, function, and evolvability of software collaboration graphs". Physical Review E, 68(4), 046116, 1-15, 2003.
  4. Yan K-K, Fang G, Bhardwaj N, Alexander RP, Gerstein M. "Comparing genomes to computer operating systems in terms of the topology and evolution of their regulatory control networks". Proceedings of the National Academy of Sciences, 107(20), 9186-9191, 2010.
  5. Guo Y, Zhao Z-x, Wang W. "Complexity analysis of software based on function-call graph". The 19th International Conference on Industrial Engineering and Engineering Management, Changsha, China, 27-29 October 2012.
  6. Zhao D, Miao L, Zhang D. "Reusable function discovery by call-graph analysis". Journal of Software Engineering and Applications, 8, 184-191, 2015.
  7. Yu Qu, Guan X, Zheng Q, Liu T, Wang L, Hou Y, Yang Z. "Exploring community structure of software Call Graph and its applications in class cohesion measurement". The Journal of Systems and Software, 108, 193-210, 2015.
  8. Falci DHM, Gomes OA, Parreiras FS. "Complex networks analysis for software architecture: an hibernate call graph study". ArXiv, abs/1706.09859, 2017.

Details

Primary Language

English

Subjects

Engineering

Journal Section

Research Article

Authors

Mahmet Ali Aksoy Tüysüz This is me
Türkiye

Publication Date

April 7, 2020

Submission Date

August 3, 2018

Acceptance Date

-

Published in Issue

Year 2020 Volume: 26 Number: 2

APA
Tunalı, V., & Tüysüz, M. A. A. (2020). Analysis of function-call graphs of open-source software systems using complex network analysis. Pamukkale Üniversitesi Mühendislik Bilimleri Dergisi, 26(2), 352-358. https://izlik.org/JA94PY34RN
AMA
1.Tunalı V, Tüysüz MAA. Analysis of function-call graphs of open-source software systems using complex network analysis. Pamukkale Üniversitesi Mühendislik Bilimleri Dergisi. 2020;26(2):352-358. https://izlik.org/JA94PY34RN
Chicago
Tunalı, Volkan, and Mahmet Ali Aksoy Tüysüz. 2020. “Analysis of Function-Call Graphs of Open-Source Software Systems Using Complex Network Analysis”. Pamukkale Üniversitesi Mühendislik Bilimleri Dergisi 26 (2): 352-58. https://izlik.org/JA94PY34RN.
EndNote
Tunalı V, Tüysüz MAA (April 1, 2020) Analysis of function-call graphs of open-source software systems using complex network analysis. Pamukkale Üniversitesi Mühendislik Bilimleri Dergisi 26 2 352–358.
IEEE
[1]V. Tunalı and M. A. A. Tüysüz, “Analysis of function-call graphs of open-source software systems using complex network analysis”, Pamukkale Üniversitesi Mühendislik Bilimleri Dergisi, vol. 26, no. 2, pp. 352–358, Apr. 2020, [Online]. Available: https://izlik.org/JA94PY34RN
ISNAD
Tunalı, Volkan - Tüysüz, Mahmet Ali Aksoy. “Analysis of Function-Call Graphs of Open-Source Software Systems Using Complex Network Analysis”. Pamukkale Üniversitesi Mühendislik Bilimleri Dergisi 26/2 (April 1, 2020): 352-358. https://izlik.org/JA94PY34RN.
JAMA
1.Tunalı V, Tüysüz MAA. Analysis of function-call graphs of open-source software systems using complex network analysis. Pamukkale Üniversitesi Mühendislik Bilimleri Dergisi. 2020;26:352–358.
MLA
Tunalı, Volkan, and Mahmet Ali Aksoy Tüysüz. “Analysis of Function-Call Graphs of Open-Source Software Systems Using Complex Network Analysis”. Pamukkale Üniversitesi Mühendislik Bilimleri Dergisi, vol. 26, no. 2, Apr. 2020, pp. 352-8, https://izlik.org/JA94PY34RN.
Vancouver
1.Volkan Tunalı, Mahmet Ali Aksoy Tüysüz. Analysis of function-call graphs of open-source software systems using complex network analysis. Pamukkale Üniversitesi Mühendislik Bilimleri Dergisi [Internet]. 2020 Apr. 1;26(2):352-8. Available from: https://izlik.org/JA94PY34RN