计算机学报
計算機學報
계산궤학보
CHINESE JOURNAL OF COMPUTERS
2010年
3期
440-451
,共12页
软件稳定性%变更分析%涟漪效应%软件维护%复杂网络
軟件穩定性%變更分析%漣漪效應%軟件維護%複雜網絡
연건은정성%변경분석%련의효응%연건유호%복잡망락
software stability%impact analysis%ripple effect%software maintenance%complex network
软件自身的复杂性和未来变更需求的不确定性使得软件的稳定性评估十分困难.文中将软件的变更需求看成一系列"原子变更需求"的叠加,把"原子变更需求"的响应过程抽象成初始变更节点的随机选择过程以及由此引起的涟漪效应,提出了基于变更传播仿真的稳定性评估方法SEMCIS,定义了变更的传播模型和评价指标,并且给出了一种基于变更传播仿真的指标计算方法.实验结果表明,降低传播概率、改善软件的体系结构设计可以有效地抵御"涟漪效应"的发生,提高软件的稳定性.入度Hub的相互连接是造成大范围变更的主要原因,而入度Hub中存在的大量后继节点,则是造成大范围变更频繁发生的主要原因.
軟件自身的複雜性和未來變更需求的不確定性使得軟件的穩定性評估十分睏難.文中將軟件的變更需求看成一繫列"原子變更需求"的疊加,把"原子變更需求"的響應過程抽象成初始變更節點的隨機選擇過程以及由此引起的漣漪效應,提齣瞭基于變更傳播倣真的穩定性評估方法SEMCIS,定義瞭變更的傳播模型和評價指標,併且給齣瞭一種基于變更傳播倣真的指標計算方法.實驗結果錶明,降低傳播概率、改善軟件的體繫結構設計可以有效地牴禦"漣漪效應"的髮生,提高軟件的穩定性.入度Hub的相互連接是造成大範圍變更的主要原因,而入度Hub中存在的大量後繼節點,則是造成大範圍變更頻繁髮生的主要原因.
연건자신적복잡성화미래변경수구적불학정성사득연건적은정성평고십분곤난.문중장연건적변경수구간성일계렬"원자변경수구"적첩가,파"원자변경수구"적향응과정추상성초시변경절점적수궤선택과정이급유차인기적련의효응,제출료기우변경전파방진적은정성평고방법SEMCIS,정의료변경적전파모형화평개지표,병차급출료일충기우변경전파방진적지표계산방법.실험결과표명,강저전파개솔、개선연건적체계결구설계가이유효지저어"련의효응"적발생,제고연건적은정성.입도Hub적상호련접시조성대범위변경적주요원인,이입도Hub중존재적대량후계절점,칙시조성대범위변경빈번발생적주요원인.
It's difficult to evaluate the software stability because of the complexity of software and the uncertainty of future change requirements.In this paper,various change requirements are regarded as the combination of a series of"atomic change requirement".The modification of software,which is used to satisfy the"atomic change requirement",is regarded as;firstly,modify a randomly selected"initial element";secondly,a ripple effect caused by the change of it.Then we proposed a software stability evaluation method based on change propagation simulation.A change propagation model and a set of change impact metrics are defined.In order to simplify the calculation of the metrics,simulation technology is introduced into software stability evaluation instead of the conditional probability calculation.The experiments result indicates that decreasing the propagation probability or improving software architecture could effectively resist the happening of broad ripple effect and enhance software stability.And the connections between in-degree hubs result in broad change.The existence of a mount of successors of in-degree hubs results in the frequent happening of broad changes.