胡文生, 杨剑锋, 赵明. 面向可维护性的软件体系结构设计[J]. 微电子学与计算机, 2016, 33(7): 145-149.
引用本文: 胡文生, 杨剑锋, 赵明. 面向可维护性的软件体系结构设计[J]. 微电子学与计算机, 2016, 33(7): 145-149.
HU Wen-sheng, YANG Jian-feng, ZHAO Min. Software Architecture Design for Maintainability[J]. Microelectronics & Computer, 2016, 33(7): 145-149.
Citation: HU Wen-sheng, YANG Jian-feng, ZHAO Min. Software Architecture Design for Maintainability[J]. Microelectronics & Computer, 2016, 33(7): 145-149.

面向可维护性的软件体系结构设计

Software Architecture Design for Maintainability

  • 摘要: 软件产品大部分故障来源于需求阶段和设计阶段, 为了提高软件系统的可维护性、在设计阶段必须采用面向可维护性的软件体系结构, 而提高软件可维护性最佳解决方案是软件系统采用模块化设计.通过将UML类图转化为带权的有向图, 利用Dijkstra算法计算出类图中类与类之间的关系权重系数矩阵, 对关系权重系数矩阵实施聚类算法一定能将功能相似的类聚合在一起构成组件, 从而实现软件系统模块化设计.

     

    Abstract: The most of software fault comes from the requirements phase and design phase. To improve the maintainability of the software system, the software architecture for maintainability must be adopted in the design phase. And the best solution of improving the software maintainability is modular design. UML class diagram transformed into the right of directed graph, then the relation weight coefficient matrix between class and class in class diagram can be calculated by Dijkstra algorithm. The clustering algorithm be carried out on the relation weight coefficient matrix. The results of clustering algorithm is that the closely related classes can be clustered into a component. Finally, the software system is modular design.

     

/

返回文章
返回