{"title":"Applying Complex Network Theory to Software Structure Analysis","authors":"Weifeng Pan","volume":60,"journal":"International Journal of Computer and Systems Engineering","pagesStart":1634,"pagesEnd":1641,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/6933","abstract":"Complex networks have been intensively studied across\nmany fields, especially in Internet technology, biological engineering,\nand nonlinear science. Software is built up out of many interacting\ncomponents at various levels of granularity, such as functions, classes,\nand packages, representing another important class of complex networks.\nIt can also be studied using complex network theory. Over the\nlast decade, many papers on the interdisciplinary research between\nsoftware engineering and complex networks have been published.\nIt provides a different dimension to our understanding of software\nand also is very useful for the design and development of software\nsystems. This paper will explore how to use the complex network\ntheory to analyze software structure, and briefly review the main\nadvances in corresponding aspects.","references":"[1] W. Pan, Software Networks-Based Analysis of Software Static Structure\nand Its Applications. Wuhan: Wuhan University, 2011.\n[2] W. Pan, B. Li, Y. Ma, Y. Qin, and X. Zhou, \"Measuring Structural Quality\nof Object-Oriented Softwares via Bug Propagation Analysis on Weighted\nSoftware Networks\", Journal of Computer Science and Technology, vol.\n25, no. 6, pp. 1202-1213, 2010.\n[3] L. Costa, O. Oliveria, and G. Travieso, \"Analyzing and Modeling Real-\nWorld Phenomena with Complex Networks: a Survey of Applications\",\narXiv:0711.3199v2, 2008.\n[4] J. L\u252c\u00bfu and G. Chen, \"Analysis, Control and Application of Complex\nNetworks: a Brief Overview\", Pro. of the 2009 IEEE International\nSymposium on Circuits and Systems, pp. 1601-1604, 2009.\n[5] J. L\u252c\u00bfu and D. Liu, \"A Brief Overview of the Complex Biological and\nEngineering Networks\", Pro. of the 2007 IEEE International Symposium\non Circuits and Systems, pp. 2634-2637, 2007.\n[6] W. Pan, B. Li, Y. Ma, and Jing Liu, \"Multi-Granularity Evolution Analysis\nof Software using Complex Network Theory\", Journal of Systems Science\nand Complexity, vol. 24, pp. 1-15, 2011.\n[7] W. Pan, B. Li, Y. Ma, J. Liu, and Y. Qin, \"Class Structure Refactoring of\nObject-Oriented Softwares using Coommunity Detection in Dependency\nNetworks\", Frontiers of Computer Science in China, vol. 3, no. 3, pp.\n396-404, 2009,\n[8] R. W. Wolverton, \"The Cost of Developing Large-Scale Software\", IEEE\nTransactions on Computers, vol. C-23, no. 6, pp. 615-636.\n[9] T. J. McCabe, \"A Complexity Measure\", IEEE Transactions on Software\nEngineering, vol. SE-2, no. 4, pp. 308-320, 1976.\n[10] M. H. Halstead, \"Elements of Software Science\", Operating, and\nProgramming Systems, vol. 7, pp. 128, 1977.\n[11] B. H. Yin and J. W. Winchester, \"The Establishment and Use of\nMeasures to Evaluate the Quality of Software Designs\", Software quality\nassurance workshop on Functional and performance, pp. 45-52, 1978.\n[12] C. L. McClure, \"A Model for Program Complexity Analysis\", Proc. of\nthe 3rd International Conference on Software Engineering, pp. 149-157,\n1978.\n[13] N. Woodfield, \"Enhanced Effort Estimation by Extending Basic Programming\nModels to Include Modularity Factors\", West-Lafayette, USA,\n1980.\n[14] S. Henry and D. Kafura, \"Software Structure Metrics Based on Information\nFlow\", IEEE Transactions on Software Engineering, pp. 510-518,\n1981.\n[15] K. C. Tai, \"A Program Complexity metric based on Data Flow Information\nin Control Graphs\", Proc. of the 7th International Conference on\nSoftware Engineering, pp. 239-248, 1984.\n[16] B. F. Abreu and R. Carapuca, \"Candidate Metrics for Object-Oriented\nSoftware within a Taxonomy Framework\", Journal of systems software,\nvol. 26, no. 1, pp. 87-96, 1994.\n[17] S. R. Chidamber and C. F. Kemerer, \"A Metrics Suite for Object-\nOriented Design\", IEEE Transactions on Software Engineering, vol. 20,\nno. 6, pp. 476-493, 1994.\n[18] W. Li and S. Henry, \"Object-Oriented Metrics that Predict Maintainability\",\nJournal Of Systems And Software, vol. 23, no. 2, pp. 111-122,\n1993.\n[19] F. B. Abreu, \"The MOOD Metrics Set\", Proc. of the ECOOP95\nWorkshop on Metrics, 1995.\n[20] F. B. Abreu, \"Design Metrics for OO Software System\", Proc. of the\nECOOP95 Quantitative Methods Workshop, 1995.\n[21] M. Lorenz and J. Kidd, Object-Oriented Software Metrics: a Practical\nGuide. NJ: Prentice Hall PTR, 1994.\n[22] R. Subramanyan and M. S. Krishnan, \"Empirical Analysis of CK Metrics\nfor Object-Oriented Design Complexity: Implications for Software\nDefects\", IEEE Transactions on Software Engineering, vol. 29, no. 10,\npp. 297-310, 2003.\n[23] V. R. Basili, L. C. Briand, and W. L. Melo, \"A Validation of Object-\nOriented Design Metrics as Quality Indicators\", IEEE Transactions on\nSoftware Engineering, vol. 22, no. 10, pp. 751-761, 1996.\n[24] K. EI Emam, S. Benlarbi, N. Goel, \"The Confounding Effect of Class\nSize on the Validity of Object-Oriented Metrics\", IEEE Transactions on\nSoftware Engineering, vol. 27, no. 6, pp. 630-650, 2001.\n[25] T. Gyim'othy, R. Ferenc, and I. Siket, \"Empirical Validation of Object-\nOriented Metrics on Open Source Software for Fault Prediction\", IEEE\nTransactions on Software Engineering, vol. 31, no. 10, pp. 897-910, 2003.\n[26] B. Zhang, \"Network and Complex Systems\", Scientific Chinese, vol. 10,\npp. 37-37, 2004.\n[27] G. Chen, \"Introduction to Complex Networks and Their Recent\nAdvances\", Advances in Mechanics, vol. 38, no. 6, pp. 653-662, 2008.\n[28] D. J. Watts and S. H. Strogatz, \"Collective Dynamics of Small World\nNetworks\", Nature, vol. 393, pp. 440-442, 1998.\n[29] A. L. Barab'asi and R. Albert, \"Emergence of Scaling in Random\nNetworks\", Science, vol. 286, pp. 509-512, 1999.\n[30] Committee on Network Science for Future Army Application, Network\nScience, Washington DC: National Academies Press, 2006.\n[31] A. L. Barab'asi, Linked: the New Science of Networks, Cambridge MA:\nPerseus Publishing, 2002.\n[32] D. J. Watts, \"The \"new\" Science of Networks\", Annual Review of\nSociology, vol, 30, pp. 243-270, 2004.\n[33] M. Faloutsos, P. Faloutsos, and C. Faloutsos, \"On power-law Relationships\nof The Internet Topology\", Computer Communication Review, vol.\n29, no. 4, pp. 251- 262, 1999.\n[34] G. Siganos, M. Faloutsos, P. Faloutsos, et al., \"Power Laws and The\nAS-Level Internet Topology\", IEEE\/ACM Transactions on Networking,\nvol. 11, no. 4, pp. 514-524, 2003.\n[35] L. A. Adamic and B. A. Huberman, \"Power-Law Distribution of The\nWorld Wide Web\", Science, vol. 287, pp. 2115a, 2000.\n[36] R. Guimer`a, S. Mossa, A. Turtschi, et al., \"The Worldwide Air Transportation\nNetwork: Anomalous Centrality, Community Structure, and\nCities- Global Roles\", Proceedings of the National Academy of Science\nUSA, vol. 102, pp. 3394-7799, 2005.\n[37] W. Li and X. Cai, \"Statistical Analysis of Airport Network of China\",\nPhysical Review E, vol. 68, no. 4: 46106, 2004, .\n[38] O. Sporns, \"Network Analysis, Complexity, and Brain Function\", Complexity,\nvol. 8, no. 1, pp. 56-60, 2002.\n[39] H. Jeong, B. Tombor, R. Albert, et al., \"The Large-Scale Organizationn\nof Metabolic Networks\", Nature, vol. 407, pp. 651-654, 2000.\n[40] M. E. J. Newman, \"Scientific Collaboration Networks. I. Network\nConstruction and Fundamental Results\", Physical Review E, vol. 64, no.\n1, pp. 16131, 2001.\n[41] M. A. Serrano and M. Bogu\u2566\u00a3n'a, \"Topology of The World Trade Web\",\nPhysical Review E, vol. 68, pp. 015101, 2003.\n[42] A. E. Motter, A. P. S. Moura, Y. C. Lai, et al., \"Topology of The\nConceptual Network of Language\", Physical Review E, vol. 65, pp.\n065102, 2002.\n[43] G. Corso, \"Families and Clustering in a Natural Numbers Network\",\nPhysical Review E, vol. 60, no. 3, pp. 036106-036110, 2004.\n[44] X. Liu, C. K. Tse, and M. Small, \"Complex Network Structure of\nMusical Compositions: Algorithmic Generation of Appealing Music\",\nPhysica A, vol. 389, no. 1, pp. 126-132, 2010.\n[45] S. Abe and N. Suzuki, \"Scale-Free Network of Earthquakes\", Europhysics\nLetters, vol. 65, no. 4, pp. 581-586, 2004.\n[46] S. Valverde, R. F. i Cancho, and R. Sole, \"Scale Free Networks from\nOptimal Design\", Europhysics Letters, vo. 60, pp. 512-517, 2002.\n[47] C. R. Myers, \"Software Systems as Complex Networks: Structure,\nFunction, and Evolvability of Software Collaboration Graphs, Physical\nReview E, vol. 68, 2003.\n[48] S. Valverde and R. Sol'e, \"Hierarchical Small Worlds in Software\nArchitecture\", Working Paper of Santa Fe Institue, SFI\/03-07-44, 2003.\n[49] A. P. S. Moura, Y. C. Lai, and A. E. Motter, \"Signatures of Small-World\nand Scale-Free Properties in Large Computer Programs\", Physical Review\nE, vol. 68, pp. 017102, 2003.\n[50] N. LaBelle and E. Wallingford, \"Inter-Package Dependency Networks\nin Open-Source Software\", ArXiv: Cs.SE\/0411096, 2004.\n[51] S. Valverde and R. V. Sole, \"Universal Properties of Bipartite Software\nGraphs\", Proc. of the 9th IEEE International Conference on Engineering\nof Complex Computer Systems, 2004.\n[52] M. Han, D. Li, C. Liu, et al. \"Networked Characteristics in Software\nand its Contribution to Software Quality\", Computer Engineering and\nApplication, vol. 42, no. 20, pp. 29-31, 2006. (in Chinese)\n[53] J. Liu, K. He, Y. Ma, et al., \"Scale Free in Software Metrics\", Proc.\nof the 30th Annual International Computer Software and Application\nConference, pp. 229-235, 2004.\n[54] J. Liu, K. He, R. Peng, et al., \"A Study on the Weight and Topology\nCorrelation of Object-Oriented Software Coupling Network\", Proc. of the\n1st International Conference on Complex Systems and Applications, PP.\n955-959, 2006.\n[55] D. Yan, G. QI, \"The Scale-free Feature and Evolving Model of Large-\nScale Software systems\", Acta Phisica Sinica, vol. 55, no. 8, pp. 3799-\n3084, 2006.\n[56] H. Zhang, H. Zhao, W. Cai, et al., \"Using the k-core Decomposition\nto Analyze the Static Structure of Large-Scale Software Systems\", The\nJournal of Supercomputing, vol. 53, no. 2, pp. 352-369, 2010.\n[57] S. Jenkins and S. R. Kirk, \"Software Architecture Graphs as Complex\nNetworks: a Novel Parttion Scheme to Measure Stability and Evolution\",\nInformation Sciences, vol. 177, no. 12, pp. 2587-2601, 2007.\n[58] M. Shi, X. Li, and X. Wang, \"Evolving Topology of Java Networks\",\nProc. of the 6th World Congress on Control and Automation, PP. 21-23,\n2006.\n[59] L. Wang, Z. Wang, C. Yang, et al., \"Linux Kernels as Complex\nNetworks: a Novel Method to Study Evolution\", Proc. of the 25th\nInternational Conference on Software Maintenance, PP. 41-50, 2009.\n[60] H. Li, B. Huang, and J. Lu, \"Dynamical Evolution Analysis of the\nObject-Oriented Software Systems\", Proc. of the 2008 IEEE World\nCongress on Computational Intelligence, PP. 3035-3040, 2008.\n[61] R. V. Sole and S. Valverde, \"Information Theory of Complex Networks:\non Evolution and Architectural Constraints\", Proc. of the International\nConference on Complex Networks, pp. 189-207, 2004.\n[62] S. Valverde and R. V. Sole, \"Network Motifs in Computational Graphs:\na Case Study in Software Architecture\", Physical Review E, vol. 72, pp.\n026107, 2005.\n[63] K. He, R. Peng, J. Liu, et al., \"Network Motifs in Computational Graphs:\na Case Study in Software Architecture\", Journal of Systems Science and\nComplexity, vol. 19, no. 2, pp. 157-181, 2006.\n[64] B. Li, H. Wang, Z. Li, et al., \"Software Complexity Metrics Based on\nComplex Networks\", Acta Electronica Sinica, vol. 34, no. 12A, pp. 2371-\n2375, 2006. (in Chinese).\n[65] H. Li, \"Scale-Free Network Models with Accelerating Growth\", Frontier\nof Computer Science in China, vol. 3, no. 3, pp. 373-380, 2009.\n[66] W. Pan, B. Li, Y. Ma, and J. Liu, \"A Novel Software Evolution Model\nBased on Software Networks\", Complex (2), 1281-1291, 2009.\n[67] R. Vasa, J. G. Schneider, C. Woodward, et al., Detecting Structural\nChanges in Object Oriented Software Systems, Proc. of the International\nSymposium on Empirical Software Engineering, PP. 479-486, 2005.\n[68] Y. Ma, K. He, and D. Du, \"A Qualitative Method for Measuring the\nStructural Complexity of Software Systems based on Complex Networks\",\nProc. of the 12th Asia-Pacific Software Engineering Conference,\nPP. 257-263, 2005.\n[69] A. Girolamo, L. I. Newman, and R. Rao, \"The Structure and\nBehavior of Class Networks in Object-Oriented Software Design\",\nwww.eecs.umich.edu\/ leenewm\/ documents\/classnetworks.pdf, 2005.\n[70] Y. Ma, K. He, D. Du, et al., \"A Complexity Metrics Set for Large-\nScale Object-Oriented Software Systems\", Proc. of the 6th International\nConference on Computer and Information Technology, PP. 257-263, 2006.\n[71] R. Vasa, J. G. Schneider, and O. Nierstrasz, \"The Inevitable Stability of\nSoftware Change\", Proc. of the 23nd IEEE International Conference on\nSoftware Maintenance, Paris France, PP. 4-13, 2007.\n[72] H. Melton and E. Tempero, \"Static Members and Cycles in Java Software\",\nProc. of the 1st International Symposium on Empirical Software\nEngineering and Measurement, PP. 136-145, 2007.\n[73] Y. Ma, K. He, and J. Liu, \"Network Motifs in Object-Oriented Software\nSystems\", Dynamics of Continuous, Discrete and Impulsive System\n(Series B: Applications and Algorithms) Special Issue on Software Engineering\nand Complex Networks, vol. 16, no. S6, pp. 166-172, 2007.","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 60, 2011"}