Skip to main content

Extraction Algorithm, Visualization and Structure Analysis of Python Software Networks

  • Conference paper
  • First Online:
Web Information Systems and Applications (WISA 2018)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 11242))

Included in the following conference series:

Abstract

Software complexity brings software developers and learners a series of challenges to face. Automatically analyzing large-scale software systems with complex network provides a new insight into software analysis, design, evolution, reuse, and iterative developing. Nowadays, extracting network models derived from software systems and making it easily comprehensible remains challengeable for software engineers. This paper focus on Python software. We propose a series of algorithms to extract python software networks, and a concept of visual information entropy to visualize network to an optimal statue by D3.js. Then we analyze python software networks in different perspectives by Pajek. A series experiments illustrate that software network can disclose the internal hidden associations to facilitate programmer and learner to understand the software complex structure and business logic through the simplified complexity. Finally we create a synthetic software tool integrated by above three functions, which can assist programmers to understand software macro structure and the hidden backbone associations.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Watts, D.J., Strogatz, S.H.: Collective dynamics of “smallworld” networks. Nature 393(6684), 440–442 (1998)

    Article  Google Scholar 

  2. Barabasi, A.-L., Albert, R.: Emergence of scaling in random networks. Science 286(5439), 509–512 (1999)

    Article  MathSciNet  Google Scholar 

  3. Morzy, M., Kajdanowicz, T., Kazienko, P.: On measuring the complexity of networks: kolmogorov complexity versus entropy. Complexity 2017, 12 (2017). Article ID 3250301

    Article  MathSciNet  Google Scholar 

  4. Veldhuizen, L.T.: Software libraries and their reuse: entropy, kolmogorov complexity, and zipf ’s law. In: Library-Centric Software Design (LCSD 2005), p. 11 (2005)

    Google Scholar 

  5. Bonchev, D., Buck, G.A.: Quantitative measures of network complexity. In: Bonchev, D., Rouvray, D.H. (eds.) Complexity in Chemistry, Biology, and Ecology, pp. 191–235. Springer, New York (2005)

    Chapter  Google Scholar 

  6. Cardoso, J., Mendling, J., Neumann, G., Reijers, H.A.: A discourse on complexity of process models. In: Eder, J., Dustdar, S. (eds.) BPM 2006. LNCS, vol. 4103, pp. 117–128. Springer, Heidelberg (2006). https://doi.org/10.1007/11837862_13

    Chapter  Google Scholar 

  7. Cardoso, J.: Complexity analysis of BPEL web processes. Softw. Process Improv. Pract. 12(1), 35–49 (2007)

    Article  Google Scholar 

  8. Latva-Koivisto, A.: Finding a complexity measure for business process models (2001)

    Google Scholar 

  9. Constantine, G.M.: Graph complexity and the Laplacian matrix in blocked experiments. Linear Multilinear Algebr. 28(1–2), 49–56 (1990)

    Article  MathSciNet  Google Scholar 

  10. Neel, D.L., Orrison, M.E.: The linear complexity of a graph. Electron. J. Comb. 13(1), 19 (2006). ResearchPaper 9

    MathSciNet  MATH  Google Scholar 

  11. Strogatz, S.H.: Exploring complex networks. Nature 410(6825), 268–276 (2001)

    Article  Google Scholar 

  12. Han, Y., Li, D., Chen, G.: Analysis on the topological properties of software network at different levels of granularity and its application. Chin. J. Comput. 32(9), 1711–1721 (2009)

    Google Scholar 

  13. He, K., Ma, Y., Liu, J., Li, B., Peng, R.: Software Networks. Science Press, China (2008)

    Google Scholar 

  14. Ma, Y., He, K., Ding, Q., Liu, J.: Research progress of complex networks in software systems. Adv. Mech. 5, 805–814 (2008). ISSN 1000–0992

    Google Scholar 

  15. Ma, Y., He, K., Liu, J., Li, B., Zhou, X.: A hybrid set of complexity metrics for large-scale object-oriented software systems. J. Comput. Sci. Technol. 25(6), 1184–1201 (2010)

    Article  Google Scholar 

  16. Wang, B.: Software system testing based on weighted software network. In: International Conference on Information Technology, Service Science and Engineering Management (2011)

    Google Scholar 

  17. Wang, B., Lv, J.: Software network node impact analysis of complex software system. J. Softw. 12, 1000–9825 (2013)

    Google Scholar 

  18. Zhao, Z., Yu, H., Zhu, Z.: The importance of dynamic software network nodes based on the information content. In: Application Research of Computer, no. 7, pp. 1001–3695 (2015)

    Google Scholar 

  19. Wang, Y., Yu, H.: An integrated test sequence generation method based on the importance of software nodes. J. Comput. Res. Dev. 3, 1000–1239 (2016)

    Google Scholar 

  20. Myers, C.R.: Software systems as complex networks: structure, function, and evolvability of software collaboration graphs. Phys. Rev. E 68(4), 046116 (2003)

    Article  MathSciNet  Google Scholar 

  21. Li, C., Liu, L., Lu, Z.: Extraction algorithms and structure analysis of software complex networks. Int. J. Digital Content Technol. Appl. 6(13), 333–343 (2012). Binder1, part 36

    Google Scholar 

  22. Li, C., Liu, L.: Complex networks with external degree. Chinese J. Electron. 23(3), 442–447 (2014)

    Google Scholar 

Download references

Acknowledgements

This paper is partly supported by “Key Cultivation Engineering Project of Communication University of China (Project number: 3132017XNG1606 and 3132017XNG1719)”, “the Excellent Young Teachers Training Project (the second level, Project number: YXJS201508)”, “Cultural technological innovation project of Ministry of Culture of P. R. China (Project number: 2014–12)”. The research work was also supported by “Chaoyang District Science and Technology Project (CYXC1504)”.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Chunfang Li .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Shang, A., Li, C., Zheng, H., Shi, M. (2018). Extraction Algorithm, Visualization and Structure Analysis of Python Software Networks. In: Meng, X., Li, R., Wang, K., Niu, B., Wang, X., Zhao, G. (eds) Web Information Systems and Applications. WISA 2018. Lecture Notes in Computer Science(), vol 11242. Springer, Cham. https://doi.org/10.1007/978-3-030-02934-0_33

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-02934-0_33

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-02933-3

  • Online ISBN: 978-3-030-02934-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics