Application of Network Community Division in Software Quality Issue Analysis
HU Xue-fei1,LI Bing1,2,LI Zeng-yang3
1(School of Computer Science,Wuhan University,Wuhan 430072,China)2(Research Center of Complex Networks,Wuhan University,Wuhan 430072,China)3(School of Computer Science,Central China Normal University,Wuhan 430079,China)
Abstract:The number of references between two source files can be regarded as the strength of dependency of them,and the number of commits in which two source files are co-changed is considered as the co-changes between the two files.We found that dependent source files tend to be modified in the same commit,i.e.,the strength of the dependencies of the source files and their co-changes are consistent.Files which are co-changed frequently but without any dependencies often have problems that affect the quality of the whole project.This paper used the GN algorithm,which is used in community detection for complex networks,to study software engineering problems.Specifically,we used the number of references and the number of co-changes between two files as their edge weight to construct the dependency network and co-change network of software systems,respectively;then we used the GN algorithm to perform community division on the two networks;at last we analyzed the results of community division on the two networks and found out the inconsistence of the community division results of the two networks and explain it.
胡学飞,李兵,李增扬. 网络社区划分在软件质量问题分析中的应用[J]. 小型微型计算机系统, 2019, 40(9): 1981-1986.
HU Xue-fei,LI Bing,LI Zeng-yang. Application of Network Community Division in Software Quality Issue Analysis. Journal of Chinese Computer Systems, 2019, 40(9): 1981-1986.