为了探究软件方法对软件系统性能的影响,在复杂网络理论的基础上对软件中方法的重要性进行了研究。介绍了一种可以准确描述软件结构的动态软件网络模型,并基于该网络模型结合PageRank算法的思想,提出了软件系统的方法重要性评估指标——PRW。通过与现有指标的对比实验,验证了PRW指标能够更加准确地对软件方法的重要性进行评估,也更适用于软件系统。PRW值较大的方法应该优先得到优化,这样可以有效提升软件系统性能。
To explore the influence of software method on the performance of the software system,this paper discussed the importance of software method. Firstly,it introduced a dynamic software network model to describe the software system structure accurately; secondly,it proposed the evaluation indicator of the importance of the software method combined with the idea of PageRank; finally,it demonstrates the applicability and accuracy of PRW and PRW is effective for improving the performance of software system.